http: add support for specifying ipv4/ipv6 preference
[project/uclient.git] / uclient.h
index 504fc3535c50b82ab381680f326889425278f8ce..e3695db6409b8069a0081c43ce3abde72b7f20ed 100644 (file)
--- 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