mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
Move TLS API to tls.h, fix builtin handshake codepath
This commit is contained in:
1 parent
4fc43cfbf7
commit
6e68124405
5 files changed
+18
-18
No files matched your search
@@ -99,8 +99,3 @@ bool mg_open_listener(struct mg_connection *c, const char *url);
|
||||
// Utility functions
|
||||
struct mg_timer *mg_timer_add(struct mg_mgr *mgr, uint64_t milliseconds,
|
||||
unsigned flags, void (*fn)(void *), void *arg);
|
||||
|
||||
// Low-level IO primives used by TLS layer
|
||||
enum { MG_IO_ERR = -1, MG_IO_WAIT = -2, MG_IO_RESET = -3 };
|
||||
long mg_io_send(struct mg_connection *c, const void *buf, size_t len);
|
||||
long mg_io_recv(struct mg_connection *c, void *buf, size_t len);
|
||||
Reference in new issue
Block a user