16 settings->fileSeparator = '/'; |
16 settings->fileSeparator = '/'; |
17 #endif /* _WIN32 */ |
17 #endif /* _WIN32 */ |
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_suffix_list_t(); |
21 settings->suffixList = new_string_list_t(); |
22 settings->verbose = true; |
22 settings->verbose = true; |
23 } |
23 } |
24 |
24 |
25 return settings; |
25 return settings; |
26 } |
26 } |
27 |
27 |
28 void destroy_settings_t(settings_t* settings) { |
28 void destroy_settings_t(settings_t* settings) { |
29 destroy_suffix_list_t(settings->suffixList); |
29 destroy_string_list_t(settings->suffixList); |
30 free(settings); |
30 free(settings); |
31 } |
31 } |