Important: The information in this document is obsolete and should not be used for new development.
OTGetIndexedLink
Returns a pointer to the link at a specified position in a FIFO list.C INTERFACE
OTLink* OTGetIndexedLink( OTList* list, size_t index)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
list
- A pointer to the FIFO list containing the link.
index
- The index of the link sought. The head of the list is at index 0.
- function result
- A pointer to the link at the position specified by the
index
parameter, orNULL
ifindex
specifies a position that lies beyond the end of the list.DISCUSSION
Use theOTIsInList
function to determine whether a link is in a FIFO list.Use the
OTFindLink
function to find a link in a FIFO list.