Added function netconn_free(), which deallocates all mboxes and frees the netconn (to be used from different places) - the PCB is not freed!

This commit is contained in:
goldsimon
2008-01-06 14:28:04 +00:00
parent 5941b3c86e
commit a41f113b8f
3 changed files with 56 additions and 30 deletions

View File

@@ -149,6 +149,7 @@ void do_gethostbyname(void *arg);
#endif /* LWIP_DNS */
struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);
void netconn_free(struct netconn *conn);
#ifdef __cplusplus
}