The TLookupReply Structure
You use theTLookupReplystructure to store information passed back to you by theOTLookupNamefunction. The information includes both a pointer to a buffer (containing registered entity names matching the criterion specified with theTLookupRequeststructure) and the number of names found.The
TLookupReplystructure is defined by theTLookupReplydata type.
struct TLookupReply { TNetbuf names; UInt32 rspcount; }; typedef struct TLookupReply TLookupReply;Field descriptions
names- A
TNetbufstructure that specifies the size and location of a buffer into which theOTLookupNamefunction, on return, places the names it has found. You must allocate the buffer into which the replies are stored when the function returns; you must set thenames.buffield to point to it; and you must set thenames.maxlenfield to the size of the buffer.rspcount- A long specifying, on return, the number of names found.