# 8 Utility Functions

This chapter describes the utility functions available in SwitchKit. It 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.

In this section:

sk_extractExtendedICBFromChannelReleasedWithData()

sk_getMessageText()

sk_getMsgName()

sk_getMsgSizeFromTag()

sk_getVersionMajor() / sk_getVersionMinor() / sk_getVersionBuild()/ sk_getVersionRelease()

sk_statusText()

sk_unparseAlarm()

sk_unparseAlarmCleared()

sk_unparsePPLEventIndication()