Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
606
Issues
606
List
Boards
Labels
Service Desk
Milestones
Merge Requests
113
Merge Requests
113
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
5777c44a
Commit
5777c44a
authored
Feb 14, 2020
by
Ondřej Surý
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformat using the new rules
parent
654927c8
Pipeline
#34033
failed with stages
in 3 minutes and 16 seconds
Changes
283
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
283 changed files
with
3015 additions
and
2569 deletions
+3015
-2569
bin/check/check-tool.h
bin/check/check-tool.h
+6
-6
bin/check/named-checkconf.c
bin/check/named-checkconf.c
+2
-1
bin/check/named-checkzone.c
bin/check/named-checkzone.c
+2
-1
bin/delv/delv.c
bin/delv/delv.c
+10
-7
bin/dig/dig.c
bin/dig/dig.c
+2
-1
bin/dig/dighost.c
bin/dig/dighost.c
+22
-12
bin/dig/nslookup.c
bin/dig/nslookup.c
+6
-3
bin/dnssec/dnssec-cds.c
bin/dnssec/dnssec-cds.c
+4
-3
bin/dnssec/dnssec-dsfromkey.c
bin/dnssec/dnssec-dsfromkey.c
+2
-1
bin/dnssec/dnssec-importkey.c
bin/dnssec/dnssec-importkey.c
+2
-1
bin/dnssec/dnssec-keyfromlabel.c
bin/dnssec/dnssec-keyfromlabel.c
+2
-1
bin/dnssec/dnssec-keygen.c
bin/dnssec/dnssec-keygen.c
+4
-2
bin/dnssec/dnssec-revoke.c
bin/dnssec/dnssec-revoke.c
+2
-1
bin/dnssec/dnssec-settime.c
bin/dnssec/dnssec-settime.c
+2
-1
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-signzone.c
+4
-2
bin/dnssec/dnssec-verify.c
bin/dnssec/dnssec-verify.c
+2
-1
bin/dnssec/dnssectool.h
bin/dnssec/dnssectool.h
+1
-1
bin/named/builtin.c
bin/named/builtin.c
+12
-6
bin/named/controlconf.c
bin/named/controlconf.c
+4
-2
bin/named/main.c
bin/named/main.c
+3
-3
bin/named/server.c
bin/named/server.c
+58
-46
bin/named/win32/include/named/ntservice.h
bin/named/win32/include/named/ntservice.h
+1
-1
bin/named/win32/ntservice.c
bin/named/win32/ntservice.c
+4
-2
bin/nsupdate/nsupdate.c
bin/nsupdate/nsupdate.c
+22
-12
bin/plugins/filter-aaaa.c
bin/plugins/filter-aaaa.c
+12
-12
bin/rndc/rndc.c
bin/rndc/rndc.c
+2
-1
bin/tests/optional/adb_test.c
bin/tests/optional/adb_test.c
+2
-1
bin/tests/optional/byname_test.c
bin/tests/optional/byname_test.c
+2
-1
bin/tests/optional/gsstest.c
bin/tests/optional/gsstest.c
+6
-3
bin/tests/optional/ratelimiter_test.c
bin/tests/optional/ratelimiter_test.c
+6
-3
bin/tests/pkcs11/benchmarks/create.c
bin/tests/pkcs11/benchmarks/create.c
+2
-1
bin/tests/pkcs11/benchmarks/find.c
bin/tests/pkcs11/benchmarks/find.c
+2
-1
bin/tests/pkcs11/benchmarks/genrsa.c
bin/tests/pkcs11/benchmarks/genrsa.c
+2
-1
bin/tests/pkcs11/benchmarks/login.c
bin/tests/pkcs11/benchmarks/login.c
+2
-1
bin/tests/pkcs11/benchmarks/privrsa.c
bin/tests/pkcs11/benchmarks/privrsa.c
+2
-1
bin/tests/pkcs11/benchmarks/pubrsa.c
bin/tests/pkcs11/benchmarks/pubrsa.c
+2
-1
bin/tests/pkcs11/benchmarks/session.c
bin/tests/pkcs11/benchmarks/session.c
+2
-1
bin/tests/pkcs11/benchmarks/sha1.c
bin/tests/pkcs11/benchmarks/sha1.c
+2
-1
bin/tests/pkcs11/benchmarks/sign.c
bin/tests/pkcs11/benchmarks/sign.c
+2
-1
bin/tests/pkcs11/benchmarks/verify.c
bin/tests/pkcs11/benchmarks/verify.c
+2
-1
bin/tests/system/dlzexternal/driver.c
bin/tests/system/dlzexternal/driver.c
+2
-1
bin/tests/system/dlzexternal/driver.h
bin/tests/system/dlzexternal/driver.h
+12
-12
bin/tests/system/dyndb/driver/instance.h
bin/tests/system/dyndb/driver/instance.h
+10
-10
bin/tests/system/rpz/dnsrps.c
bin/tests/system/rpz/dnsrps.c
+2
-1
bin/tests/wire_test.c
bin/tests/wire_test.c
+4
-2
bin/tools/dnstap-read.c
bin/tools/dnstap-read.c
+2
-2
bin/tools/mdig.c
bin/tools/mdig.c
+4
-2
bin/tools/named-rrchecker.c
bin/tools/named-rrchecker.c
+4
-3
bin/tools/nsec3hash.c
bin/tools/nsec3hash.c
+5
-5
bin/win32/BINDInstall/AccountInfo.h
bin/win32/BINDInstall/AccountInfo.h
+9
-6
bin/win32/BINDInstall/BINDInstallDlg.h
bin/win32/BINDInstall/BINDInstallDlg.h
+9
-9
bin/win32/BINDInstall/DirBrowse.h
bin/win32/BINDInstall/DirBrowse.h
+1
-1
bin/win32/BINDInstall/VersionInfo.h
bin/win32/BINDInstall/VersionInfo.h
+5
-5
conftools/perllib/dnsconf/DNSConf-macros.h
conftools/perllib/dnsconf/DNSConf-macros.h
+17
-19
contrib/dlz/bin/dlzbdb/dlzbdb.c
contrib/dlz/bin/dlzbdb/dlzbdb.c
+43
-46
contrib/dlz/drivers/dlz_bdb_driver.c
contrib/dlz/drivers/dlz_bdb_driver.c
+14
-26
contrib/dlz/drivers/dlz_bdbhpt_driver.c
contrib/dlz/drivers/dlz_bdbhpt_driver.c
+16
-28
contrib/dlz/drivers/dlz_drivers.c
contrib/dlz/drivers/dlz_drivers.c
+2
-4
contrib/dlz/drivers/dlz_filesystem_driver.c
contrib/dlz/drivers/dlz_filesystem_driver.c
+14
-25
contrib/dlz/drivers/dlz_ldap_driver.c
contrib/dlz/drivers/dlz_ldap_driver.c
+22
-35
contrib/dlz/drivers/dlz_mysql_driver.c
contrib/dlz/drivers/dlz_mysql_driver.c
+12
-24
contrib/dlz/drivers/dlz_odbc_driver.c
contrib/dlz/drivers/dlz_odbc_driver.c
+21
-39
contrib/dlz/drivers/dlz_postgres_driver.c
contrib/dlz/drivers/dlz_postgres_driver.c
+16
-30
contrib/dlz/drivers/dlz_stub_driver.c
contrib/dlz/drivers/dlz_stub_driver.c
+10
-18
contrib/dlz/drivers/include/dlz/sdlz_helper.h
contrib/dlz/drivers/include/dlz/sdlz_helper.h
+9
-9
contrib/dlz/drivers/sdlz_helper.c
contrib/dlz/drivers/sdlz_helper.c
+6
-12
contrib/dlz/example/dlz_example.c
contrib/dlz/example/dlz_example.c
+21
-40
contrib/dlz/example/win32/DLLMain.c
contrib/dlz/example/win32/DLLMain.c
+1
-2
contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c
contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c
+12
-22
contrib/dlz/modules/common/dlz_dbi.c
contrib/dlz/modules/common/dlz_dbi.c
+6
-12
contrib/dlz/modules/filesystem/dir.c
contrib/dlz/modules/filesystem/dir.c
+5
-10
contrib/dlz/modules/filesystem/dir.h
contrib/dlz/modules/filesystem/dir.h
+3
-3
contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
+12
-22
contrib/dlz/modules/include/dlz_dbi.h
contrib/dlz/modules/include/dlz_dbi.h
+8
-8
contrib/dlz/modules/include/dlz_minimal.h
contrib/dlz/modules/include/dlz_minimal.h
+12
-12
contrib/dlz/modules/ldap/dlz_ldap_dynamic.c
contrib/dlz/modules/ldap/dlz_ldap_dynamic.c
+22
-33
contrib/dlz/modules/mysql/dlz_mysql_dynamic.c
contrib/dlz/modules/mysql/dlz_mysql_dynamic.c
+23
-36
contrib/dlz/modules/mysqldyn/dlz_mysqldyn_mod.c
contrib/dlz/modules/mysqldyn/dlz_mysqldyn_mod.c
+31
-60
contrib/dlz/modules/perl/dlz_perl_driver.c
contrib/dlz/modules/perl/dlz_perl_driver.c
+14
-17
contrib/dlz/modules/perl/dlz_perl_driver.h
contrib/dlz/modules/perl/dlz_perl_driver.h
+1
-1
contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c
contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c
+26
-44
contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c
contrib/dlz/modules/wildcard/dlz_wildcard_dynamic.c
+19
-27
fuzz/dns_name_fromtext_target.c
fuzz/dns_name_fromtext_target.c
+4
-5
fuzz/dns_rdata_fromwire_text.c
fuzz/dns_rdata_fromwire_text.c
+15
-17
fuzz/fuzz.h
fuzz/fuzz.h
+2
-4
fuzz/main.c
fuzz/main.c
+10
-13
lib/bind9/check.c
lib/bind9/check.c
+3
-2
lib/dns/adb.c
lib/dns/adb.c
+97
-56
lib/dns/badcache.c
lib/dns/badcache.c
+2
-2
lib/dns/cache.c
lib/dns/cache.c
+9
-7
lib/dns/callbacks.c
lib/dns/callbacks.c
+8
-5
lib/dns/catz.c
lib/dns/catz.c
+6
-7
lib/dns/client.c
lib/dns/client.c
+6
-3
lib/dns/dispatch.c
lib/dns/dispatch.c
+66
-42
lib/dns/dnssec.c
lib/dns/dnssec.c
+7
-5
lib/dns/dst_api.c
lib/dns/dst_api.c
+26
-22
lib/dns/dst_internal.h
lib/dns/dst_internal.h
+25
-25
lib/dns/dst_parse.h
lib/dns/dst_parse.h
+1
-1
lib/dns/ecdb.c
lib/dns/ecdb.c
+27
-17
lib/dns/forward.c
lib/dns/forward.c
+2
-1
lib/dns/gen-unix.h
lib/dns/gen-unix.h
+1
-1
lib/dns/gen-win32.h
lib/dns/gen-win32.h
+4
-4
lib/dns/gen.c
lib/dns/gen.c
+13
-7
lib/dns/hmac_link.c
lib/dns/hmac_link.c
+2
-2
lib/dns/iptable.c
lib/dns/iptable.c
+2
-1
lib/dns/journal.c
lib/dns/journal.c
+4
-2
lib/dns/lookup.c
lib/dns/lookup.c
+2
-1
lib/dns/master.c
lib/dns/master.c
+31
-20
lib/dns/masterdump.c
lib/dns/masterdump.c
+2
-1
lib/dns/message.c
lib/dns/message.c
+13
-10
lib/dns/name.c
lib/dns/name.c
+3
-2
lib/dns/ncache.c
lib/dns/ncache.c
+5
-5
lib/dns/openssldh_link.c
lib/dns/openssldh_link.c
+2
-1
lib/dns/opensslecdsa_link.c
lib/dns/opensslecdsa_link.c
+2
-2
lib/dns/openssleddsa_link.c
lib/dns/openssleddsa_link.c
+2
-2
lib/dns/opensslrsa_link.c
lib/dns/opensslrsa_link.c
+2
-1
lib/dns/peer.c
lib/dns/peer.c
+4
-2
lib/dns/pkcs11ecdsa_link.c
lib/dns/pkcs11ecdsa_link.c
+7
-4
lib/dns/pkcs11eddsa_link.c
lib/dns/pkcs11eddsa_link.c
+7
-4
lib/dns/pkcs11rsa_link.c
lib/dns/pkcs11rsa_link.c
+7
-4
lib/dns/rbt.c
lib/dns/rbt.c
+46
-34
lib/dns/rbtdb.c
lib/dns/rbtdb.c
+89
-59
lib/dns/rdata.c
lib/dns/rdata.c
+68
-45
lib/dns/rdata/any_255/tsig_250.h
lib/dns/rdata/any_255/tsig_250.h
+10
-10
lib/dns/rdata/ch_3/a_1.h
lib/dns/rdata/ch_3/a_1.h
+5
-5
lib/dns/rdata/generic/afsdb_18.h
lib/dns/rdata/generic/afsdb_18.h
+3
-3
lib/dns/rdata/generic/amtrelay_260.h
lib/dns/rdata/generic/amtrelay_260.h
+9
-9
lib/dns/rdata/generic/avc_258.h
lib/dns/rdata/generic/avc_258.h
+3
-3
lib/dns/rdata/generic/caa_257.h
lib/dns/rdata/generic/caa_257.h
+6
-6
lib/dns/rdata/generic/cert_37.h
lib/dns/rdata/generic/cert_37.h
+6
-6
lib/dns/rdata/generic/cname_5.h
lib/dns/rdata/generic/cname_5.h
+2
-2
lib/dns/rdata/generic/csync_62.h
lib/dns/rdata/generic/csync_62.h
+5
-5
lib/dns/rdata/generic/dname_39.h
lib/dns/rdata/generic/dname_39.h
+2
-2
lib/dns/rdata/generic/doa_259.h
lib/dns/rdata/generic/doa_259.h
+8
-8
lib/dns/rdata/generic/ds_43.h
lib/dns/rdata/generic/ds_43.h
+6
-6
lib/dns/rdata/generic/eui48_108.h
lib/dns/rdata/generic/eui48_108.h
+1
-1
lib/dns/rdata/generic/eui64_109.h
lib/dns/rdata/generic/eui64_109.h
+1
-1
lib/dns/rdata/generic/gpos_27.h
lib/dns/rdata/generic/gpos_27.h
+7
-7
lib/dns/rdata/generic/hinfo_13.h
lib/dns/rdata/generic/hinfo_13.h
+5
-5
lib/dns/rdata/generic/hip_55.h
lib/dns/rdata/generic/hip_55.h
+8
-8
lib/dns/rdata/generic/ipseckey_45.h
lib/dns/rdata/generic/ipseckey_45.h
+9
-9
lib/dns/rdata/generic/isdn_20.h
lib/dns/rdata/generic/isdn_20.h
+5
-5
lib/dns/rdata/generic/key_25.h
lib/dns/rdata/generic/key_25.h
+6
-6
lib/dns/rdata/generic/keydata_65533.h
lib/dns/rdata/generic/keydata_65533.h
+9
-9
lib/dns/rdata/generic/l32_105.h
lib/dns/rdata/generic/l32_105.h
+2
-2
lib/dns/rdata/generic/l64_106.h
lib/dns/rdata/generic/l64_106.h
+2
-2
lib/dns/rdata/generic/loc_29.h
lib/dns/rdata/generic/loc_29.h
+4
-4
lib/dns/rdata/generic/lp_107.h
lib/dns/rdata/generic/lp_107.h
+3
-3
lib/dns/rdata/generic/mb_7.h
lib/dns/rdata/generic/mb_7.h
+2
-2
lib/dns/rdata/generic/md_3.h
lib/dns/rdata/generic/md_3.h
+2
-2
lib/dns/rdata/generic/mf_4.h
lib/dns/rdata/generic/mf_4.h
+2
-2
lib/dns/rdata/generic/mg_8.h
lib/dns/rdata/generic/mg_8.h
+2
-2
lib/dns/rdata/generic/minfo_14.h
lib/dns/rdata/generic/minfo_14.h
+3
-3
lib/dns/rdata/generic/mr_9.h
lib/dns/rdata/generic/mr_9.h
+2
-2
lib/dns/rdata/generic/mx_15.h
lib/dns/rdata/generic/mx_15.h
+3
-3
lib/dns/rdata/generic/naptr_35.h
lib/dns/rdata/generic/naptr_35.h
+10
-10
lib/dns/rdata/generic/nid_104.h
lib/dns/rdata/generic/nid_104.h
+2
-2
lib/dns/rdata/generic/ns_2.h
lib/dns/rdata/generic/ns_2.h
+2
-2
lib/dns/rdata/generic/nsec3_50.h
lib/dns/rdata/generic/nsec3_50.h
+10
-10
lib/dns/rdata/generic/nsec3param_51.h
lib/dns/rdata/generic/nsec3param_51.h
+6
-6
lib/dns/rdata/generic/nsec_47.h
lib/dns/rdata/generic/nsec_47.h
+4
-4
lib/dns/rdata/generic/null_10.h
lib/dns/rdata/generic/null_10.h
+3
-3
lib/dns/rdata/generic/nxt_30.h
lib/dns/rdata/generic/nxt_30.h
+4
-4
lib/dns/rdata/generic/openpgpkey_61.h
lib/dns/rdata/generic/openpgpkey_61.h
+3
-3
lib/dns/rdata/generic/opt_41.h
lib/dns/rdata/generic/opt_41.h
+5
-5
lib/dns/rdata/generic/proforma.h
lib/dns/rdata/generic/proforma.h
+2
-2
lib/dns/rdata/generic/ptr_12.h
lib/dns/rdata/generic/ptr_12.h
+2
-2
lib/dns/rdata/generic/rp_17.h
lib/dns/rdata/generic/rp_17.h
+3
-3
lib/dns/rdata/generic/rrsig_46.h
lib/dns/rdata/generic/rrsig_46.h
+11
-11
lib/dns/rdata/generic/rt_21.h
lib/dns/rdata/generic/rt_21.h
+3
-3
lib/dns/rdata/generic/sig_24.h
lib/dns/rdata/generic/sig_24.h
+11
-11
lib/dns/rdata/generic/sink_40.h
lib/dns/rdata/generic/sink_40.h
+6
-6
lib/dns/rdata/generic/soa_6.h
lib/dns/rdata/generic/soa_6.h
+8
-8
lib/dns/rdata/generic/spf_99.h
lib/dns/rdata/generic/spf_99.h
+4
-4
lib/dns/rdata/generic/sshfp_44.h
lib/dns/rdata/generic/sshfp_44.h
+5
-5
lib/dns/rdata/generic/talink_58.h
lib/dns/rdata/generic/talink_58.h
+3
-3
lib/dns/rdata/generic/tkey_249.h
lib/dns/rdata/generic/tkey_249.h
+10
-10
lib/dns/rdata/generic/tlsa_52.h
lib/dns/rdata/generic/tlsa_52.h
+6
-6
lib/dns/rdata/generic/txt_16.h
lib/dns/rdata/generic/txt_16.h
+4
-4
lib/dns/rdata/generic/uri_256.h
lib/dns/rdata/generic/uri_256.h
+5
-5
lib/dns/rdata/generic/x25_19.h
lib/dns/rdata/generic/x25_19.h
+3
-3
lib/dns/rdata/generic/zonemd_63.h
lib/dns/rdata/generic/zonemd_63.h
+6
-6
lib/dns/rdata/hs_4/a_1.h
lib/dns/rdata/hs_4/a_1.h
+1
-1
lib/dns/rdata/in_1/a6_38.h
lib/dns/rdata/in_1/a6_38.h
+4
-4
lib/dns/rdata/in_1/a_1.h
lib/dns/rdata/in_1/a_1.h
+1
-1
lib/dns/rdata/in_1/aaaa_28.h
lib/dns/rdata/in_1/aaaa_28.h
+1
-1
lib/dns/rdata/in_1/apl_42.h
lib/dns/rdata/in_1/apl_42.h
+6
-6
lib/dns/rdata/in_1/atma_34.h
lib/dns/rdata/in_1/atma_34.h
+4
-4
lib/dns/rdata/in_1/dhcid_49.h
lib/dns/rdata/in_1/dhcid_49.h
+3
-3
lib/dns/rdata/in_1/eid_31.h
lib/dns/rdata/in_1/eid_31.h
+3
-3
lib/dns/rdata/in_1/kx_36.h
lib/dns/rdata/in_1/kx_36.h
+3
-3
lib/dns/rdata/in_1/nimloc_32.h
lib/dns/rdata/in_1/nimloc_32.h
+3
-3
lib/dns/rdata/in_1/nsap-ptr_23.h
lib/dns/rdata/in_1/nsap-ptr_23.h
+2
-2
lib/dns/rdata/in_1/nsap_22.h
lib/dns/rdata/in_1/nsap_22.h
+3
-3
lib/dns/rdata/in_1/px_26.h
lib/dns/rdata/in_1/px_26.h
+4
-4
lib/dns/rdata/in_1/srv_33.h
lib/dns/rdata/in_1/srv_33.h
+5
-5
lib/dns/rdata/in_1/wks_11.h
lib/dns/rdata/in_1/wks_11.h
+5
-5
lib/dns/rdata/rdatastructpre.h
lib/dns/rdata/rdatastructpre.h
+1
-1
lib/dns/request.c
lib/dns/request.c
+32
-17
lib/dns/resolver.c
lib/dns/resolver.c
+94
-51
lib/dns/rpz.c
lib/dns/rpz.c
+8
-4
lib/dns/rrl.c
lib/dns/rrl.c
+3
-2
lib/dns/sdb.c
lib/dns/sdb.c
+50
-37
lib/dns/sdlz.c
lib/dns/sdlz.c
+31
-23
lib/dns/spnego.c
lib/dns/spnego.c
+59
-42
lib/dns/spnego_asn1.c
lib/dns/spnego_asn1.c
+30
-23
lib/dns/tcpmsg.c
lib/dns/tcpmsg.c
+4
-2
lib/dns/tests/dnstest.h
lib/dns/tests/dnstest.h
+13
-13
lib/dns/tests/geoip_test.c
lib/dns/tests/geoip_test.c
+4
-2
lib/dns/tests/master_test.c
lib/dns/tests/master_test.c
+2
-1
lib/dns/tkey.c
lib/dns/tkey.c
+2
-1
lib/dns/tsig.c
lib/dns/tsig.c
+8
-4
lib/dns/ttl.c
lib/dns/ttl.c
+2
-1
lib/dns/update.c
lib/dns/update.c
+9
-5
lib/dns/validator.c
lib/dns/validator.c
+22
-15
lib/dns/view.c
lib/dns/view.c
+6
-3
lib/dns/xfrin.c
lib/dns/xfrin.c
+60
-43
lib/dns/zone.c
lib/dns/zone.c
+131
-83
lib/dns/zone_p.h
lib/dns/zone_p.h
+1
-1
lib/dns/zt.c
lib/dns/zt.c
+10
-6
lib/irs/getaddrinfo.c
lib/irs/getaddrinfo.c
+17
-11
lib/irs/resconf.c
lib/irs/resconf.c
+12
-6
lib/irs/win32/include/irs/netdb.h
lib/irs/win32/include/irs/netdb.h
+9
-9
lib/isc/assertions.c
lib/isc/assertions.c
+2
-2
lib/isc/backtrace.c
lib/isc/backtrace.c
+4
-2
lib/isc/base32.c
lib/isc/base32.c
+4
-3
lib/isc/base64.c
lib/isc/base64.c
+4
-3
lib/isc/error.c
lib/isc/error.c
+5
-3
lib/isc/hex.c
lib/isc/hex.c
+4
-3
lib/isc/httpd.c
lib/isc/httpd.c
+24
-12
lib/isc/log.c
lib/isc/log.c
+11
-11
lib/isc/mem.c
lib/isc/mem.c
+16
-9
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr-int.h
+85
-85
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/netmgr.c
+10
-5
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcp.c
+18
-9
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/tcpdns.c
+4
-3
lib/isc/netmgr/udp.c
lib/isc/netmgr/udp.c
+8
-5
lib/isc/netmgr/uv-compat.c
lib/isc/netmgr/uv-compat.c
+7
-5
lib/isc/pk11.c
lib/isc/pk11.c
+16
-10
lib/isc/pthreads/include/isc/mutex.h
lib/isc/pthreads/include/isc/mutex.h
+1
-1
lib/isc/pthreads/include/isc/thread.h
lib/isc/pthreads/include/isc/thread.h
+2
-2
lib/isc/radix.c
lib/isc/radix.c
+11
-7
lib/isc/ratelimiter.c
lib/isc/ratelimiter.c
+4
-2
lib/isc/rwlock.c
lib/isc/rwlock.c
+2
-1
lib/isc/task.c
lib/isc/task.c
+18
-10
lib/isc/tests/aes_test.c
lib/isc/tests/aes_test.c
+4
-2
lib/isc/tests/isctest.h
lib/isc/tests/isctest.h
+6
-6
lib/isc/tests/random_test.c
lib/isc/tests/random_test.c
+4
-2
lib/isc/tests/siphash_test.c
lib/isc/tests/siphash_test.c
+5
-4
lib/isc/timer.c
lib/isc/timer.c
+2
-1
lib/isc/unix/include/isc/dir.h
lib/isc/unix/include/isc/dir.h
+4
-4
lib/isc/unix/include/isc/stdatomic.h
lib/isc/unix/include/isc/stdatomic.h
+3
-3
lib/isc/unix/interfaceiter.c
lib/isc/unix/interfaceiter.c
+6
-3
lib/isc/unix/socket.c
lib/isc/unix/socket.c
+48
-30
lib/isc/win32/dir.c
lib/isc/win32/dir.c
+2
-1
lib/isc/win32/include/isc/condition.h
lib/isc/win32/include/isc/condition.h
+2
-2
lib/isc/win32/include/isc/dir.h
lib/isc/win32/include/isc/dir.h
+6
-6
lib/isc/win32/include/isc/stdatomic.h
lib/isc/win32/include/isc/stdatomic.h
+3
-3
lib/isc/win32/include/isc/thread.h
lib/isc/win32/include/isc/thread.h
+2
-2
lib/isc/win32/interfaceiter.c
lib/isc/win32/interfaceiter.c
+2
-1
lib/isc/win32/net.c
lib/isc/win32/net.c
+2
-1
lib/isc/win32/netdb.h
lib/isc/win32/netdb.h
+17
-17
lib/isc/win32/socket.c
lib/isc/win32/socket.c
+38
-27
lib/isccc/cc.c
lib/isccc/cc.c
+9
-7
lib/isccc/ccmsg.c
lib/isccc/ccmsg.c
+4
-2
lib/isccfg/namedconf.c
lib/isccfg/namedconf.c
+17
-12
lib/isccfg/parser.c
lib/isccfg/parser.c
+35
-24
lib/ns/client.c
lib/ns/client.c
+15
-8
lib/ns/interfacemgr.c
lib/ns/interfacemgr.c
+4
-2
lib/ns/listenlist.c
lib/ns/listenlist.c
+2
-1
lib/ns/query.c
lib/ns/query.c
+91
-52
lib/ns/tests/nstest.c
lib/ns/tests/nstest.c
+2
-1
lib/ns/tests/nstest.h
lib/ns/tests/nstest.h
+17
-17
lib/ns/tests/plugin_test.c
lib/ns/tests/plugin_test.c
+2
-2
lib/ns/tests/wrap.c
lib/ns/tests/wrap.c
+2
-1
lib/ns/update.c
lib/ns/update.c
+19
-10
lib/ns/xfrout.c
lib/ns/xfrout.c
+39
-29
lib/samples/nsprobe.c
lib/samples/nsprobe.c
+10
-5
lib/samples/resolve.c
lib/samples/resolve.c
+2
-1
lib/samples/sample-async.c
lib/samples/sample-async.c
+4
-2
lib/samples/sample-request.c
lib/samples/sample-request.c
+2
-1
lib/samples/sample-update.c
lib/samples/sample-update.c
+9
-5
util/models.c
util/models.c
+12
-22
No files found.
bin/check/check-tool.h
View file @
5777c44a
...
@@ -47,12 +47,12 @@ void
...
@@ -47,12 +47,12 @@ void
DestroySockets
(
void
);
DestroySockets
(
void
);
#endif
/* ifdef _WIN32 */
#endif
/* ifdef _WIN32 */
extern
int
debug
;
extern
int
debug
;
extern
const
char
*
journal
;
extern
const
char
*
journal
;
extern
bool
nomerge
;
extern
bool
nomerge
;
extern
bool
docheckmx
;
extern
bool
docheckmx
;
extern
bool
docheckns
;
extern
bool
docheckns
;
extern
bool
dochecksrv
;
extern
bool
dochecksrv
;
extern
dns_zoneopt_t
zone_options
;
extern
dns_zoneopt_t
zone_options
;
ISC_LANG_ENDDECLS
ISC_LANG_ENDDECLS
...
...
bin/check/named-checkconf.c
View file @
5777c44a
...
@@ -56,7 +56,8 @@ isc_log_t *logc = NULL;
...
@@ -56,7 +56,8 @@ isc_log_t *logc = NULL;
} while (0)
} while (0)
/*% usage */
/*% usage */
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/check/named-checkzone.c
View file @
5777c44a
...
@@ -62,7 +62,8 @@ static enum { progmode_check, progmode_compile } progmode;
...
@@ -62,7 +62,8 @@ static enum { progmode_check, progmode_compile } progmode;
} \
} \
} while (0)
} while (0)
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/delv/delv.c
View file @
5777c44a
...
@@ -127,11 +127,11 @@ static char anchortext[] = TRUST_ANCHORS;
...
@@ -127,11 +127,11 @@ static char anchortext[] = TRUST_ANCHORS;
/*
/*
* Static function prototypes
* Static function prototypes
*/
*/
static
isc_result_t
get_reverse
(
char
*
reverse
,
size_t
len
,
char
*
value
,
static
isc_result_t
bool
strict
);
get_reverse
(
char
*
reverse
,
size_t
len
,
char
*
value
,
bool
strict
);
static
isc_result_t
parse_uint
(
uint32_t
*
uip
,
const
char
*
value
,
uint32_t
max
,
static
isc_result_t
const
char
*
desc
);
parse_uint
(
uint32_t
*
uip
,
const
char
*
value
,
uint32_t
max
,
const
char
*
desc
);
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
@@ -205,7 +205,8 @@ usage(void) {
...
@@ -205,7 +205,8 @@ usage(void) {
exit
(
1
);
exit
(
1
);
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
fatal
(
const
char
*
format
,
...)
ISC_PLATFORM_NORETURN_PRE
static
void
fatal
(
const
char
*
format
,
...)
ISC_FORMAT_PRINTF
(
1
,
2
)
ISC_PLATFORM_NORETURN_POST
;
ISC_FORMAT_PRINTF
(
1
,
2
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
...
@@ -221,7 +222,8 @@ fatal(const char *format, ...) {
...
@@ -221,7 +222,8 @@ fatal(const char *format, ...) {
exit
(
1
);
exit
(
1
);
}
}
static
void
warn
(
const
char
*
format
,
...)
ISC_FORMAT_PRINTF
(
1
,
2
);
static
void
warn
(
const
char
*
format
,
...)
ISC_FORMAT_PRINTF
(
1
,
2
);
static
void
static
void
warn
(
const
char
*
format
,
...)
{
warn
(
const
char
*
format
,
...)
{
...
@@ -241,7 +243,8 @@ static isc_logcategory_t categories[] = { { "delv", 0 }, { NULL, 0 } };
...
@@ -241,7 +243,8 @@ static isc_logcategory_t categories[] = { { "delv", 0 }, { NULL, 0 } };
static
isc_logmodule_t
modules
[]
=
{
{
"delv"
,
0
},
{
NULL
,
0
}
};
static
isc_logmodule_t
modules
[]
=
{
{
"delv"
,
0
},
{
NULL
,
0
}
};
static
void
delv_log
(
int
level
,
const
char
*
fmt
,
...)
ISC_FORMAT_PRINTF
(
2
,
3
);
static
void
delv_log
(
int
level
,
const
char
*
fmt
,
...)
ISC_FORMAT_PRINTF
(
2
,
3
);
static
void
static
void
delv_log
(
int
level
,
const
char
*
fmt
,
...)
{
delv_log
(
int
level
,
const
char
*
fmt
,
...)
{
...
...
bin/dig/dig.c
View file @
5777c44a
...
@@ -107,7 +107,8 @@ usage(void) {
...
@@ -107,7 +107,8 @@ usage(void) {
fprintf
(
stderr
,
"Press <Help> for complete list of options
\n
"
);
fprintf
(
stderr
,
"Press <Help> for complete list of options
\n
"
);
}
}
#else
/* if TARGET_OS_IPHONE */
#else
/* if TARGET_OS_IPHONE */
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dig/dighost.c
View file @
5777c44a
...
@@ -122,10 +122,12 @@ int lookup_counter = 0;
...
@@ -122,10 +122,12 @@ int lookup_counter = 0;
static
char
servercookie
[
256
];
static
char
servercookie
[
256
];
#ifdef HAVE_LIBIDN2
#ifdef HAVE_LIBIDN2
static
void
idn_locale_to_ace
(
const
char
*
src
,
char
*
dst
,
size_t
dstlen
);
static
void
static
void
idn_ace_to_locale
(
const
char
*
src
,
char
**
dst
);
idn_locale_to_ace
(
const
char
*
src
,
char
*
dst
,
size_t
dstlen
);
static
isc_result_t
idn_output_filter
(
isc_buffer_t
*
buffer
,
static
void
unsigned
int
used_org
);
idn_ace_to_locale
(
const
char
*
src
,
char
**
dst
);
static
isc_result_t
idn_output_filter
(
isc_buffer_t
*
buffer
,
unsigned
int
used_org
);
#endif
/* HAVE_LIBIDN2 */
#endif
/* HAVE_LIBIDN2 */
isc_socket_t
*
keep
=
NULL
;
isc_socket_t
*
keep
=
NULL
;
...
@@ -227,19 +229,26 @@ void (*dighost_shutdown)(void);
...
@@ -227,19 +229,26 @@ void (*dighost_shutdown)(void);
/* forward declarations */
/* forward declarations */
static
void
cancel_lookup
(
dig_lookup_t
*
lookup
);
static
void
cancel_lookup
(
dig_lookup_t
*
lookup
);
static
void
recv_done
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
recv_done
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
send_udp
(
dig_query_t
*
query
);
static
void
send_udp
(
dig_query_t
*
query
);
static
void
connect_timeout
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
connect_timeout
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
launch_next_query
(
dig_query_t
*
query
,
bool
include_question
);
static
void
launch_next_query
(
dig_query_t
*
query
,
bool
include_question
);
static
void
check_next_lookup
(
dig_lookup_t
*
lookup
);
static
void
check_next_lookup
(
dig_lookup_t
*
lookup
);
static
bool
next_origin
(
dig_lookup_t
*
oldlookup
);
static
bool
next_origin
(
dig_lookup_t
*
oldlookup
);
static
int
static
int
count_dots
(
char
*
string
)
{
count_dots
(
char
*
string
)
{
...
@@ -2718,7 +2727,8 @@ force_timeout(dig_query_t *query) {
...
@@ -2718,7 +2727,8 @@ force_timeout(dig_query_t *query) {
}
}
}
}
static
void
connect_done
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
connect_done
(
isc_task_t
*
task
,
isc_event_t
*
event
);
/*%
/*%
* Unlike send_udp, this can't be called multiple times with the same
* Unlike send_udp, this can't be called multiple times with the same
...
...
bin/dig/nslookup.c
View file @
5777c44a
...
@@ -124,8 +124,10 @@ static const char *rtypetext[] = {
...
@@ -124,8 +124,10 @@ static const char *rtypetext[] = {
#define N_KNOWN_RRTYPES (sizeof(rtypetext) / sizeof(rtypetext[0]))
#define N_KNOWN_RRTYPES (sizeof(rtypetext) / sizeof(rtypetext[0]))
static
void
flush_lookup_list
(
void
);
static
void
static
void
getinput
(
isc_task_t
*
task
,
isc_event_t
*
event
);
flush_lookup_list
(
void
);
static
void
getinput
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
char
*
static
char
*
rcode_totext
(
dns_rcode_t
rcode
)
{
rcode_totext
(
dns_rcode_t
rcode
)
{
...
@@ -876,7 +878,8 @@ get_next_command(void) {
...
@@ -876,7 +878,8 @@ get_next_command(void) {
isc_mem_free
(
mctx
,
buf
);
isc_mem_free
(
mctx
,
buf
);
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-cds.c
View file @
5777c44a
...
@@ -121,8 +121,8 @@ typedef struct keyinfo {
...
@@ -121,8 +121,8 @@ typedef struct keyinfo {
}
keyinfo_t
;
}
keyinfo_t
;
/* A replaceable function that can generate a DS RRset from some input */
/* A replaceable function that can generate a DS RRset from some input */
typedef
isc_result_t
ds_maker_func_t
(
dns_rdatalist_t
*
dslist
,
isc_buffer_t
*
buf
,
typedef
isc_result_t
dns_rdata_t
*
rdata
);
ds_maker_func_t
(
dns_rdatalist_t
*
dslist
,
isc_buffer_t
*
buf
,
dns_rdata_t
*
rdata
);
static
dns_rdataset_t
cdnskey_set
,
cdnskey_sig
;
static
dns_rdataset_t
cdnskey_set
,
cdnskey_sig
;
static
dns_rdataset_t
cds_set
,
cds_sig
;
static
dns_rdataset_t
cds_set
,
cds_sig
;
...
@@ -1016,7 +1016,8 @@ nsdiff(uint32_t ttl, dns_rdataset_t *oldset, dns_rdataset_t *newset) {
...
@@ -1016,7 +1016,8 @@ nsdiff(uint32_t ttl, dns_rdataset_t *oldset, dns_rdataset_t *newset) {
}
}
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-dsfromkey.c
View file @
5777c44a
...
@@ -320,7 +320,8 @@ emits(bool showall, bool cds, dns_rdata_t *rdata) {
...
@@ -320,7 +320,8 @@ emits(bool showall, bool cds, dns_rdata_t *rdata) {
}
}
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-importkey.c
View file @
5777c44a
...
@@ -264,7 +264,8 @@ emit(const char *dir, dns_rdata_t *rdata) {
...
@@ -264,7 +264,8 @@ emit(const char *dir, dns_rdata_t *rdata) {
dst_key_free
(
&
key
);
dst_key_free
(
&
key
);
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-keyfromlabel.c
View file @
5777c44a
...
@@ -46,7 +46,8 @@
...
@@ -46,7 +46,8 @@
const
char
*
program
=
"dnssec-keyfromlabel"
;
const
char
*
program
=
"dnssec-keyfromlabel"
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-keygen.c
View file @
5777c44a
...
@@ -69,9 +69,11 @@ const char *program = "dnssec-keygen";
...
@@ -69,9 +69,11 @@ const char *program = "dnssec-keygen";
isc_log_t
*
lctx
=
NULL
;
isc_log_t
*
lctx
=
NULL
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
progress
(
int
p
);
static
void
progress
(
int
p
);
struct
keygen_ctx
{
struct
keygen_ctx
{
const
char
*
predecessor
;
const
char
*
predecessor
;
...
...
bin/dnssec/dnssec-revoke.c
View file @
5777c44a
...
@@ -40,7 +40,8 @@ const char *program = "dnssec-revoke";
...
@@ -40,7 +40,8 @@ const char *program = "dnssec-revoke";
static
isc_mem_t
*
mctx
=
NULL
;
static
isc_mem_t
*
mctx
=
NULL
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-settime.c
View file @
5777c44a
...
@@ -43,7 +43,8 @@ const char *program = "dnssec-settime";
...
@@ -43,7 +43,8 @@ const char *program = "dnssec-settime";
static
isc_mem_t
*
mctx
=
NULL
;
static
isc_mem_t
*
mctx
=
NULL
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-signzone.c
View file @
5777c44a
...
@@ -186,7 +186,8 @@ static dns_ttl_t maxttl = 0;
...
@@ -186,7 +186,8 @@ static dns_ttl_t maxttl = 0;
UNLOCK(&statslock); \
UNLOCK(&statslock); \
}
}
static
void
sign
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
sign
(
isc_task_t
*
task
,
isc_event_t
*
event
);
/*%
/*%
* Store a copy of 'name' in 'fzonecut' and return a pointer to that copy.
* Store a copy of 'name' in 'fzonecut' and return a pointer to that copy.
...
@@ -3123,7 +3124,8 @@ print_version(FILE *fp) {
...
@@ -3123,7 +3124,8 @@ print_version(FILE *fp) {
fprintf
(
fp
,
"; dnssec_signzone version "
VERSION
"
\n
"
);
fprintf
(
fp
,
"; dnssec_signzone version "
VERSION
"
\n
"
);
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssec-verify.c
View file @
5777c44a
...
@@ -137,7 +137,8 @@ loadzone(char *file, char *origin, dns_rdataclass_t rdclass, dns_db_t **db) {
...
@@ -137,7 +137,8 @@ loadzone(char *file, char *origin, dns_rdataclass_t rdclass, dns_db_t **db) {
}
}
}
}
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
ISC_PLATFORM_NORETURN_PRE
static
void
usage
(
void
)
ISC_PLATFORM_NORETURN_POST
;
static
void
static
void
usage
(
void
)
{
usage
(
void
)
{
...
...
bin/dnssec/dnssectool.h
View file @
5777c44a
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
/*! verbosity: set by -v and -q option in each program, defined in dnssectool.c
/*! verbosity: set by -v and -q option in each program, defined in dnssectool.c
*/
*/
extern
int
verbose
;
extern
int
verbose
;
extern
bool
quiet
;
extern
bool
quiet
;
/*! program name, statically initialized in each program */
/*! program name, statically initialized in each program */
...
...
bin/named/builtin.c
View file @
5777c44a
...
@@ -32,12 +32,18 @@
...
@@ -32,12 +32,18 @@
typedef
struct
builtin
builtin_t
;
typedef
struct
builtin
builtin_t
;
static
isc_result_t
do_version_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
static
isc_result_t
do_hostname_lookup
(
dns_sdblookup_t
*
lookup
);
do_version_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
do_authors_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
static
isc_result_t
do_id_lookup
(
dns_sdblookup_t
*
lookup
);
do_hostname_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
do_empty_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
static
isc_result_t
do_dns64_lookup
(
dns_sdblookup_t
*
lookup
);
do_authors_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
do_id_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
do_empty_lookup
(
dns_sdblookup_t
*
lookup
);
static
isc_result_t
do_dns64_lookup
(
dns_sdblookup_t
*
lookup
);
/*
/*
* We can't use function pointers as the db_data directly
* We can't use function pointers as the db_data directly
...
...
bin/named/controlconf.c
View file @
5777c44a
...
@@ -107,8 +107,10 @@ struct named_controls {
...
@@ -107,8 +107,10 @@ struct named_controls {
isccc_symtab_t
*
symtab
;
isccc_symtab_t
*
symtab
;
};
};
static
void
control_newconn
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
static
void
control_recvmessage
(
isc_task_t
*
task
,
isc_event_t
*
event
);
control_newconn
(
isc_task_t
*
task
,
isc_event_t
*
event
);
static
void
control_recvmessage
(
isc_task_t
*
task
,
isc_event_t
*
event
);
#define CLOCKSKEW 300
#define CLOCKSKEW 300
...
...
bin/named/main.c
View file @
5777c44a
...
@@ -302,9 +302,9 @@ library_fatal_error(const char *file, int line, const char *format,
...
@@ -302,9 +302,9 @@ library_fatal_error(const char *file, int line, const char *format,
exit
(
1
);
exit
(
1
);
}
}
static
void
library_unexpected_error
(
const
char
*
file
,
int
line
,
static
void
const
char
*
format
,
va_list
args
)
library_unexpected_error
(
const
char
*
file
,
int
line
,
const
char
*
format
,
ISC_FORMAT_PRINTF
(
3
,
0
);
va_list
args
)
ISC_FORMAT_PRINTF
(
3
,
0
);
static
void
static
void
library_unexpected_error
(
const
char
*
file
,
int
line
,
const
char
*
format
,
library_unexpected_error
(
const
char
*
file
,
int
line
,
const
char
*
format
,
...
...
bin/named/server.c
View file @
5777c44a
...
@@ -383,74 +383,86 @@ ISC_PLATFORM_NORETURN_PRE static void
...
@@ -383,74 +383,86 @@ ISC_PLATFORM_NORETURN_PRE static void
fatal(named_server_t *server, const char *msg,
fatal(named_server_t *server, const char *msg,
isc_result_t result) ISC_PLATFORM_NORETURN_POST;
isc_result_t result) ISC_PLATFORM_NORETURN_POST;
static void named_server_reload(isc_task_t *task, isc_event_t *event);
static void
named_server_reload(isc_task_t *task, isc_event_t *event);
static isc_result_t ns_listenelt_fromconfig(const cfg_obj_t *listener,
static isc_result_t
const cfg_obj_t *config,
ns_listenelt_fromconfig(const cfg_obj_t *listener, const cfg_obj_t *config,
cfg_aclconfctx_t *actx,
cfg_aclconfctx_t *actx, isc_mem_t *mctx,
isc_mem_t *mctx, uint16_t family,
uint16_t family, ns_listenelt_t **target);
ns_listenelt_t **target);
static isc_result_t
static isc_result_t ns_listenlist_fromconfig(const cfg_obj_t *listenlist,
ns_listenlist_fromconfig(const cfg_obj_t *listenlist, const cfg_obj_t *config,
const cfg_obj_t *config,
cfg_aclconfctx_t *actx, isc_mem_t *mctx,
cfg_aclconfctx_t *actx,
uint16_t family, ns_listenlist_t **target);
isc_mem_t *mctx, uint16_t family,
ns_listenlist_t **target);