![]() |
NSLGetServiceFromURL |
||||
Header: | NSL.h | Carbon status: | Supported | |
Obtains the service portion of a URL.
OSStatus NSLGetServiceFromURL ( char *theURL, char **svcString, UInt16 *svcLen );
On input, a pointer to a null-terminated string containing a URL.
On input, a pointer to the address of a string in memory. On output, svcString points to the service portion of the URL specified by theURL.
On input, a pointer to an unsigned 16-bit value. On output, svcLen contains the length in bytes of svcString.
A result code. A value of noErr indicates that NSLGetServiceFromURL successfully obtained the service portion of the specified URL.
The NSLGetServiceFromURL function obtains the service portion of a URL.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)