aboutsummaryrefslogtreecommitdiff
path: root/include/repl.h
blob: f9f05108313b102e21ed5a00c278bc4fe54bcee2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef REPL_H
#define REPL_H

#include "db.h"


typedef struct{
	char *buffer;
	int64_t inputSize;
} inputBuffer;


inputBuffer *newInputBuffer(void);

void freeInputBuffer(inputBuffer *in);

void getInput(inputBuffer *in);

void prompt(database *db);

#endif