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 / Constants and Data Types


The LIFO List Structure

Open Transport LIFO (last-in, first-out) lists use the LIFO list structure. You must initialize this structure by setting the structure's fHead field to NULL before using the LIFO list. Most Open Transport LIFO list operations are atomic.

The LIFO list structure is defined by the OTLIFO data type.

struct OTLIFO {
   OTLink* fHead;
};
typedef struct OTLIFO OTLIFO;
Field Description
fHead
A pointer to the first entry in the linked list. Set this to nil to initialize the structure before using it.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998