Important: The information in this document is obsolete and should not be used for new development.
The TLookupBuffer Structure
TheTLookupBufferstructure defines the format of entries in the buffer passed back in thereplyparameter of theOTLookupNamefunction. When you parse the buffer in which theOTLookupNamefunction places the names it has found, you can cast it as aTLookupBufferstructure. Figure 6-1 shows the structure of the reply buffer.The
TLookupBufferstructure is defined by theTLookupBufferdata type.
struct TLookupBuffer { UInt16 fAddressLength; UInt16 fNameLength; UInt8 fAddressBuffer[1]; }; typedef struct TLookupBuffer TLookupBuffer;Field descriptions
fAddressLength- Specifies the size of the address specified by the
fAddressBufferfield.fNameLength- Specifies the size of the name that is stored in the buffer following the
fAddressBufferfield.fAddressBuffer- the first byte of the address to which the entity whose name follows (in the buffer) is bound.