aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
authorSoikk2022-05-05 18:45:45 +0200
committerSoikk2022-05-05 18:45:45 +0200
commit39c0dfbc9c4279e519841afae5c7413b1bdf56d8 (patch)
tree8fbe479baf22778911b75ec3d06f05de584b6bce /include/parser.h
parent6afe3cc8ec6c009a43950bdbe138cbc2d7a88a4d (diff)
downloadsoikk-DB-39c0dfbc9c4279e519841afae5c7413b1bdf56d8.tar.xz
soikk-DB-39c0dfbc9c4279e519841afae5c7413b1bdf56d8.tar.zst
More quality of life changes
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h17
1 files changed, 17 insertions, 0 deletions
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