settings.h

Thu, 20 Oct 2011 15:21:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 20 Oct 2011 15:21:53 +0200
changeset 21
91e0890464b0
parent 20
43725438ac50
child 25
802c5382f499
permissions
-rw-r--r--

implemented bfile heuristics option + TODO: implement algorithm

     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 } settings_t;
    25 #ifdef _cplusplus
    26 extern "C" {
    27 #endif
    29 settings_t* new_settings_t();
    30 void destroy_settings_t(settings_t*);
    32 #ifdef _cplusplus
    33 }
    34 #endif
    36 #endif /* SETTINGS_H_ */

mercurial