projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uhttpd: move Lua and TLS support into loadable plugins
[project/luci.git]
/
contrib
/
package
/
uhttpd
/
src
/
uhttpd-tls.h
diff --git
a/contrib/package/uhttpd/src/uhttpd-tls.h
b/contrib/package/uhttpd/src/uhttpd-tls.h
index
2de2d26
..
4a98b78
100644
(file)
--- 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();
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_ctx_free(struct listener *l);
+
void uh_tls_client_accept(struct client *c);
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
void uh_tls_client_close(struct client *c);
#endif