Make z_HTTP_header_set public and extend z_HTTP_errmsg
[yaz-moved-to-github.git] / include / yaz / zgdu.h
index 40bb12e..5ce5e47 100644 (file)
@@ -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);