Lines Matching defs:config

38 #include "config.h"
93 find_create_entry(struct configuration *config,
100 entry = configuration_find_entry(config, entry_name);
104 res = add_configuration_entry(config, entry);
117 enable_cache(struct configuration *config, const char *entry_name, int flag)
122 entry = find_create_entry(config, entry_name);
128 set_positive_time_to_live(struct configuration *config,
140 entry = find_create_entry(config, entry_name);
150 set_negative_time_to_live(struct configuration *config,
162 entry = find_create_entry(config, entry_name);
171 set_positive_confidence_threshold(struct configuration *config,
180 entry = find_create_entry(config, entry_name);
188 set_negative_confidence_threshold(struct configuration *config,
196 entry = find_create_entry(config, entry_name);
206 set_keep_hot_count(struct configuration *config,
215 entry = find_create_entry(config, entry_name);
219 entry = find_create_entry(config, entry_name);
227 set_positive_policy(struct configuration *config,
235 entry = find_create_entry(config, entry_name);
243 set_negative_policy(struct configuration *config,
251 entry = find_create_entry(config, entry_name);
259 set_perform_actual_lookups(struct configuration *config,
267 entry = find_create_entry(config, entry_name);
275 set_suggested_size(struct configuration *config,
281 assert(config != NULL);
285 entry = find_create_entry(config, entry_name);
294 check_files(struct configuration *config, const char *entry_name, int flag)
358 set_threads_num(struct configuration *config, int value)
361 assert(config != NULL);
362 config->threads_num = value;
370 parse_config_file(struct configuration *config,
380 assert(config != NULL);
408 enable_cache(config, fields[1], value);
424 set_positive_time_to_live(config,
430 set_positive_confidence_threshold(config,
437 set_positive_policy(config, fields[1], value);
443 set_perform_actual_lookups(config, fields[1],
453 set_negative_time_to_live(config,
459 set_negative_confidence_threshold(config,
466 set_negative_policy(config,
476 set_suggested_size(config, fields[1], value);
484 set_threads_num(config, value);
493 set_keep_hot_count(config,
503 check_files(config,
512 LOG_ERR_2("config file parser", "error in file "