Lines Matching defs:history_t
165 typedef struct history_t {
173 } history_t;
187 static int history_def_insert(history_t *, TYPE(HistEvent) *, const Char *);
188 static void history_def_delete(history_t *, TYPE(HistEvent) *, hentry_t *);
190 static int history_deldata_nth(history_t *, TYPE(HistEvent) *, int, void **);
193 #define history_def_setsize(p, num)(void) (((history_t *)p)->max = (num))
194 #define history_def_getsize(p) (((history_t *)p)->cur)
195 #define history_def_getunique(p) (((((history_t *)p)->flags) & H_UNIQUE) != 0)
198 (((history_t *)p)->flags) |= H_UNIQUE; \
200 (((history_t *)p)->flags) &= ~H_UNIQUE
251 history_t *h = (history_t *) p;
271 history_t *h = (history_t *) p;
291 history_t *h = (history_t *) p;
316 history_t *h = (history_t *) p;
342 history_t *h = (history_t *) p;
363 history_t *h = (history_t *) p;
390 history_t *h = (history_t *) p;
414 history_t *h = (history_t *) p;
440 history_deldata_nth(history_t *h, TYPE(HistEvent) *ev,
465 history_t *h = (history_t *) p;
480 history_def_delete(history_t *h,
503 history_def_insert(history_t *h, TYPE(HistEvent) *ev, const Char *str)
537 history_t *h = (history_t *) p;
564 history_t *h = (history_t *) h_malloc(sizeof(*h));
589 history_t *h = (history_t *) p;
932 *d = ((history_t *)h->h_ref)->cursor->data;
1157 retval = history_deldata_nth((history_t *)h->h_ref, ev, num, d);
1170 ((history_t *)h->h_ref)->cursor->ev.str = s;
1171 ((history_t *)h->h_ref)->cursor->data = d;