|
Teonet library
0.4.7
|
Go to the source code of this file.
Data Structures | |
| struct | teoweb_config |
| File: conf.h Author: Kirill Scherba kirill@scherba.ru More... | |
Typedefs | |
| typedef struct teoweb_config | teoweb_config |
| File: conf.h Author: Kirill Scherba kirill@scherba.ru More... | |
Functions | |
| teoweb_config * | teowebConfigInit () |
| Read teoweb configuration file. More... | |
| void | teowebConfigRead (teoweb_config *conf, const char *network, int port_param) |
| Read configuration fcfg_freeile. More... | |
| void | teowebConfigFree () |
| typedef struct teoweb_config teoweb_config |
File: conf.h Author: Kirill Scherba kirill@scherba.ru
Teonet web application configuration module
Created on November 29, 2015, 6:04 AM Teoweb configuration structure
| void teowebConfigFree | ( | ) |
| teoweb_config* teowebConfigInit | ( | ) |
Read teoweb configuration file.
References malloc().
Referenced by main().
| void teowebConfigRead | ( | teoweb_config * | conf, |
| const char * | network, | ||
| int | port_param | ||
| ) |
Read configuration fcfg_freeile.
| conf | Pointer to teoweb_config |
| network | Network name or NULL |
| port_param | Teonet basic port |
References teoweb_config::auth_server_url, CONF_NAME, teoweb_config::document_root, free(), getDataPath(), teoweb_config::http_port, KSN_BUFFER_SIZE, ksnet_formatMessage(), ksnet_getSysConfigDir(), teoweb_config::l0_server_name, teoweb_config::l0_server_port, and save_conf_back.
Referenced by main().