Handle #1562 - add udp/tcp extra param to mg_mkpipe()

This commit is contained in:
Sergey Lyubka committed 2022-05-31 18:23:32 +01:00
1 parent dc486a2aa3
commit a3d63c095a
11 files changed
+68 -47

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ size_t mg_vprintf(struct mg_connection *, const char *fmt, va_list ap);
char *mg_straddr(struct mg_addr *, char *, size_t);
bool mg_aton(struct mg_str str, struct mg_addr *addr);
char *mg_ntoa(const struct mg_addr *addr, char *buf, size_t len);
int mg_mkpipe(struct mg_mgr *, mg_event_handler_t, void *);
int mg_mkpipe(struct mg_mgr *, mg_event_handler_t, void *, bool udp);
// These functions are used to integrate with custom network stacks
struct mg_connection *mg_alloc_conn(struct mg_mgr *);