Function

SCNetworkSetCreate

Creates a new set in the configuration.

Declaration

SCNetworkSetRef SCNetworkSetCreate(SCPreferencesRef prefs);

Parameters

prefs

The preferences session.

Return Value

The new network set. You must release the returned value.

See Also

Configuring Network Sets

SCNetworkSetAddService

Adds the specified network service to the specified set.

SCNetworkSetContainsInterface

Returns a Boolean value indicating whether the specified interface is represented by at least one network service in the specified set.

SCNetworkSetCopy

Returns the set with the specified identifier.

SCNetworkSetCopyAll

Returns all available sets for the specified preferences session.

SCNetworkSetCopyCurrent

Returns the current set.

SCNetworkSetCopyServices

Returns all network services associated with the specified set.

SCNetworkSetGetName

Returns the user-specified name associated with the specified set.

SCNetworkSetGetServiceOrder

Returns the user-specified ordering of network services within the specified set.

SCNetworkSetGetSetID

Returns the identifier for the specified set.

SCNetworkSetGetTypeID

Returns the type identifier of all SCNetworkSet instances.

SCNetworkSetRemove

Removes the specified set from the configuration.

SCNetworkSetRemoveService

Removes the specified network service from the specified set.

SCNetworkSetSetCurrent

Specifies the set that should be the current set.

SCNetworkSetSetName

Stores the user-specified name for the specified set.

SCNetworkSetSetServiceOrder

Stores the user-specified ordering of network services for the specified set.