Important: The information in this document is obsolete and should not be used for new development.
OTExtractNBPZone
Extracts the zone part of an NBP name from an NBP entity structure.C INTERFACE
void OTExtractNBPZone(const NBPEntity* entity, char* zone);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 zone.
zone
- A pointer to the string buffer in which to store the zone portion of an NBP name string that you wish to extract from the NBP entity.
DISCUSSION
TheOTExtractNBPZone
function extracts the zone part of an NBP name from the specified NBP entity structure and stores it into the string buffer specified by thezone
parameter.To store the name, type, and zone parts of an NBP name in an NBP entity structure, use the
OTSetNBPName
function, theOTSetNBPType
function, and theOTSetNBPZone
function, respectively.To extract the name and type parts of an NBP name in an NBP entity structure, use the
OTExtractNBPName
function and theOTExtractNBPType
function, respectively.
- Note
- If the
name
parameter passed to the functionOTSetNBPName
contains a backslash, the result in thename
parameter passed to the functionOTExtractNBPName
will not be the same, because the backslash is stripped by the functionOTSetNBPName
and is not re-added by the functionOTExtractNBPName
.SEE ALSO
"The NBP Address Structure".