added mg_get_ssl_context. passing fake connection to the MG_INIT_SSL event

This commit is contained in:
Sergey Lyubka committed 2012-09-17 23:36:06 +01:00
1 parent d9ab7af8b4
commit 9aad922983
2 files changed
+14 -8

No files matched your search

+1
View File
@@ -154,6 +154,7 @@ const struct mg_request_info *mg_get_request_info(const struct mg_connection *);
void *mg_get_user_data(struct mg_connection *);
const char *mg_get_log_message(const struct mg_connection *);
int mg_get_reply_status_code(const struct mg_connection *);
void *mg_get_ssl_context(const struct mg_connection *);
// Send data to the client.