Move mg_listen() to net.c

This commit is contained in:
Sergey Lyubka committed 2022-02-23 03:06:02 +00:00
1 parent e99973d4b7
commit c650fdcdfc
7 files changed
+108 -105

No files matched your search

+2
View File
@@ -81,3 +81,5 @@ void mg_mgr_wakeup(struct mg_connection *pipe, const void *buf, size_t len);
// These functions are used to integrate with custom network stacks
struct mg_connection *mg_alloc_conn(struct mg_mgr *, bool is_client, void *fd);
void mg_close_conn(struct mg_connection *c);
bool mg_open_listener(struct mg_connection *c, const char *url);