#include "rlstdc.h"#include "rltypedefs.h"#include "keymaps.h"#include "tilde.h"#include <readline/rlstdc.h>#include <readline/rltypedefs.h>#include <readline/keymaps.h>#include <readline/tilde.h>Include dependency graph for readline.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | undo_list |
| struct | _funmap |
| struct | readline_state |
Defines | |
| #define | _READLINE_H_ |
| #define | RL_READLINE_VERSION 0x0500 |
| #define | RL_VERSION_MAJOR 5 |
| #define | RL_VERSION_MINOR 0 |
| #define | rl_symbolic_link_hook rl_directory_completion_hook |
| #define | RL_PROMPT_START_IGNORE '\001' |
| #define | RL_PROMPT_END_IGNORE '\002' |
| #define | NO_MATCH 0 |
| #define | SINGLE_MATCH 1 |
| #define | MULT_MATCH 2 |
| #define | RL_STATE_NONE 0x00000 |
| #define | RL_STATE_INITIALIZING 0x00001 |
| #define | RL_STATE_INITIALIZED 0x00002 |
| #define | RL_STATE_TERMPREPPED 0x00004 |
| #define | RL_STATE_READCMD 0x00008 |
| #define | RL_STATE_METANEXT 0x00010 |
| #define | RL_STATE_DISPATCHING 0x00020 |
| #define | RL_STATE_MOREINPUT 0x00040 |
| #define | RL_STATE_ISEARCH 0x00080 |
| #define | RL_STATE_NSEARCH 0x00100 |
| #define | RL_STATE_SEARCH 0x00200 |
| #define | RL_STATE_NUMERICARG 0x00400 |
| #define | RL_STATE_MACROINPUT 0x00800 |
| #define | RL_STATE_MACRODEF 0x01000 |
| #define | RL_STATE_OVERWRITE 0x02000 |
| #define | RL_STATE_COMPLETING 0x04000 |
| #define | RL_STATE_SIGHANDLER 0x08000 |
| #define | RL_STATE_UNDOING 0x10000 |
| #define | RL_STATE_INPUTPENDING 0x20000 |
| #define | RL_STATE_TTYCSAVED 0x40000 |
| #define | RL_STATE_DONE 0x80000 |
| #define | RL_SETSTATE(x) (rl_readline_state |= (x)) |
| #define | RL_UNSETSTATE(x) (rl_readline_state &= ~(x)) |
| #define | RL_ISSTATE(x) (rl_readline_state & (x)) |
Typedefs | |
| typedef undo_list | UNDO_LIST |
| typedef _funmap | FUNMAP |
Enumerations | |
| enum | undo_code { UNDO_DELETE, UNDO_INSERT, UNDO_BEGIN, UNDO_END } |
Functions | |
| int rl_digit_argument | PARAMS ((int, int)) |
| void rl_callback_handler_install | PARAMS ((const char *, rl_vcpfunc_t *)) |
| void rl_callback_read_char | PARAMS ((void)) |
| int rl_vi_domove | PARAMS ((int, int *)) |
| int rl_vi_bracktype | PARAMS ((int)) |
| void rl_vi_start_inserting | PARAMS ((int, int, int)) |
| char *readline | PARAMS ((const char *)) |
| int rl_expand_prompt | PARAMS ((char *)) |
| int rl_add_defun | PARAMS ((const char *, rl_command_func_t *, int)) |
| int rl_bind_key | PARAMS ((int, rl_command_func_t *)) |
| int rl_bind_key_in_map | PARAMS ((int, rl_command_func_t *, Keymap)) |
| int rl_unbind_key_in_map | PARAMS ((int, Keymap)) |
| int rl_unbind_function_in_map | PARAMS ((rl_command_func_t *, Keymap)) |
| int rl_unbind_command_in_map | PARAMS ((const char *, Keymap)) |
| int rl_bind_keyseq | PARAMS ((const char *, rl_command_func_t *)) |
| int rl_bind_keyseq_in_map | PARAMS ((const char *, rl_command_func_t *, Keymap)) |
| int rl_generic_bind | PARAMS ((int, const char *, char *, Keymap)) |
| int rl_variable_bind | PARAMS ((const char *, const char *)) |
| int rl_macro_bind | PARAMS ((const char *, const char *, Keymap)) |
| int rl_translate_keyseq | PARAMS ((const char *, char *, int *)) |
| rl_command_func_t *rl_function_of_keyseq | PARAMS ((const char *, Keymap, int *)) |
| char **rl_invoking_keyseqs | PARAMS ((rl_command_func_t *)) |
| Keymap rl_copy_keymap | PARAMS ((Keymap)) |
| void rl_add_undo | PARAMS ((enum undo_code, int, int, char *)) |
| int | rl_message () |
| void rl_replace_line | PARAMS ((const char *, int)) |
| void rl_get_screen_size | PARAMS ((int *, int *)) |
| int rl_getc | PARAMS ((FILE *)) |
| void rl_display_match_list | PARAMS ((char **, int, int)) |
| char **rl_completion_matches | PARAMS ((const char *, rl_compentry_func_t *)) |
| int rl_save_state | PARAMS ((struct readline_state *)) |
Variables | |
| UNDO_LIST * | rl_undo_list |
| FUNMAP ** | funmap |
| const char * | rl_library_version |
| int | rl_readline_version |
| int | rl_gnu_readline_p |
| int | rl_readline_state |
| int | rl_editing_mode |
| int | rl_insert_mode |
| const char * | rl_readline_name |
| char * | rl_prompt |
| char * | rl_line_buffer |
| int | rl_point |
| int | rl_end |
| int | rl_mark |
| int | rl_done |
| int | rl_pending_input |
| int | rl_dispatching |
| int | rl_explicit_arg |
| int | rl_numeric_arg |
| rl_command_func_t * | rl_last_func |
| const char * | rl_terminal_name |
| FILE * | rl_instream |
| FILE * | rl_outstream |
| rl_hook_func_t * | rl_startup_hook |
| rl_hook_func_t * | rl_pre_input_hook |
| rl_hook_func_t * | rl_event_hook |
| rl_getc_func_t * | rl_getc_function |
| rl_voidfunc_t * | rl_redisplay_function |
| rl_vintfunc_t * | rl_prep_term_function |
| rl_voidfunc_t * | rl_deprep_term_function |
| Keymap | rl_executing_keymap |
| Keymap | rl_binding_keymap |
| int | rl_erase_empty_line |
| int | rl_already_prompted |
| int | rl_num_chars_to_read |
| char * | rl_executing_macro |
| int | rl_catch_signals |
| int | rl_catch_sigwinch |
| rl_compentry_func_t * | rl_completion_entry_function |
| rl_compignore_func_t * | rl_ignore_some_completions_function |
| rl_completion_func_t * | rl_attempted_completion_function |
| const char * | rl_basic_word_break_characters |
| char * | rl_completer_word_break_characters |
| rl_cpvfunc_t * | rl_completion_word_break_hook |
| const char * | rl_completer_quote_characters |
| const char * | rl_basic_quote_characters |
| const char * | rl_filename_quote_characters |
| const char * | rl_special_prefixes |
| rl_icppfunc_t * | rl_directory_completion_hook |
| rl_icppfunc_t * | rl_directory_rewrite_hook |
| rl_compdisp_func_t * | rl_completion_display_matches_hook |
| int | rl_filename_completion_desired |
| int | rl_filename_quoting_desired |
| rl_quote_func_t * | rl_filename_quoting_function |
| rl_dequote_func_t * | rl_filename_dequoting_function |
| rl_linebuf_func_t * | rl_char_is_quoted_p |
| int | rl_attempted_completion_over |
| int | rl_completion_type |
| int | rl_completion_query_items |
| int | rl_completion_append_character |
| int | rl_completion_suppress_append |
| int | rl_completion_quote_character |
| int | rl_completion_found_quote |
| int | rl_completion_suppress_quote |
| int | rl_completion_mark_symlink_dirs |
| int | rl_ignore_completion_duplicates |
| int | rl_inhibit_completion |
| #define _READLINE_H_ |
Definition at line 24 of file readline.h.
| #define MULT_MATCH 2 |
Definition at line 759 of file readline.h.
Referenced by rl_complete_internal(), and rl_menu_complete().
| #define NO_MATCH 0 |
| #define RL_ISSTATE | ( | x | ) | (rl_readline_state & (x)) |
Definition at line 788 of file readline.h.
Referenced by _rl_dispatch_subseq(), rl_call_last_kbd_macro(), rl_end_kbd_macro(), rl_start_kbd_macro(), and rl_tty_unset_default_bindings().
| #define RL_PROMPT_END_IGNORE '\002' |
| #define RL_PROMPT_START_IGNORE '\001' |
| #define RL_READLINE_VERSION 0x0500 |
Definition at line 43 of file readline.h.
| #define RL_SETSTATE | ( | x | ) | (rl_readline_state |= (x)) |
Definition at line 786 of file readline.h.
Referenced by _rl_char_search(), _rl_dispatch_subseq(), _rl_with_macro_input(), get_y_or_n(), noninc_search(), noninc_search_from_pos(), readline_internal_char(), rl_arrow_keys(), rl_complete_internal(), rl_digit_loop(), rl_digit_loop1(), rl_do_undo(), rl_execute_next(), rl_initialize(), rl_newline(), rl_prep_terminal(), rl_quoted_insert(), rl_search_history(), rl_signal_handler(), rl_start_kbd_macro(), rl_stuff_char(), rl_vi_change_char(), rl_vi_char_search(), rl_vi_domove(), rl_vi_goto_mark(), and rl_vi_set_mark().
| #define RL_STATE_COMPLETING 0x04000 |
| #define RL_STATE_DISPATCHING 0x00020 |
| #define RL_STATE_DONE 0x80000 |
Definition at line 784 of file readline.h.
Referenced by readline_internal_char(), rl_initialize(), and rl_newline().
| #define RL_STATE_INITIALIZED 0x00002 |
| #define RL_STATE_INITIALIZING 0x00001 |
| #define RL_STATE_INPUTPENDING 0x20000 |
Definition at line 781 of file readline.h.
Referenced by rl_clear_pending_input(), rl_execute_next(), and rl_stuff_char().
| #define RL_STATE_ISEARCH 0x00080 |
| #define RL_STATE_MACRODEF 0x01000 |
Definition at line 776 of file readline.h.
Referenced by _rl_abort_internal(), _rl_dispatch_subseq(), _rl_kill_kbd_macro(), rl_call_last_kbd_macro(), rl_end_kbd_macro(), and rl_start_kbd_macro().
| #define RL_STATE_MACROINPUT 0x00800 |
Definition at line 775 of file readline.h.
Referenced by _rl_pop_executing_macro(), and _rl_with_macro_input().
| #define RL_STATE_METANEXT 0x00010 |
| #define RL_STATE_MOREINPUT 0x00040 |
Definition at line 770 of file readline.h.
Referenced by _rl_char_search(), _rl_dispatch_subseq(), get_y_or_n(), noninc_search(), rl_arrow_keys(), rl_digit_loop(), rl_digit_loop1(), rl_quoted_insert(), rl_vi_change_char(), rl_vi_char_search(), rl_vi_domove(), rl_vi_goto_mark(), and rl_vi_set_mark().
| #define RL_STATE_NONE 0x00000 |
Definition at line 762 of file readline.h.
| #define RL_STATE_NSEARCH 0x00100 |
| #define RL_STATE_NUMERICARG 0x00400 |
| #define RL_STATE_OVERWRITE 0x02000 |
Definition at line 777 of file readline.h.
| #define RL_STATE_READCMD 0x00008 |
| #define RL_STATE_SEARCH 0x00200 |
| #define RL_STATE_SIGHANDLER 0x08000 |
| #define RL_STATE_TERMPREPPED 0x00004 |
Definition at line 766 of file readline.h.
Referenced by rl_deprep_terminal(), and rl_prep_terminal().
| #define RL_STATE_TTYCSAVED 0x40000 |
Definition at line 782 of file readline.h.
Referenced by rl_prep_terminal(), and rl_tty_unset_default_bindings().
| #define RL_STATE_UNDOING 0x10000 |
| #define rl_symbolic_link_hook rl_directory_completion_hook |
Definition at line 659 of file readline.h.
| #define RL_UNSETSTATE | ( | x | ) | (rl_readline_state &= ~(x)) |
Definition at line 787 of file readline.h.
Referenced by _rl_abort_internal(), _rl_char_search(), _rl_dispatch_subseq(), _rl_kill_kbd_macro(), _rl_pop_executing_macro(), get_y_or_n(), noninc_search(), noninc_search_from_pos(), readline_internal_char(), rl_arrow_keys(), rl_clear_pending_input(), rl_complete_internal(), rl_deprep_terminal(), rl_digit_loop(), rl_digit_loop1(), rl_do_undo(), rl_end_kbd_macro(), rl_initialize(), rl_quoted_insert(), rl_signal_handler(), rl_vi_change_char(), rl_vi_char_search(), rl_vi_domove(), rl_vi_goto_mark(), and rl_vi_set_mark().
| #define RL_VERSION_MAJOR 5 |
Definition at line 44 of file readline.h.
| #define RL_VERSION_MINOR 0 |
Definition at line 45 of file readline.h.
| #define SINGLE_MATCH 1 |
Definition at line 758 of file readline.h.
Referenced by insert_all_matches(), rl_complete_internal(), and rl_menu_complete().
| enum undo_code |
| int rl_save_state PARAMS | ( | (struct readline_state *) | ) |
| char** rl_completion_matches PARAMS | ( | (const char *, rl_compentry_func_t *) | ) |
| void rl_display_match_list PARAMS | ( | (char **, int, int) | ) |
| int rl_getc PARAMS | ( | (FILE *) | ) |
| void rl_get_screen_size PARAMS | ( | (int *, int *) | ) |
| void rl_replace_line PARAMS | ( | (const char *, int) | ) |
| void rl_add_undo PARAMS | ( | (enum undo_code, int, int, char *) | ) |
| char** rl_invoking_keyseqs PARAMS | ( | (rl_command_func_t *) | ) |
| rl_command_func_t* rl_function_of_keyseq PARAMS | ( | (const char *, Keymap, int *) | ) |
| int rl_translate_keyseq PARAMS | ( | (const char *, char *, int *) | ) |
| int rl_macro_bind PARAMS | ( | (const char *, const char *, Keymap) | ) |
| int rl_variable_bind PARAMS | ( | (const char *, const char *) | ) |
| int rl_generic_bind PARAMS | ( | (int, const char *, char *, Keymap) | ) |
| int rl_bind_keyseq_in_map PARAMS | ( | (const char *, rl_command_func_t *, Keymap) | ) |
| int rl_bind_keyseq PARAMS | ( | (const char *, rl_command_func_t *) | ) |
| int rl_unbind_command_in_map PARAMS | ( | (const char *, Keymap) | ) |
| int rl_unbind_function_in_map PARAMS | ( | (rl_command_func_t *, Keymap) | ) |
| int rl_unbind_key_in_map PARAMS | ( | (int, Keymap) | ) |
| int rl_bind_key_in_map PARAMS | ( | (int, rl_command_func_t *, Keymap) | ) |
| int rl_bind_key PARAMS | ( | (int, rl_command_func_t *) | ) |
| int rl_add_defun PARAMS | ( | (const char *, rl_command_func_t *, int) | ) |
| int rl_expand_prompt PARAMS | ( | (char *) | ) |
| char* readline PARAMS | ( | (const char *) | ) |
| void rl_vi_start_inserting PARAMS | ( | (int, int, int) | ) |
| int rl_vi_bracktype PARAMS | ( | (int) | ) |
| int rl_vi_domove PARAMS | ( | (int, int *) | ) |
| void rl_callback_read_char PARAMS | ( | (void) | ) |
| void rl_callback_handler_install PARAMS | ( | (const char *, rl_vcpfunc_t *) | ) |
| int rl_digit_argument PARAMS | ( | (int, int) | ) |
| int rl_message | ( | ) |
Definition at line 121 of file readline.c.
| rl_completion_func_t* rl_attempted_completion_function |
Definition at line 116 of file readline.c.
Definition at line 111 of file readline.c.
| const char* rl_basic_quote_characters |
Definition at line 227 of file complete.c.
| const char* rl_basic_word_break_characters |
Definition at line 112 of file readline.c.
| int rl_catch_signals |
Definition at line 124 of file readline.c.
| rl_linebuf_func_t* rl_char_is_quoted_p |
Definition at line 294 of file complete.c.
| const char* rl_completer_quote_characters |
Definition at line 114 of file readline.c.
Definition at line 113 of file readline.c.
Definition at line 159 of file readline.c.
| rl_compdisp_func_t* rl_completion_display_matches_hook |
Definition at line 127 of file readline.c.
| rl_compentry_func_t* rl_completion_entry_function |
Definition at line 115 of file readline.c.
Definition at line 316 of file complete.c.
Definition at line 327 of file complete.c.
Definition at line 146 of file readline.c.
Definition at line 312 of file complete.c.
Definition at line 299 of file complete.c.
Definition at line 308 of file complete.c.
Definition at line 140 of file readline.c.
| rl_cpvfunc_t* rl_completion_word_break_hook |
Definition at line 237 of file complete.c.
| rl_voidfunc_t* rl_deprep_term_function |
Definition at line 129 of file readline.c.
| rl_icppfunc_t* rl_directory_completion_hook |
Definition at line 184 of file complete.c.
| rl_icppfunc_t* rl_directory_rewrite_hook |
Definition at line 186 of file complete.c.
| int rl_dispatching |
Definition at line 114 of file readline.c.
| int rl_done |
Definition at line 98 of file readline.c.
| int rl_editing_mode |
Definition at line 106 of file readline.c.
| int rl_end |
Definition at line 95 of file readline.c.
Definition at line 221 of file readline.c.
| rl_hook_func_t* rl_event_hook |
Definition at line 99 of file readline.c.
Definition at line 218 of file readline.c.
| char* rl_executing_macro |
| int rl_explicit_arg |
Definition at line 123 of file readline.c.
Definition at line 122 of file readline.c.
| rl_dequote_func_t* rl_filename_dequoting_function |
Definition at line 289 of file complete.c.
| const char* rl_filename_quote_characters |
Definition at line 246 of file complete.c.
Definition at line 266 of file complete.c.
| rl_quote_func_t* rl_filename_quoting_function |
Definition at line 283 of file complete.c.
| rl_getc_func_t* rl_getc_function |
Definition at line 119 of file readline.c.
Definition at line 99 of file readline.c.
Definition at line 123 of file readline.c.
| rl_compignore_func_t* rl_ignore_some_completions_function |
Definition at line 277 of file complete.c.
Definition at line 110 of file readline.c.
| int rl_insert_mode |
Definition at line 109 of file readline.c.
| FILE* rl_instream |
Definition at line 92 of file readline.c.
| rl_command_func_t* rl_last_func |
Definition at line 152 of file readline.c.
| const char* rl_library_version |
Definition at line 86 of file readline.c.
| char* rl_line_buffer |
Definition at line 96 of file readline.c.
| int rl_mark |
Definition at line 143 of file readline.c.
Definition at line 225 of file readline.c.
| int rl_numeric_arg |
Definition at line 120 of file readline.c.
| FILE* rl_outstream |
Definition at line 93 of file readline.c.
| int rl_pending_input |
Definition at line 198 of file readline.c.
| int rl_point |
Definition at line 94 of file readline.c.
| rl_hook_func_t* rl_pre_input_hook |
Definition at line 117 of file readline.c.
| rl_vintfunc_t* rl_prep_term_function |
Definition at line 128 of file readline.c.
| char* rl_prompt |
Definition at line 134 of file readline.c.
| const char* rl_readline_name |
Definition at line 91 of file readline.c.
Definition at line 137 of file readline.c.
Definition at line 96 of file readline.c.
| rl_voidfunc_t* rl_redisplay_function |
Definition at line 125 of file readline.c.
| const char* rl_special_prefixes |
Definition at line 153 of file readline.c.
| rl_hook_func_t* rl_startup_hook |
Definition at line 126 of file readline.c.
| const char* rl_terminal_name |
Definition at line 120 of file readline.c.
Definition at line 59 of file undo.c.
Referenced by _rl_fix_last_undo_of_type(), _rl_vi_done_inserting(), make_history_line_current(), noninc_search(), readline_internal_teardown(), rl_add_undo(), rl_do_undo(), rl_free_undo_list(), rl_insert_text(), rl_maybe_replace_line(), rl_maybe_save_line(), rl_maybe_unsave_line(), rl_redisplay(), rl_replace_from_history(), rl_restore_state(), rl_revert_line(), and rl_save_state().
1.4.7

