* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zgdu.h,v 1.7 2006-06-02 13:08:27 adam Exp $
+ * $Id: zgdu.h,v 1.8 2006-09-14 07:39:49 marc Exp $
*/
/**
const char *content_type,
const char *charset);
-YAZ_EXPORT const char *z_HTTP_header_lookup(Z_HTTP_Header *hp, const char *n);
+YAZ_EXPORT const char *z_HTTP_header_lookup(const Z_HTTP_Header *hp, const char *n);
YAZ_EXPORT const char *z_HTTP_errmsg(int code);
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zgdu.c,v 1.15 2006-06-02 13:08:27 adam Exp $
+ * $Id: zgdu.c,v 1.16 2006-09-14 07:40:00 marc Exp $
*/
/**
(*hp)->next = 0;
}
-const char *z_HTTP_header_lookup(Z_HTTP_Header *hp, const char *n)
+const char *z_HTTP_header_lookup(const Z_HTTP_Header *hp, const char *n)
{
for (; hp; hp = hp->next)
if (!yaz_matchstr(hp->name, n))