2026-01-27 09:06:40 -05:00
|
|
|
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
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 */
|