2 * Sherlock Library -- Linked Lists
4 * (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
12 add_tail(list *l, node *n)
14 node *z = l->tail.prev;
23 add_head(list *l, node *n)
25 node *z = l->head.next;
34 insert_node(node *n, node *after)
36 node *z = after->next;
57 l->head.next = &l->tail;
60 l->tail.prev = &l->head;
64 add_tail_list(list *to, list *l)
66 node *p = to->tail.prev;
67 node *q = l->head.next;