Deleted Added
sdiff udiff text old ( 55987 ) new ( 58314 )
full compact
1/* Readline.h -- the names of functions callable from within readline. */
2
3/* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc.
4
5 This file is part of the GNU Readline Library, a library for
6 reading lines of text with interactive input and history editing.
7
8 The GNU Readline Library is free software; you can redistribute it
9 and/or modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 1, or
11 (at your option) any later version.
12
13 The GNU Readline Library is distributed in the hope that it will be
14 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 The GNU General Public License is often shipped with GNU software, and
19 is generally kept in a file called COPYING or LICENSE. If you do not
20 have a copy of the license, write to the Free Software Foundation,
21 675 Mass Ave, Cambridge, MA 02139, USA. */
22
23/* $FreeBSD: head/contrib/libreadline/readline.h 55987 2000-01-14 18:57:33Z bde $ */
24
25#if !defined (_READLINE_H_)
26#define _READLINE_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#if defined (READLINE_LIBRARY)

--- 156 unchanged lines hidden (view full) ---

189/* Bindable commands for incremental and non-incremental history searching. */
190extern int rl_history_search_forward __P((int, int));
191extern int rl_history_search_backward __P((int, int));
192extern int rl_noninc_forward_search __P((int, int));
193extern int rl_noninc_reverse_search __P((int, int));
194extern int rl_noninc_forward_search_again __P((int, int));
195extern int rl_noninc_reverse_search_again __P((int, int));
196
197/* Not available unless readline is compiled -DPAREN_MATCHING. */
198extern int rl_insert_close __P((int, int));
199
200/* Not available unless READLINE_CALLBACKS is defined. */
201extern void rl_callback_handler_install __P((char *, VFunction *));
202extern void rl_callback_read_char __P((void));
203extern void rl_callback_handler_remove __P((void));
204
205/* Things for vi mode. Not available unless readline is compiled -DVI_MODE. */

--- 91 unchanged lines hidden (view full) ---

297extern void rl_function_dumper __P((int));
298extern void rl_macro_dumper __P((int));
299extern void rl_variable_dumper __P((int));
300
301extern int rl_read_init_file __P((char *));
302extern int rl_parse_and_bind __P((char *));
303
304/* Functions for manipulating keymaps. */
305extern char *rl_get_keymap_name __P((Keymap));
306extern void rl_set_keymap_from_edit_mode __P((void));
307extern char *rl_get_keymap_name_from_edit_mode __P((void));
308
309/* Functions for manipulating the funmap, which maps command names to functions. */
310extern int rl_add_funmap_entry __P((char *, Function *));
311extern void rl_initialize_funmap __P((void));
312extern char **rl_funmap_names __P((void));
313

--- 6 unchanged lines hidden (view full) ---

320extern int rl_do_undo __P((void));
321extern int rl_begin_undo_group __P((void));
322extern int rl_end_undo_group __P((void));
323extern int rl_modifying __P((int, int));
324
325/* Functions for redisplay. */
326extern void rl_redisplay __P((void));
327extern int rl_on_new_line __P((void));
328extern int rl_forced_update_display __P((void));
329extern int rl_clear_message __P((void));
330extern int rl_reset_line_state __P((void));
331
332#if defined (__STDC__) && defined (USE_VARARGS) && defined (PREFER_STDARG)
333extern int rl_message (const char *, ...);
334#else
335extern int rl_message ();
336#endif
337
338/* Undocumented in texinfo manual. */
339extern int rl_show_char __P((int));
340extern int rl_character_len __P((int, int));

--- 53 unchanged lines hidden (view full) ---

394/* */
395/* Well Published Variables */
396/* */
397/* **************************************************************** */
398
399/* The version of this incarnation of the readline library. */
400extern char *rl_library_version;
401
402/* The name of the calling program. You should initialize this to
403 whatever was in argv[0]. It is used when parsing conditionals. */
404extern char *rl_readline_name;
405
406/* The prompt readline uses. This is set from the argument to
407 readline (), and should not be assigned to directly. */
408extern char *rl_prompt;
409

--- 47 unchanged lines hidden (view full) ---

457extern Keymap rl_binding_keymap;
458
459/* Display variables. */
460/* If non-zero, readline will erase the entire line, including any prompt,
461 if the only thing typed on an otherwise-blank line is something bound to
462 rl_newline. */
463extern int rl_erase_empty_line;
464
465/* Variables to control readline signal handling. */
466/* If non-zero, readline will install its own signal handlers for
467 SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP, SIGTTIN, and SIGTTOU. */
468extern int rl_catch_signals;
469
470/* If non-zero, readline will install a signal handler for SIGWINCH
471 that also attempts to call any calling application's SIGWINCH signal
472 handler. Note that the terminal is not cleaned up before the

--- 128 unchanged lines hidden (view full) ---

601/* Possible values for do_replace argument to rl_filename_quoting_function,
602 called by rl_complete_internal. */
603#define NO_MATCH 0
604#define SINGLE_MATCH 1
605#define MULT_MATCH 2
606
607#if !defined (savestring)
608#define savestring rl_savestring
609extern char *savestring (); /* XXX backwards compatibility */
610#endif
611
612#ifdef __cplusplus
613}
614#endif
615
616#endif /* _READLINE_H_ */