Ignore:
Timestamp:
Apr 4, 2006 11:06:34 AM (18 years ago)
Author:
bennylp
Message:

Changed pjsip_dlg_send_request() API to NOT return transaction as it is not safe against race condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_dialog.h

    r283 r376  
    409409 * @param dlg               The dialog. 
    410410 * @param tdata             The request message to be sent. 
    411  * @param p_tsx             Optional argument to receive the transaction  
    412  *                          instance used to send the request. 
     411 * @param mod_data_id       Optional module data index to put an optional data 
     412 *                          into the transaction. If no module data is to be 
     413 *                          attached, this value should be -1. 
     414 * @param mod_data          Optional module data to be attached to the  
     415 *                          transaction at mod_data_id index. 
    413416 * 
    414417 * @return                  PJ_SUCCESS on success. 
     
    416419PJ_DECL(pj_status_t) pjsip_dlg_send_request (   pjsip_dialog *dlg, 
    417420                                                pjsip_tx_data *tdata, 
    418                                                 pjsip_transaction **p_tsx ); 
     421                                                int mod_data_id, 
     422                                                void *mod_data); 
    419423 
    420424 
Note: See TracChangeset for help on using the changeset viewer.