Microchip® Advanced Software Framework

lwip/lwip-1.4.1/src/include/lwip/timers.h File Reference
#include "lwip/opt.h"
#include "lwip/err.h"
#include "lwip/sys.h"

Data Structures

struct  sys_timeo
 

Macros

#define LWIP_DEBUG_TIMERNAMES   0
 
#define LWIP_TIMERS   (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
 

Typedefs

typedef void(* sys_timeout_handler )(void *arg)
 Function prototype for a timeout callback function. More...
 

Functions

void sys_timeout (u32_t msecs, sys_timeout_handler handler, void *arg)
 
void sys_timeouts_init (void)
 
void sys_timeouts_mbox_fetch (sys_mbox_t *mbox, void **msg)
 
void sys_untimeout (sys_timeout_handler handler, void *arg)
 

#define LWIP_DEBUG_TIMERNAMES   0
#define LWIP_TIMERS   (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))

typedef void(* sys_timeout_handler)(void *arg)

Function prototype for a timeout callback function.

Register such a function using sys_timeout().

Parameters
argAdditional argument to pass to the function - set up by sys_timeout()

void sys_timeout ( u32_t  msecs,
sys_timeout_handler  handler,
void *  arg 
)

Referenced by tcpip_thread().

void sys_timeouts_init ( void  )

Referenced by lwip_init().

void sys_timeouts_mbox_fetch ( sys_mbox_t *  mbox,
void **  msg 
)

Referenced by tcpip_thread().

void sys_untimeout ( sys_timeout_handler  handler,
void *  arg 
)

Referenced by tcpip_thread().