Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
async_c/src/main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "ev_mgr.h"
#include "config.h"

Macros

#define APP_VERSION   "0.0.1"
 

Functions

void event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_length, void *user_data)
 Teonet event handler. More...
 
int main (int argc, char **argv)
 Main application function. More...
 

Macro Definition Documentation

#define APP_VERSION   "0.0.1"

Function Documentation

void event_cb ( ksnetEvMgrClass ke,
ksnetEvMgrEvents  event,
void *  data,
size_t  data_length,
void *  user_data 
)

Teonet event handler.

Parameters
ke
event
data
data_length
user_data

References EV_K_STOPPED.

int main ( int  argc,
char **  argv 
)

Main application function.

Parameters
argc
argv
Returns

References teonet.