aboutsummaryrefslogtreecommitdiffstats
path: root/src/argumentparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/argumentparser.h')
-rw-r--r--src/argumentparser.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/argumentparser.h b/src/argumentparser.h
new file mode 100644
index 0000000..7674e52
--- /dev/null
+++ b/src/argumentparser.h
@@ -0,0 +1,27 @@
+/* argumentparser.h - Argument parser for ck------------------------*- C -*-
+ *
+ * This file is part of ck, the config keeper
+ *
+ * ---------------------------------------------------------------------
+ *
+ * The code here and in argumentparser.c is responsible for parsing
+ * the user's input from the command line
+ *
+ * Keeps track of what error occured where and provides
+ * printParserHelp() and printParserError() functions
+ * to notify the user
+ *
+ * ------------------------------------------------------------------ */
+#ifndef ARGUMENTPARSER_H
+#define ARGUMENTPARSER_H
+#define INIT_ALIAS \
+
+
+#define ARGUMENT_TABLE \
+ X(init, )
+
+typedef enum ParseResults ParseResult;
+
+extern ParseResult parse(int argc, char *argv[]);
+
+#endif // ARGUMENTPARSER_H