Teonet library
0.4.7
|
Macros | |
#define | TSTR_VERSION "0.0.1" |
Functions | |
void | event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
Teonet Events callback. More... | |
int | main (int argc, char **argv) |
Main Teostream application function. More... | |
#define TSTR_VERSION "0.0.1" |
Referenced by main().
void event_cb | ( | ksnetEvMgrClass * | ke, |
ksnetEvMgrEvents | event, | ||
void * | data, | ||
size_t | data_len, | ||
void * | user_data | ||
) |
Teonet Events callback.
ke | |
event | |
data | |
data_len | |
user_data |
References teonet_cfg::app_argv, CMD_ST_CREATE, EV_K_CONNECTED, EV_K_STARTED, EV_K_STREAM_CONNECT_TIMEOUT, EV_K_STREAM_CONNECTED, EV_K_STREAM_DATA, EV_K_STREAM_DISCONNECTED, ksnStreamData::fd_in, ksnStreamData::fd_out, ksnetEvMgrClass::ks, KSN_BUFFER_SM_SIZE, ksnStreamCreate(), ksnStreamGetDataFromMap(), ksnStreamGetMapData(), ksnStreamData::peer_name, ksnStreamData::stream_name, and ksnetEvMgrClass::teo_cfg.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Main Teostream application function.
argc | Number of parameters |
argv | Parameters array |
References ksnetEvMgrAppParam::app_argc, ksnetEvMgrAppParam::app_argv, ksnetEvMgrAppParam::app_descr, APP_PARAM, event_cb(), ke, ksnetEvMgrInitPort(), ksnetEvMgrRun(), READ_CONFIGURATION, READ_OPTIONS, TSTR_VERSION, and VERSION.