![]() |
NSLMakeNewServicesList |
||||
Header: | NSL.h | Carbon status: | Supported | |
Creates a services list.
NSLServicesList NSLMakeNewServicesList ( const char *initialServiceList );
On input, a pointer to a comma-delimited, null-terminated string of service names, such as http,ftp.
A services list. NSLMakeNewServicesList returns NULL if it cant create the services list because, for example, there is not enough memory or because the NSL Manager is not initialized.
The NSLMakeNewServicesList function creates a services list and fills it with the names of the services specified in initialServiceList. After you create the services list, you can add the names of additional services by calling NSLAddServiceToServicesList.
When you have no further use for the services list, you can reclaim the memory allocated to it by calling NSLDisposeServicesList.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)