Important: The information in this document is obsolete and should not be used for new development.
OTEnqueue
Adds an element to a list.C INTERFACE
void OTEnqueue(void** listHead, void* object, size_t linkOffset);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
listHead
- A pointer to the list head.
object
- The address of the object you want to insert in the list.
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 function puts the address you pass in theobject
parameter in the list head and places the element that was previously referenced in the list head into the pointer atobject
plustlinkOffset
.