List (macro)

the next node, with loop detection.

o m_ring_list
ring
o m_nring_list
nring
o m_dring_list
dring
o m_ndring_list
ndring
The macro expand as the next node of a node, allowing you to jump each node. If next node is ring parameter, it returns 0. This macro is switable for loops :

for (node = ring; !node; node = m_ring_list(list, node, brother) ) { ... }

Parameters:
p_ring - (IN) a pointer to structure node
field - (IN) the ring structure field name in the node structure.
Returns:
0 the ring is empty, or the next node in the ring.

Alphabetic index



This page was generated with the help of DOC++.
from : machinman.net, updated on