summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/uhttpd/src/uhttpd-tls.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-25 02:04:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-25 02:04:50 +0000
commitaf4611d4e02c8a5b0c72cae08c1d944528d63787 (patch)
tree321a71c77c3da0c7ee20bae6183e5c89fd35fb25 /contrib/package/uhttpd/src/uhttpd-tls.h
parenta6722be769be20d3e06d0ca77eac1bd3af6f9593 (diff)
uhttpd: move Lua and TLS support into loadable plugins
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-tls.h')
-rw-r--r--contrib/package/uhttpd/src/uhttpd-tls.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-tls.h b/contrib/package/uhttpd/src/uhttpd-tls.h
index 2de2d26d81..4a98b78c69 100644
--- a/contrib/package/uhttpd/src/uhttpd-tls.h
+++ b/contrib/package/uhttpd/src/uhttpd-tls.h
@@ -22,9 +22,13 @@
SSL_CTX * uh_tls_ctx_init();
-
+int uh_tls_ctx_cert(SSL_CTX *c, const char *file);
+int uh_tls_ctx_key(SSL_CTX *c, const char *file);
void uh_tls_ctx_free(struct listener *l);
+
void uh_tls_client_accept(struct client *c);
+int uh_tls_client_recv(struct client *c, void *buf, int len);
+int uh_tls_client_send(struct client *c, void *buf, int len);
void uh_tls_client_close(struct client *c);
#endif