Fri, 27 May 2011 12:49:33 +0200
Fixed missing return statement in new_settings_t.
Added support for c++ compilers.
Added destroy_settings_t function
1 #ifndef _CLINE_H
2 #define _CLINE_H
4 #include <stdio.h>
5 #include <string.h>
6 #include <stdbool.h>
7 #include <stdlib.h>
8 #include <dirent.h>
10 typedef struct _settings {
11 char fileSeparator;
12 int suffixc;
13 char** suffixv;
14 bool recursive;
15 bool includeSuffixes;
16 bool matchesOnly;
17 } settings_t;
19 #ifdef _cplusplus
20 extern "C" {
21 #endif
22 settings_t* new_settings_t();
23 void destroy_settings_t(settings_t*);
25 void printHelpText(const char*);
26 #ifdef _cplusplus
27 }
28 #endif
30 #endif /* _CLINE_H */