Important: The information in this document is obsolete and should not be used for new development.
OTSetNBPType
Set the type part of an NBP entity structure.C INTERFACE
Boolean OTSetNBPType(NBPEntity* entity, const char* typeVal);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
entity- A pointer to the NBP entity structure in which you wish to set the type.
 type- A pointer to the type portion of an NBP name string that you wish to store. Special characters must be quoted.
 - function result
 - The function returns
 falseif thetypeparameter is longer than the maximum allowed for type part of an NBP name (32 characters).DISCUSSION
TheOTSetNBPTypefunction stores the NBP type specified by thetypeValparameter into the NBP entity structure indicated by theentityparameter, deleting any previous type stored there. To store the name and zone parts of an NBP name in an NBP entity structure, use theOTSetNBPNamefunction A HREF=NetworkingWOT-434.html#MARKER-9-79> and theOTSetNBPZonefunction, respectively.To extract the name, type, and zone parts of an NBP name in an NBP entity structure, use the
OTExtractNBPNamefunction, theOTExtractNBPTypefunction, and theOTExtractNBPZonefunction, respectively.SPECIAL CONSIDERATIONS
Backslashes in front of special characters will be removed. The functionOTSetAddressFromNBPEntitywill automatically insert them for mapper calls.SEE ALSO
"The NBP Address Structure".