Carbon


NSLGetNextUrl

Header: NSL.h Carbon status: Supported

Obtains information about the next URL in a buffer.

Boolean NSLGetNextUrl (
    NSLClientAsyncInfoPtr infoPtr, 
    char **urlPtr, 
    SInt32 *urlLength
);
Parameter descriptions
infoPtr

On input, a pointer to an NSLClientAsyncInfo structure whose resultBuffer field may contain a URL.

urlPtr

On output, if a URL was found in resultBuffer, a pointer to the beginning of the URL.

urlLength

On output, the length of the URL pointed to by urlPtr.

function result

A Boolean value. A value of TRUE indicates that urlPtr points to the next URL in resultBuffer. A value of FALSE indicates that there are no more URLs in resultBuffer.

DISCUSSION

The NSLGetNextUrl function obtains the starting position and the length of the next URL in a result buffer. You call NSLGetNextUrl to parse the URLs returned by a previous call to NSLStartServicesLookup.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)