1 /*
2  * Copyright (C) 2004-2007, 2009-2011  Internet Systems Consortium, Inc. ("ISC")
3  * Copyright (C) 1999-2002  Internet Software Consortium.
4  *
5  * Permission to use, copy, modify, and/or distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15  * PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 /* $Id: events.h,v 1.61 2011/10/28 06:20:06 each Exp $ */
19 
20 #ifndef DNS_EVENTS_H
21 #define DNS_EVENTS_H 1
22 
23 #include <isc/eventclass.h>
24 
25 /*! \file dns/events.h
26  * \brief
27  * Registry of DNS event numbers.
28  */
29 
30 #define DNS_EVENT_FETCHCONTROL			(ISC_EVENTCLASS_DNS + 0)
31 #define DNS_EVENT_FETCHDONE			(ISC_EVENTCLASS_DNS + 1)
32 #define DNS_EVENT_VIEWRESSHUTDOWN		(ISC_EVENTCLASS_DNS + 2)
33 #define DNS_EVENT_VIEWADBSHUTDOWN		(ISC_EVENTCLASS_DNS + 3)
34 #define DNS_EVENT_UPDATE			(ISC_EVENTCLASS_DNS + 4)
35 #define DNS_EVENT_UPDATEDONE			(ISC_EVENTCLASS_DNS + 5)
36 #define DNS_EVENT_DISPATCH			(ISC_EVENTCLASS_DNS + 6)
37 #define DNS_EVENT_TCPMSG			(ISC_EVENTCLASS_DNS + 7)
38 #define DNS_EVENT_ADBMOREADDRESSES		(ISC_EVENTCLASS_DNS + 8)
39 #define DNS_EVENT_ADBNOMOREADDRESSES		(ISC_EVENTCLASS_DNS + 9)
40 #define DNS_EVENT_ADBCANCELED			(ISC_EVENTCLASS_DNS + 10)
41 #define DNS_EVENT_ADBNAMEDELETED		(ISC_EVENTCLASS_DNS + 11)
42 #define DNS_EVENT_ADBSHUTDOWN			(ISC_EVENTCLASS_DNS + 12)
43 #define DNS_EVENT_ADBEXPIRED			(ISC_EVENTCLASS_DNS + 13)
44 #define DNS_EVENT_ADBCONTROL			(ISC_EVENTCLASS_DNS + 14)
45 #define DNS_EVENT_CACHECLEAN			(ISC_EVENTCLASS_DNS + 15)
46 #define DNS_EVENT_BYADDRDONE			(ISC_EVENTCLASS_DNS + 16)
47 #define DNS_EVENT_ZONECONTROL			(ISC_EVENTCLASS_DNS + 17)
48 #define DNS_EVENT_DBDESTROYED			(ISC_EVENTCLASS_DNS + 18)
49 #define DNS_EVENT_VALIDATORDONE			(ISC_EVENTCLASS_DNS + 19)
50 #define DNS_EVENT_REQUESTDONE			(ISC_EVENTCLASS_DNS + 20)
51 #define DNS_EVENT_VALIDATORSTART		(ISC_EVENTCLASS_DNS + 21)
52 #define DNS_EVENT_VIEWREQSHUTDOWN		(ISC_EVENTCLASS_DNS + 22)
53 #define DNS_EVENT_NOTIFYSENDTOADDR		(ISC_EVENTCLASS_DNS + 23)
54 #define DNS_EVENT_ZONE				(ISC_EVENTCLASS_DNS + 24)
55 #define DNS_EVENT_ZONESTARTXFRIN		(ISC_EVENTCLASS_DNS + 25)
56 #define DNS_EVENT_MASTERQUANTUM			(ISC_EVENTCLASS_DNS + 26)
57 #define DNS_EVENT_CACHEOVERMEM			(ISC_EVENTCLASS_DNS + 27)
58 #define DNS_EVENT_MASTERNEXTZONE		(ISC_EVENTCLASS_DNS + 28)
59 #define DNS_EVENT_IOREADY			(ISC_EVENTCLASS_DNS + 29)
60 #define DNS_EVENT_LOOKUPDONE			(ISC_EVENTCLASS_DNS + 30)
61 #define DNS_EVENT_RBTDEADNODES			(ISC_EVENTCLASS_DNS + 31)
62 #define DNS_EVENT_DISPATCHCONTROL		(ISC_EVENTCLASS_DNS + 32)
63 #define DNS_EVENT_REQUESTCONTROL		(ISC_EVENTCLASS_DNS + 33)
64 #define DNS_EVENT_DUMPQUANTUM			(ISC_EVENTCLASS_DNS + 34)
65 #define DNS_EVENT_IMPORTRECVDONE		(ISC_EVENTCLASS_DNS + 35)
66 #define DNS_EVENT_FREESTORAGE			(ISC_EVENTCLASS_DNS + 36)
67 #define DNS_EVENT_VIEWACACHESHUTDOWN		(ISC_EVENTCLASS_DNS + 37)
68 #define DNS_EVENT_ACACHECONTROL			(ISC_EVENTCLASS_DNS + 38)
69 #define DNS_EVENT_ACACHECLEAN			(ISC_EVENTCLASS_DNS + 39)
70 #define DNS_EVENT_ACACHEOVERMEM			(ISC_EVENTCLASS_DNS + 40)
71 #define DNS_EVENT_RBTPRUNE			(ISC_EVENTCLASS_DNS + 41)
72 #define DNS_EVENT_MANAGEKEYS			(ISC_EVENTCLASS_DNS + 42)
73 #define DNS_EVENT_CLIENTRESDONE			(ISC_EVENTCLASS_DNS + 43)
74 #define DNS_EVENT_CLIENTREQDONE			(ISC_EVENTCLASS_DNS + 44)
75 #define DNS_EVENT_ADBGROWENTRIES		(ISC_EVENTCLASS_DNS + 45)
76 #define DNS_EVENT_ADBGROWNAMES			(ISC_EVENTCLASS_DNS + 46)
77 #define DNS_EVENT_ZONESECURESERIAL		(ISC_EVENTCLASS_DNS + 47)
78 #define DNS_EVENT_ZONESECUREDB			(ISC_EVENTCLASS_DNS + 48)
79 #define DNS_EVENT_ZONELOAD			(ISC_EVENTCLASS_DNS + 49)
80 #define DNS_EVENT_KEYDONE			(ISC_EVENTCLASS_DNS + 50)
81 #define DNS_EVENT_SETNSEC3PARAM			(ISC_EVENTCLASS_DNS + 51)
82 
83 #define DNS_EVENT_FIRSTEVENT			(ISC_EVENTCLASS_DNS + 0)
84 #define DNS_EVENT_LASTEVENT			(ISC_EVENTCLASS_DNS + 65535)
85 
86 #endif /* DNS_EVENTS_H */
87