Small IOCHAN refactor. Introduce iochan_man_t
[pazpar2-moved-to-github.git] / src / http.c
index bb5a36c..05198d6 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Pazpar2.
-   Copyright (C) 2006-2009 Index Data
+   Copyright (C) 2006-2010 Index Data
 
 Pazpar2 is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -62,7 +62,6 @@ typedef int socklen_t;
 #include <yaz/comstack.h>
 #include <yaz/nmem.h>
 
-#include "util.h"
 #include "pazpar2.h"
 #include "http.h"
 
@@ -90,8 +89,8 @@ struct http_channel_observer_s {
 };
 
 
-static const char *http_lookup_header(struct http_header *header,
-                                      const char *name)
+const char *http_lookup_header(struct http_header *header,
+                               const char *name)
 {
     for (; header; header = header->next)
         if (!strcasecmp(name, header->name))