Lines Matching refs:glh

51 GlHistory *_del_GlHistory(GlHistory *glh);
53 int _glh_add_history(GlHistory *glh, const char *line, int force);
55 int _glh_search_prefix(GlHistory *glh, const char *line, int prefix_len);
57 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim);
58 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim);
60 int _glh_cancel_search(GlHistory *glh);
62 char *_glh_oldest_line(GlHistory *glh, char *line, size_t dim);
63 char *_glh_current_line(GlHistory *glh, char *line, size_t dim);
77 GlhLineID _glh_line_id(GlHistory *glh, int offset);
83 char *_glh_recall_line(GlHistory *glh, GlhLineID id, char *line, size_t dim);
89 int _glh_save_history(GlHistory *glh, const char *filename,
96 int _glh_load_history(GlHistory *glh, const char *filename, const char *comment,
102 int _glh_set_group(GlHistory *glh, unsigned group);
103 int _glh_get_group(GlHistory *glh);
109 int _glh_show_history(GlHistory *glh, GlWriteFn *write_fn, void *data,
115 int _glh_resize_history(GlHistory *glh, size_t bufsize);
121 void _glh_limit_history(GlHistory *glh, int max_lines);
127 void _glh_clear_history(GlHistory *glh, int all_groups);
132 void _glh_toggle_history(GlHistory *glh, int enable);
138 int _glh_lookup_history(GlHistory *glh, GlhLineID id, const char **line,
144 void _glh_state_of_history(GlHistory *glh, int *enabled, unsigned *group,
150 void _glh_range_of_history(GlHistory *glh, unsigned long *oldest,
157 void _glh_size_of_history(GlHistory *glh, size_t *buff_size, size_t *buff_used);
162 const char *_glh_last_error(GlHistory *glh);
167 int _glh_search_active(GlHistory *glh);