readline.h (readline-7.0-rc1) | : | readline.h (readline-7.0-rc2) | ||
---|---|---|---|---|
/* Readline.h -- the names of functions callable from within readline. */ | /* Readline.h -- the names of functions callable from within readline. */ | |||
/* Copyright (C) 1987-2015 Free Software Foundation, Inc. | /* Copyright (C) 1987-2016 Free Software Foundation, Inc. | |||
This file is part of the GNU Readline Library (Readline), a library | This file is part of the GNU Readline Library (Readline), a library | |||
for reading lines of text with interactive input and history editing. | for reading lines of text with interactive input and history editing. | |||
Readline is free software: you can redistribute it and/or modify | Readline is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation, either version 3 of the License, or | the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
Readline is distributed in the hope that it will be useful, | Readline is distributed in the hope that it will be useful, | |||
skipping to change at line 256 | skipping to change at line 256 | |||
extern int rl_vi_change_case PARAMS((int, int)); | extern int rl_vi_change_case PARAMS((int, int)); | |||
extern int rl_vi_put PARAMS((int, int)); | extern int rl_vi_put PARAMS((int, int)); | |||
extern int rl_vi_column PARAMS((int, int)); | extern int rl_vi_column PARAMS((int, int)); | |||
extern int rl_vi_delete_to PARAMS((int, int)); | extern int rl_vi_delete_to PARAMS((int, int)); | |||
extern int rl_vi_change_to PARAMS((int, int)); | extern int rl_vi_change_to PARAMS((int, int)); | |||
extern int rl_vi_yank_to PARAMS((int, int)); | extern int rl_vi_yank_to PARAMS((int, int)); | |||
extern int rl_vi_yank_pop PARAMS((int, int)); | extern int rl_vi_yank_pop PARAMS((int, int)); | |||
extern int rl_vi_rubout PARAMS((int, int)); | extern int rl_vi_rubout PARAMS((int, int)); | |||
extern int rl_vi_delete PARAMS((int, int)); | extern int rl_vi_delete PARAMS((int, int)); | |||
extern int rl_vi_back_to_indent PARAMS((int, int)); | extern int rl_vi_back_to_indent PARAMS((int, int)); | |||
extern int rl_vi_unix_word_rubout PARAMS((int, int)); | ||||
extern int rl_vi_first_print PARAMS((int, int)); | extern int rl_vi_first_print PARAMS((int, int)); | |||
extern int rl_vi_char_search PARAMS((int, int)); | extern int rl_vi_char_search PARAMS((int, int)); | |||
extern int rl_vi_match PARAMS((int, int)); | extern int rl_vi_match PARAMS((int, int)); | |||
extern int rl_vi_change_char PARAMS((int, int)); | extern int rl_vi_change_char PARAMS((int, int)); | |||
extern int rl_vi_subst PARAMS((int, int)); | extern int rl_vi_subst PARAMS((int, int)); | |||
extern int rl_vi_overstrike PARAMS((int, int)); | extern int rl_vi_overstrike PARAMS((int, int)); | |||
extern int rl_vi_overstrike_delete PARAMS((int, int)); | extern int rl_vi_overstrike_delete PARAMS((int, int)); | |||
extern int rl_vi_replace PARAMS((int, int)); | extern int rl_vi_replace PARAMS((int, int)); | |||
extern int rl_vi_set_mark PARAMS((int, int)); | extern int rl_vi_set_mark PARAMS((int, int)); | |||
extern int rl_vi_goto_mark PARAMS((int, int)); | extern int rl_vi_goto_mark PARAMS((int, int)); | |||
skipping to change at line 381 | skipping to change at line 382 | |||
extern int rl_do_undo PARAMS((void)); | extern int rl_do_undo PARAMS((void)); | |||
extern int rl_begin_undo_group PARAMS((void)); | extern int rl_begin_undo_group PARAMS((void)); | |||
extern int rl_end_undo_group PARAMS((void)); | extern int rl_end_undo_group PARAMS((void)); | |||
extern int rl_modifying PARAMS((int, int)); | extern int rl_modifying PARAMS((int, int)); | |||
/* Functions for redisplay. */ | /* Functions for redisplay. */ | |||
extern void rl_redisplay PARAMS((void)); | extern void rl_redisplay PARAMS((void)); | |||
extern int rl_on_new_line PARAMS((void)); | extern int rl_on_new_line PARAMS((void)); | |||
extern int rl_on_new_line_with_prompt PARAMS((void)); | extern int rl_on_new_line_with_prompt PARAMS((void)); | |||
extern int rl_forced_update_display PARAMS((void)); | extern int rl_forced_update_display PARAMS((void)); | |||
extern int rl_clear_visible_line PARAMS((void)); | ||||
extern int rl_clear_message PARAMS((void)); | extern int rl_clear_message PARAMS((void)); | |||
extern int rl_reset_line_state PARAMS((void)); | extern int rl_reset_line_state PARAMS((void)); | |||
extern int rl_crlf PARAMS((void)); | extern int rl_crlf PARAMS((void)); | |||
#if defined (USE_VARARGS) && defined (PREFER_STDARG) | #if defined (USE_VARARGS) && defined (PREFER_STDARG) | |||
extern int rl_message (const char *, ...) __attribute__((__format__ (printf, 1, 2))); | extern int rl_message (const char *, ...) __attribute__((__format__ (printf, 1, 2))); | |||
#else | #else | |||
extern int rl_message (); | extern int rl_message (); | |||
#endif | #endif | |||
skipping to change at line 443 | skipping to change at line 445 | |||
extern int rl_alphabetic PARAMS((int)); | extern int rl_alphabetic PARAMS((int)); | |||
extern void rl_free PARAMS((void *)); | extern void rl_free PARAMS((void *)); | |||
/* Readline signal handling, from signals.c */ | /* Readline signal handling, from signals.c */ | |||
extern int rl_set_signals PARAMS((void)); | extern int rl_set_signals PARAMS((void)); | |||
extern int rl_clear_signals PARAMS((void)); | extern int rl_clear_signals PARAMS((void)); | |||
extern void rl_cleanup_after_signal PARAMS((void)); | extern void rl_cleanup_after_signal PARAMS((void)); | |||
extern void rl_reset_after_signal PARAMS((void)); | extern void rl_reset_after_signal PARAMS((void)); | |||
extern void rl_free_line_state PARAMS((void)); | extern void rl_free_line_state PARAMS((void)); | |||
extern int rl_pending_signal PARAMS((void)); | ||||
extern void rl_echo_signal_char PARAMS((int)); | extern void rl_echo_signal_char PARAMS((int)); | |||
extern int rl_set_paren_blink_timeout PARAMS((int)); | extern int rl_set_paren_blink_timeout PARAMS((int)); | |||
/* History management functions. */ | /* History management functions. */ | |||
extern void rl_clear_history PARAMS((void)); | extern void rl_clear_history PARAMS((void)); | |||
/* Undocumented. */ | /* Undocumented. */ | |||
extern int rl_maybe_save_line PARAMS((void)); | extern int rl_maybe_save_line PARAMS((void)); | |||
skipping to change at line 641 | skipping to change at line 645 | |||
extern int rl_change_environment; | extern int rl_change_environment; | |||
/* Completion variables. */ | /* Completion variables. */ | |||
/* Pointer to the generator function for completion_matches (). | /* Pointer to the generator function for completion_matches (). | |||
NULL means to use rl_filename_completion_function (), the default | NULL means to use rl_filename_completion_function (), the default | |||
filename completer. */ | filename completer. */ | |||
extern rl_compentry_func_t *rl_completion_entry_function; | extern rl_compentry_func_t *rl_completion_entry_function; | |||
/* Optional generator for menu completion. Default is | /* Optional generator for menu completion. Default is | |||
rl_completion_entry_function (rl_filename_completion_function). */ | rl_completion_entry_function (rl_filename_completion_function). */ | |||
extern rl_compentry_func_t *rl_menu_completion_entry_function; | extern rl_compentry_func_t *rl_menu_completion_entry_function; | |||
/* If rl_ignore_some_completions_function is non-NULL it is the address | /* If rl_ignore_some_completions_function is non-NULL it is the address | |||
of a function to call after all of the possible matches have been | of a function to call after all of the possible matches have been | |||
generated, but before the actual completion is done to the input line. | generated, but before the actual completion is done to the input line. | |||
The function is called with one argument; a NULL terminated array | The function is called with one argument; a NULL terminated array | |||
of (char *). If your function removes any of the elements, they | of (char *). If your function removes any of the elements, they | |||
must be free()'ed. */ | must be free()'ed. */ | |||
extern rl_compignore_func_t *rl_ignore_some_completions_function; | extern rl_compignore_func_t *rl_ignore_some_completions_function; | |||
/* Pointer to alternative function to create matches. | /* Pointer to alternative function to create matches. | |||
skipping to change at line 833 | skipping to change at line 837 | |||
preferences are honored. */ | preferences are honored. */ | |||
extern int rl_completion_mark_symlink_dirs; | extern int rl_completion_mark_symlink_dirs; | |||
/* If non-zero, then disallow duplicates in the matches. */ | /* If non-zero, then disallow duplicates in the matches. */ | |||
extern int rl_ignore_completion_duplicates; | extern int rl_ignore_completion_duplicates; | |||
/* If this is non-zero, completion is (temporarily) inhibited, and the | /* If this is non-zero, completion is (temporarily) inhibited, and the | |||
completion character will be inserted as any other. */ | completion character will be inserted as any other. */ | |||
extern int rl_inhibit_completion; | extern int rl_inhibit_completion; | |||
/* Applications can set this to non-zero to have readline's signal handlers | ||||
installed during the entire duration of reading a complete line, as in | ||||
readline-6.2. This should be used with care, because it can result in | ||||
readline receiving signals and not handling them until it's called again | ||||
via rl_callback_read_char, thereby stealing them from the application. | ||||
By default, signal handlers are only active while readline is active. */ | ||||
extern int rl_persistent_signal_handlers; | ||||
/* Input error; can be returned by (*rl_getc_function) if readline is reading | /* Input error; can be returned by (*rl_getc_function) if readline is reading | |||
a top-level command (RL_ISSTATE (RL_STATE_READCMD)). */ | a top-level command (RL_ISSTATE (RL_STATE_READCMD)). */ | |||
#define READERR (-2) | #define READERR (-2) | |||
/* Definitions available for use by readline clients. */ | /* Definitions available for use by readline clients. */ | |||
#define RL_PROMPT_START_IGNORE '\001' | #define RL_PROMPT_START_IGNORE '\001' | |||
#define RL_PROMPT_END_IGNORE '\002' | #define RL_PROMPT_END_IGNORE '\002' | |||
/* Possible values for do_replace argument to rl_filename_quoting_function, | /* Possible values for do_replace argument to rl_filename_quoting_function, | |||
called by rl_complete_internal. */ | called by rl_complete_internal. */ | |||
End of changes. 6 change blocks. | ||||
2 lines changed or deleted | 14 lines changed or added |