Tue, 02 Oct 2012 10:49:25 +0200
added multi-directory support
fixed parser bug in directory parser locking argument number 1024
fixed freed memory access on settings structure
/* * settings.h * * Created on: 15.09.2011 * Author: Mike */ #ifndef SETTINGS_H_ #define SETTINGS_H_ #include "stdinc.h" #include "string_list.h" #include "bfile_heuristics.h" #include "regex_parser.h" typedef struct _settings { string_list_t* includeSuffixes; string_list_t* excludeSuffixes; regex_parser_t* regex; bfile_heuristics_t* bfileHeuristics; char fileSeparator; bool recursive; bool matchesOnly; bool verbose; bool confusing_lnlen; /* this flag is set by the scanner */ } settings_t; #ifdef _cplusplus extern "C" { #endif settings_t* new_settings_t(); void destroy_settings_t(settings_t*); #ifdef _cplusplus } #endif #endif /* SETTINGS_H_ */