blob: 9c9fb8e9bd15a8229688ecf3e45762f3f66f0d21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|