SIP_GET_CSEQ(3SIP) Session Initiation Protocol Library Functions SIP_GET_CSEQ(3SIP)

sip_get_cseq, sip_get_rseq - get initial sequence number

cc [ flag ... ] file ... -lsip [ library ... ]
#include <sip.h>
uint32_t sip_get_cseq();

uint32_t sip_get_rseq();

The sip_get_cseq() and sip_get_rseq() functions can be used to generate an initial sequence number for the CSEQ and RSEQ headers.

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

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

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

libsip(3LIB)

January 25, 2007 OmniOS