mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-30 12:50:58 +00:00
Fix #1285 - __builtin___snprintf_chk warning. Tighten test flags and refactor the code to squash all warnings
This commit is contained in:
1 parent
db27fae40e
commit
736b8ad7b7
30 files changed
+708
-691
No files matched your search
@@ -9,8 +9,8 @@ struct mg_tls_opts {
|
||||
struct mg_str srvname; // If not empty, enables server name verification
|
||||
};
|
||||
|
||||
int mg_tls_init(struct mg_connection *, struct mg_tls_opts *);
|
||||
int mg_tls_free(struct mg_connection *);
|
||||
int mg_tls_send(struct mg_connection *, const void *buf, size_t len, int *fail);
|
||||
int mg_tls_recv(struct mg_connection *, void *buf, size_t len, int *fail);
|
||||
int mg_tls_handshake(struct mg_connection *);
|
||||
void mg_tls_init(struct mg_connection *, struct mg_tls_opts *);
|
||||
void mg_tls_free(struct mg_connection *);
|
||||
long mg_tls_send(struct mg_connection *, const void *buf, size_t len);
|
||||
long mg_tls_recv(struct mg_connection *, void *buf, size_t len);
|
||||
void mg_tls_handshake(struct mg_connection *);
|
||||
Reference in new issue
Block a user