mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
move timer types to <isc/types.h>
This commit is contained in:
parent
a0f6e78b74
commit
dbc08baf16
@ -69,6 +69,7 @@
|
||||
*** Imports
|
||||
***/
|
||||
|
||||
#include <isc/types.h>
|
||||
#include <isc/result.h>
|
||||
#include <isc/boolean.h>
|
||||
#include <isc/time.h>
|
||||
@ -83,9 +84,6 @@ ISC_LANG_BEGINDECLS
|
||||
*** Types
|
||||
***/
|
||||
|
||||
typedef struct isc_timer isc_timer_t;
|
||||
typedef struct isc_timermgr isc_timermgr_t;
|
||||
|
||||
typedef enum {
|
||||
isc_timertype_ticker = 0,
|
||||
isc_timertype_once = 1,
|
||||
|
@ -35,6 +35,8 @@ typedef struct isc_event isc_event_t;
|
||||
typedef ISC_LIST(struct isc_event) isc_eventlist_t;
|
||||
typedef struct isc_task isc_task_t;
|
||||
typedef struct isc_taskmgr isc_taskmgr_t;
|
||||
typedef struct isc_timer isc_timer_t;
|
||||
typedef struct isc_timermgr isc_timermgr_t;
|
||||
typedef struct isc_rwlock isc_rwlock_t;
|
||||
|
||||
typedef void (*isc_taskaction_t)(isc_task_t *, isc_event_t *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user