sl_decode_sl_ret_code subroutine

Purpose

Decode a signaling interface data type for generating text messages.

Library

The signaling interface library (libsl.a).

C syntax

#include <slsigpr.h>
...
char * sl_decode_sl_ret_code
( SL_RET_CODE sl_ret_code
);

Description

Returns a pointer to an ASCII string version of a signaling interface return code suitable for printing or adding to a message, for example, “SLRC_INVALID_CHAN”.

Parameters

sl_ret_code
A signaling interface return code.

Return values

unknown SL_RET_CODE
The value of sl_ret_code is not a valid member of the SL_RET_CODE enumeration.
other values
The signaling interface return code encoded as a NULL-terminated ASCII string, for example “SLRC_OK”.

Related information