summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_transport.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-03-10 13:33:25 +0000
committerBenny Prijono <bennylp@teluu.com>2010-03-10 13:33:25 +0000
commit8e703ff217b32a9cc4d29393769ac85688900fbf (patch)
treed857fa788375d164e87eb7bc578dd9d8b09d606f /pjsip/include/pjsip/sip_transport.h
parent44c2febe5e74bb190b1d68dd506e1ce48714bc97 (diff)
More #1032 (new SIP TCP/TLS transport callback):
- PJSUA-LIB transport callback, if installed, will call the previously registered callback, to allow multiple transport callbacks to be installed - there seem to be a bug with the use of "pjsip_tp_state_callback" everywhere (the "pjsip_tp_state_callback" type is pointer, but most variables of this type are declared to pointer too) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3119 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/sip_transport.h')
-rw-r--r--pjsip/include/pjsip/sip_transport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/sip_transport.h b/pjsip/include/pjsip/sip_transport.h
index 8da4d561..92c624fe 100644
--- a/pjsip/include/pjsip/sip_transport.h
+++ b/pjsip/include/pjsip/sip_transport.h
@@ -1312,7 +1312,7 @@ typedef void (*pjsip_tp_state_callback)(
* @return PJ_SUCCESS on success, or the appropriate error code.
*/
PJ_DECL(pj_status_t) pjsip_tpmgr_set_status_cb(pjsip_tpmgr *mgr,
- pjsip_tp_state_callback *cb);
+ pjsip_tp_state_callback cb);
/**
@@ -1322,7 +1322,7 @@ PJ_DECL(pj_status_t) pjsip_tpmgr_set_status_cb(pjsip_tpmgr *mgr,
*
* @return The transport state callback or NULL if it is not set.
*/
-PJ_DECL(pjsip_tp_state_callback*) pjsip_tpmgr_get_status_cb(
+PJ_DECL(pjsip_tp_state_callback) pjsip_tpmgr_get_status_cb(
const pjsip_tpmgr *mgr);