history.c | 129 typedef struct history_t { struct 137 } history_t; typedef in typeref:struct: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_UNIQU [all...] |