]> git.ipfire.org Git - thirdparty/bash.git/blame - bashline.h
Imported from ../bash-2.05.tar.gz.
[thirdparty/bash.git] / bashline.h
CommitLineData
ccc6cda3
JA
1/* bashline.h -- interface to the bash readline functions in bashline.c. */
2
3/* Copyright (C) 1993 Free Software Foundation, Inc.
4
5 This file is part of GNU Bash, the Bourne Again SHell.
6
7 Bash is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
10 version.
11
12 Bash is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16
17 You should have received a copy of the GNU General Public License along
18 with Bash; see the file COPYING. If not, write to the Free Software
bb70624e 19 Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
ccc6cda3
JA
20
21#if !defined (_BASHLINE_H_)
22#define _BASHLINE_H_
23
24#include "stdc.h"
25
26extern int bash_readline_initialized;
27
28extern void posix_readline_initialize __P((int));
29extern void initialize_readline __P((void));
30extern void bashline_reinitialize __P((void));
31extern int bash_re_edit __P((char *));
32
bb70624e
JA
33extern int bind_keyseq_to_unix_command __P((char *));
34
35/* Used by programmable completion code. */
28ef6c31 36extern char *command_word_completion_function __P((const char *, int));
bb70624e
JA
37
38extern char **get_hostname_list __P((void));
39extern void clear_hostname_list __P((void));
40
28ef6c31 41extern char **bash_directory_completion_matches __P((const char *));
bb70624e 42
ccc6cda3 43#endif /* _BASHLINE_H_ */