Home | History | Annotate | Line # | Download | only in dns
      1 /*	$NetBSD: events.h,v 1.1 2024/02/18 20:57:36 christos Exp $	*/
      2 
      3 /*
      4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      5  *
      6  * SPDX-License-Identifier: MPL-2.0
      7  *
      8  * This Source Code Form is subject to the terms of the Mozilla Public
      9  * License, v. 2.0. If a copy of the MPL was not distributed with this
     10  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
     11  *
     12  * See the COPYRIGHT file distributed with this work for additional
     13  * information regarding copyright ownership.
     14  */
     15 
     16 #ifndef DNS_EVENTS_H
     17 #define DNS_EVENTS_H 1
     18 
     19 #include <isc/eventclass.h>
     20 
     21 /*! \file dns/events.h
     22  * \brief
     23  * Registry of DNS event numbers.
     24  */
     25 
     26 #define DNS_EVENT_FETCHCONTROL	     (ISC_EVENTCLASS_DNS + 0)
     27 #define DNS_EVENT_FETCHDONE	     (ISC_EVENTCLASS_DNS + 1)
     28 #define DNS_EVENT_VIEWRESSHUTDOWN    (ISC_EVENTCLASS_DNS + 2)
     29 #define DNS_EVENT_VIEWADBSHUTDOWN    (ISC_EVENTCLASS_DNS + 3)
     30 #define DNS_EVENT_UPDATE	     (ISC_EVENTCLASS_DNS + 4)
     31 #define DNS_EVENT_UPDATEDONE	     (ISC_EVENTCLASS_DNS + 5)
     32 #define DNS_EVENT_DISPATCH	     (ISC_EVENTCLASS_DNS + 6)
     33 #define DNS_EVENT_TCPMSG	     (ISC_EVENTCLASS_DNS + 7)
     34 #define DNS_EVENT_ADBMOREADDRESSES   (ISC_EVENTCLASS_DNS + 8)
     35 #define DNS_EVENT_ADBNOMOREADDRESSES (ISC_EVENTCLASS_DNS + 9)
     36 #define DNS_EVENT_ADBCANCELED	     (ISC_EVENTCLASS_DNS + 10)
     37 #define DNS_EVENT_ADBNAMEDELETED     (ISC_EVENTCLASS_DNS + 11)
     38 #define DNS_EVENT_ADBSHUTDOWN	     (ISC_EVENTCLASS_DNS + 12)
     39 #define DNS_EVENT_ADBEXPIRED	     (ISC_EVENTCLASS_DNS + 13)
     40 #define DNS_EVENT_ADBCONTROL	     (ISC_EVENTCLASS_DNS + 14)
     41 #define DNS_EVENT_CACHECLEAN	     (ISC_EVENTCLASS_DNS + 15)
     42 #define DNS_EVENT_BYADDRDONE	     (ISC_EVENTCLASS_DNS + 16)
     43 #define DNS_EVENT_ZONECONTROL	     (ISC_EVENTCLASS_DNS + 17)
     44 #define DNS_EVENT_DBDESTROYED	     (ISC_EVENTCLASS_DNS + 18)
     45 #define DNS_EVENT_VALIDATORDONE	     (ISC_EVENTCLASS_DNS + 19)
     46 #define DNS_EVENT_REQUESTDONE	     (ISC_EVENTCLASS_DNS + 20)
     47 #define DNS_EVENT_VALIDATORSTART     (ISC_EVENTCLASS_DNS + 21)
     48 #define DNS_EVENT_VIEWREQSHUTDOWN    (ISC_EVENTCLASS_DNS + 22)
     49 #define DNS_EVENT_NOTIFYSENDTOADDR   (ISC_EVENTCLASS_DNS + 23)
     50 #define DNS_EVENT_ZONE		     (ISC_EVENTCLASS_DNS + 24)
     51 #define DNS_EVENT_ZONESTARTXFRIN     (ISC_EVENTCLASS_DNS + 25)
     52 #define DNS_EVENT_MASTERQUANTUM	     (ISC_EVENTCLASS_DNS + 26)
     53 #define DNS_EVENT_CACHEOVERMEM	     (ISC_EVENTCLASS_DNS + 27)
     54 #define DNS_EVENT_MASTERNEXTZONE     (ISC_EVENTCLASS_DNS + 28)
     55 #define DNS_EVENT_IOREADY	     (ISC_EVENTCLASS_DNS + 29)
     56 #define DNS_EVENT_LOOKUPDONE	     (ISC_EVENTCLASS_DNS + 30)
     57 #define DNS_EVENT_RBTDEADNODES	     (ISC_EVENTCLASS_DNS + 31)
     58 #define DNS_EVENT_DISPATCHCONTROL    (ISC_EVENTCLASS_DNS + 32)
     59 #define DNS_EVENT_REQUESTCONTROL     (ISC_EVENTCLASS_DNS + 33)
     60 #define DNS_EVENT_DUMPQUANTUM	     (ISC_EVENTCLASS_DNS + 34)
     61 #define DNS_EVENT_IMPORTRECVDONE     (ISC_EVENTCLASS_DNS + 35)
     62 #define DNS_EVENT_FREESTORAGE	     (ISC_EVENTCLASS_DNS + 36)
     63 #define DNS_EVENT_VIEWACACHESHUTDOWN (ISC_EVENTCLASS_DNS + 37)
     64 #define DNS_EVENT_ACACHECONTROL	     (ISC_EVENTCLASS_DNS + 38)
     65 #define DNS_EVENT_ACACHECLEAN	     (ISC_EVENTCLASS_DNS + 39)
     66 #define DNS_EVENT_ACACHEOVERMEM	     (ISC_EVENTCLASS_DNS + 40)
     67 #define DNS_EVENT_RBTPRUNE	     (ISC_EVENTCLASS_DNS + 41)
     68 #define DNS_EVENT_MANAGEKEYS	     (ISC_EVENTCLASS_DNS + 42)
     69 #define DNS_EVENT_CLIENTRESDONE	     (ISC_EVENTCLASS_DNS + 43)
     70 #define DNS_EVENT_CLIENTREQDONE	     (ISC_EVENTCLASS_DNS + 44)
     71 #define DNS_EVENT_ADBGROWENTRIES     (ISC_EVENTCLASS_DNS + 45)
     72 #define DNS_EVENT_ADBGROWNAMES	     (ISC_EVENTCLASS_DNS + 46)
     73 #define DNS_EVENT_ZONESECURESERIAL   (ISC_EVENTCLASS_DNS + 47)
     74 #define DNS_EVENT_ZONESECUREDB	     (ISC_EVENTCLASS_DNS + 48)
     75 #define DNS_EVENT_ZONELOAD	     (ISC_EVENTCLASS_DNS + 49)
     76 #define DNS_EVENT_KEYDONE	     (ISC_EVENTCLASS_DNS + 50)
     77 #define DNS_EVENT_SETNSEC3PARAM	     (ISC_EVENTCLASS_DNS + 51)
     78 #define DNS_EVENT_SETSERIAL	     (ISC_EVENTCLASS_DNS + 52)
     79 #define DNS_EVENT_CATZUPDATED	     (ISC_EVENTCLASS_DNS + 53)
     80 #define DNS_EVENT_CATZADDZONE	     (ISC_EVENTCLASS_DNS + 54)
     81 #define DNS_EVENT_CATZMODZONE	     (ISC_EVENTCLASS_DNS + 55)
     82 #define DNS_EVENT_CATZDELZONE	     (ISC_EVENTCLASS_DNS + 56)
     83 #define DNS_EVENT_RPZUPDATED	     (ISC_EVENTCLASS_DNS + 57)
     84 #define DNS_EVENT_STARTUPDATE	     (ISC_EVENTCLASS_DNS + 58)
     85 #define DNS_EVENT_TRYSTALE	     (ISC_EVENTCLASS_DNS + 59)
     86 #define DNS_EVENT_ZONEFLUSH	     (ISC_EVENTCLASS_DNS + 60)
     87 #define DNS_EVENT_CHECKDSSENDTOADDR  (ISC_EVENTCLASS_DNS + 61)
     88 
     89 #define DNS_EVENT_FIRSTEVENT (ISC_EVENTCLASS_DNS + 0)
     90 #define DNS_EVENT_LASTEVENT  (ISC_EVENTCLASS_DNS + 65535)
     91 
     92 #endif /* DNS_EVENTS_H */
     93