Group PJSUA2_TYPES

group PJSUA2_TYPES

Defines

PJSUA2_RAISE_ERROR(status)

Raise Error exception

PJSUA2_RAISE_ERROR2(status, op)

Raise Error exception

PJSUA2_RAISE_ERROR3(status, op, txt)

Raise Error exception

PJSUA2_CHECK_RAISE_ERROR2(status, op)

Raise Error exception if the expression fails

PJSUA2_CHECK_RAISE_ERROR(status)

Raise Error exception if the status fails

PJSUA2_CHECK_EXPR(expr)

Raise Error exception if the expression fails

Typedefs

typedef std::vector<std::string> StringVector

Array of strings

typedef std::vector<int> IntVector

Array of integers

typedef void *Token

Type of token, i.e. arbitrary application user data

typedef string SocketAddress

Socket address, encoded as string. The socket address contains host and port number in “host[:port]” format. The host part may contain hostname, domain name, IPv4 or IPv6 address. For IPv6 address, the address will be enclosed with square brackets, e.g. “[::1]:5060”.

typedef int TransportId

Transport ID is an integer.

typedef void *TransportHandle

Transport handle, corresponds to pjsip_transport instance.

typedef void *TimerEntry

Timer entry, corresponds to pj_timer_entry

typedef void *GenericData

Generic data

Enums

enum [anonymous]

Constants

Values:

enumerator INVALID_ID

Invalid ID, equal to PJSUA_INVALID_ID

enumerator SUCCESS

Success, equal to PJ_SUCCESS

struct Error
#include <types.hpp>

This structure contains information about an error that is thrown as an exception.

struct Version
#include <types.hpp>

Version information.

struct TimeVal
#include <types.hpp>

Representation of time value.