From 39c0dfbc9c4279e519841afae5c7413b1bdf56d8 Mon Sep 17 00:00:00 2001 From: Soikk Date: Thu, 5 May 2022 18:45:45 +0200 Subject: More quality of life changes --- include/parser.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/parser.h (limited to 'include/parser.h') diff --git a/include/parser.h b/include/parser.h new file mode 100644 index 0000000..2e46967 --- /dev/null +++ b/include/parser.h @@ -0,0 +1,17 @@ +#ifndef PARSER_H +#define PARSER_H + +#include "db.h" + + +typedef enum { + META_COMMAND_SUCCESS, + META_COMMAND_FAIL, +} metaCommandStatus; + + +int handleMetaCommand(inputBuffer *in); + +int handleInput(inputBuffer *in); + +#endif \ No newline at end of file -- cgit v1.2.3