Ignore:
Timestamp:
Jan 7, 2006 6:44:25 PM (18 years ago)
Author:
bennylp
Message:

Added test functions for UAC transaction

File:
1 edited

Legend:

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

    r107 r109  
    5959 * 
    6060 * @param tp            The loop transport. 
    61  * @param fail_flag     If set to 1, the transport will return immediate error. 
    62  *                      If set to 2, the transport will return error via 
    63  *                      callback. If zero, the transport will deliver 
     61 * @param fail_flag     If set to 1, the transport will return fail to deliver 
     62 *                      the message. If delay is zero, failure will occur 
     63 *                      immediately; otherwise it will be reported in callback. 
     64 *                      If set to zero, the transport will successfully deliver 
    6465 *                      the packet. 
    6566 * @param prev_value    Optional argument to receive previous value of 
     
    7475 
    7576/** 
    76  * Set delay (in miliseconds) before packet is delivered. This will also  
     77 * Set delay (in miliseconds) before packet is received by the other end 
     78 * of the loop transport. This will also  
    7779 * control the delay for error notification callback. 
    7880 * 
     
    8486 * @return              PJ_SUCCESS on success. 
    8587 */ 
     88PJ_DECL(pj_status_t) pjsip_loop_set_recv_delay( pjsip_transport *tp, 
     89                                                unsigned delay, 
     90                                                unsigned *prev_value); 
     91 
     92 
     93/** 
     94 * Set delay (in miliseconds) before send notification is delivered to sender. 
     95 * This will also control the delay for error notification callback. 
     96 * 
     97 * @param tp            The loop transport. 
     98 * @param delay         Delay, in miliseconds. 
     99 * @param prev_value    Optional argument to receive previous value of the 
     100 *                      delay. 
     101 * 
     102 * @return              PJ_SUCCESS on success. 
     103 */ 
     104PJ_DECL(pj_status_t) pjsip_loop_set_send_callback_delay( pjsip_transport *tp, 
     105                                                         unsigned delay, 
     106                                                         unsigned *prev_value); 
     107 
     108 
     109/** 
     110 * Set both receive and send notification delay. 
     111 * 
     112 * @param tp            The loop transport. 
     113 * @param delay         Delay, in miliseconds. 
     114 * 
     115 * @return              PJ_SUCCESS on success. 
     116 */ 
    86117PJ_DECL(pj_status_t) pjsip_loop_set_delay( pjsip_transport *tp, 
    87                                            unsigned delay, 
    88                                            unsigned *prev_value); 
     118                                           unsigned delay ); 
     119 
    89120 
    90121PJ_END_DECL 
Note: See TracChangeset for help on using the changeset viewer.