summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/uhttpd/src/uhttpd-tls.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:45:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:45:50 +0000
commit87329b4522760f0a4a9a7962a52faf76d2db6f55 (patch)
tree09f47c80b40eda6de245cfb9ac05377243b603c7 /contrib/package/uhttpd/src/uhttpd-tls.h
parent1661add529c525939a27ae47c1429bfe50615211 (diff)
contrib/package: add uhttpd, a drop-in replacement for busybox httpd
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-tls.h')
-rw-r--r--contrib/package/uhttpd/src/uhttpd-tls.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-tls.h b/contrib/package/uhttpd/src/uhttpd-tls.h
new file mode 100644
index 000000000..b4610d9cf
--- /dev/null
+++ b/contrib/package/uhttpd/src/uhttpd-tls.h
@@ -0,0 +1,13 @@
+#ifndef _UHTTPD_TLS_
+
+#include <openssl/ssl.h>
+
+
+SSL_CTX * uh_tls_ctx_init();
+
+void uh_tls_ctx_free(struct listener *l);
+void uh_tls_client_accept(struct client *c);
+void uh_tls_client_close(struct client *c);
+
+#endif
+