#include <yaz/comstack.h>
#include <yaz/nmem.h>
-#include "util.h"
-#include "eventl.h"
#include "pazpar2.h"
#include "http.h"
#define MAX_HTTP_HEADER 4096
+#ifdef WIN32
+#define strncasecmp _strnicmp
+#define strcasecmp _stricmp
+#endif
+
static void proxy_io(IOCHAN i, int event);
static struct http_channel *http_create(const char *addr,
struct conf_server *server);
};
-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))