src/settings.h

changeset 102
665b60727a89
parent 99
094eff4cfc03
child 103
31fa205db85a
equal deleted inserted replaced
101:0cb645809b1a 102:665b60727a89
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 { 35 typedef struct {
36 string_list* includeSuffixes; 36 string_list *includeSuffixes;
37 string_list* excludeSuffixes; 37 string_list *excludeSuffixes;
38 string_list* excludeDirs; 38 string_list *excludeDirs;
39 regex_parser* regex; 39 regex_parser *regex;
40 bfile_heuristics* bfileHeuristics; 40 bfile_heuristics *bfileHeuristics;
41 char fileSeparator; 41 char fileSeparator;
42 bool recursive; 42 bool recursive;
43 bool matchesOnly; 43 bool matchesOnly;
44 bool verbose; 44 bool verbose;
45 bool confusing_lnlen; /* this flag is set by the scanner */ 45 bool confusing_lnlen; /* this flag is set by the scanner */
50 50
51 #ifdef _cplusplus 51 #ifdef _cplusplus
52 extern "C" { 52 extern "C" {
53 #endif 53 #endif
54 54
55 settings* new_settings(); 55 settings *new_settings();
56 void destroy_settings(settings*); 56 void destroy_settings(settings*);
57 57
58 #ifdef _cplusplus 58 #ifdef _cplusplus
59 } 59 }
60 #endif 60 #endif

mercurial