Home | History | Annotate | Download | only in racoon

Lines Matching refs:genlist

1 /*	$NetBSD: genlist.c,v 1.4 2006/09/09 16:22:09 manu Exp $	*/
3 /* Id: genlist.c,v 1.2 2004/07/12 20:43:50 ludvigm Exp */
39 #include "genlist.h"
41 struct genlist *
44 struct genlist *new = calloc(sizeof(struct genlist), 1);
50 genlist_insert (struct genlist *head, void *data)
59 genlist_append (struct genlist *head, void *data)
68 genlist_foreach (struct genlist *head, genlist_func_t func, void *arg)
82 genlist_next (struct genlist *head, struct genlist_entry **buf)
96 genlist_free (struct genlist *head, genlist_freedata_t func)
100 while ((p = TAILQ_LAST(head, genlist)) != NULL) {
113 struct genlist *l1, *l2;
126 dump_list(struct genlist *head)