chardefs.h   chardefs.h 
skipping to change at line 75 skipping to change at line 75
#define UNMETA(c) ((c) & (~meta_character_bit)) #define UNMETA(c) ((c) & (~meta_character_bit))
#define UNCTRL(c) _rl_to_upper(((c)|control_character_bit)) #define UNCTRL(c) _rl_to_upper(((c)|control_character_bit))
#if defined STDC_HEADERS || (!defined (isascii) && !defined (HAVE_ISASCII)) #if defined STDC_HEADERS || (!defined (isascii) && !defined (HAVE_ISASCII))
# define IN_CTYPE_DOMAIN(c) 1 # define IN_CTYPE_DOMAIN(c) 1
#else #else
# define IN_CTYPE_DOMAIN(c) isascii(c) # define IN_CTYPE_DOMAIN(c) isascii(c)
#endif #endif
#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) #if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) && !defined (__cplusplu s)
# define isxdigit(c) (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) # define isxdigit(c) (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
#endif #endif
#if defined (CTYPE_NON_ASCII) #if defined (CTYPE_NON_ASCII)
# define NON_NEGATIVE(c) 1 # define NON_NEGATIVE(c) 1
#else #else
# define NON_NEGATIVE(c) ((unsigned char)(c) == (c)) # define NON_NEGATIVE(c) ((unsigned char)(c) == (c))
#endif #endif
/* Some systems define these; we want our definitions. */ /* Some systems define these; we want our definitions. */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 history.h   history.h 
skipping to change at line 219 skipping to change at line 219
/* Expand the string STRING, placing the result into OUTPUT, a pointer /* Expand the string STRING, placing the result into OUTPUT, a pointer
to a string. Returns: to a string. Returns:
0) If no expansions took place (or, if the only change in 0) If no expansions took place (or, if the only change in
the text was the de-slashifying of the history expansion the text was the de-slashifying of the history expansion
character) character)
1) If expansions did take place 1) If expansions did take place
-1) If there was an error in expansion. -1) If there was an error in expansion.
2) If the returned line should just be printed. 2) If the returned line should just be printed.
If an error ocurred in expansion, then OUTPUT contains a descriptive If an error occurred in expansion, then OUTPUT contains a descriptive
error message. */ error message. */
extern int history_expand PARAMS((char *, char **)); extern int history_expand PARAMS((char *, char **));
/* Extract a string segment consisting of the FIRST through LAST /* Extract a string segment consisting of the FIRST through LAST
arguments present in STRING. Arguments are broken up as in arguments present in STRING. Arguments are broken up as in
the shell. */ the shell. */
extern char *history_arg_extract PARAMS((int, int, const char *)); extern char *history_arg_extract PARAMS((int, int, const char *));
/* Return the text of the history event beginning at the current /* Return the text of the history event beginning at the current
offset into STRING. Pass STRING with *INDEX equal to the offset into STRING. Pass STRING with *INDEX equal to the
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 readline.h   readline.h 
/* Readline.h -- the names of functions callable from within readline. */ /* Readline.h -- the names of functions callable from within readline. */
/* Copyright (C) 1987-2011 Free Software Foundation, Inc. /* Copyright (C) 1987-2013 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 42 skipping to change at line 42
# include "keymaps.h" # include "keymaps.h"
# include "tilde.h" # include "tilde.h"
#else #else
# include <readline/rlstdc.h> # include <readline/rlstdc.h>
# include <readline/rltypedefs.h> # include <readline/rltypedefs.h>
# include <readline/keymaps.h> # include <readline/keymaps.h>
# include <readline/tilde.h> # include <readline/tilde.h>
#endif #endif
/* Hex-encoded Readline version number. */ /* Hex-encoded Readline version number. */
#define RL_READLINE_VERSION 0x0602 /* Readline 6.2 */ #define RL_READLINE_VERSION 0x0603 /* Readline 6.3 */
#define RL_VERSION_MAJOR 6 #define RL_VERSION_MAJOR 6
#define RL_VERSION_MINOR 2 #define RL_VERSION_MINOR 3
/* Readline data structures. */ /* Readline data structures. */
/* Maintaining the state of undo. We remember individual deletes and inser ts /* Maintaining the state of undo. We remember individual deletes and inser ts
on a chain of things to do. */ on a chain of things to do. */
/* The actions that undo knows how to undo. Notice that UNDO_DELETE means /* The actions that undo knows how to undo. Notice that UNDO_DELETE means
to insert some text, and UNDO_INSERT means to delete some text. I.e., to insert some text, and UNDO_INSERT means to delete some text. I.e.,
the code tells undo what to undo, not how to undo it. */ the code tells undo what to undo, not how to undo it. */
enum undo_code { UNDO_DELETE, UNDO_INSERT, UNDO_BEGIN, UNDO_END }; enum undo_code { UNDO_DELETE, UNDO_INSERT, UNDO_BEGIN, UNDO_END };
skipping to change at line 188 skipping to change at line 188
#endif #endif
/* Bindable commands for incremental searching. */ /* Bindable commands for incremental searching. */
extern int rl_reverse_search_history PARAMS((int, int)); extern int rl_reverse_search_history PARAMS((int, int));
extern int rl_forward_search_history PARAMS((int, int)); extern int rl_forward_search_history PARAMS((int, int));
/* Bindable keyboard macro commands. */ /* Bindable keyboard macro commands. */
extern int rl_start_kbd_macro PARAMS((int, int)); extern int rl_start_kbd_macro PARAMS((int, int));
extern int rl_end_kbd_macro PARAMS((int, int)); extern int rl_end_kbd_macro PARAMS((int, int));
extern int rl_call_last_kbd_macro PARAMS((int, int)); extern int rl_call_last_kbd_macro PARAMS((int, int));
extern int rl_print_last_kbd_macro PARAMS((int, int));
/* Bindable undo commands. */ /* Bindable undo commands. */
extern int rl_revert_line PARAMS((int, int)); extern int rl_revert_line PARAMS((int, int));
extern int rl_undo_command PARAMS((int, int)); extern int rl_undo_command PARAMS((int, int));
/* Bindable tilde expansion commands. */ /* Bindable tilde expansion commands. */
extern int rl_tilde_expand PARAMS((int, int)); extern int rl_tilde_expand PARAMS((int, int));
/* Bindable terminal control commands. */ /* Bindable terminal control commands. */
extern int rl_restart_output PARAMS((int, int)); extern int rl_restart_output PARAMS((int, int));
extern int rl_stop_output PARAMS((int, int)); extern int rl_stop_output PARAMS((int, int));
/* Miscellaneous bindable commands. */ /* Miscellaneous bindable commands. */
extern int rl_abort PARAMS((int, int)); extern int rl_abort PARAMS((int, int));
extern int rl_tty_status PARAMS((int, int)); extern int rl_tty_status PARAMS((int, int));
/* Bindable commands for incremental and non-incremental history searching. */ /* Bindable commands for incremental and non-incremental history searching. */
extern int rl_history_search_forward PARAMS((int, int)); extern int rl_history_search_forward PARAMS((int, int));
extern int rl_history_search_backward PARAMS((int, int)); extern int rl_history_search_backward PARAMS((int, int));
extern int rl_history_substr_search_forward PARAMS((int, int));
extern int rl_history_substr_search_backward PARAMS((int, int));
extern int rl_noninc_forward_search PARAMS((int, int)); extern int rl_noninc_forward_search PARAMS((int, int));
extern int rl_noninc_reverse_search PARAMS((int, int)); extern int rl_noninc_reverse_search PARAMS((int, int));
extern int rl_noninc_forward_search_again PARAMS((int, int)); extern int rl_noninc_forward_search_again PARAMS((int, int));
extern int rl_noninc_reverse_search_again PARAMS((int, int)); extern int rl_noninc_reverse_search_again PARAMS((int, int));
/* Bindable command used when inserting a matching close character. */ /* Bindable command used when inserting a matching close character. */
extern int rl_insert_close PARAMS((int, int)); extern int rl_insert_close PARAMS((int, int));
/* Not available unless READLINE_CALLBACKS is defined. */ /* Not available unless READLINE_CALLBACKS is defined. */
extern void rl_callback_handler_install PARAMS((const char *, rl_vcpfunc_t *)); extern void rl_callback_handler_install PARAMS((const char *, rl_vcpfunc_t *));
skipping to change at line 342 skipping to change at line 345
extern void rl_variable_dumper PARAMS((int)); extern void rl_variable_dumper PARAMS((int));
extern int rl_read_init_file PARAMS((const char *)); extern int rl_read_init_file PARAMS((const char *));
extern int rl_parse_and_bind PARAMS((char *)); extern int rl_parse_and_bind PARAMS((char *));
/* Functions for manipulating keymaps. */ /* Functions for manipulating keymaps. */
extern Keymap rl_make_bare_keymap PARAMS((void)); extern Keymap rl_make_bare_keymap PARAMS((void));
extern Keymap rl_copy_keymap PARAMS((Keymap)); extern Keymap rl_copy_keymap PARAMS((Keymap));
extern Keymap rl_make_keymap PARAMS((void)); extern Keymap rl_make_keymap PARAMS((void));
extern void rl_discard_keymap PARAMS((Keymap)); extern void rl_discard_keymap PARAMS((Keymap));
extern void rl_free_keymap PARAMS((Keymap));
extern Keymap rl_get_keymap_by_name PARAMS((const char *)); extern Keymap rl_get_keymap_by_name PARAMS((const char *));
extern char *rl_get_keymap_name PARAMS((Keymap)); extern char *rl_get_keymap_name PARAMS((Keymap));
extern void rl_set_keymap PARAMS((Keymap)); extern void rl_set_keymap PARAMS((Keymap));
extern Keymap rl_get_keymap PARAMS((void)); extern Keymap rl_get_keymap PARAMS((void));
/* Undocumented; used internally only. */ /* Undocumented; used internally only. */
extern void rl_set_keymap_from_edit_mode PARAMS((void)); extern void rl_set_keymap_from_edit_mode PARAMS((void));
extern char *rl_get_keymap_name_from_edit_mode PARAMS((void)); extern char *rl_get_keymap_name_from_edit_mode PARAMS((void));
/* Functions for manipulating the funmap, which maps command names to funct ions. */ /* Functions for manipulating the funmap, which maps command names to funct ions. */
skipping to change at line 439 skipping to change at line 443
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 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. */
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));
extern int rl_maybe_unsave_line PARAMS((void)); extern int rl_maybe_unsave_line PARAMS((void));
extern int rl_maybe_replace_line PARAMS((void)); extern int rl_maybe_replace_line PARAMS((void));
/* Completion functions. */ /* Completion functions. */
extern int rl_complete_internal PARAMS((int)); extern int rl_complete_internal PARAMS((int));
extern void rl_display_match_list PARAMS((char **, int, int)); extern void rl_display_match_list PARAMS((char **, int, int));
extern char **rl_completion_matches PARAMS((const char *, rl_compentry_func _t *)); extern char **rl_completion_matches PARAMS((const char *, rl_compentry_func _t *));
skipping to change at line 563 skipping to change at line 571
/* If non-zero, this is the address of a function to call just before /* If non-zero, this is the address of a function to call just before
readline_internal_setup () returns and readline_internal starts readline_internal_setup () returns and readline_internal starts
reading input characters. */ reading input characters. */
extern rl_hook_func_t *rl_pre_input_hook; extern rl_hook_func_t *rl_pre_input_hook;
/* The address of a function to call periodically while Readline is /* The address of a function to call periodically while Readline is
awaiting character input, or NULL, for no event handling. */ awaiting character input, or NULL, for no event handling. */
extern rl_hook_func_t *rl_event_hook; extern rl_hook_func_t *rl_event_hook;
/* The address of a function to call if a read is interrupted by a signal.
*/
extern rl_hook_func_t *rl_signal_event_hook;
/* The address of a function to call if Readline needs to know whether or n
ot
there is data available from the current input source. */
extern rl_hook_func_t *rl_input_available_hook;
/* The address of the function to call to fetch a character from the curren t /* The address of the function to call to fetch a character from the curren t
Readline input stream */ Readline input stream */
extern rl_getc_func_t *rl_getc_function; extern rl_getc_func_t *rl_getc_function;
extern rl_voidfunc_t *rl_redisplay_function; extern rl_voidfunc_t *rl_redisplay_function;
extern rl_vintfunc_t *rl_prep_term_function; extern rl_vintfunc_t *rl_prep_term_function;
extern rl_voidfunc_t *rl_deprep_term_function; extern rl_voidfunc_t *rl_deprep_term_function;
/* Dispatch variables. */ /* Dispatch variables. */
extern Keymap rl_executing_keymap; extern Keymap rl_executing_keymap;
extern Keymap rl_binding_keymap; extern Keymap rl_binding_keymap;
extern int rl_executing_key;
extern char *rl_executing_keyseq;
extern int rl_key_sequence_length;
/* Display variables. */ /* Display variables. */
/* If non-zero, readline will erase the entire line, including any prompt, /* If non-zero, readline will erase the entire line, including any prompt,
if the only thing typed on an otherwise-blank line is something bound to if the only thing typed on an otherwise-blank line is something bound to
rl_newline. */ rl_newline. */
extern int rl_erase_empty_line; extern int rl_erase_empty_line;
/* If non-zero, the application has already printed the prompt (rl_prompt) /* If non-zero, the application has already printed the prompt (rl_prompt)
before calling readline, so readline should not output it the first time before calling readline, so readline should not output it the first time
redisplay is done. */ redisplay is done. */
extern int rl_already_prompted; extern int rl_already_prompted;
skipping to change at line 606 skipping to change at line 625
SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP, SIGTTIN, and SIGTTOU. */ SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP, SIGTTIN, and SIGTTOU. */
extern int rl_catch_signals; extern int rl_catch_signals;
/* If non-zero, readline will install a signal handler for SIGWINCH /* If non-zero, readline will install a signal handler for SIGWINCH
that also attempts to call any calling application's SIGWINCH signal that also attempts to call any calling application's SIGWINCH signal
handler. Note that the terminal is not cleaned up before the handler. Note that the terminal is not cleaned up before the
application's signal handler is called; use rl_cleanup_after_signal() application's signal handler is called; use rl_cleanup_after_signal()
to do that. */ to do that. */
extern int rl_catch_sigwinch; extern int rl_catch_sigwinch;
/* If non-zero, the readline SIGWINCH handler will modify LINES and
COLUMNS in the 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;
skipping to change at line 689 skipping to change at line 712
only modifies the directory name used in opendir(2), not what is display ed only modifies the directory name used in opendir(2), not what is display ed
when the possible completions are printed or inserted. If set, it takes when the possible completions are printed or inserted. If set, it takes
precedence over rl_directory_completion_hook. The directory rewrite precedence over rl_directory_completion_hook. The directory rewrite
hook should perform any necessary dequoting. This function has the same hook should perform any necessary dequoting. This function has the same
return value properties as the directory_completion_hook. return value properties as the directory_completion_hook.
I'm not happy with how this works yet, so it's undocumented. I'm trying I'm not happy with how this works yet, so it's undocumented. I'm trying
it in bash to see how well it goes. */ it in bash to see how well it goes. */
extern rl_icppfunc_t *rl_directory_rewrite_hook; extern rl_icppfunc_t *rl_directory_rewrite_hook;
/* If non-zero, this is the address of a function for the completer to call
before deciding which character to append to a completed name. It shoul
d
modify the directory name passed as an argument if appropriate, and retu
rn
non-zero if it modifies the name. This should not worry about dequoting
the filename; that has already happened by the time it gets here. */
extern rl_icppfunc_t *rl_filename_stat_hook;
/* If non-zero, this is the address of a function to call when reading /* If non-zero, this is the address of a function to call when reading
directory entries from the filesystem for completion and comparing directory entries from the filesystem for completion and comparing
them to the partial word to be completed. The function should them to the partial word to be completed. The function should
either return its first argument (if no conversion takes place) or either return its first argument (if no conversion takes place) or
newly-allocated memory. This can, for instance, convert filenames newly-allocated memory. This can, for instance, convert filenames
between character sets for comparison against what's typed at the between character sets for comparison against what's typed at the
keyboard. The returned value is what is added to the list of keyboard. The returned value is what is added to the list of
matches. The second argument is the length of the filename to be matches. The second argument is the length of the filename to be
converted. */ converted. */
extern rl_dequote_func_t *rl_filename_rewrite_hook; extern rl_dequote_func_t *rl_filename_rewrite_hook;
 End of changes. 11 change blocks. 
