aboutsummaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorSoikk2022-05-05 18:49:13 +0200
committerSoikk2022-05-05 18:49:13 +0200
commitcdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31 (patch)
tree324257f3e7f72d9fd22f60ac05282bca38e84a2c /parser.c
parent39c0dfbc9c4279e519841afae5c7413b1bdf56d8 (diff)
downloadsoikk-DB-cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31.tar.xz
soikk-DB-cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31.tar.zst
Deleted spare files
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/parser.c b/parser.c
deleted file mode 100644
index a680d2a..0000000
--- a/parser.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "db.h"
-
-
-int handleMetaCommand(inputBuffer *in){
- if(sameStr(in->buffer, ".exit")){
- freeInputBuffer(in);
- printf("EXIT M'NIGGA\n");
- exit(EXIT_SUCCESS);
- }else{
- return META_COMMAND_FAIL;
- }
-}
-
-int handleInput(inputBuffer *in){
- if(in->buffer[0] == '.'){
- return handleMetaCommand(in);
- }else{
- printf("normal command\n");
- }
-}