Teonet library
0.4.7
|
Functions | |
void | event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
Teonet event handler. More... | |
void | test_2_1 () |
void | test2 (int argc, char **argv) |
int | main (int argc, char **argv) |
Simple C Test Suite
Simple C test code:
Created on Jun 30, 2015, 10:31:15 AM
void event_cb | ( | ksnetEvMgrClass * | ke, |
ksnetEvMgrEvents | event, | ||
void * | data, | ||
size_t | data_len, | ||
void * | user_data | ||
) |
Teonet event handler.
ke | |
event | |
data | |
data_len | |
user_data |
References EV_K_CONNECTED, EV_K_DISCONNECTED, EV_K_IDLE, EV_K_RECEIVED, and EV_K_STARTED.
Referenced by test2().
int main | ( | int | argc, |
char ** | argv | ||
) |
References test2(), and test_2_1().
void test2 | ( | int | argc, |
char ** | argv | ||
) |
References DISPLAY_M, event_cb(), ke, ksnet_printf(), ksnetEvMgrInit(), ksnetEvMgrRun(), READ_CONFIGURATION, READ_OPTIONS, ksnetEvMgrClass::teo_cfg, and VERSION.
Referenced by main().
void test_2_1 | ( | ) |
Referenced by main().