Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Functions
OTFIFO List Utility Functions /


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 true if the specified link is in the specified list.
DISCUSSION
This function returns true if the element referenced by the link parameter is in the list referenced by the list parameter, and it removes the link from the list if it is.

Use the OTRemoveFirst function to remove the first link in a FIFO list.

Use the OTRemoveLast function to remove the last link in a FIFO list.

Use the OTIsInList function to determine whether a link is in a FIFO list.

Use the OTFindLink function or the OTGetIndexedLink function to find a link in a FIFO list.

Use the OTFindAndRemoveLink function to find and remove a link in a FIFO list.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998