config_read_file()函数:
头文件: libconfig.h
函数原型:
int config_read_file (config_t * config, const char * filename)
函数功能:
This function reads and parses a configuration from the file named filename into the configuration object config. It returns CONFIG_TRUE on success, or CONFIG_FALSE on failure; the config_error_text() and config_error_line() functions, can be used to obtain information about the error.
结构体 config_t
头文件: libconfig.h
结构体定义:
typedef struct config_t
{
confi