Sun, 06 Nov 2011 20:12:55 +0100
replaced stricmp with strcasecmp to stay standard compliant
universe@10 | 1 | /* |
universe@10 | 2 | * settings.h |
universe@10 | 3 | * |
universe@10 | 4 | * Created on: 15.09.2011 |
universe@20 | 5 | * Author: Mike |
universe@10 | 6 | */ |
universe@10 | 7 | |
universe@10 | 8 | #ifndef SETTINGS_H_ |
universe@10 | 9 | #define SETTINGS_H_ |
universe@10 | 10 | |
universe@10 | 11 | #include "stdinc.h" |
universe@19 | 12 | #include "string_list.h" |
universe@21 | 13 | #include "bfile_heuristics.h" |
universe@10 | 14 | |
universe@10 | 15 | typedef struct _settings { |
universe@21 | 16 | string_list_t* suffixList; |
universe@21 | 17 | bfile_heuristics_t* bfileHeuristics; |
universe@10 | 18 | char fileSeparator; |
universe@10 | 19 | bool recursive; |
universe@10 | 20 | bool includeSuffixes; |
universe@10 | 21 | bool matchesOnly; |
universe@16 | 22 | bool verbose; |
universe@10 | 23 | } settings_t; |
universe@10 | 24 | |
universe@10 | 25 | #ifdef _cplusplus |
universe@10 | 26 | extern "C" { |
universe@10 | 27 | #endif |
universe@10 | 28 | |
universe@10 | 29 | settings_t* new_settings_t(); |
universe@10 | 30 | void destroy_settings_t(settings_t*); |
universe@10 | 31 | |
universe@10 | 32 | #ifdef _cplusplus |
universe@10 | 33 | } |
universe@10 | 34 | #endif |
universe@10 | 35 | |
universe@10 | 36 | #endif /* SETTINGS_H_ */ |