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

+1 -3
View File
@@ -289,9 +289,7 @@ void mg_connect_resolved(struct mg_connection *c) {
// implement this!
}
struct mg_connection *mg_listen(struct mg_mgr *mgr, const char *url,
mg_event_handler_t fn, void *fn_data) {
bool mg_open_listener(struct mg_connection *c, const char *url) {
// implement this!
}