diff -r 28319b20968c -r ecf787666f44 cline.h --- a/cline.h Mon May 30 08:45:08 2011 +0200 +++ b/cline.h Thu Sep 15 13:29:06 2011 +0200 @@ -1,39 +1,25 @@ -#ifndef _CLINE_H -#define _CLINE_H +/* + * cline.h + * + * Created on: 23.05.2011 + * Author: beckermi + */ -#include -#include -#include -#include -#include +#ifndef CLINE_H_ +#define CLINE_H_ - -typedef struct _suffix_list { - int count; - char** items; -} suffix_list_t; - -typedef struct _settings { - char fileSeparator; - suffix_list_t* suffixList; - bool recursive; - bool includeSuffixes; - bool matchesOnly; -} settings_t; +#include "stdinc.h" +#include "settings.h" #ifdef _cplusplus extern "C" { #endif -settings_t* new_settings_t(); -void destroy_settings_t(settings_t*); -suffix_list_t* new_suffix_list_t(); -void destroy_suffix_list_t(suffix_list_t*); -void add_suffix(suffix_list_t*, char*); void printHelpText(const char*); int exit_with_help(char*, settings_t*, int); + #ifdef _cplusplus } #endif -#endif /* _CLINE_H */ +#endif /* CLINE_H_ */