Important: The information in this document is obsolete and should not be used for new development.
The TRegisterReply Structure
You use theTRegisterReply
structure to store information returned by theOTRegisterName
function.The
TRegisterReply
structure is defined by theTRegisterReply
data type.
struct TRegisterReply { TNetbuf addr; OTNameID nameid; }; typedef struct TRegisterReply TRegisterReply;Field descriptions
addr
- A
TNetbuf
structure that specifies the location and size of a buffer containing the actual address of the entity whose name you have just registered. This information is passed back to you when theOTRegisterName
function returns. You must allocate a buffer, set theaddr.buf
field to point to it, and set theaddr.maxlen
field to the size of the buffer.nameid
- A unique identifier passed to you when the
OTRegisterName
function returns. You can use this identifier when you call theOTDeleteNameByID
function to delete the name.