Important: The information in this document is obsolete and should not be used for new development.
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'sfHead
field toNULL
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.