Thu, 02 Feb 2012 16:55:51 +0100
fixed author note
1 /*
2 * settings.h
3 *
4 * Created on: 15.09.2011
5 * Author: Mike
6 */
8 #ifndef SETTINGS_H_
9 #define SETTINGS_H_
11 #include "stdinc.h"
12 #include "string_list.h"
13 #include "bfile_heuristics.h"
14 #include "regex_parser.h"
16 typedef struct _settings {
17 string_list_t* suffixList;
18 regex_parser_t* regex;
19 bfile_heuristics_t* bfileHeuristics;
20 char fileSeparator;
21 bool recursive;
22 bool includeSuffixes;
23 bool matchesOnly;
24 bool verbose;
25 bool confusing_lnlen; /* this flag is set by the scanner */
26 } settings_t;
28 #ifdef _cplusplus
29 extern "C" {
30 #endif
32 settings_t* new_settings_t();
33 void destroy_settings_t(settings_t*);
35 #ifdef _cplusplus
36 }
37 #endif
39 #endif /* SETTINGS_H_ */