From: Thierry FOURNIER Date: Fri, 18 Sep 2015 15:59:23 +0000 (+0200) Subject: MINOR: http: export the get_reason() function X-Git-Tag: v1.6-dev6~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=127169e7f5d76e0c701da315299c77f07faafb07;p=thirdparty%2Fhaproxy.git MINOR: http: export the get_reason() function This patch exports the get_reason() function. --- diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h index dfa094ac18..7622cb5959 100644 --- a/include/proto/proto_http.h +++ b/include/proto/proto_http.h @@ -113,6 +113,7 @@ unsigned int http_get_hdr(const struct http_msg *msg, const char *hname, int hle struct hdr_idx *idx, int occ, struct hdr_ctx *ctx, char **vptr, int *vlen); char *http_get_path(struct http_txn *txn); +const char *get_reason(unsigned int status); struct http_txn *http_alloc_txn(struct stream *s); void http_init_txn(struct stream *s);