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
Adding and Removing aList Element /


OTDequeue

Adds an element to a list.

C INTERFACE
void OTDequeue(void** listHead,
                     size_t linkOffset);
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
listHead
A pointer to the list head.
linkOffset
The size of the object. That is, the distance in bytes from the beginning of object to the fNext field in its linked list entry.
DISCUSSION
This functionreturns the address of the head object in the list and places the address of the next element in the list at the list head.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998