aboutsummaryrefslogtreecommitdiffstats
path: root/src/argumentparser.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-04-15 00:43:08 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-04-15 00:43:08 +0300
commitbc25e14b448edb9f41260a23cf6567e6632db267 (patch)
tree71362a1c8d369f3d0080baee5f98edb3439f3735 /src/argumentparser.h
parent0168c10023f0040ae2fa31a212eb6d2e411eefb3 (diff)
downloadck-bc25e14b448edb9f41260a23cf6567e6632db267.tar.gz
ck-bc25e14b448edb9f41260a23cf6567e6632db267.tar.bz2
ck-bc25e14b448edb9f41260a23cf6567e6632db267.zip
dummy init done
action parser conf parser db layer
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