80 wge100_debug(
"Serial number %d already exists in list, dropping.\n", newItem->
serial);
83 wge100_debug(
"Serial number %d is new, adding to list.\n", newItem->
serial);
103 if(listIterator->
serial == serial) {
154 if(count++ == index) {
void wge100CamListDelAll(IpCamList *ipCamList)
int wge100CamListFind(IpCamList *ipCamList, uint32_t serial)
static void list_del(struct list_head *entry)
#define list_for_each_entry(pos, head, member)
IpCamList * wge100CamListGetEntry(const IpCamList *ipCamList, int index)
static void list_add_tail(struct list_head *new_item, struct list_head *head)
int wge100CamListDelEntry(IpCamList *ipCamList, int index)
int wge100CamListNumEntries(const IpCamList *ipCamList)
int wge100CamListAdd(IpCamList *ipCamList, IpCamList *newItem)
#define list_entry(ptr, type, member)
int wge100CamListInit(IpCamList *ipCamList)
#define INIT_LIST_HEAD(ptr)
#define list_for_each_safe(pos, n, head)