diff options
Diffstat (limited to 'core.h')
-rw-r--r-- | core.h | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,10 +1,23 @@ - #ifndef GITROLEX_CORE_H #define GITROLEX_CORE_H - #include <stdlib.h> #include <stdio.h> +int gitrolex_core(); + +enum Task_t { + ERROR = -1, + STATUS = 0, + EXPORT, + TRACK +}; + +struct State_t { + enum Task_t task; + char taskArgs[1024]; +}; + +void gitrolex_parseArgs(struct State_t *s, int argc, const char *argv[]); #endif |