Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
teoweb.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include "modules/teo_web/teo_web.h"
#include "modules/teo_web/teo_web_conf.h"
#include "modules/teo_auth/teo_auth.h"

Macros

#define TWEB_VERSION   "0.0.1"
 File: teoweb.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru More...
 
#define APP_NAME   "teoweb"
 
#define HELLO_MSG   "Hello from WS server!"
 

Typedefs

typedef struct teowebModules teowebModules
 

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)
 Main application function. More...
 

Macro Definition Documentation

#define APP_NAME   "teoweb"

Referenced by event_cb().

#define HELLO_MSG   "Hello from WS server!"

Referenced by event_cb().

#define TWEB_VERSION   "0.0.1"

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

Teonet HTTP/WS server based on Cesanta mongoose: https://github.com/cesanta/mongoose

Created on October 1, 2015, 1:17 PM

Referenced by main().

Typedef Documentation

typedef struct teowebModules teowebModules

Function Documentation

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