Update FSF address in copyright notices.
[bpt/guile.git] / guile-readline / readline.h
1 #ifndef READLINEH
2 #define READLINEH
3
4 /* Copyright (C) 1997 Free Software Foundation, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this software; see the file COPYING. If not, write to
18 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 * Boston, MA 02111-1307 USA
20 *
21 */
22
23 #include "libguile/__scm.h"
24
25 extern scm_option scm_readline_opts[];
26
27 #define SCM_HISTORY_FILE_P scm_readline_opts[0].val
28 #define SCM_HISTORY_LENGTH scm_readline_opts[1].val
29 #define SCM_READLINE_BOUNCE_PARENS scm_readline_opts[2].val
30 #define SCM_N_READLINE_OPTIONS 3
31
32 extern SCM scm_readline_options (SCM setting);
33 extern SCM scm_readline (SCM txt, SCM inp, SCM outp, SCM read_hook);
34 extern SCM scm_add_history (SCM txt);
35 extern SCM scm_read_history (SCM file);
36 extern SCM scm_write_history (SCM file);
37 extern SCM scm_filename_completion_function (SCM text, SCM continuep);
38 extern void scm_init_readline (void);
39
40 #endif