Ignore:
Timestamp:
Jun 1, 2006 11:41:38 AM (17 years ago)
Author:
bennylp
Message:

Added pjsip_endpt_handle_events2(), which has an additional argument to report how many events are caught in the poll

File:
1 edited

Legend:

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

    r248 r486  
    117117 
    118118/** 
     119 * Handle events with additional info about number of events that 
     120 * have been handled. 
     121 * 
     122 * @param endpt         The endpoint. 
     123 * @param max_timeout   Maximum time to wait for events, or NULL to wait forever 
     124 *                      until event is received. 
     125 * @param count         Optional argument to receive the number of events that 
     126 *                      have been handled by the function. 
     127 * 
     128 * @return              PJ_SUCCESS on success. 
     129 */ 
     130PJ_DECL(pj_status_t) pjsip_endpt_handle_events2(pjsip_endpoint *endpt, 
     131                                                const pj_time_val *max_timeout, 
     132                                                unsigned *count); 
     133/** 
    119134 * Schedule timer to endpoint's timer heap. Application must poll the endpoint 
    120135 * periodically (by calling #pjsip_endpt_handle_events) to ensure that the 
Note: See TracChangeset for help on using the changeset viewer.