OTInitNBPAddress
Initializes an NBP address structure.C INTERFACE
size_t OTInitNBPAddress(NBPAddress* address, const char* name);C++ INTERFACES
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.
DESCRIPTION
TheOTInitNBPAddressfunction can be used to initialize an NBP address structure with the NBP name specified in thenameparameter, which is assumed to already be in the correct string format. The function returns the size of the NBP address structure, which is the size of thefAddressTypefield plus the length of the string in thenameparameter.SEE ALSO
The NBP address structure is described in the section "The NBP Address Structure," beginning on page 10-17.To initialize a DDP address, use the
OTInitDDPAddressfunction (page 10-21).To initialize a combined DDPNBP address, use the
OTInitDDPNBPAddressfunction (page 10-23).