Basic data types.
More...
|
enum | pjsip_transport_type_e {
PJSIP_TRANSPORT_UNSPECIFIED
, PJSIP_TRANSPORT_UDP
, PJSIP_TRANSPORT_TCP
, PJSIP_TRANSPORT_TLS
,
PJSIP_TRANSPORT_DTLS
, PJSIP_TRANSPORT_SCTP
, PJSIP_TRANSPORT_LOOP
, PJSIP_TRANSPORT_LOOP_DGRAM
,
PJSIP_TRANSPORT_START_OTHER
, PJSIP_TRANSPORT_IPV6 = 128
, PJSIP_TRANSPORT_UDP6 = PJSIP_TRANSPORT_UDP + PJSIP_TRANSPORT_IPV6
, PJSIP_TRANSPORT_TCP6 = PJSIP_TRANSPORT_TCP + PJSIP_TRANSPORT_IPV6
,
PJSIP_TRANSPORT_TLS6 = PJSIP_TRANSPORT_TLS + PJSIP_TRANSPORT_IPV6
, PJSIP_TRANSPORT_DTLS6 = PJSIP_TRANSPORT_DTLS + PJSIP_TRANSPORT_IPV6
} |
|
enum | pjsip_role_e { PJSIP_ROLE_UAC
, PJSIP_ROLE_UAS
, PJSIP_UAC_ROLE = PJSIP_ROLE_UAC
, PJSIP_UAS_ROLE = PJSIP_ROLE_UAS
} |
|
◆ PJSIP_RETURN_EXCEPTION
Return standard pj_status_t status from current exception.
◆ PJSIP_THROW_SPEC
#define PJSIP_THROW_SPEC |
( |
|
list | ) |
|
Attributes to inform that the function may throw exceptions.
◆ pjsip_tpmgr
Forward declaration for transport manager.
◆ pjsip_endpoint
◆ pjsip_resolver_t
◆ pjsip_user_agent
◆ pjsip_transport_type_e
Transport types.
Enumerator |
---|
PJSIP_TRANSPORT_UNSPECIFIED | Unspecified.
|
PJSIP_TRANSPORT_UDP | UDP.
|
PJSIP_TRANSPORT_TCP | TCP.
|
PJSIP_TRANSPORT_TLS | TLS.
|
PJSIP_TRANSPORT_DTLS | DTLS, not implemented yet.
|
PJSIP_TRANSPORT_SCTP | SCTP, not implemented yet.
|
PJSIP_TRANSPORT_LOOP | Loopback (stream, reliable)
|
PJSIP_TRANSPORT_LOOP_DGRAM | Loopback (datagram, unreliable)
|
PJSIP_TRANSPORT_START_OTHER | Start of user defined transport
|
PJSIP_TRANSPORT_IPV6 | Start of IPv6 transports
|
PJSIP_TRANSPORT_UDP6 | UDP over IPv6
|
PJSIP_TRANSPORT_TCP6 | TCP over IPv6
|
PJSIP_TRANSPORT_TLS6 | TLS over IPv6
|
PJSIP_TRANSPORT_DTLS6 | DTLS over IPv6, not implemented yet
|
◆ pjsip_role_e
Transaction role.
Enumerator |
---|
PJSIP_ROLE_UAC | Role is UAC.
|
PJSIP_ROLE_UAS | Role is UAS.
|
PJSIP_UAC_ROLE | Role is UAC.
|
PJSIP_UAS_ROLE | Role is UAS.
|
◆ pjsip_exception_to_status()
pj_status_t pjsip_exception_to_status |
( |
int |
exception_id | ) |
|
Convert exception ID into pj_status_t status.
- Parameters
-
exception_id | Exception Id. |
- Returns
- Error code for the specified exception Id.