Teonet library
0.4.7
|
Go to the source code of this file.
Data Structures | |
struct | teoweb_config |
File: conf.h Author: Kirill Scherba kiril l@sc herba .ruMore... | |
Typedefs | |
typedef struct teoweb_config | teoweb_config |
File: conf.h Author: Kirill Scherba kiril l@sc herba .ruMore... | |
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 |
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().