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
indexparameter, orNULLifindexspecifies a position that lies beyond the end of the list.DISCUSSION
Use theOTIsInListfunction to determine whether a link is in a FIFO list.Use the
OTFindLinkfunction to find a link in a FIFO list.