From 624f397db5f9008396cc164af153e6f805af660e Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Wed, 5 May 1999 22:57:02 +0000 Subject: [PATCH] add DNS eventclass --- lib/isc/include/isc/event.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/isc/include/isc/event.h b/lib/isc/include/isc/event.h index 6da221a206..dc58965b59 100644 --- a/lib/isc/include/isc/event.h +++ b/lib/isc/include/isc/event.h @@ -36,10 +36,15 @@ ISC_LANG_BEGINDECLS #define ISC_EVENTCLASS(eclass) ((eclass) << 16) +/* + * Classes < 1024 are reserved for ISC use. + */ + #define ISC_EVENTCLASS_TASK ISC_EVENTCLASS(0) #define ISC_EVENTCLASS_TIMER ISC_EVENTCLASS(1) #define ISC_EVENTCLASS_SOCKET ISC_EVENTCLASS(2) #define ISC_EVENTCLASS_FILE ISC_EVENTCLASS(3) +#define ISC_EVENTCLASS_DNS ISC_EVENTCLASS(4) /* * Event classes >= 1024 and <= 32767 are reserved for application use.