3 lines changed or deleted 37 lines changed or added


 rlconf.h   rlconf.h 
/* rlconf.h -- readline configuration definitions */ /* rlconf.h -- readline configuration definitions */
/* Copyright (C) 1992-2009 Free Software Foundation, Inc. /* Copyright (C) 1992-2012 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 31 skipping to change at line 31
#if !defined (_RLCONF_H_) #if !defined (_RLCONF_H_)
#define _RLCONF_H_ #define _RLCONF_H_
/* Define this if you want the vi-mode editing available. */ /* Define this if you want the vi-mode editing available. */
#define VI_MODE #define VI_MODE
/* Define this to get an indication of file type when listing completions. */ /* Define this to get an indication of file type when listing completions. */
#define VISIBLE_STATS #define VISIBLE_STATS
/* Define this to get support for colors when listing completions and in
other places. */
#define COLOR_SUPPORT
/* This definition is needed by readline.c, rltty.c, and signals.c. */ /* This definition is needed by readline.c, rltty.c, and signals.c. */
/* If on, then readline handles signals in a way that doesn't screw. */ /* If on, then readline handles signals in a way that doesn't suck. */
#define HANDLE_SIGNALS #define HANDLE_SIGNALS
/* Ugly but working hack for binding prefix meta. */ /* Ugly but working hack for binding prefix meta. */
#define PREFIX_META_HACK #define PREFIX_META_HACK
/* The next-to-last-ditch effort file name for a user-specific init file. * / /* The next-to-last-ditch effort file name for a user-specific init file. * /
#define DEFAULT_INPUTRC "~/.inputrc" #define DEFAULT_INPUTRC "~/.inputrc"
/* The ultimate last-ditch filenname for an init file -- system-wide. */ /* The ultimate last-ditch filenname for an init file -- system-wide. */
#define SYS_INPUTRC "/etc/inputrc" #define SYS_INPUTRC "/etc/inputrc"
skipping to change at line 61 skipping to change at line 65
/* The string inserted by the `insert comment' command. */ /* The string inserted by the `insert comment' command. */
#define RL_COMMENT_BEGIN_DEFAULT "#" #define RL_COMMENT_BEGIN_DEFAULT "#"
/* Define this if you want code that allows readline to be used in an /* Define this if you want code that allows readline to be used in an
X `callback' style. */ X `callback' style. */
#define READLINE_CALLBACKS #define READLINE_CALLBACKS
/* Define this if you want the cursor to indicate insert or overwrite mode. */ /* Define this if you want the cursor to indicate insert or overwrite mode. */
/* #define CURSOR_MODE */ /* #define CURSOR_MODE */
/* Define this if you want to enable code that talks to the Linux kernel
tty auditing system. */
#define ENABLE_TTY_AUDIT_SUPPORT
#endif /* _RLCONF_H_ */ #endif /* _RLCONF_H_ */
 End of changes. 4 change blocks. 
2 lines changed or deleted 10 lines changed or added


 rlstdc.h   rlstdc.h 
skipping to change at line 45 skipping to change at line 45
# define PARAMS(protos) () # define PARAMS(protos) ()
# endif # endif
#endif #endif
#ifndef __attribute__ #ifndef __attribute__
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __attribute__(x) # define __attribute__(x)
# endif # endif
#endif #endif
/* Moved from config.h.in because readline.h:rl_message depends on these
defines. */
#if defined (__STDC__) && defined (HAVE_STDARG_H)
# define PREFER_STDARG
# define USE_VARARGS
#else
# if defined (HAVE_VARARGS_H)
# define PREFER_VARARGS
# define USE_VARARGS
# endif
#endif
#endif /* !_RL_STDC_H_ */ #endif /* !_RL_STDC_H_ */
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added


 rltypedefs.h   rltypedefs.h 
/* rltypedefs.h -- Type declarations for readline functions. */ /* rltypedefs.h -- Type declarations for readline functions. */
/* Copyright (C) 2000-2009 Free Software Foundation, Inc. /* Copyright (C) 2000-2011 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 29 skipping to change at line 29
along with Readline. If not, see <http://www.gnu.org/licenses/>. along with Readline. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef _RL_TYPEDEFS_H_ #ifndef _RL_TYPEDEFS_H_
#define _RL_TYPEDEFS_H_ #define _RL_TYPEDEFS_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* Old-style */
#if !defined (_FUNCTION_DEF)
# define _FUNCTION_DEF
typedef int Function ();
typedef void VFunction ();
typedef char *CPFunction ();
typedef char **CPPFunction ();
#endif /* _FUNCTION_DEF */
/* New style. */ /* New style. */
#if !defined (_RL_FUNCTION_TYPEDEF) #if !defined (_RL_FUNCTION_TYPEDEF)
# define _RL_FUNCTION_TYPEDEF # define _RL_FUNCTION_TYPEDEF
/* Bindable functions */ /* Bindable functions */
typedef int rl_command_func_t PARAMS((int, int)); typedef int rl_command_func_t PARAMS((int, int));
/* Typedefs for the completion system */ /* Typedefs for the completion system */
typedef char *rl_compentry_func_t PARAMS((const char *, int)); typedef char *rl_compentry_func_t PARAMS((const char *, int));
 End of changes. 2 change blocks. 
13 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/