Lines Matching defs:glh
250 GlHistory *glh; /* The object to be returned */ in _new_GlHistory() local
346 GlHistory *_del_GlHistory(GlHistory *glh) in _del_GlHistory()
401 int _glh_add_history(GlHistory *glh, const char *line, int force) in _glh_add_history()
528 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim) in _glh_find_backwards()
616 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim) in _glh_find_forwards()
701 int _glh_cancel_search(GlHistory *glh) in _glh_cancel_search()
739 int _glh_search_prefix(GlHistory *glh, const char *line, int prefix_len) in _glh_search_prefix()
790 char *_glh_oldest_line(GlHistory *glh, char *line, size_t dim) in _glh_oldest_line()
863 char *_glh_current_line(GlHistory *glh, char *line, size_t dim) in _glh_current_line()
915 GlhLineID _glh_line_id(GlHistory *glh, int offset) in _glh_line_id()
954 char *_glh_recall_line(GlHistory *glh, GlhLineID id, char *line, size_t dim) in _glh_recall_line()
1007 int _glh_save_history(GlHistory *glh, const char *filename, const char *comment, in _glh_save_history()
1095 static int _glh_cant_save_history(GlHistory *glh, const char *message, in _glh_cant_save_history()
1153 int _glh_load_history(GlHistory *glh, const char *filename, const char *comment, in _glh_load_history()
1275 static int _glh_cant_load_history(GlHistory *glh, const char *filename, in _glh_cant_load_history()
1387 int _glh_set_group(GlHistory *glh, unsigned group) in _glh_set_group()
1423 int _glh_get_group(GlHistory *glh) in _glh_get_group()
1456 int _glh_show_history(GlHistory *glh, GlWriteFn *write_fn, void *data, in _glh_show_history()
1627 int _glh_resize_history(GlHistory *glh, size_t bufsize) in _glh_resize_history()
1754 void _glh_limit_history(GlHistory *glh, int max_lines) in _glh_limit_history()
1801 void _glh_clear_history(GlHistory *glh, int all_groups) in _glh_clear_history()
1879 void _glh_toggle_history(GlHistory *glh, int enable) in _glh_toggle_history()
1894 static void _glh_discard_line(GlHistory *glh, GlhLineNode *node) in _glh_discard_line()
1953 int _glh_lookup_history(GlHistory *glh, GlhLineID id, const char **line, in _glh_lookup_history()
2020 static GlhLineNode *_glh_find_id(GlHistory *glh, GlhLineID id) in _glh_find_id()
2071 void _glh_state_of_history(GlHistory *glh, int *enabled, unsigned *group, in _glh_state_of_history()
2101 void _glh_range_of_history(GlHistory *glh, unsigned long *oldest, in _glh_range_of_history()
2125 void _glh_size_of_history(GlHistory *glh, size_t *buff_size, size_t *buff_used) in _glh_size_of_history()
2149 const char *_glh_last_error(GlHistory *glh) in _glh_last_error()
2167 static GlhHashNode *_glh_acquire_copy(GlHistory *glh, const char *line, in _glh_acquire_copy()
2259 static GlhHashNode *_glh_discard_copy(GlHistory *glh, GlhHashNode *hnode) in _glh_discard_copy()
2329 static GlhHashBucket *glh_find_bucket(GlHistory *glh, const char *line, in glh_find_bucket()
2495 static int _glh_prepare_for_recall(GlHistory *glh, char *line) in _glh_prepare_for_recall()
2536 int _glh_search_active(GlHistory *glh) in _glh_search_active()