|
Teonet library
0.4.7
|
#include <string.h>#include <stdlib.h>#include <unistd.h>#include <libgen.h>#include <sys/stat.h>#include <confuse.h>#include "conf.h"#include "utils/utils.h"#include "modules/teo_web/teo_web_conf.h"Macros | |
| #define | CONF_NAME "/teoweb.conf" |
| #define | save_conf_back() |
Functions | |
| void | teowebConfigRead (teoweb_config *conf, const char *network, int port_param) |
| Read configuration fcfg_freeile. More... | |
| teoweb_config * | teowebConfigInit () |
| Read teoweb configuration file. More... | |
| void | teowebConfigFree (teoweb_config *tw_cfg) |
| Free teoweb configuration. More... | |
| #define CONF_NAME "/teoweb.conf" |
Referenced by teowebConfigRead().
| #define save_conf_back | ( | ) |
Referenced by teowebConfigRead().
| void teowebConfigFree | ( | teoweb_config * | tw_cfg | ) |
| 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().