Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
teosend.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ev_mgr.h"

Macros

#define TSEND_VERSION   VERSION
 

Functions

void event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data)
 KSNetwork Events callback. More...
 
int main (int argc, char **argv)
 Main Teosend application function. More...
 

Detailed Description

Author
Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru

Created on July 15, 2015, 5:48 PM

Macro Definition Documentation

#define TSEND_VERSION   VERSION
Examples:
teosend.c.

Referenced by main().

Function Documentation

void event_cb ( ksnetEvMgrClass ke,
ksnetEvMgrEvents  event,
void *  data,
size_t  data_len,
void *  user_data 
)
int main ( int  argc,
char **  argv 
)

Main Teosend application function.

Parameters
argcNumber of parameters
argvParameters array
Returns
EXIT_SUCCESS
Examples:
teosend.c.

References event_cb(), ke, ksnet_printf(), ksnetEvMgrInit(), ksnetEvMgrRun(), ksnetEvMgrSetCustomTimer(), MESSAGE, READ_CONFIGURATION, READ_OPTIONS, ksnetEvMgrClass::teo_cfg, and TSEND_VERSION.