diff --git a/mongoose.c b/mongoose.c index 667ab917..29d29484 100644 --- a/mongoose.c +++ b/mongoose.c @@ -5323,12 +5323,6 @@ void mg_tcpip_free(struct mg_tcpip_if *ifp) { free((char *) ifp->tx.ptr); } -int mg_mkpipe(struct mg_mgr *m, mg_event_handler_t fn, void *d, bool udp) { - (void) m, (void) fn, (void) d, (void) udp; - MG_ERROR(("Not implemented")); - return -1; -} - static void send_syn(struct mg_connection *c) { struct connstate *s = (struct connstate *) (c + 1); uint32_t isn = mg_htonl((uint32_t) mg_ntohs(c->loc.port)); diff --git a/mongoose.h b/mongoose.h index f7852f03..c68db2e7 100644 --- a/mongoose.h +++ b/mongoose.h @@ -1261,7 +1261,6 @@ bool mg_send(struct mg_connection *, const void *, size_t); size_t mg_printf(struct mg_connection *, const char *fmt, ...); size_t mg_vprintf(struct mg_connection *, const char *fmt, va_list *ap); bool mg_aton(struct mg_str str, struct mg_addr *addr); -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 *); diff --git a/src/net.h b/src/net.h index c9442953..03b916d7 100644 --- a/src/net.h +++ b/src/net.h @@ -90,7 +90,6 @@ bool mg_send(struct mg_connection *, const void *, size_t); size_t mg_printf(struct mg_connection *, const char *fmt, ...); size_t mg_vprintf(struct mg_connection *, const char *fmt, va_list *ap); bool mg_aton(struct mg_str str, struct mg_addr *addr); -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 *); diff --git a/src/net_builtin.c b/src/net_builtin.c index e232898d..c6740f9f 100644 --- a/src/net_builtin.c +++ b/src/net_builtin.c @@ -981,12 +981,6 @@ void mg_tcpip_free(struct mg_tcpip_if *ifp) { free((char *) ifp->tx.ptr); } -int mg_mkpipe(struct mg_mgr *m, mg_event_handler_t fn, void *d, bool udp) { - (void) m, (void) fn, (void) d, (void) udp; - MG_ERROR(("Not implemented")); - return -1; -} - static void send_syn(struct mg_connection *c) { struct connstate *s = (struct connstate *) (c + 1); uint32_t isn = mg_htonl((uint32_t) mg_ntohs(c->loc.port));