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 24 - Mappers Reference / Functions
Looking Up Names /


OTNextLookupBuffer Macro

Returns the address of the next lookup buffer.

#define OTNextLookupBuffer(buf)\
   ((TLookupBuffer*)\
      ((char*)buf + ((offsetof(TLookupBuffer, fAddressBuffer) + 
buf->fAddressLength + buf->fNameLength + 3) & ~3)))
This macro takes the address of a TLookupBuffer and returns the address of the next one.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998