Lines Matching refs:config_t
59 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find()
65 bool config_t::Has(const std::string& key) { in Has()
69 static bool config_parse(FILE* fp, config_t* config);
73 config_t, typename std::remove_const<T>::type>::value>>
80 static const entry_t* entry_find(const config_t& config, in entry_find()
93 std::unique_ptr<config_t> config_new_empty(void) { in config_new_empty()
94 return std::make_unique<config_t>(); in config_new_empty()
97 std::unique_ptr<config_t> config_new(const char* filename) { in config_new()
100 std::unique_ptr<config_t> config = config_new_empty(); in config_new()
130 std::unique_ptr<config_t> config_new_clone(const config_t& src) { in config_new_clone()
131 std::unique_ptr<config_t> ret = config_new_empty(); in config_new_clone()
142 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section()
146 bool config_has_key(const config_t& config, const std::string& section, in config_has_key()
151 int config_get_int(const config_t& config, const std::string& section, in config_get_int()
161 uint64_t config_get_uint64(const config_t& config, const std::string& section, in config_get_uint64()
171 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool()
182 const std::string* config_get_string(const config_t& config, in config_get_string()
192 void config_set_int(config_t* config, const std::string& section, in config_set_int()
197 void config_set_uint64(config_t* config, const std::string& section, in config_set_uint64()
202 void config_set_bool(config_t* config, const std::string& section, in config_set_bool()
207 void config_set_string(config_t* config, const std::string& section, in config_set_string()
236 bool config_remove_section(config_t* config, const std::string& section) { in config_remove_section()
246 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key()
263 bool config_save(const config_t& config, const std::string& filename) { in config_save()
491 static bool config_parse(FILE* fp, config_t* config) { in config_parse()