Important: The information in this document is obsolete and should not be used for new development.
OTInitNBPAddress
Initializes an NBP address structure.C INTERFACE
size_t OTInitNBPAddress(NBPAddress* address, const char* name);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
address
- A pointer to the NBP address structure you wish to initialize.
name
- A pointer to the NBP string you wish to use for the NBP name.
- function result
- The size of the NBP address structure.
DISCUSSION
TheOTInitNBPAddress
function can be used to initialize an NBP address structure with the NBP name specified in thename
parameter, which is assumed to already be in the correct string format--that is, name:type@zone, with special characters quoted.The function returns the size of the NBP address structure, which is the size of thefAddressType
field plus the length of the string in thename
parameter.SEE ALSO
TheOTInitDDPAddress
function.The
OTInitDDPNBPAddress
function.