cline.h

changeset 3
510d6b198dde
parent 1
34a5e235d16e
child 4
c3acfb3b4957
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cline.h	Thu May 26 14:39:52 2011 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +#ifndef _CLINE_H
     1.5 +#define _CLINE_H
     1.6 +
     1.7 +#include <stdio.h>
     1.8 +#include <string.h>
     1.9 +#include <stdbool.h>
    1.10 +#include <stdlib.h>
    1.11 +#include <dirent.h>
    1.12 +
    1.13 +typedef struct _settings {
    1.14 +  char fileSeparator;
    1.15 +  int suffixc;
    1.16 +  char** suffixv;
    1.17 +  bool recursive;
    1.18 +  bool includeSuffixes;
    1.19 +  bool matchesOnly;
    1.20 +} settings_t;
    1.21 +
    1.22 +settings_t* new_settings_t();
    1.23 +
    1.24 +void printHelpText(const char* prgName);
    1.25 +
    1.26 +#endif /* _CLINE_H */

mercurial