Lines Matching defs:history_t
164 typedef struct history_t {
172 } history_t;
186 static int history_def_insert(history_t *, TYPE(HistEvent) *, const Char *);
187 static void history_def_delete(history_t *, TYPE(HistEvent) *, hentry_t *);
189 static int history_deldata_nth(history_t *, TYPE(HistEvent) *, int, void **);
192 #define history_def_setsize(p, num)(void) (((history_t *)p)->max = (num))
193 #define history_def_getsize(p) (((history_t *)p)->cur)
194 #define history_def_getunique(p) (((((history_t *)p)->flags) & H_UNIQUE) != 0)
197 (((history_t *)p)->flags) |= H_UNIQUE; \
199 (((history_t *)p)->flags) &= ~H_UNIQUE
250 history_t *h = (history_t *) p;
270 history_t *h = (history_t *) p;
290 history_t *h = (history_t *) p;
315 history_t *h = (history_t *) p;
341 history_t *h = (history_t *) p;
362 history_t *h = (history_t *) p;
389 history_t *h = (history_t *) p;
413 history_t *h = (history_t *) p;
439 history_deldata_nth(history_t *h, TYPE(HistEvent) *ev,
464 history_t *h = (history_t *) p;
479 history_def_delete(history_t *h,
502 history_def_insert(history_t *h, TYPE(HistEvent) *ev, const Char *str)
536 history_t *h = (history_t *) p;
563 history_t *h = (history_t *) h_malloc(sizeof(*h));
588 history_t *h = (history_t *) p;
929 *d = ((history_t *)h->h_ref)->cursor->data;
1154 retval = history_deldata_nth((history_t *)h->h_ref, ev, num, d);
1167 ((history_t *)h->h_ref)->cursor->ev.str = s;
1168 ((history_t *)h->h_ref)->cursor->data = d;