1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V.
7 */
8
9#ifndef READLINETOOLS_H_INCLUDED
10#define READLINETOOLS_H_INCLUDED
11
12#ifdef HAVE_LIBREADLINE
13
14#include "mapi.h"
15
16void init_readline(Mapi mid, const char *language, int save_history);
17void deinit_readline(void);
18void save_line(const char *s);
19rl_completion_func_t *suspend_completion(void);
20void continue_completion(rl_completion_func_t * func);
21
22#endif /* HAVE_LIBREADLINE */
23#endif /* READLINETOOLS_H_INCLUDED */
24