From: William Lallemand Date: Wed, 14 Sep 2022 12:34:39 +0000 (+0200) Subject: MINOR: httpclient: export httpclient_create_proxy() X-Git-Tag: v2.7-dev6~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c8f3b386d431fceaea4fee72426e4e187451fbf;p=thirdparty%2Fhaproxy.git MINOR: httpclient: export httpclient_create_proxy() Export httpclient_create_proxy() in http_client.h --- diff --git a/include/haproxy/http_client.h b/include/haproxy/http_client.h index e91d1adb9e..241ca24ce7 100644 --- a/include/haproxy/http_client.h +++ b/include/haproxy/http_client.h @@ -5,6 +5,8 @@ void httpclient_destroy(struct httpclient *hc); void httpclient_stop_and_destroy(struct httpclient *hc); + +struct proxy *httpclient_create_proxy(const char *id); struct httpclient *httpclient_new(void *caller, enum http_meth_t meth, struct ist url); struct httpclient *httpclient_new_from_proxy(struct proxy *px, void *caller, enum http_meth_t meth, struct ist url); int httpclient_set_proxy(struct httpclient *hc, struct proxy *px);