summaryrefslogtreecommitdiff
path: root/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core.h')
-rw-r--r--core.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/core.h b/core.h
index 52f65ad..a459412 100644
--- a/core.h
+++ b/core.h
@@ -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