mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Fix #1519 - make opts structs in API calls const
This commit is contained in:
1 parent
5f78d34f4d
commit
db941e2627
10 files changed
+32
-30
No files matched your search
@@ -14,7 +14,7 @@ struct mg_tls_opts {
|
||||
struct mg_fs *fs; // FS API for reading certificate files
|
||||
};
|
||||
|
||||
void mg_tls_init(struct mg_connection *, struct mg_tls_opts *);
|
||||
void mg_tls_init(struct mg_connection *, const 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);
|
||||
|
||||
Reference in new issue
Block a user