]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: http: some exported functions were not in the header file
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 15 Oct 2013 09:43:19 +0000 (11:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Oct 2013 10:21:38 +0000 (12:21 +0200)
Export the following functions:
 - find_hdr_value_end
 - http_header_match2
 - http_remove_header2
 - http_header_add_tail2

include/proto/proto_http.h

index 979219e09098ad23487adf4eb939eb34ed8c0538..7f58d7a776ca381e1954e82fe177a31c6dbe4f47 100644 (file)
@@ -95,6 +95,10 @@ int http_find_full_header2(const char *name, int len,
 int http_find_header2(const char *name, int len,
                      char *sol, struct hdr_idx *idx,
                      struct hdr_ctx *ctx);
+char *find_hdr_value_end(char *s, const char *e);
+int http_header_match2(const char *hdr, const char *end, const char *name, int len);
+int http_remove_header2(struct http_msg *msg, struct hdr_idx *idx, struct hdr_ctx *ctx);
+int http_header_add_tail2(struct http_msg *msg, struct hdr_idx *hdr_idx, const char *text, int len);
 void http_sess_log(struct session *s);
 void http_perform_server_redirect(struct session *s, struct stream_interface *si);
 void http_return_srv_error(struct session *s, struct stream_interface *si);