Important: The information in this document is obsolete and should not be used for new development.
OTExtractNBPName
Extracts the name part of an NBP name from an NBP entity structure.C INTERFACE
void OTExtractNBPName(const NBPEntity* entity, char* name);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
entity- A pointer to the NBP entity structure from which you wish to extract the name.
name- A pointer to the string buffer in which to store the name portion of an NBP name string that you wish to extract from the NBP entity.
DISCUSSION
TheOTExtractNBPNamefunction extracts the name part of an NBP name from the specified NBP entity structure and stores it into the string buffer specified by thenameparameter.To store the name, type, and zone parts of an NBP name in an NBP entity structure, use the
OTSetNBPNamefunction, theOTSetNBPTypefunction, and theOTSetNBPZonefunction, respectively.To extract the type and zone parts of an NBP name in an NBP entity structure, use the
OTExtractNBPTypefunction and theOTExtractNBPZonefunction, respectively.SEE ALSO
"The NBP Address Structure".