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

universe@10 1 /*
universe@10 2 * settings.h
universe@10 3 *
universe@10 4 * Created on: 15.09.2011
universe@20 5 * Author: Mike
universe@10 6 */
universe@10 7
universe@10 8 #ifndef SETTINGS_H_
universe@10 9 #define SETTINGS_H_
universe@10 10
universe@10 11 #include "stdinc.h"
universe@19 12 #include "string_list.h"
universe@21 13 #include "bfile_heuristics.h"
universe@10 14
universe@10 15 typedef struct _settings {
universe@21 16 string_list_t* suffixList;
universe@21 17 bfile_heuristics_t* bfileHeuristics;
universe@10 18 char fileSeparator;
universe@10 19 bool recursive;
universe@10 20 bool includeSuffixes;
universe@10 21 bool matchesOnly;
universe@16 22 bool verbose;
universe@10 23 } settings_t;
universe@10 24
universe@10 25 #ifdef _cplusplus
universe@10 26 extern "C" {
universe@10 27 #endif
universe@10 28
universe@10 29 settings_t* new_settings_t();
universe@10 30 void destroy_settings_t(settings_t*);
universe@10 31
universe@10 32 #ifdef _cplusplus
universe@10 33 }
universe@10 34 #endif
universe@10 35
universe@10 36 #endif /* SETTINGS_H_ */

mercurial