Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 30 - AppleTalk Reference / AppleTalk Addressing Reference
AppleTalk Utility Functions /


OTInitNBPAddress

Initializes an NBP address structure.

C INTERFACE
size_t OTInitNBPAddress(NBPAddress* address,
                     const char* name);
C++ INTERFACE
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.
function result
The size of the NBP address structure.
DISCUSSION
The OTInitNBPAddress function can be used to initialize an NBP address structure with the NBP name specified in the name parameter, which is assumed to already be in the correct string format--that is, name:type@zone, with special characters quoted.The function returns the size of the NBP address structure, which is the size of the fAddressType field plus the length of the string in the name parameter.

SEE ALSO
The OTInitDDPAddress function.

The OTInitDDPNBPAddress function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998