Changeset 4154 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Jun 5, 2012 10:41:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r4122 r4154 2624 2624 * Schedule a timer entry. 2625 2625 */ 2626 #if PJ_TIMER_DEBUG 2627 PJ_DEF(pj_status_t) pjsua_schedule_timer_dbg( pj_timer_entry *entry, 2628 const pj_time_val *delay, 2629 const char *src_file, 2630 int src_line) 2631 { 2632 return pjsip_endpt_schedule_timer_dbg(pjsua_var.endpt, entry, delay, 2633 src_file, src_line); 2634 } 2635 #else 2626 2636 PJ_DEF(pj_status_t) pjsua_schedule_timer( pj_timer_entry *entry, 2627 2637 const pj_time_val *delay) … … 2629 2639 return pjsip_endpt_schedule_timer(pjsua_var.endpt, entry, delay); 2630 2640 } 2641 #endif 2631 2642 2632 2643 /* Timer callback */ … … 2651 2662 * Schedule a timer callback. 2652 2663 */ 2664 #if PJ_TIMER_DEBUG 2665 PJ_DEF(pj_status_t) pjsua_schedule_timer2_dbg( void (*cb)(void *user_data), 2666 void *user_data, 2667 unsigned msec_delay, 2668 const char *src_file, 2669 int src_line) 2670 #else 2653 2671 PJ_DEF(pj_status_t) pjsua_schedule_timer2( void (*cb)(void *user_data), 2654 2672 void *user_data, 2655 2673 unsigned msec_delay) 2674 #endif 2656 2675 { 2657 2676 pjsua_timer_list *tmr = NULL; … … 2673 2692 delay.msec = msec_delay; 2674 2693 2694 #if PJ_TIMER_DEBUG 2695 status = pjsip_endpt_schedule_timer_dbg(pjsua_var.endpt, &tmr->entry, 2696 &delay, src_file, src_line); 2697 #else 2675 2698 status = pjsip_endpt_schedule_timer(pjsua_var.endpt, &tmr->entry, &delay); 2699 #endif 2676 2700 if (status != PJ_SUCCESS) { 2677 2701 pj_list_push_back(&pjsua_var.timer_list, tmr);
Note: See TracChangeset
for help on using the changeset viewer.