/usr/include/pjsua2/siptypes.hpp is in libpjproject-dev 2.7.2~dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 | /* $Id: siptypes.hpp 4968 2014-12-18 04:40:35Z riza $ */
/*
* Copyright (C) 2032 Teluu Inc. (http://www.teluu.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __PJSUA2_SIPTYPES_HPP__
#define __PJSUA2_SIPTYPES_HPP__
/**
* @file pjsua2/types.hpp
* @brief PJSUA2 Base Types
*/
#include <pjsua2/types.hpp>
#include <pjsua2/persistent.hpp>
#include <string>
#include <vector>
/** PJSUA2 API is inside pj namespace */
namespace pj
{
/**
* @defgroup PJSUA2_SIP_Types SIP Types
* @ingroup PJSUA2_DS
* @{
*/
/**
* Credential information. Credential contains information to authenticate
* against a service.
*/
struct AuthCredInfo : public PersistentObject
{
/**
* The authentication scheme (e.g. "digest").
*/
string scheme;
/**
* Realm on which this credential is to be used. Use "*" to make
* a credential that can be used to authenticate against any challenges.
*/
string realm;
/**
* Authentication user name.
*/
string username;
/**
* Type of data that is contained in the "data" field. Use 0 if the data
* contains plain text password.
*/
int dataType;
/**
* The data, which can be a plain text password or a hashed digest.
*/
string data;
/*
* Digest AKA credential information. Note that when AKA credential
* is being used, the \a data field of this pjsip_cred_info is
* not used, but it still must be initialized to an empty string.
* Please see PJSIP_AUTH_AKA_API for more information.
*/
/** Permanent subscriber key. */
string akaK;
/** Operator variant key. */
string akaOp;
/** Authentication Management Field */
string akaAmf;
public:
/** Default constructor */
AuthCredInfo();
/** Construct a credential with the specified parameters */
AuthCredInfo(const string &scheme,
const string &realm,
const string &user_name,
const int data_type,
const string data);
/**
* Read this object from a container node.
*
* @param node Container to read values from.
*/
virtual void readObject(const ContainerNode &node) throw(Error);
/**
* Write this object to a container node.
*
* @param node Container to write values to.
*/
virtual void writeObject(ContainerNode &node) const throw(Error);
};
//////////////////////////////////////////////////////////////////////////////
/**
* TLS transport settings, to be specified in TransportConfig.
*/
struct TlsConfig : public PersistentObject
{
/**
* Certificate of Authority (CA) list file.
*/
string CaListFile;
/**
* Public endpoint certificate file, which will be used as client-
* side certificate for outgoing TLS connection, and server-side
* certificate for incoming TLS connection.
*/
string certFile;
/**
* Optional private key of the endpoint certificate to be used.
*/
string privKeyFile;
/**
* Password to open private key.
*/
string password;
/**
* TLS protocol method from #pjsip_ssl_method. In the future, this field
* might be deprecated in favor of <b>proto</b> field. For now, this field
* is only applicable only when <b>proto</b> field is set to zero.
*
* Default is PJSIP_SSL_UNSPECIFIED_METHOD (0), which in turn will
* use PJSIP_SSL_DEFAULT_METHOD, which default value is PJSIP_TLSV1_METHOD.
*/
pjsip_ssl_method method;
/**
* TLS protocol type from #pj_ssl_sock_proto. Use this field to enable
* specific protocol type. Use bitwise OR operation to combine the protocol
* type.
*
* Default is PJSIP_SSL_DEFAULT_PROTO.
*/
unsigned proto;
/**
* Ciphers and order preference. The Endpoint::utilSslGetAvailableCiphers()
* can be used to check the available ciphers supported by backend.
* If the array is empty, then default cipher list of the backend
* will be used.
*/
IntVector ciphers;
/**
* Specifies TLS transport behavior on the server TLS certificate
* verification result:
* - If \a verifyServer is disabled, TLS transport will just notify
* the application via pjsip_tp_state_callback with state
* PJSIP_TP_STATE_CONNECTED regardless TLS verification result.
* - If \a verifyServer is enabled, TLS transport will be shutdown
* and application will be notified with state
* PJSIP_TP_STATE_DISCONNECTED whenever there is any TLS verification
* error, otherwise PJSIP_TP_STATE_CONNECTED will be notified.
*
* In any cases, application can inspect pjsip_tls_state_info in the
* callback to see the verification detail.
*
* Default value is false.
*/
bool verifyServer;
/**
* Specifies TLS transport behavior on the client TLS certificate
* verification result:
* - If \a verifyClient is disabled, TLS transport will just notify
* the application via pjsip_tp_state_callback with state
* PJSIP_TP_STATE_CONNECTED regardless TLS verification result.
* - If \a verifyClient is enabled, TLS transport will be shutdown
* and application will be notified with state
* PJSIP_TP_STATE_DISCONNECTED whenever there is any TLS verification
* error, otherwise PJSIP_TP_STATE_CONNECTED will be notified.
*
* In any cases, application can inspect pjsip_tls_state_info in the
* callback to see the verification detail.
*
* Default value is PJ_FALSE.
*/
bool verifyClient;
/**
* When acting as server (incoming TLS connections), reject incoming
* connection if client doesn't supply a TLS certificate.
*
* This setting corresponds to SSL_VERIFY_FAIL_IF_NO_PEER_CERT flag.
* Default value is PJ_FALSE.
*/
bool requireClientCert;
/**
* TLS negotiation timeout to be applied for both outgoing and incoming
* connection, in milliseconds. If zero, the SSL negotiation doesn't
* have a timeout.
*
* Default: zero
*/
unsigned msecTimeout;
/**
* QoS traffic type to be set on this transport. When application wants
* to apply QoS tagging to the transport, it's preferable to set this
* field rather than \a qosParam fields since this is more portable.
*
* Default value is PJ_QOS_TYPE_BEST_EFFORT.
*/
pj_qos_type qosType;
/**
* Set the low level QoS parameters to the transport. This is a lower
* level operation than setting the \a qosType field and may not be
* supported on all platforms.
*
* By default all settings in this structure are disabled.
*/
pj_qos_params qosParams;
/**
* Specify if the transport should ignore any errors when setting the QoS
* traffic type/parameters.
*
* Default: PJ_TRUE
*/
bool qosIgnoreError;
public:
/** Default constructor initialises with default values */
TlsConfig();
/** Convert to pjsip */
pjsip_tls_setting toPj() const;
/** Convert from pjsip */
void fromPj(const pjsip_tls_setting &prm);
/**
* Read this object from a container node.
*
* @param node Container to read values from.
*/
virtual void readObject(const ContainerNode &node) throw(Error);
/**
* Write this object to a container node.
*
* @param node Container to write values to.
*/
virtual void writeObject(ContainerNode &node) const throw(Error);
};
/**
* Parameters to create a transport instance.
*/
struct TransportConfig : public PersistentObject
{
/**
* UDP port number to bind locally. This setting MUST be specified
* even when default port is desired. If the value is zero, the
* transport will be bound to any available port, and application
* can query the port by querying the transport info.
*/
unsigned port;
/**
* Specify the port range for socket binding, relative to the start
* port number specified in \a port. Note that this setting is only
* applicable when the start port number is non zero.
*
* Default value is zero.
*/
unsigned portRange;
/**
* Optional address to advertise as the address of this transport.
* Application can specify any address or hostname for this field,
* for example it can point to one of the interface address in the
* system, or it can point to the public address of a NAT router
* where port mappings have been configured for the application.
*
* Note: this option can be used for both UDP and TCP as well!
*/
string publicAddress;
/**
* Optional address where the socket should be bound to. This option
* SHOULD only be used to selectively bind the socket to particular
* interface (instead of 0.0.0.0), and SHOULD NOT be used to set the
* published address of a transport (the public_addr field should be
* used for that purpose).
*
* Note that unlike public_addr field, the address (or hostname) here
* MUST correspond to the actual interface address in the host, since
* this address will be specified as bind() argument.
*/
string boundAddress;
/**
* This specifies TLS settings for TLS transport. It is only be used
* when this transport config is being used to create a SIP TLS
* transport.
*/
TlsConfig tlsConfig;
/**
* QoS traffic type to be set on this transport. When application wants
* to apply QoS tagging to the transport, it's preferable to set this
* field rather than \a qosParam fields since this is more portable.
*
* Default is QoS not set.
*/
pj_qos_type qosType;
/**
* Set the low level QoS parameters to the transport. This is a lower
* level operation than setting the \a qosType field and may not be
* supported on all platforms.
*
* Default is QoS not set.
*/
pj_qos_params qosParams;
public:
/** Default constructor initialises with default values */
TransportConfig();
/** Convert from pjsip */
void fromPj(const pjsua_transport_config &prm);
/** Convert to pjsip */
pjsua_transport_config toPj() const;
/**
* Read this object from a container node.
*
* @param node Container to read values from.
*/
virtual void readObject(const ContainerNode &node) throw(Error);
/**
* Write this object to a container node.
*
* @param node Container to write values to.
*/
virtual void writeObject(ContainerNode &node) const throw(Error);
};
/**
* This structure describes transport information returned by
* Endpoint::transportGetInfo() function.
*/
struct TransportInfo
{
/** PJSUA transport identification. */
TransportId id;
/** Transport type. */
pjsip_transport_type_e type;
/** Transport type name. */
string typeName;
/** Transport string info/description. */
string info;
/** Transport flags (see pjsip_transport_flags_e). */
unsigned flags;
/** Local/bound address. */
SocketAddress localAddress;
/** Published address (or transport address name). */
SocketAddress localName;
/** Current number of objects currently referencing this transport. */
unsigned usageCount;
public:
/** Construct from pjsua_transport_info */
void fromPj(const pjsua_transport_info &info);
};
//////////////////////////////////////////////////////////////////////////////
/**
* This structure describes an incoming SIP message. It corresponds to the
* pjsip_rx_data structure in PJSIP library.
*/
struct SipRxData
{
/**
* A short info string describing the request, which normally contains
* the request method and its CSeq.
*/
string info;
/**
* The whole message data as a string, containing both the header section
* and message body section.
*/
string wholeMsg;
/**
* Source address of the message.
*/
SocketAddress srcAddress;
/**
* Pointer to original pjsip_rx_data. Only valid when the struct
* is constructed from PJSIP's pjsip_rx_data.
*/
void *pjRxData;
public:
/**
* Default constructor.
*/
SipRxData();
/**
* Construct from PJSIP's pjsip_rx_data
*/
void fromPj(pjsip_rx_data &rdata);
};
/**
* This structure describes an outgoing SIP message. It corresponds to the
* pjsip_tx_data structure in PJSIP library.
*/
struct SipTxData
{
/**
* A short info string describing the request, which normally contains
* the request method and its CSeq.
*/
string info;
/**
* The whole message data as a string, containing both the header section
* and message body section.
*/
string wholeMsg;
/**
* Destination address of the message.
*/
SocketAddress dstAddress;
/**
* Pointer to original pjsip_tx_data. Only valid when the struct
* is constructed from PJSIP's pjsip_tx_data.
*/
void *pjTxData;
public:
/**
* Default constructor.
*/
SipTxData();
/**
* Construct from PJSIP's pjsip_tx_data
*/
void fromPj(pjsip_tx_data &tdata);
};
/**
* This structure describes SIP transaction object. It corresponds to the
* pjsip_transaction structure in PJSIP library.
*/
struct SipTransaction
{
/* Transaction identification. */
pjsip_role_e role; /**< Role (UAS or UAC) */
string method; /**< The method. */
/* State and status. */
int statusCode; /**< Last status code seen. */
string statusText; /**< Last reason phrase. */
pjsip_tsx_state_e state; /**< State. */
/* Messages and timer. */
SipTxData lastTx; /**< Msg kept for retrans. */
/* Original pjsip_transaction. */
void *pjTransaction; /**< pjsip_transaction. */
public:
/**
* Default constructor.
*/
SipTransaction();
/**
* Construct from PJSIP's pjsip_transaction
*/
void fromPj(pjsip_transaction &tsx);
};
/**
* This structure describes timer event.
*/
struct TimerEvent
{
TimerEntry entry; /**< The timer entry. */
};
/**
* This structure describes transaction state event source.
*/
struct TsxStateEventSrc
{
SipRxData rdata; /**< The incoming message. */
SipTxData tdata; /**< The outgoing message. */
TimerEntry timer; /**< The timer. */
pj_status_t status; /**< Transport error status. */
GenericData data; /**< Generic data. */
};
/**
* This structure describes transaction state changed event.
*/
struct TsxStateEvent
{
TsxStateEventSrc src; /**< Event source. */
SipTransaction tsx; /**< The transaction. */
pjsip_tsx_state_e prevState; /**< Previous state. */
pjsip_event_id_e type; /**< Type of event source:
* - PJSIP_EVENT_TX_MSG
* - PJSIP_EVENT_RX_MSG,
* - PJSIP_EVENT_TRANSPORT_ERROR
* - PJSIP_EVENT_TIMER
* - PJSIP_EVENT_USER
*/
};
/**
* This structure describes message transmission event.
*/
struct TxMsgEvent
{
SipTxData tdata; /**< The transmit data buffer. */
};
/**
* This structure describes transmission error event.
*/
struct TxErrorEvent
{
SipTxData tdata; /**< The transmit data. */
SipTransaction tsx; /**< The transaction. */
};
/**
* This structure describes message arrival event.
*/
struct RxMsgEvent
{
SipRxData rdata; /**< The receive data buffer. */
};
/**
* This structure describes user event.
*/
struct UserEvent
{
GenericData user1; /**< User data 1. */
GenericData user2; /**< User data 2. */
GenericData user3; /**< User data 3. */
GenericData user4; /**< User data 4. */
};
/**
* The event body.
*/
struct SipEventBody
{
/**
* Timer event.
*/
TimerEvent timer;
/**
* Transaction state has changed event.
*/
TsxStateEvent tsxState;
/**
* Message transmission event.
*/
TxMsgEvent txMsg;
/**
* Transmission error event.
*/
TxErrorEvent txError;
/**
* Message arrival event.
*/
RxMsgEvent rxMsg;
/**
* User event.
*/
UserEvent user;
};
/**
* This structure describe event descriptor to fully identify a SIP event. It
* corresponds to the pjsip_event structure in PJSIP library.
*/
struct SipEvent
{
/**
* The event type, can be any value of \b pjsip_event_id_e.
*/
pjsip_event_id_e type;
/**
* The event body, which fields depends on the event type.
*/
SipEventBody body;
/**
* Pointer to its original pjsip_event. Only valid when the struct is
* constructed from PJSIP's pjsip_event.
*/
void *pjEvent;
public:
/**
* Default constructor.
*/
SipEvent();
/**
* Construct from PJSIP's pjsip_event
*/
void fromPj(const pjsip_event &ev);
};
//////////////////////////////////////////////////////////////////////////////
/**
* SIP media type containing type and subtype. For example, for
* "application/sdp", the type is "application" and the subtype is "sdp".
*/
struct SipMediaType
{
/** Media type. */
string type;
/** Media subtype. */
string subType;
public:
/**
* Construct from PJSIP's pjsip_media_type
*/
void fromPj(const pjsip_media_type &prm);
/**
* Convert to PJSIP's pjsip_media_type.
*/
pjsip_media_type toPj() const;
};
/**
* Simple SIP header.
*/
struct SipHeader
{
/**
* Header name.
*/
string hName;
/**
* Header value.
*/
string hValue;
public:
/**
* Initiaize from PJSIP header.
*/
void fromPj(const pjsip_hdr *) throw(Error);
/**
* Convert to PJSIP header.
*/
pjsip_generic_string_hdr &toPj() const;
private:
/** Interal buffer for conversion to PJSIP header */
mutable pjsip_generic_string_hdr pjHdr;
};
/** Array of strings */
typedef std::vector<SipHeader> SipHeaderVector;
/**
* This describes each multipart part.
*/
struct SipMultipartPart
{
/**
* Optional headers to be put in this multipart part.
*/
SipHeaderVector headers;
/**
* The MIME type of the body part of this multipart part.
*/
SipMediaType contentType;
/**
* The body part of tthis multipart part.
*/
string body;
public:
/**
* Initiaize from PJSIP's pjsip_multipart_part.
*/
void fromPj(const pjsip_multipart_part &prm) throw(Error);
/**
* Convert to PJSIP's pjsip_multipart_part.
*/
pjsip_multipart_part& toPj() const;
private:
/** Interal buffer for conversion to PJSIP pjsip_multipart_part */
mutable pjsip_multipart_part pjMpp;
mutable pjsip_msg_body pjMsgBody;
};
/** Array of multipart parts */
typedef std::vector<SipMultipartPart> SipMultipartPartVector;
/**
* Additional options when sending outgoing SIP message. This corresponds to
* pjsua_msg_data structure in PJSIP library.
*/
struct SipTxOption
{
/**
* Optional remote target URI (i.e. Target header). If empty (""), the
* target will be set to the remote URI (To header). At the moment this
* field is only used when sending initial INVITE and MESSAGE requests.
*/
string targetUri;
/**
* Additional message headers to be included in the outgoing message.
*/
SipHeaderVector headers;
/**
* MIME type of the message body, if application specifies the messageBody
* in this structure.
*/
string contentType;
/**
* Optional message body to be added to the message, only when the
* message doesn't have a body.
*/
string msgBody;
/**
* Content type of the multipart body. If application wants to send
* multipart message bodies, it puts the parts in multipartParts and set
* the content type in multipartContentType. If the message already
* contains a body, the body will be added to the multipart bodies.
*/
SipMediaType multipartContentType;
/**
* Array of multipart parts. If application wants to send multipart
* message bodies, it puts the parts in \a parts and set the content
* type in \a multipart_ctype. If the message already contains a body,
* the body will be added to the multipart bodies.
*/
SipMultipartPartVector multipartParts;
public:
/**
* Check if the options are empty. If the options are set with empty
* values, there will be no additional information sent with outgoing
* SIP message.
*
* @return True if the options are empty.
*/
bool isEmpty() const;
/**
* Initiaize from PJSUA's pjsua_msg_data.
*/
void fromPj(const pjsua_msg_data &prm) throw(Error);
/**
* Convert to PJSUA's pjsua_msg_data.
*/
void toPj(pjsua_msg_data &msg_data) const;
};
//////////////////////////////////////////////////////////////////////////////
/**
* This structure contains parameters for sending instance message methods,
* e.g: Buddy::sendInstantMessage(), Call:sendInstantMessage().
*/
struct SendInstantMessageParam
{
/**
* MIME type. Default is "text/plain".
*/
string contentType;
/**
* The message content.
*/
string content;
/**
* List of headers etc to be included in outgoing request.
*/
SipTxOption txOption;
/**
* User data, which will be given back when the IM callback is called.
*/
Token userData;
public:
/**
* Default constructor initializes with zero/empty values.
*/
SendInstantMessageParam();
};
/**
* This structure contains parameters for sending typing indication methods,
* e.g: Buddy::sendTypingIndication(), Call:sendTypingIndication().
*/
struct SendTypingIndicationParam
{
/**
* True to indicate to remote that local person is currently typing an IM.
*/
bool isTyping;
/**
* List of headers etc to be included in outgoing request.
*/
SipTxOption txOption;
public:
/**
* Default constructor initializes with zero/empty values.
*/
SendTypingIndicationParam();
};
/* Utilities */
#ifndef SWIG
//! @cond Doxygen_Suppress
void readIntVector( ContainerNode &node,
const string &array_name,
IntVector &v) throw(Error);
void writeIntVector(ContainerNode &node,
const string &array_name,
const IntVector &v) throw(Error);
void readQosParams( ContainerNode &node,
pj_qos_params &qos) throw(Error);
void writeQosParams( ContainerNode &node,
const pj_qos_params &qos) throw(Error);
void readSipHeaders( const ContainerNode &node,
const string &array_name,
SipHeaderVector &headers) throw(Error);
void writeSipHeaders(ContainerNode &node,
const string &array_name,
const SipHeaderVector &headers) throw(Error);
//! @endcond
#endif // SWIG
/**
* @} PJSUA2
*/
} // namespace pj
#endif /* __PJSUA2_SIPTYPES_HPP__ */
|