add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: timer.h,v 1.29 2001/10/18 06:06:13 marka Exp $ */
|
||||
/* $Id: timer.h,v 1.30 2002/09/08 18:35:55 explorer Exp $ */
|
||||
|
||||
#ifndef ISC_TIMER_H
|
||||
#define ISC_TIMER_H 1
|
||||
@@ -277,6 +277,9 @@ isc_timer_detach(isc_timer_t **timerp);
|
||||
* timer event callbacks will run after the call.
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
isc_timer_gettype(isc_timer_t *timer);
|
||||
|
||||
isc_result_t
|
||||
isc_timermgr_create(isc_mem_t *mctx, isc_timermgr_t **managerp);
|
||||
/*
|
||||
@@ -326,6 +329,8 @@ isc_timermgr_destroy(isc_timermgr_t **managerp);
|
||||
* All resources used by the manager have been freed.
|
||||
*/
|
||||
|
||||
void isc_timermgr_poke(isc_timermgr_t *m);
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_TIMER_H */
|
||||
|
||||
Reference in New Issue
Block a user