This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | event_t |
Typedefs | |
typedef void(*) | tEventFuncPtr (void *) |
function pointer and argument to call | |
Functions | |
int | event_init (event_t *event, int size) |
event_init (to be called from devices) Parameters: | |
int | event_subscribe (event_t *event, int id, tEventFuncPtr pFunc, void *pArg) |
event_subscribe: Suscribe to the event Parameters: | |
int | event_unsubscribe (event_t *event, int id) |
event_subscribe: Suscribe to the event Parameters: |
typedef void(*) tEventFuncPtr(void *) |
function pointer and argument to call
int event_init | ( | event_t * | event, | |
int | size | |||
) |
event_init (to be called from devices) Parameters:
Parameters:
pThis | pointer device event object |
int event_subscribe | ( | event_t * | event, | |
int | id, | |||
tEventFuncPtr | pFunc, | |||
void * | pArg | |||
) |
event_subscribe: Suscribe to the event Parameters:
pThis | pointer to the event object There is no check for the validity if the id |
int event_unsubscribe | ( | event_t * | event, | |
int | id | |||
) |
event_subscribe: Suscribe to the event Parameters:
pThis | pointer to the event object There is no check for the validity if the id |