settings.h

Thu, 09 Feb 2012 15:56:18 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 09 Feb 2012 15:56:18 +0100
changeset 30
d642fdb6745e
parent 27
95a958e3de88
permissions
-rw-r--r--

allow parallel use of -s and -S

     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* 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;
    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_ */

mercurial