Lines Matching defs:current
42 HISTORY *head, *tail, *current;
62 current = 0;
70 if (current) {
71 if (current->previous) /* stay on first item */
72 return (current = current->previous);
74 return (current);
76 return (current = tail);
86 if (current) {
87 if (current->next) /* stay on first item */
88 return (current = current->next);
90 return (current);
95 /* reset current to tail */
100 current = 0;
106 return (current);