X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fzgdu.h;h=daa9d4a815cd4604744c95261450bd2ce21ef7c7;hb=a1adc770bc8b74097e1d4388d16b1246063da7e7;hp=4579e008dab12e663bcd99a905fcc58e468a6424;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/include/yaz/zgdu.h b/include/yaz/zgdu.h index 4579e00..daa9d4a 100644 --- a/include/yaz/zgdu.h +++ b/include/yaz/zgdu.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zgdu.h,v 1.4 2005-01-15 19:47:10 adam Exp $ + * $Id: zgdu.h,v 1.6 2006-03-01 23:24:25 adam Exp $ */ /** @@ -56,6 +56,10 @@ typedef struct { YAZ_EXPORT int z_GDU (ODR o, Z_GDU **p, int opt, const char *name); YAZ_EXPORT void z_HTTP_header_add(ODR o, Z_HTTP_Header **hp, const char *n, const char *v); +YAZ_EXPORT void z_HTTP_header_add_content_type(ODR o, Z_HTTP_Header **hp, + 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_errmsg(int code); @@ -66,3 +70,11 @@ YAZ_EXPORT Z_GDU *z_get_HTTP_Request(ODR o); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +