summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua_internal.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-06-28 16:46:49 +0000
committerBenny Prijono <bennylp@teluu.com>2006-06-28 16:46:49 +0000
commit72a1098e21f5b7d797655afe7ddb275969a192bd (patch)
tree2d6444a4660696829f4ac3c1f436e0d9f3d16310 /pjsip/include/pjsua-lib/pjsua_internal.h
parentdf5395ea5cff6c902f8a1d79bd2874a6b279288c (diff)
Major improvements in PJSIP to support TCP. The changes fall into these categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index 8b061c5b..004a41a0 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -104,8 +104,16 @@ typedef struct pjsua_acc
*/
typedef struct transport_data
{
- int index;
- pjsip_transport *tp;
+ int index;
+ pjsip_transport_type_e type;
+ pjsip_host_port local_name;
+
+ union {
+ pjsip_transport *tp;
+ pjsip_tpfactory *factory;
+ void *ptr;
+ } data;
+
} transport_data;