Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
teo_web.c File Reference
#include "teo_web.h"
#include "teo_ws.h"
#include "../teo_auth/teo_auth.h"

Macros

#define tws   ((teoWSClass *)kh->kws)
 File: teo_web.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru More...
 

Functions

ksnHTTPClassksnHTTPInit (ksnetEvMgrClass *ke, teoweb_config *tw_cfg)
 Initialize teonet HTTP module. More...
 
void ksnHTTPDestroy (ksnHTTPClass *kh)
 Destroy teonet HTTP module. More...
 

Macro Definition Documentation

#define tws   ((teoWSClass *)kh->kws)

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

Teonet HTTP/WS Server module

Created on October 2, 2015, 12:04 AM Teonet websocket class

Referenced by ksnHTTPDestroy().

Function Documentation

void ksnHTTPDestroy ( ksnHTTPClass kh)

Destroy teonet HTTP module.

Parameters
khPointer to ksnHTTPClass

References free(), ksnHTTPClass::s_http_port, ksnHTTPClass::stop, ksnHTTPClass::stopped, ksnHTTPClass::ta, teoAuthDestroy(), tws, and usleep().

Referenced by event_cb().