2 * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2002 Internet Software Consortium.
5 * Permission to use, copy, modify, and 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.
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.
18 /* $Id: events.h,v 1.42.18.3 2005/04/29 00:16:13 marka Exp $ */
21 #define DNS_EVENTS_H 1
23 #include <isc/eventclass.h>
27 * Registry of DNS event numbers.
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_unused (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)
72 #define DNS_EVENT_FIRSTEVENT (ISC_EVENTCLASS_DNS + 0)
73 #define DNS_EVENT_LASTEVENT (ISC_EVENTCLASS_DNS + 65535)
75 #endif /* DNS_EVENTS_H */