|
HOME
SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port
FAQ
Documentation
Licensing
Download
Development (Trac)
Projects using pjsip
Mailing List
Open Source Links
About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono <bennylp pjsip.org>
|
|
Home --> Documentations --> PJSIP Reference
sip_types.h File Reference
Detailed Description
#include <pjsip/sip_config.h>
#include <pj/types.h>
|
Data Structures |
| struct | pjsip_buffer |
| struct | pjsip_host_port |
| struct | pjsip_host_info |
Defines |
| #define | PJSIP_RETURN_EXCEPTION() pjsip_exception_to_status(PJ_GET_EXCEPTION()) |
| #define | PJSIP_THROW_SPEC(list) |
Typedefs |
| typedef struct pjsip_transport | pjsip_transport |
| typedef struct pjsip_tpmgr | pjsip_tpmgr |
| typedef struct pjsip_endpoint | pjsip_endpoint |
| typedef struct pjsip_transaction | pjsip_transaction |
| typedef struct pjsip_event | pjsip_event |
| typedef struct pjsip_tx_data | pjsip_tx_data |
| typedef struct pjsip_rx_data | pjsip_rx_data |
| typedef struct pjsip_msg | pjsip_msg |
| typedef struct pjsip_msg_body | pjsip_msg_body |
| typedef struct pjsip_hdr | pjsip_hdr |
| typedef struct pjsip_uri | pjsip_uri |
| typedef struct pjsip_method | pjsip_method |
| typedef struct pjsip_resolver_t | pjsip_resolver_t |
| typedef struct pjsip_cred_info | pjsip_cred_info |
| typedef struct pjsip_module | pjsip_module |
| typedef pjsip_module | pjsip_user_agent |
| typedef struct pjsip_dialog | pjsip_dialog |
Enumerations |
| enum | pjsip_transport_type_e {
PJSIP_TRANSPORT_UNSPECIFIED,
PJSIP_TRANSPORT_UDP,
PJSIP_TRANSPORT_TCP,
PJSIP_TRANSPORT_TLS,
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
} |
| enum | pjsip_role_e { PJSIP_ROLE_UAC,
PJSIP_ROLE_UAS,
PJSIP_UAC_ROLE = PJSIP_ROLE_UAC,
PJSIP_UAS_ROLE = PJSIP_ROLE_UAS
} |
Functions |
| pj_status_t | pjsip_exception_to_status (int exception_id) |
Define Documentation
| #define PJSIP_RETURN_EXCEPTION |
( |
|
) |
pjsip_exception_to_status(PJ_GET_EXCEPTION()) |
Return standard pj_status_t status from current exception.
| #define PJSIP_THROW_SPEC |
( |
list |
|
) |
|
Attributes to inform that the function may throw exceptions.
Typedef Documentation
Forward declaration for SIP transport.
Forward declaration for transport manager.
Forward declaration for message body (sip_msg.h).
Forward declaration for header field (sip_msg.h).
Forward declaration for SIP method (sip_msg.h)
Forward declaration for credential.
Enumeration Type Documentation
Transport types. - Enumerator:
-
| PJSIP_TRANSPORT_UNSPECIFIED |
Unspecified. |
| PJSIP_TRANSPORT_UDP |
UDP. |
| PJSIP_TRANSPORT_TCP |
TCP. |
| PJSIP_TRANSPORT_TLS |
TLS. |
| PJSIP_TRANSPORT_SCTP |
SCTP. |
| 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 |
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. |
Function Documentation
Convert exception ID into pj_status_t status.
- Parameters:
-
| exception_id | Exception Id. |
- Returns:
- Error code for the specified exception Id.
PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.
|
|