mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-29 19:46:19 +08:00
PPP, CORE, prepared for lower protocols callbacks returning state
Until now, callbacks used void return, preparing callbacks to return PPPERR_ status.
This commit is contained in:
@@ -303,7 +303,7 @@ struct ppp_addrs {
|
||||
/*
|
||||
* PPP interface control block.
|
||||
*/
|
||||
typedef void (*link_command_cb_fn)(void *pcb, u8_t command);
|
||||
typedef int (*link_command_cb_fn)(void *pcb, u8_t command);
|
||||
typedef int (*link_write_cb_fn)(void *pcb, struct pbuf *p);
|
||||
typedef err_t (*link_netif_output_cb_fn)(void *pcb, struct pbuf *p, u_short protocol);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user