X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzgdu.h;h=5ce5e473e5bf8ba86b8f580ea31f3814c580c10f;hp=ff8cb64550def68b38091b293ffbd8e183b3dcdd;hb=bd0fee845a611e98d52590ade70c5ef414289e24;hpb=f9ee3b9ec26306b6397c37434e8066f084d33b3a diff --git a/include/yaz/zgdu.h b/include/yaz/zgdu.h index ff8cb64..5ce5e47 100644 --- a/include/yaz/zgdu.h +++ b/include/yaz/zgdu.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data. + * Copyright (C) 1995-2013 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -76,6 +76,8 @@ 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_set(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);