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
OTLIFO List Utility Functions /


OTLIFOEnqueue

Places a link at the front of a LIFO list.

C INTERFACE
void OTLIFOEnqueue  (OTLIFO* list,
                     OTLink* link)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
list
A pointer to the list structure in which the entry specified by the link parameter is to be placed.
link
A pointer to the link being placed in the list.
DISCUSSION
This function atomically queues the entry referenced by the link parameter at the front of the list referenced by the list parameter.

Use the OTLIFODequeue function to remove a link from a LIFO list.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998