diff options
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip/sip_transport.h | 4 | ||||
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 1 |
2 files changed, 3 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); diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index caba46aa..527b53ae 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -252,6 +252,7 @@ struct pjsua_data pjsip_endpoint *endpt; /**< Global endpoint. */ pjsip_module mod; /**< pjsua's PJSIP module. */ pjsua_transport_data tpdata[8]; /**< Array of transports. */ + pjsip_tp_state_callback old_tp_cb; /**< Old transport callback. */ /* Threading: */ pj_bool_t thread_quit_flag; /**< Thread quit flag. */ |