Searched refs:GlHistory (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.h43 typedef struct GlHistory GlHistory; typedef in typeref:struct:GlHistory
48 GlHistory *_new_GlHistory(size_t buflen);
53 GlHistory *_del_GlHistory(GlHistory *glh);
55 int _glh_add_history(GlHistory *glh, const char *line, int force);
57 int _glh_search_prefix(GlHistory *glh, const char *line, int prefix_len);
59 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim);
60 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim);
62 int _glh_cancel_search(GlHistory *gl
[all...]
H A Dhistory.c118 static GlhHashBucket *glh_find_bucket(GlHistory *glh, const char *line,
170 struct GlHistory { struct
201 static int _glh_cant_load_history(GlHistory *glh, const char *filename,
203 static int _glh_cant_save_history(GlHistory *glh, const char *message,
208 static void _glh_discard_line(GlHistory *glh, GlhLineNode *node);
209 static GlhLineNode *_glh_find_id(GlHistory *glh, GlhLineID id);
210 static GlhHashNode *_glh_acquire_copy(GlHistory *glh, const char *line,
212 static GlhHashNode *_glh_discard_copy(GlHistory *glh, GlhHashNode *hnode);
213 static int _glh_prepare_for_recall(GlHistory *glh, char *line);
248 * return GlHistory * Th
[all...]
H A Dgetline.c367 GlHistory *glh; /* The line-history buffer */

Completed in 92 milliseconds