# 3 Channel Management

This chapter describes the channel management functions available in SwitchKit, as well as a list of the SwitchKit API messages used for channel management. The chapter also provides prototype information, possible error return values, and a description of what the function does.

Most functions return an integer value. Upon successful completion, that return value is OK (0). Non-zero return values indicate some error conditions. Each function lists the associated error conditions.

Some functions return pointers; those functions do not have a status value indicating success or failure.

Your application modules will notify the LLC of which channels to use, using the Channel Management functions. Most of these functions are based on channel groups. A channel group is a text string that is associated with a set of channels. The association between the group name and channels is specified in the configuration. Inbound and outbound channel groups are managed differently.

In this section:

Channels

SK_AllAssignedChannels

sk_associateChannelGroup()

sk_broadcastLoad()

sk_clearChannelGroup()

sk_configChannelGroup()

sk_getAssignedChannelGroup()

sk_ignoreChannelGroup()

sk_monitorChannel() / sk_unMonitorChannel()

sk_removeChannelsFromGroup()

sk_requestChannel()

sk_requestOutseizedChannel()

sk_requestRouteControlledChannel()

sk_returnChannel()

sk_setChannelHandler()

sk_setChannelData() / sk_getChannelData()

sk_setGroupHandler()

sk_watchChannelGroup()

API messages used for Channel Management