Important: The information in this document is obsolete and should not be used for new development.
OTRemoveLink
Removes a link from a FIFO list.C INTERFACE
Boolean OTRemoveLink(OTList* list, OTLink* link)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
list- A pointer to the FIFO list from which you want to remove a link.
link- A pointer to the link that you want to remove.
- function result
- Returns
trueif the specified link is in the specified list.DISCUSSION
This function returnstrueif the element referenced by thelinkparameter is in the list referenced by thelistparameter, and it removes the link from the list if it is.Use the
OTRemoveFirstfunction to remove the first link in a FIFO list.Use the
OTRemoveLastfunction to remove the last link in a FIFO list.Use the
OTIsInListfunction to determine whether a link is in a FIFO list.Use the
OTFindLinkfunction or theOTGetIndexedLinkfunction to find a link in a FIFO list.Use the
OTFindAndRemoveLinkfunction to find and remove a link in a FIFO list.