X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp.h;h=1670766341e72674c3d094db0a0c3b106505fbfb;hb=8961ed761e348e972f00d015284ce75c16b1648c;hp=06ccf76a084253d03522c0c9b6519eb4069f58e9;hpb=824eea389688f854677efd0231182a893d00f8f4;p=pazpar2-moved-to-github.git diff --git a/src/http.h b/src/http.h index 06ccf76..1670766 100644 --- a/src/http.h +++ b/src/http.h @@ -107,13 +107,13 @@ void http_set_proxyaddr(const char *url, struct conf_server *ser); int http_init(const char *addr, struct conf_server *ser, const char *record_fname); void http_close_server(struct conf_server *ser); -void http_addheader(struct http_response *r, +void http_addheader(struct http_response *r, const char *name, const char *value); const char *http_lookup_header(struct http_header *header, const char *name); -struct http_header * http_header_append(struct http_channel *ch, - struct http_header * hp, - const char *name, +struct http_header * http_header_append(struct http_channel *ch, + struct http_header * hp, + const char *name, const char *value); const char *http_argbyname(struct http_request *r, const char *name); const char *http_headerbyname(struct http_header *r, const char *name);