2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 15:05:23 +00:00
This commit is contained in:
Bob Halley
1999-06-15 23:17:46 +00:00
parent 9a7d5570ae
commit 3bb3f7ca61

View File

@@ -43,6 +43,7 @@ typedef void (*isc_eventdestructor_t)(isc_event_t *);
#define ISC_EVENT_COMMON(ltype) \ #define ISC_EVENT_COMMON(ltype) \
size_t size; \ size_t size; \
unsigned int attributes; \ unsigned int attributes; \
unsigned int tag; \
isc_eventtype_t type; \ isc_eventtype_t type; \
isc_taskaction_t action; \ isc_taskaction_t action; \
void * arg; \ void * arg; \
@@ -53,10 +54,11 @@ typedef void (*isc_eventdestructor_t)(isc_event_t *);
#define ISC_EVENTATTR_NOPURGE 0x00000001 #define ISC_EVENTATTR_NOPURGE 0x00000001
#define ISC_EVENT_INIT(event, sz, at, ty, ac, ar, sn, df, da) \ #define ISC_EVENT_INIT(event, sz, at, ta, ty, ac, ar, sn, df, da) \
do { \ do { \
(event)->size = (sz); \ (event)->size = (sz); \
(event)->attributes = (at); \ (event)->attributes = (at); \
(event)->tag = (ta); \
(event)->type = (ty); \ (event)->type = (ty); \
(event)->action = (ac); \ (event)->action = (ac); \
(event)->arg = (ar); \ (event)->arg = (ar); \