slist_foreach

slist_foreach — slist enumeration function.

Synopsis

#define slist_foreach

Arguments

_sl the slist head
_to the variable to take each item
_entry the entry field name within the item
_type type to cast _to to

Description

slist enumeration function.

See Also

slist_head, slist_item