Important: The information in this document is obsolete and should not be used for new development.
The TLookupBuffer Structure
TheTLookupBuffer
structure defines the format of entries in the buffer passed back in thereply
parameter of theOTLookupName
function. When you parse the buffer in which theOTLookupName
function places the names it has found, you can cast it as aTLookupBuffer
structure. Figure 6-1 shows the structure of the reply buffer.The
TLookupBuffer
structure is defined by theTLookupBuffer
data 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
fAddressBuffer
field.fNameLength
- Specifies the size of the name that is stored in the buffer following the
fAddressBuffer
field.fAddressBuffer
- the first byte of the address to which the entity whose name follows (in the buffer) is bound.