Ignore:
Timestamp:
Mar 10, 2010 1:33:25 PM (14 years ago)
Author:
bennylp
Message:

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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport.c

    r3110 r3119  
    9090    void           (*on_rx_msg)(pjsip_endpoint*, pj_status_t, pjsip_rx_data*); 
    9191    pj_status_t    (*on_tx_msg)(pjsip_endpoint*, pjsip_tx_data*); 
    92     pjsip_tp_state_callback *tp_state_cb; 
     92    pjsip_tp_state_callback tp_state_cb; 
    9393    void *tp_state_user_data; 
    9494}; 
     
    17391739 
    17401740PJ_DEF(pj_status_t) pjsip_tpmgr_set_status_cb(pjsip_tpmgr *mgr, 
    1741                                               pjsip_tp_state_callback *cb) 
     1741                                              pjsip_tp_state_callback cb) 
    17421742{ 
    17431743    PJ_ASSERT_RETURN(mgr, PJ_EINVAL); 
     
    17481748} 
    17491749 
    1750 PJ_DEF(pjsip_tp_state_callback*) pjsip_tpmgr_get_status_cb( 
     1750PJ_DEF(pjsip_tp_state_callback) pjsip_tpmgr_get_status_cb( 
    17511751                                              const pjsip_tpmgr *mgr) 
    17521752{ 
Note: See TracChangeset for help on using the changeset viewer.