Added mg_wakeup_server_ex() for pushing data

This commit is contained in:
Sergey Lyubka committed 2014-05-12 23:22:57 +01:00
1 parent ccff4abf13
commit fb4e701545
2 files changed
+59 -16

No files matched your search

+1
View File
@@ -93,6 +93,7 @@ void mg_set_listening_socket(struct mg_server *, int sock);
int mg_get_listening_socket(struct mg_server *);
void mg_iterate_over_connections(struct mg_server *, mg_handler_t, void *);
void mg_wakeup_server(struct mg_server *);
void mg_wakeup_server_ex(struct mg_server *, mg_handler_t, const char *, ...);
struct mg_connection *mg_connect(struct mg_server *, const char *, int, int);
// Connection management functions