sl_decode_sl_reply_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_reply_code
( SL_REPLY_CODE sl_reply_code
);

Description

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

Parameters

sl_reply_code
A signaling interface reply code.

Return values

unrecognized SL_REPLY_CODE
The value of sl_reply_code is not a valid member of the SL_REPLY_CODE enumeration.
other values
The signaling interface reply code encoded as a NULL-terminated ASCII string, for example, “SL_REPLY_NETWORK_BUSY”.

Related information