Lines Matching refs:config_t
41 struct config_t { struct
49 std::unique_ptr<config_t> config_new_empty(void); argument
55 std::unique_ptr<config_t> config_new(const char* filename);
65 std::unique_ptr<config_t> config_new_clone(const config_t& src);
69 bool config_has_section(const config_t& config, const std::string& section);
73 bool config_has_key(const config_t& config, const std::string& section,
79 int config_get_int(const config_t& config, const std::string& section,
85 uint64_t config_get_uint64(const config_t& config, const std::string& section,
91 bool config_get_bool(const config_t& config, const std::string& section,
98 const std::string* config_get_string(const config_t& config,
105 void config_set_int(config_t* config, const std::string& section,
110 void config_set_uint64(config_t* config, const std::string& section,
115 void config_set_bool(config_t* config, const std::string& section,
120 void config_set_string(config_t* config, const std::string& section,
128 bool config_remove_section(config_t* config, const std::string& section);
134 bool config_remove_key(config_t* config, const std::string& section,
143 bool config_save(const config_t& config, const std::string& filename);