Lines Matching refs:item
44 * list_append() takes in a list (type **) and a pointer to an item to add
45 * to the list and returns a new list with the new item appended on the
51 list_append(void **list, void *item)
54 syslog(LOG_DEBUG, "list_append(0x%x, 0x%x)", list, item);
56 if (item == NULL)
62 list[0] = item;
82 list[count] = item;
89 list_append_unique(void **list, void *item, int (*cmp)(void *, void*))
91 if (list_locate(list, cmp, item))
94 list = list_append(list, item);
165 * to the current item in the list and the second argument being a va_list