]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make isc_result a static enum
authorOndřej Surý <ondrej@sury.org>
Mon, 4 Oct 2021 15:14:53 +0000 (17:14 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 6 Oct 2021 09:22:20 +0000 (11:22 +0200)
commit2e3a2eecfe1e73665e4f4963f5a2cfe9f34e54cf
tree1ec99477099bc5f1798ca9f44561f8f1c3a13bcd
parent804ec1bcaa413ec066f687a099c105d38025198b
Make isc_result a static enum

Remove the dynamic registration of result codes.  Convert isc_result_t
from unsigned + #defines into 32-bit enum type in grand unified
<isc/result.h> header.  Keep the existing values of the result codes
even at the expense of the description and identifier tables being
unnecessary large.

Additionally, add couple of:

    switch (result) {
    [...]
    default:
        break;
    }

statements where compiler now complains about missing enum values in the
switch statement.
153 files changed:
bin/check/check-tool.c
bin/check/named-checkconf.c
bin/check/named-checkzone.c
bin/confgen/tsig-keygen.c
bin/delv/delv.c
bin/dig/dig.c
bin/dig/dighost.c
bin/dnssec/dnssec-cds.c
bin/dnssec/dnssec-dsfromkey.c
bin/dnssec/dnssec-importkey.c
bin/dnssec/dnssec-keyfromlabel.c
bin/dnssec/dnssec-keygen.c
bin/dnssec/dnssec-revoke.c
bin/dnssec/dnssec-settime.c
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-verify.c
bin/dnssec/dnssectool.c
bin/named/builtin.c
bin/named/control.c
bin/named/controlconf.c
bin/named/dlz_dlopen_driver.c
bin/named/main.c
bin/named/server.c
bin/named/tsigconf.c
bin/named/zoneconf.c
bin/nsupdate/nsupdate.c
bin/plugins/filter-a.c
bin/plugins/filter-aaaa.c
bin/rndc/rndc.c
bin/tests/system/dyndb/driver/log.h
bin/tests/system/dyndb/driver/zone.c
bin/tests/system/hooks/driver/test-async.c
bin/tests/system/makejournal.c
bin/tests/system/pipelined/pipequeries.c
bin/tests/system/resolve.c
bin/tests/system/rsabigexponent/bigkey.c
bin/tests/system/tkey/keycreate.c
bin/tests/system/tkey/keydelete.c
bin/tests/wire_test.c
bin/tools/dnstap-read.c
bin/tools/mdig.c
bin/tools/named-journalprint.c
bin/tools/named-rrchecker.c
configure.ac
doc/design/logging
fuzz/dns_message_parse.c
lib/bind9/check.c
lib/dns/Makefile.am
lib/dns/adb.c
lib/dns/byaddr.c
lib/dns/cache.c
lib/dns/client.c
lib/dns/compress.c
lib/dns/db.c
lib/dns/diff.c
lib/dns/dns64.c
lib/dns/dnsrps.c
lib/dns/dnssec.c
lib/dns/dnstap.c
lib/dns/ds.c
lib/dns/dst_api.c
lib/dns/dst_parse.c
lib/dns/dst_result.c [deleted file]
lib/dns/forward.c
lib/dns/gssapi_link.c
lib/dns/gssapictx.c
lib/dns/hmac_link.c
lib/dns/include/dns/result.h
lib/dns/include/dst/result.h [deleted file]
lib/dns/journal.c
lib/dns/keymgr.c
lib/dns/keytable.c
lib/dns/lookup.c
lib/dns/master.c
lib/dns/masterdump.c
lib/dns/message.c
lib/dns/name.c
lib/dns/nsec.c
lib/dns/nsec3.c
lib/dns/nta.c
lib/dns/openssl_link.c
lib/dns/openssldh_link.c
lib/dns/opensslecdsa_link.c
lib/dns/openssleddsa_link.c
lib/dns/opensslrsa_link.c
lib/dns/rbt.c
lib/dns/rbtdb.c
lib/dns/rcode.c
lib/dns/rdata.c
lib/dns/rdataslab.c
lib/dns/request.c
lib/dns/resolver.c
lib/dns/result.c
lib/dns/rootns.c
lib/dns/rpz.c
lib/dns/rriterator.c
lib/dns/rrl.c
lib/dns/sdb.c
lib/dns/sdlz.c
lib/dns/tests/Makefile.am
lib/dns/tests/dh_test.c
lib/dns/tests/dnstest.c
lib/dns/tests/dnstest.h
lib/dns/tests/dst_test.c
lib/dns/tests/nsec3param_test.c
lib/dns/tests/rbt_test.c
lib/dns/tests/rdata_test.c
lib/dns/tests/result_test.c [deleted file]
lib/dns/tests/sigs_test.c
lib/dns/time.c
lib/dns/tkey.c
lib/dns/transport.c
lib/dns/tsec.c
lib/dns/tsig.c
lib/dns/ttl.c
lib/dns/update.c
lib/dns/validator.c
lib/dns/view.c
lib/dns/xfrin.c
lib/dns/zone.c
lib/dns/zoneverify.c
lib/dns/zt.c
lib/isc/Makefile.am
lib/isc/include/isc/app.h
lib/isc/include/isc/commandline.h
lib/isc/include/isc/result.h
lib/isc/include/isc/resultclass.h [deleted file]
lib/isc/include/isc/types.h
lib/isc/result.c
lib/isc/tests/result_test.c
lib/isccc/Makefile.am
lib/isccc/alist.c
lib/isccc/base64.c
lib/isccc/cc.c
lib/isccc/include/isccc/result.h [deleted file]
lib/isccc/result.c [deleted file]
lib/isccc/symtab.c
lib/isccc/tests/Makefile.am [deleted file]
lib/isccc/tests/result_test.c [deleted file]
lib/isccfg/kaspconf.c
lib/isccfg/namedconf.c
lib/ns/client.c
lib/ns/include/ns/interfacemgr.h
lib/ns/include/ns/update.h
lib/ns/notify.c
lib/ns/query.c
lib/ns/sortlist.c
lib/ns/tests/nstest.c
lib/ns/tests/nstest.h
lib/ns/update.c
lib/ns/xfrout.c
util/check-includes.pl
util/copyrights