diff options
Diffstat (limited to 'include/repl.h')
| -rw-r--r-- | include/repl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/repl.h b/include/repl.h new file mode 100644 index 0000000..9c9fb8e --- /dev/null +++ b/include/repl.h @@ -0,0 +1,20 @@ +#ifndef REPL_H +#define REPL_H + +#include "db.h" + +typedef struct { + char *buffer; + ssize_t inputSize; +} inputBuffer; + + +inputBuffer *newInputBuffer(void); + +void freeInputBuffer(inputBuffer *in); + +void getInput(inputBuffer *in); + +void prompt(void); + +#endif
\ No newline at end of file |
