Lines Matching defs:config
36 #include "config.h"
91 find_create_entry(struct configuration *config,
98 entry = configuration_find_entry(config, entry_name);
102 res = add_configuration_entry(config, entry);
115 enable_cache(struct configuration *config, const char *entry_name, int flag)
120 entry = find_create_entry(config, entry_name);
126 set_positive_time_to_live(struct configuration *config,
138 entry = find_create_entry(config, entry_name);
148 set_negative_time_to_live(struct configuration *config,
160 entry = find_create_entry(config, entry_name);
169 set_positive_confidence_threshold(struct configuration *config,
178 entry = find_create_entry(config, entry_name);
186 set_negative_confidence_threshold(struct configuration *config,
194 entry = find_create_entry(config, entry_name);
204 set_keep_hot_count(struct configuration *config,
213 entry = find_create_entry(config, entry_name);
217 entry = find_create_entry(config, entry_name);
225 set_positive_policy(struct configuration *config,
233 entry = find_create_entry(config, entry_name);
241 set_negative_policy(struct configuration *config,
249 entry = find_create_entry(config, entry_name);
257 set_perform_actual_lookups(struct configuration *config,
265 entry = find_create_entry(config, entry_name);
273 set_suggested_size(struct configuration *config,
279 assert(config != NULL);
283 entry = find_create_entry(config, entry_name);
292 check_files(struct configuration *config, const char *entry_name, int flag)
356 set_threads_num(struct configuration *config, int value)
359 assert(config != NULL);
360 config->threads_num = value;
368 parse_config_file(struct configuration *config,
379 assert(config != NULL);
408 enable_cache(config, fields[1], value);
428 set_positive_time_to_live(config,
438 set_positive_confidence_threshold(config,
445 set_positive_policy(config, fields[1], value);
451 set_perform_actual_lookups(config, fields[1],
465 set_negative_time_to_live(config,
475 set_negative_confidence_threshold(config,
482 set_negative_policy(config,
496 set_suggested_size(config, fields[1], value);
504 set_threads_num(config, value);
517 set_keep_hot_count(config,
527 check_files(config,
542 LOG_ERR_2("config file parser", "error in file "