settings.h

changeset 34
fa9bda32de17
parent 30
d642fdb6745e
equal deleted inserted replaced
33:1a2d7298bc82 34:fa9bda32de17
1 /*
2 * settings.h
3 *
4 * Created on: 15.09.2011
5 * Author: Mike
6 */
7
8 #ifndef SETTINGS_H_
9 #define SETTINGS_H_
10
11 #include "stdinc.h"
12 #include "string_list.h"
13 #include "bfile_heuristics.h"
14 #include "regex_parser.h"
15
16 typedef struct _settings {
17 string_list_t* includeSuffixes;
18 string_list_t* excludeSuffixes;
19 regex_parser_t* regex;
20 bfile_heuristics_t* bfileHeuristics;
21 char fileSeparator;
22 bool recursive;
23 bool matchesOnly;
24 bool verbose;
25 bool confusing_lnlen; /* this flag is set by the scanner */
26 } settings_t;
27
28 #ifdef _cplusplus
29 extern "C" {
30 #endif
31
32 settings_t* new_settings_t();
33 void destroy_settings_t(settings_t*);
34
35 #ifdef _cplusplus
36 }
37 #endif
38
39 #endif /* SETTINGS_H_ */

mercurial