18 settings->recursive = false; |
18 settings->recursive = false; |
19 settings->includeSuffixes = false; |
19 settings->includeSuffixes = false; |
20 settings->matchesOnly = false; |
20 settings->matchesOnly = false; |
21 settings->suffixList = new_string_list_t(); |
21 settings->suffixList = new_string_list_t(); |
22 settings->verbose = true; |
22 settings->verbose = true; |
|
23 settings->bfileHeuristics = new_bfile_heuristics_t(); |
23 } |
24 } |
24 |
25 |
25 return settings; |
26 return settings; |
26 } |
27 } |
27 |
28 |
28 void destroy_settings_t(settings_t* settings) { |
29 void destroy_settings_t(settings_t* settings) { |
29 destroy_string_list_t(settings->suffixList); |
30 destroy_string_list_t(settings->suffixList); |
|
31 destroy_bfile_heuristics_t(settings->bfileHeuristics); |
30 free(settings); |
32 free(settings); |
31 } |
33 } |