Thu, 26 May 2011 14:39:52 +0200
Moved some functions to functions.c
Replaced static variables by settings_t type
universe@3 | 1 | #ifndef _CLINE_H |
universe@3 | 2 | #define _CLINE_H |
universe@1 | 3 | |
universe@1 | 4 | #include <stdio.h> |
universe@1 | 5 | #include <string.h> |
universe@1 | 6 | #include <stdbool.h> |
universe@1 | 7 | #include <stdlib.h> |
universe@1 | 8 | #include <dirent.h> |
universe@1 | 9 | |
universe@3 | 10 | typedef struct _settings { |
universe@3 | 11 | char fileSeparator; |
universe@3 | 12 | int suffixc; |
universe@3 | 13 | char** suffixv; |
universe@3 | 14 | bool recursive; |
universe@3 | 15 | bool includeSuffixes; |
universe@3 | 16 | bool matchesOnly; |
universe@3 | 17 | } settings_t; |
universe@3 | 18 | |
universe@3 | 19 | settings_t* new_settings_t(); |
universe@3 | 20 | |
universe@3 | 21 | void printHelpText(const char* prgName); |
universe@3 | 22 | |
universe@3 | 23 | #endif /* _CLINE_H */ |