Carbon


NSLServiceIsInServiceList

Header: NSL.h Carbon status: Supported

Determines whether a service is in a service list.

Boolean NSLServiceIsInServiceList (
    NSLServicesList serviceList, 
    NSLServiceType svcToFind
);
Parameter descriptions
serviceList

On input, an NSLServicesList created by previously calling NSLMakeNewServicesList.

svcToFind

On input, a value of type NSLServiceType that contains a null-terminated service that is to be checked.

function result

A value of TRUE indicates that the service specified by svcToFind is in the service list specified by serviceList; otherwise, NSLServiceIsInServiceList returns FALSE.

DISCUSSION

The NSLServiceIsInServiceList function determines whether the service specified by svcToFind is in the service list specified by serviceList.


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