summaryrefslogtreecommitdiffstats
path: root/lib/cli/editline.hpp
blob: f97525edbc3e77857e679df39efd4516d5056f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#ifndef EDITLINE_H
#define EDITLINE_H

extern "C" {

char *readline(const char *prompt);
int add_history(const char *line);
void rl_deprep_terminal();

typedef char *ELFunction(const char *, int);

extern char rl_completion_append_character;
extern ELFunction *rl_completion_entry_function;

}

#endif /* EDITLINE_H */