sl_decode_sl_primitive_id 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_primitive_id
( SL_PRIMITIVE_ID sl_primitive_id
);

Description

Returns a pointer to an ASCII string version of a signaling interface primitive suitable for printing or added to a message, for example, “SL_CALL_SETUP_REQ”.

Parameters

sl_primitive_id
A primitive id.

Return values

unknown SL_PRIMITIVE_ID
The value of sl_primitive_id is not a valid member of the SL_PRIMITIVE_ID enumeration.
other values
The primitive id encoded as a NULL-terminated ASCII string, for example, “SL_CALL_TERMINATE_REQ”.

Related information