diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-06-28 16:46:49 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-06-28 16:46:49 +0000 |
commit | 72a1098e21f5b7d797655afe7ddb275969a192bd (patch) | |
tree | 2d6444a4660696829f4ac3c1f436e0d9f3d16310 /pjsip/include/pjsip/sip_transport.h | |
parent | df5395ea5cff6c902f8a1d79bd2874a6b279288c (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/pjsip/sip_transport.h')
-rw-r--r-- | pjsip/include/pjsip/sip_transport.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pjsip/include/pjsip/sip_transport.h b/pjsip/include/pjsip/sip_transport.h index e09583db..002061cf 100644 --- a/pjsip/include/pjsip/sip_transport.h +++ b/pjsip/include/pjsip/sip_transport.h @@ -704,7 +704,7 @@ struct pjsip_tpfactory pj_lock_t *lock; /**< Lock object. */ pjsip_transport_type_e type; /**< Transport type. */ - char type_name[8]; /**< Type string name. */ + char *type_name; /**< Type string name. */ unsigned flag; /**< Transport flag. */ pj_sockaddr local_addr; /**< Bound address. */ @@ -722,6 +722,11 @@ struct pjsip_tpfactory int addr_len, pjsip_transport **transport); + /** + * Destroy the listener. + */ + pj_status_t (*destroy)(pjsip_tpfactory *factory); + /* * Application may extend this structure.. */ |