From b9fcdde267398d4f94e5cc5fe280eba738191247 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Mon, 10 May 1999 22:52:36 +0000 Subject: [PATCH] add common types --- lib/isc/include/isc/types.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/isc/include/isc/types.h b/lib/isc/include/isc/types.h index 12ce218038..12c17275d4 100644 --- a/lib/isc/include/isc/types.h +++ b/lib/isc/include/isc/types.h @@ -19,5 +19,19 @@ #define ISC_TYPES_H 1 #include +#include + +/*** + *** Core Types. + ***/ + +typedef struct isc_mem isc_mem_t; +typedef unsigned int isc_eventtype_t; +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 void (*isc_taskaction_t)(isc_task_t *, isc_event_t *); #endif /* ISC_TYPES_H */