Patch-ID: bash41-010
[bash.git] / bashline.h
blob9daa8f9fdcd9263738f8d9225a18eceea21f7bd9
1 /* bashline.h -- interface to the bash readline functions in bashline.c. */
3 /* Copyright (C) 1993-2009 Free Software Foundation, Inc.
5 This file is part of GNU Bash, the Bourne Again SHell.
7 Bash is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 Bash is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with Bash. If not, see <http://www.gnu.org/licenses/>.
21 #if !defined (_BASHLINE_H_)
22 #define _BASHLINE_H_
24 #include "stdc.h"
26 extern int bash_readline_initialized;
28 extern void posix_readline_initialize __P((int));
29 extern void reset_completer_word_break_chars __P((void));
30 extern int enable_hostname_completion __P((int));
31 extern void initialize_readline __P((void));
32 extern void bashline_reset __P((void));
33 extern void bashline_reinitialize __P((void));
34 extern int bash_re_edit __P((char *));
36 extern int bind_keyseq_to_unix_command __P((char *));
38 extern char **bash_default_completion __P((const char *, int, int, int, int));
40 /* Used by programmable completion code. */
41 extern char *command_word_completion_function __P((const char *, int));
42 extern char *bash_groupname_completion_function __P((const char *, int));
43 extern char *bash_servicename_completion_function __P((const char *, int));
45 extern char **get_hostname_list __P((void));
46 extern void clear_hostname_list __P((void));
48 extern char **bash_directory_completion_matches __P((const char *));
49 extern char *bash_dequote_text __P((const char *));
51 #endif /* _BASHLINE_H_ */