Logo Search packages:      
Sourcecode: avahi version File versions  Download package

#define AVAHI_LLIST_REMOVE ( t,
name,
head,
item   ) 

Value:

do { \
                                    t **_head = &(head), *_item = (item); \
                                    assert(_item); \
                                    if (_item->name##_next) \
                                       _item->name##_next->name##_prev = _item->name##_prev; \
                                    if (_item->name##_prev) \
                                       _item->name##_prev->name##_next = _item->name##_next; \
                                    else {\
                                       assert(*_head == _item); \
                                       *_head = _item->name##_next; \
                                    } \
                                    _item->name##_next = _item->name##_prev = NULL; \
                                    } while(0)
Remove an item from the list

Definition at line 59 of file llist.h.

Referenced by avahi_domain_browser_free(), avahi_entry_group_free(), avahi_record_browser_free(), avahi_rlist_remove(), avahi_rlist_remove_by_link(), avahi_s_address_resolver_free(), avahi_s_dns_server_browser_free(), avahi_s_domain_browser_free(), avahi_s_host_name_resolver_free(), avahi_s_service_browser_free(), avahi_s_service_resolver_free(), avahi_s_service_type_browser_free(), avahi_service_browser_free(), and avahi_service_resolver_free().


Generated by  Doxygen 1.6.0   Back to index