30 #include "stdinc.h" |
30 #include "stdinc.h" |
31 #include "string_list.h" |
31 #include "string_list.h" |
32 #include "bfile_heuristics.h" |
32 #include "bfile_heuristics.h" |
33 #include "regex_parser.h" |
33 #include "regex_parser.h" |
34 |
34 |
35 typedef struct _settings { |
35 typedef struct settings_s { |
36 string_list_t* includeSuffixes; |
36 string_list_t* includeSuffixes; |
37 string_list_t* excludeSuffixes; |
37 string_list_t* excludeSuffixes; |
38 regex_parser_t* regex; |
38 regex_parser_t* regex; |
39 bfile_heuristics_t* bfileHeuristics; |
39 bfile_heuristics_t* bfileHeuristics; |
40 char fileSeparator; |
40 char fileSeparator; |
41 bool recursive; |
41 bool recursive; |
42 bool matchesOnly; |
42 bool matchesOnly; |
43 bool verbose; |
43 bool verbose; |
44 bool confusing_lnlen; /* this flag is set by the scanner */ |
44 bool confusing_lnlen; /* this flag is set by the scanner */ |
45 bool individual_sums; |
45 bool individual_sums; |
|
46 bool count_chars; |
46 } settings_t; |
47 } settings_t; |
47 |
48 |
48 #ifdef _cplusplus |
49 #ifdef _cplusplus |
49 extern "C" { |
50 extern "C" { |
50 #endif |
51 #endif |