17#ifndef NMSG_CONFIG_FILE_H
18#define NMSG_CONFIG_FILE_H
30#define CONFIG_FILE_DEFAULT_SECTION "default"
33struct config_file_item;
35struct config_file *config_file_init(
void);
37bool config_file_fill_from_str(
struct config_file *,
const char *);
38bool config_file_load(
struct config_file *,
const char *);
40const struct config_file_item *config_file_find_section(
struct config_file *,
const char *);
41const struct config_file_item *config_file_next_item(
const struct config_file_item *);
43const char *config_file_item_key(
const struct config_file_item *);
44const char *config_file_item_value(
const struct config_file_item *);
46void config_file_destroy(
struct config_file **);