All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Files | Functions | Variables
Event Subsystem

4 lines of code do not need extensive documentation. More...

Files

file  event.h
 

Functions

void event_register (event_callback_t *event_cb)
 
void event_signal (enum event_type event)
 

Variables

static event_callback_tevent_process_cb = NULL
 

Detailed Description

4 lines of code do not need extensive documentation.

Function Documentation

void event_register ( event_callback_t event_cb)

Register the event callback

Parameters
[in]event_cbThe event processing function
void event_signal ( enum event_type  event)

Dispatch an event to the event processing function

Parameters
[in]eventThe event type

Variable Documentation

event_callback_t* event_process_cb = NULL
static

The event processing callback