From 1c8f3b386d431fceaea4fee72426e4e187451fbf Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 14 Sep 2022 14:34:39 +0200 Subject: [PATCH] MINOR: httpclient: export httpclient_create_proxy() Export httpclient_create_proxy() in http_client.h --- include/haproxy/http_client.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/haproxy/http_client.h b/include/haproxy/http_client.h index e91d1adb9..241ca24ce 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);