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 FIFO List Structure

Open Transport FIFO (first-in, first-out) lists use the FIFO list structure. You must initialize this structure by setting the structure's fHead field to NULL before using the LIFO list. The FIFO list structure is defined by the OTList data type.

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

WARNING
None of the functions that handle a FIFO list structure are atomic.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998