]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: httpclient: export httpclient_create_proxy()
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 14 Sep 2022 12:34:39 +0000 (14:34 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 14 Sep 2022 12:34:39 +0000 (14:34 +0200)
Export httpclient_create_proxy() in http_client.h

include/haproxy/http_client.h

index e91d1adb9ede4dbbae7eeb2062118cf1e4052eea..241ca24ce732a0db06c7dc338c648bd204c80df5 100644 (file)
@@ -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);