aboutsummaryrefslogtreecommitdiff
path: root/include/repl.h
diff options
context:
space:
mode:
authorSoikk2022-08-13 18:49:30 +0200
committerSoikk2022-08-13 18:49:30 +0200
commit4b721332d570f53719894af922c22b7cba146b18 (patch)
tree9c5b8f75345310cd7f2479fca0ebaf20c7ca47dc /include/repl.h
parent32dd785f881cf3ba6c1c6806cd3af3cbf56437c4 (diff)
downloadsoikk-DB-4b721332d570f53719894af922c22b7cba146b18.tar.xz
soikk-DB-4b721332d570f53719894af922c22b7cba146b18.tar.zst
Added primitive repl, delete functions for database and remove tag from file function.
Diffstat (limited to 'include/repl.h')
-rw-r--r--include/repl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/repl.h b/include/repl.h
index 26abe9b..f9f0510 100644
--- a/include/repl.h
+++ b/include/repl.h
@@ -4,9 +4,9 @@
#include "db.h"
-typedef struct {
+typedef struct{
char *buffer;
- ssize_t inputSize;
+ int64_t inputSize;
} inputBuffer;
@@ -16,6 +16,6 @@ void freeInputBuffer(inputBuffer *in);
void getInput(inputBuffer *in);
-void prompt(void);
+void prompt(database *db);
#endif