SIP_GET_RESP_DESC(3SIP) Session Initiation Protocol Library Functions

NAME


sip_get_resp_desc - return the response phrase

SYNOPSIS


cc [ flag ... ] file ... -lsip [ library ... ]
#include <sip.h>

char *sip_get_resp_desc(int *resp_code);


DESCRIPTION


The sip_get_resp_desc() function returns the response phrase for the
given response code in resp_code. The response code is not one that
is listed in RFC 3261 (Section 21). The returned string is "UNKNOWN".

RETURN VALUES


The value of errno is not changed by these calls in the event of an
error.

ATTRIBUTES


See attributes(7) for descriptions of the following attributes:


+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Committed |
+--------------------+-----------------+
|MT-Level | MT-Safe |
+--------------------+-----------------+

SEE ALSO


libsip(3LIB)

January 25, 2007 SIP_GET_RESP_DESC(3SIP)

tribblix@gmail.com :: GitHub :: Privacy