Thu, 01 Dec 2011 17:04:30 +0100
Added line buffer (and warning message - there is no regexp parser, though)
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"
15 typedef struct _settings {
16 string_list_t* suffixList;
17 bfile_heuristics_t* bfileHeuristics;
18 char fileSeparator;
19 bool recursive;
20 bool includeSuffixes;
21 bool matchesOnly;
22 bool verbose;
23 bool confusing_lnlen; /* this flag is set by the scanner */
24 } settings_t;
26 #ifdef _cplusplus
27 extern "C" {
28 #endif
30 settings_t* new_settings_t();
31 void destroy_settings_t(settings_t*);
33 #ifdef _cplusplus
34 }
35 #endif
37 #endif /* SETTINGS_H_ */