uclient: add helper function for getting ustream-ssl context/ops
[project/uclient.git] / uclient.h
index 4f37364e55ab805bba7fdca5908bb3d1434e921e..0901910bb5f604d12e58a79cd9a87248587b13ed 100644 (file)
--- a/uclient.h
+++ b/uclient.h
@@ -115,6 +115,7 @@ int uclient_write(struct uclient *cl, const char *buf, int len);
 int uclient_request(struct uclient *cl);
 
 char *uclient_get_addr(char *dest, int *port, union uclient_addr *a);
+struct ustream_ssl_ctx *uclient_new_ssl_context(const struct ustream_ssl_ops **ops);
 
 /* HTTP */
 extern const struct uclient_backend uclient_backend_http;