Browse Source
Applied a patch from Marc Boucher which has the following changes: 1) Fixed sys_arch.txt documentation to have new return type from sys_thread_new. 2) Removed unnecessary casts on calling sys_timeout() in certain files. 3) Removed some unnecessary break statements after return statements. 4) Changed sys_timeout_remove() to sys_untimeout(). 5) Added some forgotten #ifndef SYS_LIGHTWEIGHT_PROT to memp.c 6) Changed LWIP_DIAG and LWIP_PLATFORM_ASSERT to have do while().STABLE-2_1_x
11 changed files with 37 additions and 50 deletions
@ -1,29 +0,0 @@
|
||||
#ifndef __LWIP_EVENT_H__ |
||||
#define __LWIP_EVENT_H__ |
||||
|
||||
#include "lwip/opt.h" |
||||
|
||||
#if LWIP_EVENT_API |
||||
|
||||
#include "lwip/pbuf.h" |
||||
|
||||
enum lwip_event { |
||||
LWIP_EVENT_ACCEPT, |
||||
LWIP_EVENT_SENT, |
||||
LWIP_EVENT_RECV, |
||||
LWIP_EVENT_CONNECTED, |
||||
LWIP_EVENT_POLL, |
||||
LWIP_EVENT_ERR |
||||
}; |
||||
|
||||
struct tcp_pcb; |
||||
|
||||
err_t lwip_tcp_event(void *arg, struct tcp_pcb *pcb, |
||||
enum lwip_event, |
||||
struct pbuf *p, |
||||
u16_t size, |
||||
err_t err); |
||||
|
||||
#endif /* LWIP_EVENT_API */ |
||||
|
||||
#endif /* __LWIP_EVENT_H__ */ |
||||
Loading…
Reference in new issue