Lines Matching refs:history_t
129 typedef struct history_t {
137 } history_t;
151 private int history_def_insert(history_t *, TYPE(HistEvent) *, const Char *);
152 private void history_def_delete(history_t *, TYPE(HistEvent) *, hentry_t *);
154 private int history_deldata_nth(history_t *, TYPE(HistEvent) *, int, void **);
157 #define history_def_setsize(p, num)(void) (((history_t *)p)->max = (num))
158 #define history_def_getsize(p) (((history_t *)p)->cur)
159 #define history_def_getunique(p) (((((history_t *)p)->flags) & H_UNIQUE) != 0)
162 (((history_t *)p)->flags) |= H_UNIQUE; \
164 (((history_t *)p)->flags) &= ~H_UNIQUE
215 history_t *h = (history_t *) p;
235 history_t *h = (history_t *) p;
255 history_t *h = (history_t *) p;
280 history_t *h = (history_t *) p;
306 history_t *h = (history_t *) p;
327 history_t *h = (history_t *) p;
354 history_t *h = (history_t *) p;
378 history_t *h = (history_t *) p;
402 history_deldata_nth(history_t *h, TYPE(HistEvent) *ev,
427 history_t *h = (history_t *) p;
442 history_def_delete(history_t *h,
465 history_def_insert(history_t *h, TYPE(HistEvent) *ev, const Char *str)
499 history_t *h = (history_t *) p;
526 history_t *h = (history_t *) h_malloc(sizeof(*h));
551 history_t *h = (history_t *) p;
909 *d = ((history_t *)h->h_ref)->cursor->data;
1119 retval = history_deldata_nth((history_t *)h->h_ref, ev, num, d);
1132 ((history_t *)h->h_ref)->cursor->ev.str = s;
1133 ((history_t *)h->h_ref)->cursor->data = d;