Lines Matching defs:history_t
125 typedef struct history_t {
133 } history_t;
147 private int history_def_insert(history_t *, HistEvent *, const char *);
148 private void history_def_delete(history_t *, HistEvent *, hentry_t *);
150 private int history_deldata_nth(history_t *, HistEvent *, int, void **);
153 #define history_def_setsize(p, num)(void) (((history_t *)p)->max = (num))
154 #define history_def_getsize(p) (((history_t *)p)->cur)
155 #define history_def_getunique(p) (((((history_t *)p)->flags) & H_UNIQUE) != 0)
158 (((history_t *)p)->flags) |= H_UNIQUE; \
160 (((history_t *)p)->flags) &= ~H_UNIQUE
211 history_t *h = (history_t *) p;
231 history_t *h = (history_t *) p;
251 history_t *h = (history_t *) p;
276 history_t *h = (history_t *) p;
302 history_t *h = (history_t *) p;
323 history_t *h = (history_t *) p;
350 history_t *h = (history_t *) p;
374 history_t *h = (history_t *) p;
397 history_deldata_nth(history_t *h, HistEvent *ev,
422 history_t *h = (history_t *) p;
437 history_def_delete(history_t *h,
460 history_def_insert(history_t *h, HistEvent *ev, const char *str)
492 history_t *h = (history_t *) p;
519 history_t *h = (history_t *) h_malloc(sizeof(history_t));
544 history_t *h = (history_t *) p;
864 *d = ((history_t *)h->h_ref)->cursor->data;
1080 retval = history_deldata_nth((history_t *)h->h_ref, ev, num, d);
1093 ((history_t *)h->h_ref)->cursor->ev.str = s;
1094 ((history_t *)h->h_ref)->cursor->data = d;