Home
last modified time | relevance | path

Searched refs:history_t (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/libedit/
H A Dhistory.c164 typedef struct history_t { struct
172 } history_t; argument
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
[all …]