Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / contrib / bind-9.3 / lib / dns / include / dns / events.h
1 /*
2  * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
3  * Copyright (C) 1999-2002  Internet Software Consortium.
4  *
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.
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.37.2.1.4.4 2004/03/08 09:04:36 marka Exp $ */
19
20 #ifndef DNS_EVENTS_H
21 #define DNS_EVENTS_H 1
22
23 #include <isc/eventclass.h>
24
25 /*
26  * Registry of DNS event numbers.
27  */
28
29 #define DNS_EVENT_FETCHCONTROL                  (ISC_EVENTCLASS_DNS + 0)
30 #define DNS_EVENT_FETCHDONE                     (ISC_EVENTCLASS_DNS + 1)
31 #define DNS_EVENT_VIEWRESSHUTDOWN               (ISC_EVENTCLASS_DNS + 2)
32 #define DNS_EVENT_VIEWADBSHUTDOWN               (ISC_EVENTCLASS_DNS + 3)
33 #define DNS_EVENT_UPDATE                        (ISC_EVENTCLASS_DNS + 4)
34 #define DNS_EVENT_UPDATEDONE                    (ISC_EVENTCLASS_DNS + 5)
35 #define DNS_EVENT_DISPATCH                      (ISC_EVENTCLASS_DNS + 6)
36 #define DNS_EVENT_TCPMSG                        (ISC_EVENTCLASS_DNS + 7)
37 #define DNS_EVENT_ADBMOREADDRESSES              (ISC_EVENTCLASS_DNS + 8)
38 #define DNS_EVENT_ADBNOMOREADDRESSES            (ISC_EVENTCLASS_DNS + 9)
39 #define DNS_EVENT_ADBCANCELED                   (ISC_EVENTCLASS_DNS + 10)
40 #define DNS_EVENT_ADBNAMEDELETED                (ISC_EVENTCLASS_DNS + 11)
41 #define DNS_EVENT_ADBSHUTDOWN                   (ISC_EVENTCLASS_DNS + 12)
42 #define DNS_EVENT_ADBEXPIRED                    (ISC_EVENTCLASS_DNS + 13)
43 #define DNS_EVENT_ADBCONTROL                    (ISC_EVENTCLASS_DNS + 14)
44 #define DNS_EVENT_CACHECLEAN                    (ISC_EVENTCLASS_DNS + 15)
45 #define DNS_EVENT_BYADDRDONE                    (ISC_EVENTCLASS_DNS + 16)
46 #define DNS_EVENT_ZONECONTROL                   (ISC_EVENTCLASS_DNS + 17)
47 #define DNS_EVENT_DBDESTROYED                   (ISC_EVENTCLASS_DNS + 18)
48 #define DNS_EVENT_VALIDATORDONE                 (ISC_EVENTCLASS_DNS + 19)
49 #define DNS_EVENT_REQUESTDONE                   (ISC_EVENTCLASS_DNS + 20)
50 #define DNS_EVENT_VALIDATORSTART                (ISC_EVENTCLASS_DNS + 21)
51 #define DNS_EVENT_VIEWREQSHUTDOWN               (ISC_EVENTCLASS_DNS + 22)
52 #define DNS_EVENT_NOTIFYSENDTOADDR              (ISC_EVENTCLASS_DNS + 23)
53 #define DNS_EVENT_ZONE                          (ISC_EVENTCLASS_DNS + 24)
54 #define DNS_EVENT_ZONESTARTXFRIN                (ISC_EVENTCLASS_DNS + 25)
55 #define DNS_EVENT_MASTERQUANTUM                 (ISC_EVENTCLASS_DNS + 26)
56 #define DNS_EVENT_CACHEOVERMEM                  (ISC_EVENTCLASS_DNS + 27)
57 #define DNS_EVENT_MASTERNEXTZONE                (ISC_EVENTCLASS_DNS + 28)
58 #define DNS_EVENT_IOREADY                       (ISC_EVENTCLASS_DNS + 29)
59 #define DNS_EVENT_LOOKUPDONE                    (ISC_EVENTCLASS_DNS + 30)
60 /* #define DNS_EVENT_unused                     (ISC_EVENTCLASS_DNS + 31) */
61 #define DNS_EVENT_DISPATCHCONTROL               (ISC_EVENTCLASS_DNS + 32)
62 #define DNS_EVENT_REQUESTCONTROL                (ISC_EVENTCLASS_DNS + 33)
63 #define DNS_EVENT_DUMPQUANTUM                   (ISC_EVENTCLASS_DNS + 34)
64 #define DNS_EVENT_IMPORTRECVDONE                (ISC_EVENTCLASS_DNS + 35)
65 #define DNS_EVENT_FREESTORAGE                   (ISC_EVENTCLASS_DNS + 36)
66
67 #define DNS_EVENT_FIRSTEVENT                    (ISC_EVENTCLASS_DNS + 0)
68 #define DNS_EVENT_LASTEVENT                     (ISC_EVENTCLASS_DNS + 65535)
69
70 #endif /* DNS_EVENTS_H */