36 #ifndef EM_LIBCONFIG_H_
37 #define EM_LIBCONFIG_H_
83 const char *path,
bool *value );
107 int value[],
int max_num);
121 const char *base_path,
const char *local_path,
122 const char *name,
int *value );
133 libconfig_setting_t **setting_default,
134 libconfig_setting_t **setting_runtime);
144 int em_libconfig_setting_lookup_int(
const libconfig_setting_t *setting,
145 const char *name,
int *value);
154 const libconfig_list_t
155 *em_libconfig_setting_get_list(
const libconfig_setting_t *setting,
const char *name);
163 int em_libconfig_list_length(
const libconfig_list_t *list);
173 libconfig_group_t *em_libconfig_list_lookup_group(
const libconfig_list_t *list,
174 int index,
const char *path);
185 int em_libconfig_list_lookup_int(
const libconfig_list_t *list,
int index,
186 const char *path,
int *value);
197 int em_libconfig_list_lookup_bool(
const libconfig_list_t *list,
int index,
198 const char *path,
bool *value);
209 int em_libconfig_list_lookup_string(
const libconfig_list_t *list,
int index,
210 const char *path,
const char **value);
220 *em_libconfig_group_lookup_group(libconfig_group_t *group,
const char *path);
230 *em_libconfig_group_lookup_list(libconfig_list_t *group,
const char *path);
240 int em_libconfig_group_lookup_int(
const libconfig_group_t *group,
241 const char *name,
int *value);
251 int em_libconfig_group_lookup_bool(
const libconfig_group_t *group,
252 const char *name,
bool *value);
262 int em_libconfig_group_lookup_string(
const libconfig_group_t *group,
263 const char *name,
const char **value);