summaryrefslogtreecommitdiff
path: root/uclient.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-25 00:18:33 +0100
committerFelix Fietkau <nbd@openwrt.org>2016-01-25 00:18:33 +0100
commitf50a654323bbfeb0de53aa2178755b282bcc9d22 (patch)
tree819e5436d6c8c273fa5c45d01b59de016c2583b3 /uclient.h
parentcaa8052ac55218a687593f3dcf30229016e48b0d (diff)
downloaduclient-f50a654323bbfeb0de53aa2178755b282bcc9d22.tar.gz
http: add support for specifying ipv4/ipv6 preference
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r--uclient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uclient.h b/uclient.h
index 504fc35..e3695db 100644
--- a/uclient.h
+++ b/uclient.h
@@ -125,5 +125,6 @@ int uclient_http_redirect(struct uclient *cl);
int uclient_http_set_ssl_ctx(struct uclient *cl, const struct ustream_ssl_ops *ops,
struct ustream_ssl_ctx *ctx, bool require_validation);
+int uclient_http_set_address_family(struct uclient *cl, int af);
#endif