Lines Matching defs:GetLine
292 static int gl_call_fd_handler(GetLine *gl, GlFdHandler *gfh, int fd,
295 static int gl_call_timeout_handler(GetLine *gl);
362 * Define the contents of the GetLine object.
365 struct GetLine {
649 static int gl_check_caught_signal(GetLine *gl);
655 static void gl_suspend_process(int signo, GetLine *gl, int ngl);
668 static GetLine *tputs_gl = NULL;
678 static void gl_query_size(GetLine *gl, int *ncolumn, int *nline);
684 static int gl_override_signal_handlers(GetLine *gl);
690 static int gl_restore_signal_handlers(GetLine *gl);
696 static int gl_mask_signals(GetLine *gl, sigset_t *oldset);
702 static int gl_unmask_signals(GetLine *gl, sigset_t *oldset);
707 static int gl_catch_signals(GetLine *gl);
718 static int gl_raw_terminal_mode(GetLine *gl);
723 static int gl_restore_terminal_attributes(GetLine *gl);
728 static int gl_nonblocking_io(GetLine *gl, int fd);
733 static int gl_blocking_io(GetLine *gl, int fd);
738 static int gl_get_input_line(GetLine *gl, const char *prompt,
744 static int gl_get_query_char(GetLine *gl, const char *prompt, int defchar);
749 static int gl_read_stream_line(GetLine *gl);
754 static int gl_read_stream_char(GetLine *gl);
759 static int gl_present_line(GetLine *gl, const char *prompt,
765 static void gl_reset_input_line(GetLine *gl);
771 static int gl_interpret_char(GetLine *gl, char c);
776 static int gl_bind_control_char(GetLine *gl, KtBinder binder,
782 static int gl_bind_terminal_keys(GetLine *gl);
787 static int gl_control_strings(GetLine *gl, const char *term);
794 static const char *gl_tigetstr(GetLine *gl, const char *name);
796 static const char *gl_tgetstr(GetLine *gl, const char *name, char **bufptr);
802 static int gl_print_raw_string(GetLine *gl, int buffered,
810 static int gl_print_info(GetLine *gl, ...);
816 static int gl_start_newline(GetLine *gl, int buffered);
821 static int gl_print_control_sequence(GetLine *gl, int nline,
829 static int gl_print_char(GetLine *gl, char c, char pad);
830 static int gl_print_string(GetLine *gl, const char *string, char pad);
836 static int gl_delete_chars(GetLine *gl, int nc, int cut);
842 static int gl_add_char_to_line(GetLine *gl, char c);
848 static int gl_add_string_to_line(GetLine *gl, const char *s);
853 static int gl_buffer_char(GetLine *gl, char c, int bufpos);
858 static int gl_buffer_string(GetLine *gl, const char *s, int n, int bufpos);
863 static int gl_make_gap_in_buffer(GetLine *gl, int start, int n);
869 static void gl_remove_from_buffer(GetLine *gl, int start, int n);
874 static int gl_truncate_buffer(GetLine *gl, int n);
880 static int gl_truncate_display(GetLine *gl);
886 static void gl_update_buffer(GetLine *gl);
891 static int gl_read_terminal(GetLine *gl, int keep, char *c);
896 static void gl_discard_chars(GetLine *gl, int nused);
901 static int gl_terminal_move_cursor(GetLine *gl, int n);
906 static int gl_set_term_curpos(GetLine *gl, int term_curpos);
912 static int gl_place_cursor(GetLine *gl, int buff_curpos);
923 static int gl_displayed_tab_width(GetLine *gl, int term_curpos);
929 static int gl_displayed_char_width(GetLine *gl, char c, int term_curpos);
935 static int gl_displayed_string_width(GetLine *gl, const char *string, int nc,
946 static int _gl_read_config_file(GetLine *gl, const char *filename, KtBinder who);
951 static int _gl_read_config_string(GetLine *gl, const char *buffer, KtBinder who);
966 static int _gl_parse_config_line(GetLine *gl, void *stream, GlcGetcFn *getc_fn,
968 static int gl_report_config_error(GetLine *gl, const char *origin, int lineno,
975 static int _gl_bind_arrow_keys(GetLine *gl);
981 static int _gl_rebind_arrow_key(GetLine *gl, const char *name,
992 static void gl_revert_input(GetLine *gl);
997 static int gl_flush_output(GetLine *gl);
1022 static GlReadStatus gl_read_input(GetLine *gl, char *c);
1026 static int gl_event_handler(GetLine *gl, int fd);
1027 static int gl_read_unmasked(GetLine *gl, int fd, char *c);
1038 static int gl_change_editor(GetLine *gl, GlEditor editor);
1045 static int gl_find_char(GetLine *gl, int count, int forward, int onto, char c);
1050 static int gl_nth_word_end_forward(GetLine *gl, int n);
1055 static int gl_nth_word_start_forward(GetLine *gl, int n);
1060 static int gl_nth_word_start_backward(GetLine *gl, int n);
1067 static void gl_save_for_undo(GetLine *gl);
1072 static void gl_vi_command_mode(GetLine *gl);
1079 static int gl_delete_find(GetLine *gl, int count, char c, int forward,
1086 static int gl_copy_find(GetLine *gl, int count, char c, int forward, int onto);
1093 static int gl_index_of_matching_paren(GetLine *gl);
1117 static int gl_display_prompt(GetLine *gl);
1122 static int gl_displayed_prompt_width(GetLine *gl);
1127 static int gl_line_ended(GetLine *gl, int newline_char);
1133 static void gl_queue_redisplay(GetLine *gl);
1139 static int gl_erase_line(GetLine *gl);
1144 static void gl_line_erased(GetLine *gl);
1149 void _gl_abandon_line(GetLine *gl);
1159 static char *_gl_get_line(GetLine *gl, const char *prompt,
1161 static int _gl_query_char(GetLine *gl, const char *prompt, char defchar);
1162 static int _gl_read_char(GetLine *gl);
1163 static int _gl_update_size(GetLine *gl);
1168 static int gl_handle_tty_resize(GetLine *gl, int ncolumn, int nline);
1170 static int _gl_change_terminal(GetLine *gl, FILE *input_fp, FILE *output_fp,
1172 static int _gl_configure_getline(GetLine *gl, const char *app_string,
1174 static int _gl_save_history(GetLine *gl, const char *filename,
1176 static int _gl_load_history(GetLine *gl, const char *filename,
1178 static int _gl_watch_fd(GetLine *gl, int fd, GlFdEvent event,
1180 static void _gl_terminal_size(GetLine *gl, int def_ncolumn, int def_nline,
1182 static void _gl_replace_prompt(GetLine *gl, const char *prompt);
1183 static int _gl_trap_signal(GetLine *gl, int signo, unsigned flags,
1185 static int _gl_raw_io(GetLine *gl, int redisplay);
1186 static int _gl_normal_io(GetLine *gl);
1187 static int _gl_completion_action(GetLine *gl, void *data, CplMatchFn *match_fn,
1190 static int _gl_register_action(GetLine *gl, void *data, GlActionFn *fn,
1192 static int _gl_io_mode(GetLine *gl, GlIOMode mode);
1193 static int _gl_set_term_size(GetLine *gl, int ncolumn, int nline);
1194 static int _gl_append_history(GetLine *gl, const char *line);
1200 static void gl_clear_status(GetLine *gl);
1206 static void gl_record_status(GetLine *gl, GlReturnStatus rtn_status,
1715 * Create a new GetLine object.
1722 * return GetLine * The new object, or NULL on error.
1724 GetLine *new_GetLine(size_t linelen, size_t histlen)
1726 GetLine *gl; /* The object to be returned */
1738 gl = (GetLine *) malloc(sizeof(GetLine));
2037 * Delete a GetLine object.
2040 * gl GetLine * The object to be deleted.
2042 * return GetLine * The deleted object (always NULL).
2044 GetLine *del_GetLine(GetLine *gl)
2105 * gl GetLine * The resource object of this program.
2114 static int gl_bind_control_char(GetLine *gl, KtBinder binder, char c,
2148 * gl GetLine * A resource object returned by new_GetLine().
2166 char *gl_get_line(GetLine *gl, const char *prompt,
2198 static char *_gl_get_line(GetLine *gl, const char *prompt,
2316 * gl GetLine * A resource object returned by new_GetLine().
2327 int gl_query_char(GetLine *gl, const char *prompt, char defchar)
2357 static int _gl_query_char(GetLine *gl, const char *prompt, char defchar)
2477 * gl GetLine * The resource object of this library.
2482 static int gl_override_signal_handlers(GetLine *gl)
2542 * gl GetLine * The resource object of this library.
2547 static int gl_restore_signal_handlers(GetLine *gl)
2584 * gl GetLine * The resource object of this program.
2589 static int gl_raw_terminal_mode(GetLine *gl)
2657 * gl GetLine * The resource object of this library.
2662 static int gl_restore_terminal_attributes(GetLine *gl)
2698 * gl GetLine * The resource object of gl_get_line().
2701 static int gl_nonblocking_io(GetLine *gl, int fd)
2734 * gl GetLine * The resource object of gl_get_line().
2737 static int gl_blocking_io(GetLine *gl, int fd)
2764 * gl GetLine * The resource object of this library.
2779 static int gl_get_input_line(GetLine *gl, const char *prompt,
2854 * gl GetLine * The resource object of this library.
2863 static int gl_get_query_char(GetLine *gl, const char *prompt, int defchar)
2946 * gl GetLine * The resource object of this library.
2952 static int gl_add_char_to_line(GetLine *gl, char c)
3063 * gl GetLine * The resource object of this library.
3069 static int gl_add_string_to_line(GetLine *gl, const char *s)
3117 * gl GetLine * The resource object of this library.
3133 static int gl_read_terminal(GetLine *gl, int keep, char *c)
3205 * gl GetLine * The resource object of this module.
3210 static GlReadStatus gl_read_input(GetLine *gl, char *c)
3297 * gl GetLine * The resource object of this module.
3303 static int gl_read_unmasked(GetLine *gl, int fd, char *c)
3341 * gl GetLine * The resource object of this module.
3345 static void gl_discard_chars(GetLine *gl, int nused)
3362 * gl GetLine * The resource object of this library.
3367 static int gl_check_caught_signal(GetLine *gl)
3499 * gl GetLine * The resource object of this library.
3505 static int gl_control_strings(GetLine *gl, const char *term)
3662 * gl GetLine * The resource object of gl_get_line().
3668 static const char *gl_tigetstr(GetLine *gl, const char *name)
3683 * GetLine object. So we make what may be a redundant private copy
3687 * gl GetLine * The resource object of gl_get_line().
3698 static const char *gl_tgetstr(GetLine *gl, const char *name, char **bufptr)
3781 * gl GetLine * The resource object of this library.
3786 static int gl_displayed_tab_width(GetLine *gl, int term_curpos)
3798 * gl GetLine * The resource object of this library.
3807 static int gl_displayed_char_width(GetLine *gl, char c, int term_curpos)
3823 * gl GetLine * The resource object of this library.
3834 static int gl_displayed_string_width(GetLine *gl, const char *string, int nc,
3859 * gl GetLine * The resource object of the gl_get_line().
3873 static int gl_print_raw_string(GetLine *gl, int buffered,
3909 * gl GetLine * The resource object of this library.
3917 static int gl_print_control_sequence(GetLine *gl, int nline, const char *string)
3956 * gl GetLine * The resource object of this program.
3962 static int gl_terminal_move_cursor(GetLine *gl, int n)
4056 * gl GetLine * The resource object of this program.
4073 static int gl_print_char(GetLine *gl, char c, char pad)
4143 * gl GetLine * The resource object of this program.
4160 static int gl_print_string(GetLine *gl, const char *string, char pad)
4175 * gl GetLine * The resource object of this library.
4181 static int gl_set_term_curpos(GetLine *gl, int term_curpos)
4346 * gl GetLine * The resource object of this library.
4353 static int gl_delete_chars(GetLine *gl, int nc, int cut)
4547 * gl GetLine * The getline resource object.
4564 static int gl_delete_find(GetLine *gl, int count, char c, int forward,
5131 * gl GetLine * The resource object of gl_get_line().
5136 static void gl_query_size(GetLine *gl, int *ncolumn, int *nline)
5163 * gl GetLine * The resource object of gl_get_line().
5168 static int _gl_update_size(GetLine *gl)
5186 * gl GetLine * The resource object of gl_get_line().
5193 static int gl_handle_tty_resize(GetLine *gl, int ncolumn, int nline)
5784 * gl GetLine * The resource object of the command-line input
5797 int gl_customize_completion(GetLine *gl, void *data, CplMatchFn *match_fn)
5829 * gl GetLine * The resource object of the command-line input
5841 int gl_change_terminal(GetLine *gl, FILE *input_fp, FILE *output_fp,
5874 static int _gl_change_terminal(GetLine *gl, FILE *input_fp, FILE *output_fp,
6008 * gl GetLine * The resource object of the command-line input
6014 static int gl_bind_terminal_keys(GetLine *gl)
6164 * gl GetLine * The getline resource object.
6169 static int _gl_bind_arrow_keys(GetLine *gl)
6193 * gl GetLine * The resource object of gl_get_line().
6202 static int _gl_rebind_arrow_key(GetLine *gl, const char *name,
6240 * gl GetLine * The getline resource object.
6251 static int _gl_read_config_file(GetLine *gl, const char *filename, KtBinder who)
6315 * Read GetLine configuration information from a string. The contents of
6319 static int _gl_read_config_string(GetLine *gl, const char *buffer, KtBinder who)
6354 * gl GetLine * The getline resource object.
6370 static int _gl_parse_config_line(GetLine *gl, void *stream, GlcGetcFn *getc_fn,
6527 * gl GetLine * The resource object of gl_get_line().
6536 static int gl_report_config_error(GetLine *gl, const char *origin, int lineno,
6660 * gl GetLine * The getline resource object.
6662 static void gl_revert_input(GetLine *gl)
6828 * gl GetLine * The getline resource object.
6835 static int gl_flush_output(GetLine *gl)
6870 GetLine *gl = (GetLine *) data;
6923 * gl GetLine * The getline resource object.
6929 static int gl_change_editor(GetLine *gl, GlEditor editor)
7352 * gl GetLine * The getline resource object.
7365 static int gl_find_char(GetLine *gl, int count, int forward, int onto, char c)
7484 * gl GetLine * The getline resource object.
7489 static int gl_nth_word_end_forward(GetLine *gl, int n)
7535 * gl GetLine * The getline resource object.
7540 static int gl_nth_word_start_forward(GetLine *gl, int n)
7574 * gl GetLine * The getline resource object.
7579 static int gl_nth_word_start_backward(GetLine *gl, int n)
7667 * gl GetLine * The getline resource object.
7681 static int gl_copy_find(GetLine *gl, int count, char c, int forward, int onto)
7770 * gl GetLine * The getline resource object.
7776 static int gl_place_cursor(GetLine *gl, int buff_curpos)
7806 * gl GetLine * The getline resource object.
7808 static void gl_save_for_undo(GetLine *gl)
8007 * gl GetLine * The getline resource object.
8009 static void gl_vi_command_mode(GetLine *gl)
8100 * gl GetLine * The getline resource object.
8105 static int gl_index_of_matching_paren(GetLine *gl)
8177 * gl GetLine * The resource object of this library.
8183 static int gl_interpret_char(GetLine *gl, char first_char)
8373 * gl GetLine * The resource object of this library.
8393 int gl_configure_getline(GetLine *gl, const char *app_string,
8426 static int _gl_configure_getline(GetLine *gl, const char *app_string,
8523 * gl GetLine * The resource object of this library.
8537 int gl_save_history(GetLine *gl, const char *filename, const char *comment,
8572 static int _gl_save_history(GetLine *gl, const char *filename,
8610 * gl GetLine * The resource object of this library.
8619 int gl_load_history(GetLine *gl, const char *filename, const char *comment)
8653 static int _gl_load_history(GetLine *gl, const char *filename,
8695 * gl GetLine * The resource object of the command-line input
8712 int gl_watch_fd(GetLine *gl, int fd, GlFdEvent event,
8750 static int _gl_watch_fd(GetLine *gl, int fd, GlFdEvent event,
8866 * gl GetLine * The resource object of the command-line input
8885 int gl_inactivity_timeout(GetLine *gl, GlTimeoutFn *timeout_fn, void *data,
8931 * gl GetLine * The resource object of this module.
8937 static int gl_event_handler(GetLine *gl, int fd)
9070 * gl GetLine * The resource object of gl_get_line().
9078 static int gl_call_fd_handler(GetLine *gl, GlFdHandler *gfh, int fd,
9132 * gl GetLine * The resource object of gl_get_line().
9137 static int gl_call_timeout_handler(GetLine *gl)
9201 * gl GetLine * The resource object of gl_get_line().
9207 int gl_group_history(GetLine *gl, unsigned id)
9254 * gl GetLine * The resource object of gl_get_line().
9279 int gl_show_history(GetLine *gl, FILE *fp, const char *fmt, int all_groups,
9316 * gl GetLine * The resource object of gl_get_line().
9324 GlTerminalSize gl_terminal_size(GetLine *gl, int def_ncolumn, int def_nline)
9349 static void _gl_terminal_size(GetLine *gl, int def_ncolumn, int def_nline,
9430 * gl GetLine * The resource object of gl_get_line().
9439 int gl_resize_history(GetLine *gl, size_t bufsize)
9471 * gl GetLine * The resource object of gl_get_line().
9476 void gl_limit_history(GetLine *gl, int max_lines)
9500 * gl GetLine * The resource object of gl_get_line().
9505 void gl_clear_history(GetLine *gl, int all_groups)
9528 * gl GetLine * The resource object of gl_get_line().
9532 void gl_toggle_history(GetLine *gl, int enable)
9556 * gl GetLine * The resource object of gl_get_line().
9578 int gl_lookup_history(GetLine *gl, unsigned long id, GlHistoryLine *line)
9611 * gl GetLine * The resource object of gl_get_line().
9616 void gl_state_of_history(GetLine *gl, GlHistoryState *state)
9640 * gl GetLine * The resource object of gl_get_line().
9645 void gl_range_of_history(GetLine *gl, GlHistoryRange *range)
9670 * gl GetLine * The gl_get_line() resource object.
9675 void gl_size_of_history(GetLine *gl, GlHistorySize *size)
9723 * gl GetLine * The gl_get_line() resource object.
9733 int gl_echo_mode(GetLine *gl, int enable)
9764 * gl GetLine * The resource object of gl_get_line().
9769 static int gl_display_prompt(GetLine *gl)
9925 * gl GetLine * The resource object of gl_get_line().
9928 void gl_replace_prompt(GetLine *gl, const char *prompt)
9952 static void _gl_replace_prompt(GetLine *gl, const char *prompt)
9998 * gl GetLine * The resource object of this library.
10002 static int gl_displayed_prompt_width(GetLine *gl)
10050 * gl GetLine * The resource object of gl_get_line().
10054 void gl_prompt_style(GetLine *gl, GlPromptStyle style)
10085 * gl GetLine * The resource object of gl_get_line().
10095 int gl_trap_signal(GetLine *gl, int signo, unsigned flags,
10128 static int _gl_trap_signal(GetLine *gl, int signo, unsigned flags,
10195 * gl GetLine * The resource object of gl_get_line().
10201 int gl_ignore_signal(GetLine *gl, int signo)
10257 * gl GetLine * The resource object of gl_get_line().
10264 static int gl_line_ended(GetLine *gl, int newline_char)
10317 * gl GetLine * The resource object of gl_get_line().
10323 int gl_last_signal(GetLine *gl)
10348 * gl GetLine * The resource object of this library.
10363 static int gl_present_line(GetLine *gl, const char *prompt,
10454 * gl GetLine * The line editor resource object.
10456 static void gl_reset_input_line(GetLine *gl)
10485 * gl GetLine * The line editor resource object.
10492 static int gl_print_info(GetLine *gl, ...)
10533 * gl GetLine * The line editor resource object.
10541 static int gl_start_newline(GetLine *gl, int buffered)
10580 * data void * The pointer to a GetLine line editor resource object
10590 GetLine *gl = (GetLine *) data;
10601 * gl GetLine * The line editor resource object.
10606 GlReturnStatus gl_return_status(GetLine *gl)
10634 * gl GetLine * The resource object of gl_get_line().
10638 GlPendingIO gl_pending_io(GetLine *gl)
10674 * gl GetLine * The line editor resource object.
10679 int gl_raw_io(GetLine *gl)
10723 static int _gl_raw_io(GetLine *gl, int redisplay)
10766 * gl GetLine * The line editor resource object.
10771 int gl_normal_io(GetLine *gl)
10803 static int _gl_normal_io(GetLine *gl)
10861 * gl GetLine * The resource object of the command-line input
10883 int gl_completion_action(GetLine *gl, void *data, CplMatchFn *match_fn,
10916 static int _gl_completion_action(GetLine *gl, void *data, CplMatchFn *match_fn,
10990 * gl GetLine * The resource object of the command-line input
11009 int gl_register_action(GetLine *gl, void *data, GlActionFn *fn,
11042 static int _gl_register_action(GetLine *gl, void *data, GlActionFn *fn,
11266 * gl GetLine * The resource object of gl_get_line().
11303 int gl_display_text(GetLine *gl, int indentation, const char *prefix,
11339 * gl GetLine * The resource object of gl_get_line().
11348 static int gl_mask_signals(GetLine *gl, sigset_t *oldset)
11374 * gl GetLine * The resource object of gl_get_line().
11381 static int gl_unmask_signals(GetLine *gl, sigset_t *oldset)
11391 * gl GetLine * The resource object of gl_get_line().
11396 static int gl_catch_signals(GetLine *gl)
11405 * gl GetLine * The resource object of gl_get_line().
11411 int gl_io_mode(GetLine *gl, GlIOMode mode)
11456 static int _gl_io_mode(GetLine *gl, GlIOMode mode)
11487 * gl GetLine * The resource object of gl_get_line().
11505 const char *gl_error_message(GetLine *gl, char *buff, size_t n)
11508 static const char *msg = "NULL GetLine argument";
11543 * gl GetLine * The resource object of gl_get_line().
11555 int gl_list_signals(GetLine *gl, sigset_t *set)
11588 * gl GetLine * The resource object of gl_get_line().
11590 void gl_catch_blocked(GetLine *gl)
11643 * gl GetLine * The first element of an array of 'ngl' GetLine
11648 void gl_handle_signal(int signo, GetLine *gl, int ngl)
11716 * gl GetLine * The first element of an array of 'ngl' GetLine objects
11721 static void gl_suspend_process(int signo, GetLine *gl, int ngl)
11743 GetLine *obj = gl + i;
11780 GetLine *obj = gl + i;
11830 * gl GetLine * The line editor resource object.
11832 void gl_abandon_line(GetLine *gl)
11863 void _gl_abandon_line(GetLine *gl)
11891 * gl GetLine * The resource object of gl_get_line().
11898 int gl_set_term_size(GetLine *gl, int ncolumn, int nline)
11923 static int _gl_set_term_size(GetLine *gl, int ncolumn, int nline)
11969 * gl GetLine * The resource object of gl_get_line().
11977 static int gl_buffer_char(GetLine *gl, char c, int bufpos)
12005 * gl GetLine * The resource object of gl_get_line().
12015 static int gl_buffer_string(GetLine *gl, const char *s, int n, int bufpos)
12040 * gl GetLine * The resource object of gl_get_line().
12047 static int gl_make_gap_in_buffer(GetLine *gl, int start, int n)
12072 * gl GetLine * The resource object of gl_get_line().
12076 static void gl_remove_from_buffer(GetLine *gl, int start, int n)
12090 * gl GetLine * The resource object of gl_get_line().
12096 static int gl_truncate_buffer(GetLine *gl, int n)
12111 * gl GetLine * The resource object of gl_get_line().
12113 static void gl_update_buffer(GetLine *gl)
12150 * gl GetLine * The resource object of gl_get_line().
12155 static int gl_erase_line(GetLine *gl)
12193 * gl GetLine * The resource object of gl_get_line().
12195 static void gl_queue_redisplay(GetLine *gl)
12207 * gl GetLine * The resource object of gl_get_line().
12212 static int gl_truncate_display(GetLine *gl)
12282 * gl GetLine * The resource object of gl_get_line().
12287 static int gl_read_stream_line(GetLine *gl)
12348 * gl GetLine * The resource object of gl_get_line().
12352 static int gl_read_stream_char(GetLine *gl)
12390 * gl GetLine * The resource object of gl_get_line().
12400 int gl_bind_keyseq(GetLine *gl, GlKeyOrigin origin, const char *keyseq,
12441 * gl GetLine * The resource object of gl_get_line().
12446 int gl_erase_terminal(GetLine *gl)
12477 * gl GetLine * The resource object of gl_get_line().
12479 static void gl_line_erased(GetLine *gl)
12490 * gl GetLine * The resource object of gl_get_line().
12496 int gl_append_history(GetLine *gl, const char *line)
12529 static int _gl_append_history(GetLine *gl, const char *line)
12542 * gl GetLine * The resource object of gl_get_line().
12554 int gl_automatic_history(GetLine *gl, int enable)
12586 * gl GetLine * A resource object previously returned by
12593 int gl_read_char(GetLine *gl)
12630 static int _gl_read_char(GetLine *gl)
12785 * Reset the GetLine completion status. This function should be called
12791 * gl GetLine * The resource object of this module.
12793 static void gl_clear_status(GetLine *gl)
12805 * gl GetLine * The resource object of this module.
12812 static void gl_record_status(GetLine *gl, GlReturnStatus rtn_status,