aboutsummaryrefslogtreecommitdiff
path: root/include/repl.h
blob: 26abe9bd697a0193261c69df25def61b6806b2b4 (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;
	ssize_t inputSize;
} inputBuffer;


inputBuffer *newInputBuffer(void);

void freeInputBuffer(inputBuffer *in);

void getInput(inputBuffer *in);

void prompt(void);

#endif