1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/settings.h Thu Sep 15 13:29:06 2011 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +/* 1.5 + * settings.h 1.6 + * 1.7 + * Created on: 15.09.2011 1.8 + * Author: beckermi 1.9 + */ 1.10 + 1.11 +#ifndef SETTINGS_H_ 1.12 +#define SETTINGS_H_ 1.13 + 1.14 +#include "stdinc.h" 1.15 +#include "suffix_list.h" 1.16 + 1.17 +typedef struct _settings { 1.18 + char fileSeparator; 1.19 + suffix_list_t* suffixList; 1.20 + bool recursive; 1.21 + bool includeSuffixes; 1.22 + bool matchesOnly; 1.23 +} settings_t; 1.24 + 1.25 +#ifdef _cplusplus 1.26 +extern "C" { 1.27 +#endif 1.28 + 1.29 +settings_t* new_settings_t(); 1.30 +void destroy_settings_t(settings_t*); 1.31 + 1.32 +#ifdef _cplusplus 1.33 +} 1.34 +#endif 1.35 + 1.36 +#endif /* SETTINGS_H_ */