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

Macros

#define TVPN_VERSION   "0.0.2"
 File: teovpn.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru More...
 

Functions

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

Macro Definition Documentation

#define TVPN_VERSION   "0.0.2"

File: teovpn.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru

Teonet VPN application. CMD_USER Created on July 14, 2015, 9:52 AM

Referenced by main().

Function Documentation

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

Teonet event handler.

Parameters
ke
event
data
data_len
user_data

References EV_K_STOPPED.

Referenced by main().