summaryrefslogtreecommitdiff
path: root/uclient.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-24 14:25:14 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-24 14:25:14 +0100
commit5be2b92aec6e0abde419b8128b58d2e96d5d5a34 (patch)
tree3aa9786cb0abda658ca0012861a0343c69d3d7d4 /uclient.h
parent5e0b24f3a921081162706598d1ebea9d403d3187 (diff)
downloaduclient-5be2b92aec6e0abde419b8128b58d2e96d5d5a34.tar.gz
add support for passing in an external ustream_ssl context
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r--uclient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uclient.h b/uclient.h
index e3d168a..11a1955 100644
--- a/uclient.h
+++ b/uclient.h
@@ -54,4 +54,6 @@ int uclient_http_reset_headers(struct uclient *cl, const char *name, const char
int uclient_http_set_request_type(struct uclient *cl, const char *type);
bool uclient_http_redirect(struct uclient *cl);
+int uclient_http_set_ssl_ctx(struct uclient *cl, struct ustream_ssl_ctx *ctx);
+
#endif