You are here: SwitchKit® Development Environment Programmer’s Guide > 8 Utility Functions > sk_unparseAlarm()

sk_unparseAlarm()

Description

This function converts an XL_Alarm message into a text string, suitable for display. This function is also available as skts_unparseAlarm().

Syntax

int sk_unparseAlarm(char *aBuffer, XL_Alarm *anAlarmMsg);

Threadsafe Syntax

int skts_unparseAlarm( char *aBuffer, XL_Alarm *anAlarmMsg);

Parameters

The function parameters are shown in the table below.

Argument | Description
--- | ---
aBuffer | Pointer to a packed message.
anAlarmMsg | The Alarm that is to be unparsed.

Return Values

Possible return values for this function are:

SK_LOST_LLC | This return value indicates that your application lost contact with the LLC.