From bc25e14b448edb9f41260a23cf6567e6632db267 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 15 Apr 2018 00:43:08 +0300 Subject: dummy init done action parser conf parser db layer --- src/argumentparser.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/argumentparser.h (limited to 'src/argumentparser.h') 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 -- cgit v1.2.3