2019-02-25 08:48:22 -05:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2015-03-17 05:42:46 -04:00
|
|
|
|
|
|
|
|
#ifndef EDITLINE_H
|
|
|
|
|
#define EDITLINE_H
|
|
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
|
|
|
|
char *readline(const char *prompt);
|
|
|
|
|
int add_history(const char *line);
|
2018-08-05 09:18:09 -04:00
|
|
|
void rl_deprep_terminal();
|
2015-03-17 05:42:46 -04:00
|
|
|
|
2015-03-18 02:17:15 -04:00
|
|
|
typedef char *ELFunction(const char *, int);
|
|
|
|
|
|
2015-03-18 03:10:32 -04:00
|
|
|
extern char rl_completion_append_character;
|
2015-03-18 02:17:15 -04:00
|
|
|
extern ELFunction *rl_completion_entry_function;
|
|
|
|
|
|
2015-03-17 05:42:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif /* EDITLINE_H */
|