Important: The information in this document is obsolete and should not be used for new development.
OTExtractNBPType
Extracts the type part of an NBP entity structure.C INTERFACE
void OTExtractNBPType(const NBPEntity* entity, char* typeVal);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 type.
 typeVal- A pointer to the string buffer in which to store the type portion of an NBP name string that you wish to extract from the
 
NBP entity.DISCUSSION
TheOTExtractNBPTypefunction extracts the type part of an NBP name from the specified NBP entity structure and stores it into the string buffer specified by thetypeparameter.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 name and zone parts of an NBP name in an NBP entity structure, use the
OTExtractNBPNamefunction and theOTExtractNBPZonefunction, respectively.
- Note
 - If the
 nameparameter passed to the functionOTSetNBPNamecontains a backslash, the result in thenameparameter passed to the functionOTExtractNBPNamewill not be the same, because the backslash is stripped by the functionOTSetNBPNameand is not re-added by the functionOTExtractNBPName.![]()
SEE ALSO
"The NBP Address Structure".