]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
authorDavid Lawrence <source@isc.org>
Tue, 1 Aug 2000 01:33:37 +0000 (01:33 +0000)
committerDavid Lawrence <source@isc.org>
Tue, 1 Aug 2000 01:33:37 +0000 (01:33 +0000)
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.

1259 files changed:
CHANGES
Makefile.in
README
acconfig.h
bin/Makefile.in
bin/dig/Makefile.in
bin/dig/dig.c
bin/dig/dighost.c
bin/dig/host.1
bin/dig/host.c
bin/dig/include/dig/dig.h
bin/dig/nslookup.c
bin/dnssec/Makefile.in
bin/dnssec/dnssec-keygen.8
bin/dnssec/dnssec-keygen.c
bin/dnssec/dnssec-makekeyset.8
bin/dnssec/dnssec-makekeyset.c
bin/dnssec/dnssec-signkey.8
bin/dnssec/dnssec-signkey.c
bin/dnssec/dnssec-signzone.8
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssectool.c
bin/dnssec/dnssectool.h
bin/lwresd/Makefile.in
bin/lwresd/client.c
bin/lwresd/client.h
bin/lwresd/err_pkt.c
bin/lwresd/main.c
bin/lwresd/process_gabn.c
bin/lwresd/process_gnba.c
bin/lwresd/process_noop.c
bin/named/Makefile.in
bin/named/aclconf.c
bin/named/client.c
bin/named/include/named/aclconf.h
bin/named/include/named/client.h
bin/named/include/named/globals.h
bin/named/include/named/interfacemgr.h
bin/named/include/named/listenlist.h
bin/named/include/named/log.h
bin/named/include/named/logconf.h
bin/named/include/named/lwdclient.h
bin/named/include/named/lwresd.h
bin/named/include/named/main.h
bin/named/include/named/notify.h
bin/named/include/named/omapi.h
bin/named/include/named/query.h
bin/named/include/named/server.h
bin/named/include/named/tkeyconf.h
bin/named/include/named/tsigconf.h
bin/named/include/named/types.h
bin/named/include/named/update.h
bin/named/include/named/xfrout.h
bin/named/include/named/zoneconf.h
bin/named/interfacemgr.c
bin/named/listenlist.c
bin/named/log.c
bin/named/logconf.c
bin/named/lwdclient.c
bin/named/lwderror.c
bin/named/lwdgabn.c
bin/named/lwdgnba.c
bin/named/lwdnoop.c
bin/named/lwresd.8
bin/named/lwresd.c
bin/named/main.c
bin/named/named.8
bin/named/named.conf.test
bin/named/notify.c
bin/named/omapi.c
bin/named/omapiconf.c
bin/named/query.c
bin/named/server.c
bin/named/tkeyconf.c
bin/named/tsigconf.c
bin/named/unix/Makefile.in
bin/named/unix/include/named/os.h
bin/named/unix/os.c
bin/named/update.c
bin/named/xfrout.c
bin/named/zoneconf.c
bin/nsupdate/Makefile.in
bin/nsupdate/nsupdate.8
bin/nsupdate/nsupdate.c
bin/rndc/Makefile.in
bin/rndc/rndc.8
bin/rndc/rndc.c
bin/rndc/rndc.conf
bin/rndc/rndc.conf.5
bin/tests/Makefile.in
bin/tests/adb_test.c
bin/tests/b8status.pl
bin/tests/b8t.mk
bin/tests/b9status.pl
bin/tests/b9t.mk
bin/tests/byaddr_test.c
bin/tests/byname_test.c
bin/tests/compress_test.c
bin/tests/db/Makefile.in
bin/tests/db/t_db.c
bin/tests/db_test.c
bin/tests/dispatch_tcp_test.c
bin/tests/dispatch_test.c
bin/tests/dst/Ktest.+001+00000.key
bin/tests/dst/Ktest.+003+00000.key
bin/tests/dst/Makefile.in
bin/tests/dst/dst_test.c
bin/tests/dst/t_dst.c
bin/tests/entropy2_test.c
bin/tests/entropy_test.c
bin/tests/fsaccess_test.c
bin/tests/gxba_test.c
bin/tests/gxbn_test.c
bin/tests/hash_test.c
bin/tests/headerdep_test.sh.in
bin/tests/inter_test.c
bin/tests/keyboard_test.c
bin/tests/lex_test.c
bin/tests/lfsr_test.c
bin/tests/log_test.c
bin/tests/lwres_test.c
bin/tests/lwresconf_test.c
bin/tests/master/Makefile.in
bin/tests/master/master10.data
bin/tests/master/t_master.c
bin/tests/master_test.c
bin/tests/mem/Makefile.in
bin/tests/mem/t_mem.c
bin/tests/mempool_test.c
bin/tests/name_test.c
bin/tests/named.conf
bin/tests/names/Makefile.in
bin/tests/names/dns_name_compare_data
bin/tests/names/dns_name_fromregion_data
bin/tests/names/dns_name_fromwire_1_data
bin/tests/names/dns_name_fromwire_2_data
bin/tests/names/dns_name_fromwire_3_data
bin/tests/names/dns_name_fromwire_4_data
bin/tests/names/dns_name_fromwire_5_data
bin/tests/names/dns_name_fromwire_6_data
bin/tests/names/dns_name_fromwire_7_data
bin/tests/names/dns_name_fromwire_8_data
bin/tests/names/dns_name_fromwire_9_data
bin/tests/names/dns_name_getlabel_data
bin/tests/names/dns_name_getlabelsequence_data
bin/tests/names/dns_name_issubdomain_data
bin/tests/names/dns_name_rdatacompare_data
bin/tests/names/t_names.c
bin/tests/nconf_test.c
bin/tests/ndc.conf
bin/tests/ndcconf_test.c
bin/tests/net/Makefile.in
bin/tests/net/driver.c
bin/tests/net/driver.h
bin/tests/net/netaddr_multicast.c
bin/tests/net/sockaddr_multicast.c
bin/tests/net/testsuite.h
bin/tests/nxtify.c
bin/tests/omapi_test.c
bin/tests/printmsg.c
bin/tests/printmsg.h
bin/tests/ratelimiter_test.c
bin/tests/rbt/Makefile.in
bin/tests/rbt/t_rbt.c
bin/tests/rbt_test.c
bin/tests/rbt_test.txt
bin/tests/rdata_test.c
bin/tests/resolv.conf.sample
bin/tests/rwlock_test.c
bin/tests/serial_test.c
bin/tests/shutdown_test.c
bin/tests/sock_test.c
bin/tests/sockaddr/Makefile.in
bin/tests/sockaddr/t_sockaddr.c
bin/tests/sym_test.c
bin/tests/system/Makefile.in
bin/tests/system/cleanall.sh
bin/tests/system/conf.sh.in
bin/tests/system/digcomp.pl
bin/tests/system/dnssec/clean.sh
bin/tests/system/dnssec/ns1/named.conf
bin/tests/system/dnssec/ns1/root.db.in
bin/tests/system/dnssec/ns1/sign.sh
bin/tests/system/dnssec/ns2/example.db.in
bin/tests/system/dnssec/ns2/insecure.secure.example.db
bin/tests/system/dnssec/ns2/named.conf
bin/tests/system/dnssec/ns2/private.secure.example.db.in
bin/tests/system/dnssec/ns2/root.hint
bin/tests/system/dnssec/ns2/sign.sh
bin/tests/system/dnssec/ns3/bogus.example.db.in
bin/tests/system/dnssec/ns3/insecure.example.db
bin/tests/system/dnssec/ns3/named.conf
bin/tests/system/dnssec/ns3/root.hint
bin/tests/system/dnssec/ns3/secure.example.db.in
bin/tests/system/dnssec/ns3/sign.sh
bin/tests/system/dnssec/ns4/named.conf
bin/tests/system/dnssec/ns4/root.hint
bin/tests/system/dnssec/ns5/named.conf
bin/tests/system/dnssec/ns5/root.hint
bin/tests/system/dnssec/ns5/trusted.conf.bad
bin/tests/system/dnssec/setup.sh
bin/tests/system/dnssec/tests.sh
bin/tests/system/glue/clean.sh
bin/tests/system/glue/ns1/cache
bin/tests/system/glue/ns1/mil.db
bin/tests/system/glue/ns1/named.conf
bin/tests/system/glue/ns1/net.db
bin/tests/system/glue/ns1/root-servers.nil.db
bin/tests/system/glue/ns1/root.db
bin/tests/system/glue/tests.sh
bin/tests/system/ifconfig.sh
bin/tests/system/limits/clean.sh
bin/tests/system/limits/knowngood.dig.out.1000
bin/tests/system/limits/knowngood.dig.out.2000
bin/tests/system/limits/knowngood.dig.out.3000
bin/tests/system/limits/knowngood.dig.out.4000
bin/tests/system/limits/knowngood.dig.out.a-maximum-rrset
bin/tests/system/limits/ns1/example.db
bin/tests/system/limits/ns1/named.conf
bin/tests/system/limits/ns1/root.db
bin/tests/system/limits/tests.sh
bin/tests/system/lwresd/Makefile.in
bin/tests/system/lwresd/lwresd1/resolv.conf
bin/tests/system/lwresd/lwtest.c
bin/tests/system/lwresd/ns1/10.10.10.in-addr.arpa.db
bin/tests/system/lwresd/ns1/example1.db
bin/tests/system/lwresd/ns1/example2.db
bin/tests/system/lwresd/ns1/ip6.arpa.db
bin/tests/system/lwresd/ns1/ip6.int.db
bin/tests/system/lwresd/ns1/named.conf
bin/tests/system/lwresd/ns1/root.db
bin/tests/system/lwresd/resolv.conf
bin/tests/system/lwresd/tests.sh
bin/tests/system/notify/clean.sh
bin/tests/system/notify/ns1/named.conf
bin/tests/system/notify/ns1/root.db
bin/tests/system/notify/ns2/example1.db
bin/tests/system/notify/ns2/example2.db
bin/tests/system/notify/ns2/example3.db
bin/tests/system/notify/ns2/example4.db
bin/tests/system/notify/ns2/named.conf
bin/tests/system/notify/ns2/root.hint
bin/tests/system/notify/ns3/named.conf
bin/tests/system/notify/ns3/root.hint
bin/tests/system/notify/setup.sh
bin/tests/system/notify/tests.sh
bin/tests/system/nsupdate/clean.sh
bin/tests/system/nsupdate/ns1/example.orig
bin/tests/system/nsupdate/ns1/named.conf
bin/tests/system/nsupdate/ns1/update.orig
bin/tests/system/nsupdate/ns2/named.conf
bin/tests/system/nsupdate/setup.sh
bin/tests/system/nsupdate/tests.sh
bin/tests/system/nsupdate/update_test.pl
bin/tests/system/resolver/ans2/ans.pl
bin/tests/system/resolver/ans3/ans.pl
bin/tests/system/resolver/ns1/named.conf
bin/tests/system/resolver/ns1/root.hint
bin/tests/system/resolver/prereq.sh
bin/tests/system/resolver/tests.sh
bin/tests/system/run.sh
bin/tests/system/runall.sh
bin/tests/system/setup.sh
bin/tests/system/start.sh
bin/tests/system/stop.sh
bin/tests/system/stub/clean.sh
bin/tests/system/stub/knowngood.dig.out.norec
bin/tests/system/stub/knowngood.dig.out.rec
bin/tests/system/stub/ns1/named.conf
bin/tests/system/stub/ns1/root.db
bin/tests/system/stub/ns2/child.example.db
bin/tests/system/stub/ns2/named.conf
bin/tests/system/stub/ns2/root.hint
bin/tests/system/stub/ns3/example.db
bin/tests/system/stub/ns3/named.conf
bin/tests/system/stub/ns3/root.hint
bin/tests/system/stub/tests.sh
bin/tests/system/testsock.pl
bin/tests/system/views/clean.sh
bin/tests/system/views/ns1/named.conf
bin/tests/system/views/ns1/root.db
bin/tests/system/views/ns2/example1.db
bin/tests/system/views/ns2/example2.db
bin/tests/system/views/ns2/internal.db
bin/tests/system/views/ns2/named1.conf
bin/tests/system/views/ns2/named2.conf
bin/tests/system/views/ns2/root.hint
bin/tests/system/views/ns3/internal.db
bin/tests/system/views/ns3/named1.conf
bin/tests/system/views/ns3/named2.conf
bin/tests/system/views/ns3/root.hint
bin/tests/system/views/rndc.conf
bin/tests/system/views/setup.sh
bin/tests/system/views/tests.sh
bin/tests/system/xfer/clean.sh
bin/tests/system/xfer/ns1/named.conf
bin/tests/system/xfer/ns1/root.db
bin/tests/system/xfer/ns2/example.db
bin/tests/system/xfer/ns2/named.conf
bin/tests/system/xfer/ns2/root.hint
bin/tests/system/xfer/ns2/tsigzone.db
bin/tests/system/xfer/ns3/named.conf
bin/tests/system/xfer/ns3/root.hint
bin/tests/system/xfer/tests.sh
bin/tests/system/xferquota/clean.sh
bin/tests/system/xferquota/ns1/changing1.db
bin/tests/system/xferquota/ns1/changing2.db
bin/tests/system/xferquota/ns1/named.conf
bin/tests/system/xferquota/ns1/root.db
bin/tests/system/xferquota/ns2/example.db
bin/tests/system/xferquota/ns2/named.conf
bin/tests/system/xferquota/ns2/root.hint
bin/tests/system/xferquota/setup.pl
bin/tests/system/xferquota/setup.sh
bin/tests/system/xferquota/tests.sh
bin/tests/t_api.pl
bin/tests/task_test.c
bin/tests/tasks/Makefile.in
bin/tests/tasks/t_tasks.c
bin/tests/timer_test.c
bin/tests/timers/Makefile.in
bin/tests/timers/t_timers.c
bin/tests/tkey_test.c
bin/tests/update_test.pl
bin/tests/wire_test.c
bin/tests/wire_test.data
bin/tests/zone2_test.c
bin/tests/zone_test.c
config.guess
config.h.in
config.status.win32
configure
configure.in
conftools/perllib/dnsconf/DNSConf-macros.h
conftools/perllib/dnsconf/DNSConf.i
conftools/perllib/dnsconf/Makefile.PL
conftools/perllib/dnsconf/named1.conf
conftools/perllib/dnsconf/test.pl
contrib/named-bootconf/named-bootconf.sh
contrib/nanny/nanny.pl
doc/arm/Bv9ARM.1.html
doc/arm/Bv9ARM.2.html
doc/arm/Bv9ARM.3.html
doc/arm/Bv9ARM.4.html
doc/arm/Bv9ARM.5.html
doc/arm/Bv9ARM.6.html
doc/arm/Bv9ARM.7.html
doc/arm/Bv9ARM.8.html
doc/arm/Bv9ARM.9.html
doc/arm/Bv9ARM.css
doc/arm/Bv9ARM.html
doc/arm/Bv9ARM.txt
doc/design/addressdb
doc/design/compression
doc/design/db_rules
doc/design/decompression
doc/design/logging
doc/design/ncache
doc/design/omapi
doc/design/red-black
doc/design/search
doc/design/windows-nt
doc/design/zone
doc/dev/coding.html
doc/dev/cvs
doc/dev/cvs-usage
doc/dev/rdata.html
doc/dev/release
doc/dev/results
doc/dev/tests
doc/draft/draft-costanzo-dns-gl-03.txt
doc/draft/draft-ietf-dhc-dhcp-dns-12.txt
doc/draft/draft-ietf-dnsext-zone-status-02.txt
doc/draft/draft-ietf-enum-rqmts-01.txt
doc/draft/draft-ietf-ipngwg-default-addr-select-00.txt
doc/draft/draft-skwan-gss-tsig-05.txt
doc/draft/draft-skwan-utf8-dns-03.txt
doc/draft/draft-whr-dnsext-secure-online-update-00.txt
doc/expired/draft-ietf-dnsind-binary-labels-05.txt
doc/expired/draft-ietf-dnsind-rollover-00.txt
doc/man/bin/host.1
doc/man/bin/lwresd.8
doc/man/bin/named.8
doc/man/bin/nsupdate.8
doc/man/bin/rndc.8
doc/man/bin/rndc.conf.5
doc/man/ctoman
doc/man/dnssec/dnssec-keygen.8
doc/man/dnssec/dnssec-makekeyset.8
doc/man/dnssec/dnssec-signkey.8
doc/man/dnssec/dnssec-signzone.8
doc/man/isc/isc__errno2result.3
doc/man/isc/isc_app.3
doc/man/isc/isc_app_finish.3
doc/man/isc/isc_app_onrun.3
doc/man/isc/isc_app_reload.3
doc/man/isc/isc_app_run.3
doc/man/isc/isc_app_shutdown.3
doc/man/isc/isc_app_start.3
doc/man/isc/isc_dir.3
doc/man/isc/isc_dir_chdir.3
doc/man/isc/isc_dir_close.3
doc/man/isc/isc_dir_init.3
doc/man/isc/isc_dir_open.3
doc/man/isc/isc_dir_read.3
doc/man/isc/isc_dir_reset.3
doc/man/isc/isc_error.3
doc/man/isc/isc_file.3
doc/man/isc/isc_file_getmodtime.3
doc/man/isc/isc_file_mktemplate.3
doc/man/isc/isc_file_openunique.3
doc/man/isc/isc_file_remove.3
doc/man/isc/isc_file_settime.3
doc/man/isc/isc_interfaceiter_create.3
doc/man/isc/isc_interfaceiter_current.3
doc/man/isc/isc_interfaceiter_destroy.3
doc/man/isc/isc_interfaceiter_first.3
doc/man/isc/isc_interfaceiter_next.3
doc/man/isc/isc_interval_iszero.3
doc/man/isc/isc_ipproto.3
doc/man/isc/isc_net_probeipv4.3
doc/man/isc/isc_net_probeipv6.3
doc/man/isc/isc_netif.3
doc/man/isc/isc_socket.3
doc/man/isc/isc_socket_accept.3
doc/man/isc/isc_socket_attach.3
doc/man/isc/isc_socket_bind.3
doc/man/isc/isc_socket_cancel.3
doc/man/isc/isc_socket_connect.3
doc/man/isc/isc_socket_create.3
doc/man/isc/isc_socket_detach.3
doc/man/isc/isc_socket_getpeername.3
doc/man/isc/isc_socket_getsockname.3
doc/man/isc/isc_socket_gettype.3
doc/man/isc/isc_socket_isbound.3
doc/man/isc/isc_socket_listen.3
doc/man/isc/isc_socket_recv.3
doc/man/isc/isc_socket_recvmark.3
doc/man/isc/isc_socket_recvv.3
doc/man/isc/isc_socket_send.3
doc/man/isc/isc_socket_sendmark.3
doc/man/isc/isc_socket_sendto.3
doc/man/isc/isc_socket_sendtov.3
doc/man/isc/isc_socket_sendv.3
doc/man/isc/isc_socketmgr_create.3
doc/man/isc/isc_socketmgr_destroy.3
doc/man/isc/isc_stdio.3
doc/man/isc/isc_stdio_close.3
doc/man/isc/isc_stdio_flush.3
doc/man/isc/isc_stdio_open.3
doc/man/isc/isc_stdio_read.3
doc/man/isc/isc_stdio_seek.3
doc/man/isc/isc_stdio_sync.3
doc/man/isc/isc_stdio_write.3
doc/man/isc/isc_stdtime.3
doc/man/isc/isc_stdtime_get.3
doc/man/isc/isc_time.3
doc/man/isc/isc_time_add.3
doc/man/isc/isc_time_compare.3
doc/man/isc/isc_time_isepoch.3
doc/man/isc/isc_time_microdiff.3
doc/man/isc/isc_time_nanoseconds.3
doc/man/isc/isc_time_now.3
doc/man/isc/isc_time_nowplusinterval.3
doc/man/isc/isc_time_seconds.3
doc/man/isc/isc_time_secondsastimet.3
doc/man/isc/isc_time_set.3
doc/man/isc/isc_time_settoepoch.3
doc/man/isc/isc_time_subtract.3
doc/man/lwres/lwres.3
doc/man/lwres/lwres_addr_parse.3
doc/man/lwres/lwres_buffer.3
doc/man/lwres/lwres_buffer_add.3
doc/man/lwres/lwres_buffer_back.3
doc/man/lwres/lwres_buffer_clear.3
doc/man/lwres/lwres_buffer_first.3
doc/man/lwres/lwres_buffer_forward.3
doc/man/lwres/lwres_buffer_getmem.3
doc/man/lwres/lwres_buffer_getuint16.3
doc/man/lwres/lwres_buffer_getuint32.3
doc/man/lwres/lwres_buffer_getuint8.3
doc/man/lwres/lwres_buffer_init.3
doc/man/lwres/lwres_buffer_invalidate.3
doc/man/lwres/lwres_buffer_putmem.3
doc/man/lwres/lwres_buffer_putuint16.3
doc/man/lwres/lwres_buffer_putuint32.3
doc/man/lwres/lwres_buffer_putuint8.3
doc/man/lwres/lwres_buffer_subtract.3
doc/man/lwres/lwres_conf_clear.3
doc/man/lwres/lwres_conf_get.3
doc/man/lwres/lwres_conf_init.3
doc/man/lwres/lwres_conf_parse.3
doc/man/lwres/lwres_conf_print.3
doc/man/lwres/lwres_config.3
doc/man/lwres/lwres_context.3
doc/man/lwres/lwres_context_allocmem.3
doc/man/lwres/lwres_context_create.3
doc/man/lwres/lwres_context_destroy.3
doc/man/lwres/lwres_context_freemem.3
doc/man/lwres/lwres_context_initserial.3
doc/man/lwres/lwres_context_nextserial.3
doc/man/lwres/lwres_context_sendrecv.3
doc/man/lwres/lwres_endhostent.3
doc/man/lwres/lwres_endhostent_r.3
doc/man/lwres/lwres_freeaddrinfo.3
doc/man/lwres/lwres_freehostent.3
doc/man/lwres/lwres_gabn.3
doc/man/lwres/lwres_gabnrequest_free.3
doc/man/lwres/lwres_gabnrequest_parse.3
doc/man/lwres/lwres_gabnrequest_render.3
doc/man/lwres/lwres_gabnresponse_free.3
doc/man/lwres/lwres_gabnresponse_parse.3
doc/man/lwres/lwres_gabnresponse_render.3
doc/man/lwres/lwres_gai_strerror.3
doc/man/lwres/lwres_getaddrinfo.3
doc/man/lwres/lwres_getaddrsbyname.3
doc/man/lwres/lwres_gethostbyaddr.3
doc/man/lwres/lwres_gethostbyaddr_r.3
doc/man/lwres/lwres_gethostbyname.3
doc/man/lwres/lwres_gethostbyname2.3
doc/man/lwres/lwres_gethostbyname_r.3
doc/man/lwres/lwres_gethostent.3
doc/man/lwres/lwres_gethostent_r.3
doc/man/lwres/lwres_getipnode.3
doc/man/lwres/lwres_getipnodebyaddr.3
doc/man/lwres/lwres_getipnodebyname.3
doc/man/lwres/lwres_getnamebyaddr.3
doc/man/lwres/lwres_getnameinfo.3
doc/man/lwres/lwres_gnba.3
doc/man/lwres/lwres_gnbarequest_free.3
doc/man/lwres/lwres_gnbarequest_parse.3
doc/man/lwres/lwres_gnbarequest_render.3
doc/man/lwres/lwres_gnbaresponse_free.3
doc/man/lwres/lwres_gnbaresponse_parse.3
doc/man/lwres/lwres_gnbaresponse_render.3
doc/man/lwres/lwres_herror.3
doc/man/lwres/lwres_hstrerror.3
doc/man/lwres/lwres_inetaton.3
doc/man/lwres/lwres_inetntop.3
doc/man/lwres/lwres_inetpton.3
doc/man/lwres/lwres_lwpacket_parseheader.3
doc/man/lwres/lwres_lwpacket_renderheader.3
doc/man/lwres/lwres_net_aton.3
doc/man/lwres/lwres_net_ntop.3
doc/man/lwres/lwres_net_pton.3
doc/man/lwres/lwres_noop.3
doc/man/lwres/lwres_nooprequest_free.3
doc/man/lwres/lwres_nooprequest_parse.3
doc/man/lwres/lwres_nooprequest_render.3
doc/man/lwres/lwres_noopresponse_free.3
doc/man/lwres/lwres_noopresponse_parse.3
doc/man/lwres/lwres_noopresponse_render.3
doc/man/lwres/lwres_packet.3
doc/man/lwres/lwres_resutil.3
doc/man/lwres/lwres_sethostent.3
doc/man/lwres/lwres_sethostent_r.3
doc/man/lwres/lwres_string_parse.3
doc/misc/options
install-sh
isc-config.sh.in
lib/Makefile.in
lib/dns/Makefile.in
lib/dns/a6.c
lib/dns/acl.c
lib/dns/aclconf.c
lib/dns/adb.c
lib/dns/byaddr.c
lib/dns/cache.c
lib/dns/callbacks.c
lib/dns/compress.c
lib/dns/config/Makefile.in
lib/dns/config/confacl.c
lib/dns/config/confcache.c
lib/dns/config/confcommon.c
lib/dns/config/confctl.c
lib/dns/config/confctx.c
lib/dns/config/confip.c
lib/dns/config/confkeys.c
lib/dns/config/conflog.c
lib/dns/config/conflsn.c
lib/dns/config/confndc.c
lib/dns/config/confparser.y.dirty
lib/dns/config/confpvt.h
lib/dns/config/confresolv.c
lib/dns/config/confrrset.c
lib/dns/config/confview.c
lib/dns/config/confzone.c
lib/dns/db.c
lib/dns/dbiterator.c
lib/dns/dbtable.c
lib/dns/dispatch.c
lib/dns/dnssec.c
lib/dns/gen-unix.h
lib/dns/gen-win32.h
lib/dns/gen.c
lib/dns/include/Makefile.in
lib/dns/include/dns/Makefile.in
lib/dns/include/dns/a6.h
lib/dns/include/dns/acl.h
lib/dns/include/dns/aclconf.h
lib/dns/include/dns/adb.h
lib/dns/include/dns/bit.h
lib/dns/include/dns/byaddr.h
lib/dns/include/dns/cache.h
lib/dns/include/dns/callbacks.h
lib/dns/include/dns/cert.h
lib/dns/include/dns/compress.h
lib/dns/include/dns/confacl.h
lib/dns/include/dns/confcache.h
lib/dns/include/dns/confcommon.h
lib/dns/include/dns/confctl.h
lib/dns/include/dns/confctx.h
lib/dns/include/dns/confip.h
lib/dns/include/dns/confkeys.h
lib/dns/include/dns/conflog.h
lib/dns/include/dns/conflsn.h
lib/dns/include/dns/confndc.h
lib/dns/include/dns/confparser.h
lib/dns/include/dns/confresolv.h
lib/dns/include/dns/confrrset.h
lib/dns/include/dns/confview.h
lib/dns/include/dns/confzone.h
lib/dns/include/dns/db.h
lib/dns/include/dns/dbiterator.h
lib/dns/include/dns/dbtable.h
lib/dns/include/dns/dispatch.h
lib/dns/include/dns/dnssec.h
lib/dns/include/dns/events.h
lib/dns/include/dns/fixedname.h
lib/dns/include/dns/journal.h
lib/dns/include/dns/keyflags.h
lib/dns/include/dns/keytable.h
lib/dns/include/dns/keyvalues.h
lib/dns/include/dns/lib.h
lib/dns/include/dns/log.h
lib/dns/include/dns/master.h
lib/dns/include/dns/masterdump.h
lib/dns/include/dns/message.h
lib/dns/include/dns/name.h
lib/dns/include/dns/namedconf.h
lib/dns/include/dns/ncache.h
lib/dns/include/dns/nxt.h
lib/dns/include/dns/peer.h
lib/dns/include/dns/rbt.h
lib/dns/include/dns/rcode.h
lib/dns/include/dns/rdata.h
lib/dns/include/dns/rdataclass.h
lib/dns/include/dns/rdatalist.h
lib/dns/include/dns/rdataset.h
lib/dns/include/dns/rdatasetiter.h
lib/dns/include/dns/rdataslab.h
lib/dns/include/dns/rdatatype.h
lib/dns/include/dns/request.h
lib/dns/include/dns/resolver.h
lib/dns/include/dns/result.h
lib/dns/include/dns/rootns.h
lib/dns/include/dns/secalg.h
lib/dns/include/dns/secproto.h
lib/dns/include/dns/ssu.h
lib/dns/include/dns/tcpmsg.h
lib/dns/include/dns/time.h
lib/dns/include/dns/tkey.h
lib/dns/include/dns/tkeyconf.h
lib/dns/include/dns/tsig.h
lib/dns/include/dns/tsigconf.h
lib/dns/include/dns/ttl.h
lib/dns/include/dns/types.h
lib/dns/include/dns/validator.h
lib/dns/include/dns/view.h
lib/dns/include/dns/xfrin.h
lib/dns/include/dns/zone.h
lib/dns/include/dns/zoneconf.h
lib/dns/include/dns/zt.h
lib/dns/journal.c
lib/dns/keytable.c
lib/dns/lib.c
lib/dns/log.c
lib/dns/master.c
lib/dns/masterdump.c
lib/dns/message.c
lib/dns/name.c
lib/dns/ncache.c
lib/dns/nxt.c
lib/dns/peer.c
lib/dns/rbt.c
lib/dns/rbtdb.c
lib/dns/rbtdb.h
lib/dns/rbtdb64.c
lib/dns/rbtdb64.h
lib/dns/rdata.c
lib/dns/rdata/any_255/tsig_250.c
lib/dns/rdata/any_255/tsig_250.h
lib/dns/rdata/generic/afsdb_18.c
lib/dns/rdata/generic/afsdb_18.h
lib/dns/rdata/generic/cert_37.c
lib/dns/rdata/generic/cert_37.h
lib/dns/rdata/generic/cname_5.c
lib/dns/rdata/generic/cname_5.h
lib/dns/rdata/generic/dname_39.c
lib/dns/rdata/generic/dname_39.h
lib/dns/rdata/generic/gpos_27.c
lib/dns/rdata/generic/gpos_27.h
lib/dns/rdata/generic/hinfo_13.c
lib/dns/rdata/generic/hinfo_13.h
lib/dns/rdata/generic/isdn_20.c
lib/dns/rdata/generic/isdn_20.h
lib/dns/rdata/generic/key_25.c
lib/dns/rdata/generic/key_25.h
lib/dns/rdata/generic/loc_29.c
lib/dns/rdata/generic/loc_29.h
lib/dns/rdata/generic/mb_7.c
lib/dns/rdata/generic/mb_7.h
lib/dns/rdata/generic/md_3.c
lib/dns/rdata/generic/md_3.h
lib/dns/rdata/generic/mf_4.c
lib/dns/rdata/generic/mf_4.h
lib/dns/rdata/generic/mg_8.c
lib/dns/rdata/generic/mg_8.h
lib/dns/rdata/generic/minfo_14.c
lib/dns/rdata/generic/minfo_14.h
lib/dns/rdata/generic/mr_9.c
lib/dns/rdata/generic/mr_9.h
lib/dns/rdata/generic/mx_15.c
lib/dns/rdata/generic/mx_15.h
lib/dns/rdata/generic/ns_2.c
lib/dns/rdata/generic/ns_2.h
lib/dns/rdata/generic/null_10.c
lib/dns/rdata/generic/null_10.h
lib/dns/rdata/generic/nxt_30.c
lib/dns/rdata/generic/nxt_30.h
lib/dns/rdata/generic/opt_41.c
lib/dns/rdata/generic/opt_41.h
lib/dns/rdata/generic/proforma.c
lib/dns/rdata/generic/proforma.h
lib/dns/rdata/generic/ptr_12.c
lib/dns/rdata/generic/ptr_12.h
lib/dns/rdata/generic/rp_17.c
lib/dns/rdata/generic/rp_17.h
lib/dns/rdata/generic/rt_21.c
lib/dns/rdata/generic/rt_21.h
lib/dns/rdata/generic/sig_24.c
lib/dns/rdata/generic/sig_24.h
lib/dns/rdata/generic/soa_6.c
lib/dns/rdata/generic/soa_6.h
lib/dns/rdata/generic/tkey_249.c
lib/dns/rdata/generic/tkey_249.h
lib/dns/rdata/generic/txt_16.c
lib/dns/rdata/generic/txt_16.h
lib/dns/rdata/generic/unspec_103.c
lib/dns/rdata/generic/unspec_103.h
lib/dns/rdata/generic/x25_19.c
lib/dns/rdata/generic/x25_19.h
lib/dns/rdata/hs_4/a_1.c
lib/dns/rdata/hs_4/a_1.h
lib/dns/rdata/in_1/a6_38.c
lib/dns/rdata/in_1/a6_38.h
lib/dns/rdata/in_1/a_1.c
lib/dns/rdata/in_1/a_1.h
lib/dns/rdata/in_1/aaaa_28.c
lib/dns/rdata/in_1/aaaa_28.h
lib/dns/rdata/in_1/kx_36.c
lib/dns/rdata/in_1/kx_36.h
lib/dns/rdata/in_1/naptr_35.c
lib/dns/rdata/in_1/naptr_35.h
lib/dns/rdata/in_1/nsap-ptr_23.c
lib/dns/rdata/in_1/nsap-ptr_23.h
lib/dns/rdata/in_1/nsap_22.c
lib/dns/rdata/in_1/nsap_22.h
lib/dns/rdata/in_1/px_26.c
lib/dns/rdata/in_1/px_26.h
lib/dns/rdata/in_1/srv_33.c
lib/dns/rdata/in_1/srv_33.h
lib/dns/rdata/in_1/wks_11.c
lib/dns/rdata/in_1/wks_11.h
lib/dns/rdata/rdatastructpre.h
lib/dns/rdata/rdatastructsuf.h
lib/dns/rdatalist.c
lib/dns/rdataset.c
lib/dns/rdatasetiter.c
lib/dns/rdataslab.c
lib/dns/request.c
lib/dns/resolver.c
lib/dns/result.c
lib/dns/rootns.c
lib/dns/sec/Makefile.in
lib/dns/sec/dnssafe/Makefile.in
lib/dns/sec/dnssafe/ahcbcpad.c
lib/dns/sec/dnssafe/ahchdig.c
lib/dns/sec/dnssafe/ahchencr.c
lib/dns/sec/dnssafe/ahchgen.c
lib/dns/sec/dnssafe/ahchrand.c
lib/dns/sec/dnssafe/ahencryp.h
lib/dns/sec/dnssafe/ahrsaenc.c
lib/dns/sec/dnssafe/ahrsaepr.c
lib/dns/sec/dnssafe/ahrsaepu.c
lib/dns/sec/dnssafe/aichenc8.c
lib/dns/sec/dnssafe/airsakgn.c
lib/dns/sec/dnssafe/algchoic.c
lib/dns/sec/dnssafe/algobj.c
lib/dns/sec/dnssafe/amrkg.c
lib/dns/sec/dnssafe/balg.c
lib/dns/sec/dnssafe/bgclrbit.c
lib/dns/sec/dnssafe/bgmodexp.c
lib/dns/sec/dnssafe/bgpegcd.c
lib/dns/sec/dnssafe/big2exp.c
lib/dns/sec/dnssafe/bigabs.c
lib/dns/sec/dnssafe/bigarith.c
lib/dns/sec/dnssafe/bigcmp.c
lib/dns/sec/dnssafe/biginv.c
lib/dns/sec/dnssafe/biglen.c
lib/dns/sec/dnssafe/bigmpy.c
lib/dns/sec/dnssafe/bigpdiv.c
lib/dns/sec/dnssafe/bigpmpy.c
lib/dns/sec/dnssafe/bigqrx.c
lib/dns/sec/dnssafe/bigtocan.c
lib/dns/sec/dnssafe/bigu.c
lib/dns/sec/dnssafe/bigunexp.c
lib/dns/sec/dnssafe/binfocsh.c
lib/dns/sec/dnssafe/bkey.c
lib/dns/sec/dnssafe/bkey.h
lib/dns/sec/dnssafe/bmempool.c
lib/dns/sec/dnssafe/cantobig.c
lib/dns/sec/dnssafe/crt2.c
lib/dns/sec/dnssafe/digrand.c
lib/dns/sec/dnssafe/global.h
lib/dns/sec/dnssafe/intbits.c
lib/dns/sec/dnssafe/intitem.c
lib/dns/sec/dnssafe/keyobj.c
lib/dns/sec/dnssafe/ki8byte.c
lib/dns/sec/dnssafe/kifulprv.c
lib/dns/sec/dnssafe/kiitem.c
lib/dns/sec/dnssafe/kinfotyp.h
lib/dns/sec/dnssafe/kipkcrpr.c
lib/dns/sec/dnssafe/kirsacrt.c
lib/dns/sec/dnssafe/kirsapub.c
lib/dns/sec/dnssafe/md5.c
lib/dns/sec/dnssafe/md5rand.h
lib/dns/sec/dnssafe/prime.c
lib/dns/sec/dnssafe/rsa.c
lib/dns/sec/dnssafe/rsakeygn.c
lib/dns/sec/dnssafe/seccbcd.c
lib/dns/sec/dnssafe/seccbce.c
lib/dns/sec/dst/Makefile.in
lib/dns/sec/dst/bsafe_link.c
lib/dns/sec/dst/dst_api.c
lib/dns/sec/dst/dst_internal.h
lib/dns/sec/dst/dst_lib.c
lib/dns/sec/dst/dst_parse.c
lib/dns/sec/dst/dst_parse.h
lib/dns/sec/dst/dst_result.c
lib/dns/sec/dst/hmac_link.c
lib/dns/sec/dst/include/Makefile.in
lib/dns/sec/dst/include/dst/Makefile.in
lib/dns/sec/dst/include/dst/dst.h
lib/dns/sec/dst/include/dst/lib.h
lib/dns/sec/dst/include/dst/result.h
lib/dns/sec/dst/openssl_link.c
lib/dns/sec/dst/openssldh_link.c
lib/dns/sec/openssl/Makefile.in
lib/dns/sec/openssl/bn_add.c
lib/dns/sec/openssl/bn_asm.c
lib/dns/sec/openssl/bn_ctx.c
lib/dns/sec/openssl/bn_div.c
lib/dns/sec/openssl/bn_err.c
lib/dns/sec/openssl/bn_exp.c
lib/dns/sec/openssl/bn_exp2.c
lib/dns/sec/openssl/bn_gcd.c
lib/dns/sec/openssl/bn_lcl.h
lib/dns/sec/openssl/bn_lib.c
lib/dns/sec/openssl/bn_mont.c
lib/dns/sec/openssl/bn_mul.c
lib/dns/sec/openssl/bn_prime.c
lib/dns/sec/openssl/bn_prime.h
lib/dns/sec/openssl/bn_print.c
lib/dns/sec/openssl/bn_rand.c
lib/dns/sec/openssl/bn_recp.c
lib/dns/sec/openssl/bn_shift.c
lib/dns/sec/openssl/bn_sqr.c
lib/dns/sec/openssl/bn_word.c
lib/dns/sec/openssl/buffer.c
lib/dns/sec/openssl/cryptlib.c
lib/dns/sec/openssl/cryptlib.h
lib/dns/sec/openssl/dh_err.c
lib/dns/sec/openssl/dh_gen.c
lib/dns/sec/openssl/dh_key.c
lib/dns/sec/openssl/dh_lib.c
lib/dns/sec/openssl/dsa_err.c
lib/dns/sec/openssl/dsa_gen.c
lib/dns/sec/openssl/dsa_key.c
lib/dns/sec/openssl/dsa_lib.c
lib/dns/sec/openssl/dsa_ossl.c
lib/dns/sec/openssl/dsa_sign.c
lib/dns/sec/openssl/dsa_vrf.c
lib/dns/sec/openssl/err.c
lib/dns/sec/openssl/ex_data.c
lib/dns/sec/openssl/include/Makefile.in
lib/dns/sec/openssl/include/openssl/Makefile.in
lib/dns/sec/openssl/include/openssl/bio.h
lib/dns/sec/openssl/include/openssl/bn.h
lib/dns/sec/openssl/include/openssl/buffer.h
lib/dns/sec/openssl/include/openssl/crypto.h
lib/dns/sec/openssl/include/openssl/dh.h
lib/dns/sec/openssl/include/openssl/dsa.h
lib/dns/sec/openssl/include/openssl/e_os.h
lib/dns/sec/openssl/include/openssl/err.h
lib/dns/sec/openssl/include/openssl/lhash.h
lib/dns/sec/openssl/include/openssl/rand.h
lib/dns/sec/openssl/include/openssl/safestack.h
lib/dns/sec/openssl/include/openssl/sha.h
lib/dns/sec/openssl/include/openssl/stack.h
lib/dns/sec/openssl/lhash.c
lib/dns/sec/openssl/md32_common.h
lib/dns/sec/openssl/md5_locl.h
lib/dns/sec/openssl/mem.c
lib/dns/sec/openssl/mem_dbg.c
lib/dns/sec/openssl/rand_lib.c
lib/dns/sec/openssl/sha1_one.c
lib/dns/sec/openssl/sha1dgst.c
lib/dns/sec/openssl/sha_locl.h
lib/dns/sec/openssl/stack.c
lib/dns/sec/openssl/th-lock.c
lib/dns/sec/rename.h
lib/dns/ssu.c
lib/dns/tcpmsg.c
lib/dns/time.c
lib/dns/tkey.c
lib/dns/tkeyconf.c
lib/dns/tsig.c
lib/dns/tsigconf.c
lib/dns/ttl.c
lib/dns/validator.c
lib/dns/version.c
lib/dns/view.c
lib/dns/xfrin.c
lib/dns/zone.c
lib/dns/zoneconf.c
lib/dns/zt.c
lib/isc/Makefile.in
lib/isc/assertions.c
lib/isc/base64.c
lib/isc/bitstring.c
lib/isc/buffer.c
lib/isc/bufferlist.c
lib/isc/commandline.c
lib/isc/error.c
lib/isc/event.c
lib/isc/fsaccess.c
lib/isc/heap.c
lib/isc/hmacmd5.c
lib/isc/include/Makefile.in
lib/isc/include/isc/Makefile.in
lib/isc/include/isc/assertions.h
lib/isc/include/isc/base64.h
lib/isc/include/isc/bitstring.h
lib/isc/include/isc/boolean.h
lib/isc/include/isc/buffer.h
lib/isc/include/isc/bufferlist.h
lib/isc/include/isc/commandline.h
lib/isc/include/isc/entropy.h
lib/isc/include/isc/error.h
lib/isc/include/isc/event.h
lib/isc/include/isc/eventclass.h
lib/isc/include/isc/file.h
lib/isc/include/isc/formatcheck.h
lib/isc/include/isc/fsaccess.h
lib/isc/include/isc/heap.h
lib/isc/include/isc/hmacmd5.h
lib/isc/include/isc/interfaceiter.h
lib/isc/include/isc/ipv6.h
lib/isc/include/isc/lang.h
lib/isc/include/isc/lex.h
lib/isc/include/isc/lfsr.h
lib/isc/include/isc/lib.h
lib/isc/include/isc/list.h
lib/isc/include/isc/log.h
lib/isc/include/isc/magic.h
lib/isc/include/isc/md5.h
lib/isc/include/isc/mem.h
lib/isc/include/isc/msgcat.h
lib/isc/include/isc/mutexblock.h
lib/isc/include/isc/netaddr.h
lib/isc/include/isc/ondestroy.h
lib/isc/include/isc/os.h
lib/isc/include/isc/platform.h.in
lib/isc/include/isc/print.h
lib/isc/include/isc/quota.h
lib/isc/include/isc/random.h
lib/isc/include/isc/ratelimiter.h
lib/isc/include/isc/region.h
lib/isc/include/isc/result.h
lib/isc/include/isc/resultclass.h
lib/isc/include/isc/rwlock.h
lib/isc/include/isc/serial.h
lib/isc/include/isc/sha1.h
lib/isc/include/isc/sockaddr.h
lib/isc/include/isc/socket.h
lib/isc/include/isc/stdio.h
lib/isc/include/isc/string.h
lib/isc/include/isc/symtab.h
lib/isc/include/isc/task.h
lib/isc/include/isc/taskpool.h
lib/isc/include/isc/timer.h
lib/isc/include/isc/types.h
lib/isc/include/isc/util.h
lib/isc/inet_aton.c
lib/isc/inet_ntop.c
lib/isc/inet_pton.c
lib/isc/lex.c
lib/isc/lfsr.c
lib/isc/lib.c
lib/isc/log.c
lib/isc/md5.c
lib/isc/mem.c
lib/isc/mutexblock.c
lib/isc/netaddr.c
lib/isc/nls/Makefile.in
lib/isc/nls/msgcat.c
lib/isc/ondestroy.c
lib/isc/print.c
lib/isc/pthreads/Makefile.in
lib/isc/pthreads/condition.c
lib/isc/pthreads/include/Makefile.in
lib/isc/pthreads/include/isc/Makefile.in
lib/isc/pthreads/include/isc/condition.h
lib/isc/pthreads/include/isc/mutex.h
lib/isc/pthreads/include/isc/once.h
lib/isc/pthreads/include/isc/thread.h
lib/isc/pthreads/thread.c
lib/isc/quota.c
lib/isc/random.c
lib/isc/ratelimiter.c
lib/isc/result.c
lib/isc/rwlock.c
lib/isc/serial.c
lib/isc/sha1.c
lib/isc/sockaddr.c
lib/isc/string.c
lib/isc/symtab.c
lib/isc/task.c
lib/isc/taskpool.c
lib/isc/timer.c
lib/isc/unix/Makefile.in
lib/isc/unix/app.c
lib/isc/unix/dir.c
lib/isc/unix/entropy.c
lib/isc/unix/errno2result.c
lib/isc/unix/errno2result.h
lib/isc/unix/file.c
lib/isc/unix/fsaccess.c
lib/isc/unix/ifiter_ioctl.c
lib/isc/unix/ifiter_sysctl.c
lib/isc/unix/include/Makefile.in
lib/isc/unix/include/isc/Makefile.in
lib/isc/unix/include/isc/app.h
lib/isc/unix/include/isc/dir.h
lib/isc/unix/include/isc/int.h
lib/isc/unix/include/isc/keyboard.h
lib/isc/unix/include/isc/net.h
lib/isc/unix/include/isc/netdb.h
lib/isc/unix/include/isc/offset.h
lib/isc/unix/include/isc/stdtime.h
lib/isc/unix/include/isc/time.h
lib/isc/unix/interfaceiter.c
lib/isc/unix/ipv6.c
lib/isc/unix/keyboard.c
lib/isc/unix/net.c
lib/isc/unix/os.c
lib/isc/unix/socket.c
lib/isc/unix/stdio.c
lib/isc/unix/stdtime.c
lib/isc/unix/time.c
lib/isc/version.c
lib/isc/win32/Makefile.in
lib/isc/win32/condition.c
lib/isc/win32/dir.c
lib/isc/win32/file.c
lib/isc/win32/fsaccess.c
lib/isc/win32/include/Makefile.in
lib/isc/win32/include/isc/Makefile.in
lib/isc/win32/include/isc/condition.h
lib/isc/win32/include/isc/dir.h
lib/isc/win32/include/isc/int.h
lib/isc/win32/include/isc/mutex.h
lib/isc/win32/include/isc/net.h
lib/isc/win32/include/isc/netdb.h
lib/isc/win32/include/isc/once.h
lib/isc/win32/include/isc/stdtime.h
lib/isc/win32/include/isc/thread.h
lib/isc/win32/include/isc/time.h
lib/isc/win32/once.c
lib/isc/win32/stdtime.c
lib/isc/win32/thread.c
lib/isc/win32/time.c
lib/lwres/Makefile.in
lib/lwres/assert_p.h
lib/lwres/context.c
lib/lwres/context_p.h
lib/lwres/gai_strerror.c
lib/lwres/getaddrinfo.c
lib/lwres/gethost.c
lib/lwres/getipnode.c
lib/lwres/getnameinfo.c
lib/lwres/herror.c
lib/lwres/include/Makefile.in
lib/lwres/include/lwres/Makefile.in
lib/lwres/include/lwres/context.h
lib/lwres/include/lwres/int.h
lib/lwres/include/lwres/ipv6.h
lib/lwres/include/lwres/lang.h
lib/lwres/include/lwres/list.h
lib/lwres/include/lwres/lwbuffer.h
lib/lwres/include/lwres/lwpacket.h
lib/lwres/include/lwres/lwres.h
lib/lwres/include/lwres/net.h
lib/lwres/include/lwres/netdb.h.in
lib/lwres/include/lwres/platform.h.in
lib/lwres/include/lwres/result.h
lib/lwres/lwbuffer.c
lib/lwres/lwconfig.c
lib/lwres/lwinetaton.c
lib/lwres/lwinetntop.c
lib/lwres/lwinetpton.c
lib/lwres/lwpacket.c
lib/lwres/lwres_gabn.c
lib/lwres/lwres_gnba.c
lib/lwres/lwres_noop.c
lib/lwres/lwresutil.c
lib/lwres/man/lwres.3
lib/lwres/man/lwres_addr_parse.3
lib/lwres/man/lwres_buffer.3
lib/lwres/man/lwres_buffer_add.3
lib/lwres/man/lwres_buffer_back.3
lib/lwres/man/lwres_buffer_clear.3
lib/lwres/man/lwres_buffer_first.3
lib/lwres/man/lwres_buffer_forward.3
lib/lwres/man/lwres_buffer_getmem.3
lib/lwres/man/lwres_buffer_getuint16.3
lib/lwres/man/lwres_buffer_getuint32.3
lib/lwres/man/lwres_buffer_getuint8.3
lib/lwres/man/lwres_buffer_init.3
lib/lwres/man/lwres_buffer_invalidate.3
lib/lwres/man/lwres_buffer_putmem.3
lib/lwres/man/lwres_buffer_putuint16.3
lib/lwres/man/lwres_buffer_putuint32.3
lib/lwres/man/lwres_buffer_putuint8.3
lib/lwres/man/lwres_buffer_subtract.3
lib/lwres/man/lwres_conf_clear.3
lib/lwres/man/lwres_conf_get.3
lib/lwres/man/lwres_conf_init.3
lib/lwres/man/lwres_conf_parse.3
lib/lwres/man/lwres_conf_print.3
lib/lwres/man/lwres_config.3
lib/lwres/man/lwres_context.3
lib/lwres/man/lwres_context_allocmem.3
lib/lwres/man/lwres_context_create.3
lib/lwres/man/lwres_context_destroy.3
lib/lwres/man/lwres_context_freemem.3
lib/lwres/man/lwres_context_initserial.3
lib/lwres/man/lwres_context_nextserial.3
lib/lwres/man/lwres_context_sendrecv.3
lib/lwres/man/lwres_endhostent.3
lib/lwres/man/lwres_endhostent_r.3
lib/lwres/man/lwres_freeaddrinfo.3
lib/lwres/man/lwres_freehostent.3
lib/lwres/man/lwres_gabn.3
lib/lwres/man/lwres_gabnrequest_free.3
lib/lwres/man/lwres_gabnrequest_parse.3
lib/lwres/man/lwres_gabnrequest_render.3
lib/lwres/man/lwres_gabnresponse_free.3
lib/lwres/man/lwres_gabnresponse_parse.3
lib/lwres/man/lwres_gabnresponse_render.3
lib/lwres/man/lwres_gai_strerror.3
lib/lwres/man/lwres_getaddrinfo.3
lib/lwres/man/lwres_getaddrsbyname.3
lib/lwres/man/lwres_gethostbyaddr.3
lib/lwres/man/lwres_gethostbyaddr_r.3
lib/lwres/man/lwres_gethostbyname.3
lib/lwres/man/lwres_gethostbyname2.3
lib/lwres/man/lwres_gethostbyname_r.3
lib/lwres/man/lwres_gethostent.3
lib/lwres/man/lwres_gethostent_r.3
lib/lwres/man/lwres_getipnode.3
lib/lwres/man/lwres_getipnodebyaddr.3
lib/lwres/man/lwres_getipnodebyname.3
lib/lwres/man/lwres_getnamebyaddr.3
lib/lwres/man/lwres_getnameinfo.3
lib/lwres/man/lwres_gnba.3
lib/lwres/man/lwres_gnbarequest_free.3
lib/lwres/man/lwres_gnbarequest_parse.3
lib/lwres/man/lwres_gnbarequest_render.3
lib/lwres/man/lwres_gnbaresponse_free.3
lib/lwres/man/lwres_gnbaresponse_parse.3
lib/lwres/man/lwres_gnbaresponse_render.3
lib/lwres/man/lwres_herror.3
lib/lwres/man/lwres_hstrerror.3
lib/lwres/man/lwres_inetntop.3
lib/lwres/man/lwres_lwpacket_parseheader.3
lib/lwres/man/lwres_lwpacket_renderheader.3
lib/lwres/man/lwres_net_ntop.3
lib/lwres/man/lwres_noop.3
lib/lwres/man/lwres_nooprequest_free.3
lib/lwres/man/lwres_nooprequest_parse.3
lib/lwres/man/lwres_nooprequest_render.3
lib/lwres/man/lwres_noopresponse_free.3
lib/lwres/man/lwres_noopresponse_parse.3
lib/lwres/man/lwres_noopresponse_render.3
lib/lwres/man/lwres_packet.3
lib/lwres/man/lwres_resutil.3
lib/lwres/man/lwres_sethostent.3
lib/lwres/man/lwres_sethostent_r.3
lib/lwres/man/lwres_string_parse.3
lib/lwres/version.c
lib/omapi/Makefile.in
lib/omapi/auth.c
lib/omapi/connection.c
lib/omapi/data.c
lib/omapi/generic.c
lib/omapi/handle.c
lib/omapi/include/Makefile.in
lib/omapi/include/omapi/Makefile.in
lib/omapi/include/omapi/compatibility.h
lib/omapi/include/omapi/lib.h
lib/omapi/include/omapi/omapi.h
lib/omapi/include/omapi/private.h
lib/omapi/include/omapi/result.h
lib/omapi/include/omapi/types.h
lib/omapi/lib.c
lib/omapi/listener.c
lib/omapi/message.c
lib/omapi/object.c
lib/omapi/protocol.c
lib/omapi/result.c
lib/omapi/string.c
lib/omapi/value.c
lib/omapi/version.c
lib/tests/Makefile.in
lib/tests/include/Makefile.in
lib/tests/include/tests/Makefile.in
lib/tests/include/tests/t_api.h
lib/tests/t_api.c
ltconfig
ltmain.sh
make/Makefile.in
make/includes.in
make/mkdep.in
make/rules.in
util/check-includes.pl
util/check-instincludes.sh
util/check-sources.pl
util/kit.sh
util/make-snapshot.sh
util/memleak.pl
util/merge_copyrights
util/mkreslib.pl
util/nanny.pl
util/nt-kit
util/sanitize.pl
util/sanitize_all.sh
util/update-drafts.pl

diff --git a/CHANGES b/CHANGES
index 3b5243eabc71b93d68a8306b299fded051d94820..47714c79468c2615cd1ef18c6364af4505067881 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -58,7 +58,7 @@
                        * Shorten timeouts to match v8's behavior
 
  344.  [bug]           When shutting down, lwresd sometimes tried
-                       to shut down its client tasks twice, 
+                       to shut down its client tasks twice,
                        triggering an assertion.
 
  343.  [bug]           Although zone maintenance SOA queries and
                        dns_name_dup() when generating a TSIG
                        key using TKEY.
 
- 341.  [func]          Support 'key' clause in named.conf zone masters 
+ 341.  [func]          Support 'key' clause in named.conf zone masters
                        statement:
 
-                               masters { 
+                               masters {
                                        10.0.0.1 port 666 key "foo";
                                        10.0.0.2 ;
                                };
                        response after a number of retransmissions.
                        This is to allow queries some chance of succeeding
                        even if all the authoritative servers of a zone
-                       silently discard EDNS0 requests instead of 
+                       silently discard EDNS0 requests instead of
                        sending an error response like they ought to.
 
  323.  [bug]           dns_rbt_findname() did not ignore empty rbt nodes.
-                       Because of this, servers authoritative for a parent 
+                       Because of this, servers authoritative for a parent
                        and grandchild zone but not authoritative for the
                        intervening child zone did not correctly issue
                        referrals to the servers of the child zone.
 
- 322.  [bug]           Queries for KEY RRs are now sent to the parent 
+ 322.  [bug]           Queries for KEY RRs are now sent to the parent
                        server before the authoritative one, making
                        DNSSEC insecurity proofs work in many cases
                        where they previously didn't.
 
  315.  [bug]           Handle non-empty blanks lines. (RT #163)
 
- 314.  [func]          The named.conf controls statement can now have 
+ 314.  [func]          The named.conf controls statement can now have
                        more than one key specified for the inet clause.
 
  313.  [bug]           When parsing resolv.conf, don't terminate on an
                          - allow "port xxx" to be left out of statement,
                            in which case it defaults to omapi's default port
                            of 953.
+
  309.  [bug]           When sending a referral, the server did not look
                        for name server addresses as glue in the zone
                        holding the NS RRset in the case where this zone
 
  306.  [bug]           Reading HMAC-MD5 private key files didn't work.
 
- 305.  [bug]           When reloading the server with a config file 
+ 305.  [bug]           When reloading the server with a config file
                        containing a syntax error, it could catch an
                        assertion failure trying to perform zone
                        maintenance on tentatively created zones whose
  303.  [bug]           Add additional sanity checks to differentiate a AXFR
                        response vs a IXFR response. (RT #157)
 
- 302.  [bug]           In dig, host, and nslookup, MXNAME should be large 
+ 302.  [bug]           In dig, host, and nslookup, MXNAME should be large
                        enough to hold any legal domain name in presentation
                        format + terminating NULL.
 
                        disabled until named supports the "controls" statement,
                        post-9.0.0.
 
- 286.  [bug]           On Solaris 2, when named inherited a signal state 
+ 286.  [bug]           On Solaris 2, when named inherited a signal state
                        where SIGHUP had the SIG_IGN action, SIGHUP would
                        be ignored rather than causing the server to reload
                        its configuration.
 
  283.  [cleanup]       The 'lwresd' program is now a link to 'named'.
 
- 282.  [bug]           The lexer now returns ISC_R_RANGE if parsed integer is 
+ 282.  [bug]           The lexer now returns ISC_R_RANGE if parsed integer is
                        too big for an unsigned long.
 
  281.  [bug]           Fixed list of recognized config file category names.
 
  276.  [bug]           dig now supports maximum sized TCP messages.
 
- 275.  [bug]           The definition of lwres_gai_strerror() was missing 
+ 275.  [bug]           The definition of lwres_gai_strerror() was missing
                        the lwres_ prefix.
 
  274.  [bug]           TSIG AXFR verify failed when talking to a BIND 8
                        failure by causing clone_results() to be called with
                        with hevent->node == NULL.
 
- 268.  [doc]           A plain text version of the Administrator 
+ 268.  [doc]           A plain text version of the Administrator
                        Reference Manual is now included in the distribution,
                        as doc/arm/Bv9ARM.txt.
 
 
  237.  [bug]           If connect() returned ENOBUFS when the resolver was
                        initiating a TCP query, the socket didn't get
-                       destroyed, and the server did not shut down cleanly. 
+                       destroyed, and the server did not shut down cleanly.
 
  236.  [func]          Added new listen-on-v6 config file statement.
 
- 235.  [func]          Consider it a config file error if a listen-on 
-                       statement has an IPv6 address in it, or a 
+ 235.  [func]          Consider it a config file error if a listen-on
+                       statement has an IPv6 address in it, or a
                        listen-on-v6 statement has an IPv4 address in it.
-                       
+
  234.  [bug]           Allow a trusted-key's first field (domain-name) be
                        either a quoted or an unquoted string, instead of
                        requiring a quoted string.
 
  230.  [func]          Replace the dst sign/verify API with a cleaner one.
 
- 229.  [func]          Support config file sig-validity-interval statement 
-                       in options, views and zone statements (master 
+ 229.  [func]          Support config file sig-validity-interval statement
+                       in options, views and zone statements (master
                        zones only).
 
- 228.  [cleanup]       Logging messages in config module stripped of 
+ 228.  [cleanup]       Logging messages in config module stripped of
                        trailing period.
 
  227.  [cleanup]       The enumerated identifiers dns_rdataclass_*,
  217.  [func]          Also-notify and trusted-keys can now be used in
                        the 'view' statement.
 
- 216.  [func]          The 'max-cache-ttl' and 'max-ncache-ttl' options 
+ 216.  [func]          The 'max-cache-ttl' and 'max-ncache-ttl' options
                        now work.
 
  215.  [bug]           Failures at certain points in request processing
 
  193.  [func]          changed dst_key_free() prototype.
 
- 192.  [bug]           Zone configuration validation is now done at end 
+ 192.  [bug]           Zone configuration validation is now done at end
                        of config file parsing, and before loading
                        callbacks.
 
  191.  [func]          Patched to compile on UnixWare 7.x.  This platform
                        is not directly supported by the ISC.
 
- 190.  [cleanup]       The DNSSEC tools have been moved to a separate 
+ 190.  [cleanup]       The DNSSEC tools have been moved to a separate
                        directory dnssec/ and given the following new,
                        more descriptive names:
 
                        to comment out the entire zone statement.
 
  176.  [func]          New global and per-view option:
-                               
+
                                max-cache-ttl number
 
  175.  [func]          New global and per-view option:
                        quota so that a new transfer can be dispatched
                        immediately whenever quota becomes available.
 
- 172.  [bug]           $TTL directive was sometimes missing from dumped 
+ 172.  [bug]           $TTL directive was sometimes missing from dumped
                        master files because totext_ctx_init() failed to
                        initialize ctx->current_ttl_valid.
 
  153.  [func]          dns_rdata_tostruct() 'mctx' is now optional.  If 'mctx'
                        is NULL then you need to preserve the 'rdata' until
                        you have finished using the structure as there may be
-                       references to the associated memory.  If 'mctx' is 
+                       references to the associated memory.  If 'mctx' is
                        non-NULL it is guaranteed that there are no references
                        to memory associated with 'rdata'.
 
                        come after the 'type' clause.
 
  150.  [func]          Support optional ports in masters and also-notify
-                       statements: 
+                       statements:
 
                                masters [ port xxx ] { y.y.y.y [ port zzz ] ; }
 
                        are replaced by dns_zone_setnotifyalso().
                        dns_zone_clearmasters() and dns_zone_addmaster()
                        are replaced by dns_zone_setmasters().
-                       
+
  116.  [func]          Added <isc/offset.h> for isc_offset_t (aka off_t
                        on Unix systems).
 
                        <isc/mutex.h>.  isc_random_t moved to <isc/types.h>.
 
   99.  [cleanup]       Rate limiter now has separate shutdown() and
-                       destroy() functions, and it guarantees that all 
+                       destroy() functions, and it guarantees that all
                        queued events are delivered even in the shutdown case.
 
   98.  [cleanup]       <isc/print.h> does not need <stdarg.h> or <stddef.h>
                        consistency with other *_test programs.
 
   77.  [cleanup]       typedef of isc_time_t and isc_interval_t moved from
-                       <isc/time.h> to <isc/types.h>.  
+                       <isc/time.h> to <isc/types.h>.
 
   76.  [cleanup]       Rewrote keygen.
 
   40.  [func]          Introduced new logging category "dnssec" and
                        logging module "dns/validator".
 
-  39.  [cleanup]       Moved the typedefs for isc_region_t, isc_textregion_t, 
+  39.  [cleanup]       Moved the typedefs for isc_region_t, isc_textregion_t,
                        and isc_lex_t to <isc/types.h>.
 
   38.  [bug]           TSIG signed incoming zone transfers work now.
 
-  37.  [bug]           If the first RR in an incoming zone transfer was 
+  37.  [bug]           If the first RR in an incoming zone transfer was
                        not an SOA, the server died with an assertion failure
                        instead of just reporting an error.
 
 
   31.  [bug]           Use ${LIBTOOL} to compile bin/named/main.@O@.
 
-  30.  [func]          config file grammer change to support optional 
+  30.  [func]          config file grammer change to support optional
                        class type for a view.
 
   29.  [func]          support new config file view options:
                                fetch-glue notify rfc2308-type1 lame-ttl
                                max-ncache-ttl min-roots
 
-  28.  [func]          support lame-ttl, min-roots and serial-queries 
+  28.  [func]          support lame-ttl, min-roots and serial-queries
                        config global options.
-                       
+
   27.  [bug]           Only include <netinet6/in6.h> on BSD/OS 4.[01]*.
                        Including it on other platforms (eg, NetBSD) can
                        cause a forced #error from the C preprocessor.
 
   17.  [func]          Do configuration file post-load validation of zones.
 
-  16.  [bug]           put quotes around key names on config file 
+  16.  [bug]           put quotes around key names on config file
                        output to avoid possible keyword clashes.
 
   15.  [func]          Add dns_name_dupwithoffsets().  This function is
 
    7.  [cleanup]       removed 'listen-on' from view statement.
 
-   6.  [bug]           quote RR names when generating config file to 
-                       prevent possible clash with config file keywords 
+   6.  [bug]           quote RR names when generating config file to
+                       prevent possible clash with config file keywords
                        (such as 'key').
 
-   5.  [func]          syntax change to named.conf file: new ssu grant/deny 
+   5.  [func]          syntax change to named.conf file: new ssu grant/deny
                        statements must now be enclosed by an 'update-policy'
                        block.
 
index 2fa894cc3d69dd34f3fdb3121556afcee0680305..4a6c1ed945f216f75279a1ec25a441891d952d68 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.28 2000/07/27 09:36:18 tale Exp $
+# $Id: Makefile.in,v 1.29 2000/08/01 01:10:53 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
diff --git a/README b/README
index 1eeee24fcf8be567ea5111242577fddf84d54dc9..89092bfa2fa5e3bd543e4e0aa6836a688ae29ada 100644 (file)
--- a/README
+++ b/README
@@ -73,7 +73,7 @@ BIND 9.1.0a1
        This is an unreleased alpha version of BIND 9.1.0.
 
        For a detailed list of user-visible changes from
-       previous releases, see the CHANGES file.        
+       previous releases, see the CHANGES file.
 
 
 Building
@@ -124,7 +124,7 @@ Building
        If your operating system has integrated support for IPv6, it
        will be used automatically.  If you have installed KAME IPv6
        separately, use "--with-kame[=PATH]" to specify its location.
-       
+
         To see additional configure options, run "configure --help".
 
        "make install" will install "named" and the various BIND 9 libraries.
@@ -171,7 +171,7 @@ Bug Reports and Mailing Lists
                                        to stderr, ignoring any "logging"
                                        statement in in the config file.
 
-       -n <number_of_cpus>             
+       -n <number_of_cpus>
 
        -t <directory>                  Chroot to <directory> before running.
 
index c429ce91edf26ed3a79eda569b6a9d08abee7b70..6c13ddd909b29cc793d77602ef96d563728564a1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: acconfig.h,v 1.24 2000/07/27 09:36:19 tale Exp $ */
+/* $Id: acconfig.h,v 1.25 2000/08/01 01:10:56 tale Exp $ */
 
 /***
  *** This file is not to be included by any public header files, because
index 3bf8f5b811c04aa47716e62c8802e5cbdbcb503b..7046c918484c5a21af61d1e7f3c6e9ba760d3014 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.18 2000/07/27 09:36:24 tale Exp $
+# $Id: Makefile.in,v 1.19 2000/08/01 01:11:11 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 518907b62b89f7cd1c9ec5a1651330f95f93a491..bf0aa88aba96bfd2bd41f201d40758bfe8c22f55 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.12 2000/07/27 09:36:25 tale Exp $
+# $Id: Makefile.in,v 1.13 2000/08/01 01:11:12 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -25,7 +25,7 @@ top_srcdir =  @top_srcdir@
 
 CINCLUDES =    -I${srcdir}/include ${DNS_INCLUDES} ${ISC_INCLUDES}
 
-CDEFINES =     
+CDEFINES =
 CWARNINGS =
 
 DNSLIBS =      ../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@
@@ -44,7 +44,7 @@ TARGETS =     dig host nslookup
 
 OBJS =         dig.@O@ dighost.@O@ host.@O@ nslookup.@O@
 
-UOBJS =                
+UOBJS =
 
 SRCS =         dig.c dighost.c host.c nslookup.c
 
index d553d90561898d4148636490b83aed3f7321e71f..f058156a57be7abef0e1d07829262d71088658e0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.c,v 1.81 2000/08/01 00:53:16 mws Exp $ */
+/* $Id: dig.c,v 1.82 2000/08/01 01:11:14 tale Exp $ */
 
 #include <config.h>
 #include <stdlib.h>
@@ -175,7 +175,7 @@ show_usage(void) {
 "        global d-opts and servers (before host name) affect all queries.\n"
 "        local d-opts and servers (after host name) affect only that lookup.\n"
 , stderr);
-}                              
+}
 
 /*
  * Callback from dighost.c to print the received message.
@@ -189,7 +189,7 @@ received(int bytes, int frmsize, char *frm, dig_query_t *query) {
 
        result = isc_time_now(&now);
        check_result(result, "isc_time_now");
-       
+
        if (query->lookup->stats) {
                diff = isc_time_microdiff(&now, &query->time_sent);
                printf(";; Query time: %ld msec\n", (long int)diff/1000);
@@ -202,7 +202,7 @@ received(int bytes, int frmsize, char *frm, dig_query_t *query) {
                               query->name_count, query->rr_count);
                } else {
                        printf(";; MSG SIZE  rcvd: %d\n", bytes);
-       
+
                }
                if (key != NULL) {
                        if (!validated)
@@ -279,7 +279,7 @@ short_answer(dns_message_t *msg, dns_messagetextflag_t flags,
        dns_name_t empty_name;
        char t[4096];
        dns_rdata_t rdata;
-       
+
        UNUSED(flags);
 
        dns_name_init(&empty_name, NULL);
@@ -313,7 +313,7 @@ short_answer(dns_message_t *msg, dns_messagetextflag_t flags,
                else if (result != ISC_R_SUCCESS)
                        return (result);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -377,7 +377,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                        if ((msg->flags & DNS_MESSAGEFLAG_TC) != 0) {
                                printf("%stc", did_flag ? " " : "");
                                did_flag = ISC_TRUE;
-                       }       
+                       }
                        if ((msg->flags & DNS_MESSAGEFLAG_RD) != 0) {
                                printf("%srd", did_flag ? " " : "");
                                did_flag = ISC_TRUE;
@@ -394,7 +394,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                                printf("%scd", did_flag ? " " : "");
                                did_flag = ISC_TRUE;
                        }
-                       
+
                        printf("; QUERY: %u, ANSWER: %u, "
                               "AUTHORITY: %u, ADDITIONAL: %u\n",
                               msg->counts[DNS_SECTION_QUESTION],
@@ -405,7 +405,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                        result = dns_message_pseudosectiontotext(msg,
                                                 DNS_PSEUDOSECTION_OPT,
                                                 flags, buf);
-                       check_result(result, 
+                       check_result(result,
                                     "dns_message_pseudosectiontotext");
                }
        }
@@ -425,7 +425,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                        }
                        check_result(result, "dns_message_sectiontotext");
                }
-       }                       
+       }
        if (query->lookup->section_answer) {
                if (!short_form) {
                answer_again:
@@ -444,7 +444,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                        result = short_answer(msg, flags, buf, query);
                        check_result(result, "short_answer");
                }
-       }                       
+       }
        if (query->lookup->section_authority) {
                if (!short_form) {
                authority_again:
@@ -460,7 +460,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                        }
                        check_result(result, "dns_message_sectiontotext");
                }
-       }                       
+       }
        if (query->lookup->section_additional) {
                if (!short_form) {
                additional_again:
@@ -489,12 +489,12 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                                                   msg,
                                                   DNS_PSEUDOSECTION_SIG0,
                                                   flags, buf);
-                               
+
                                check_result(result,
                                           "dns_message_pseudosectiontotext");
                        }
                }
-       }                       
+       }
        if (headers && query->lookup->comments && !short_form)
                printf("\n");
 
@@ -627,10 +627,10 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
                                        bargc++;
                                        bargv[bargc] = strtok(NULL, " \t\r\n");
                                }
-                               
+
                                bargv[0] = argv[0];
                                argv0 = argv[0];
-                               
+
                                reorder_args(bargc, (char **)bargv);
                                parse_args(ISC_TRUE, ISC_TRUE, bargc,
                                           (char **)bargv);
@@ -646,7 +646,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
        rv = argv;
        for (rc--, rv++; rc > 0; rc--, rv++) {
                debug("main parsing %s", rv[0]);
-               if (strncmp(rv[0], "%", 1) == 0) 
+               if (strncmp(rv[0], "%", 1) == 0)
                        break;
                if (strncmp(rv[0], "@", 1) == 0) {
                        srv = make_server(&rv[0][1]);
@@ -871,7 +871,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
                        tr.length = strlen(ptr);
                        if (strncmp(rv[0], "ixfr=", 5) == 0) {
                                lookup->rdtype = dns_rdatatype_ixfr;
-                               lookup->ixfr_serial = 
+                               lookup->ixfr_serial =
                                        atoi(&rv[0][5]);
                        } else {
                                result = dns_rdatatype_fromtext(&rdtype,
@@ -934,7 +934,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
                        }
                        strncpy(keyfile, ptr, MXNAME);
                } else if (strncmp(rv[0], "-p", 2) == 0) {
-                       if (rv[0][2] != 0) {    
+                       if (rv[0][2] != 0) {
                                port = atoi(&rv[0][2]);
                        } else {
                                if (rc <= 1) {
@@ -983,7 +983,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
                                    &adrs[2], &adrs[3]);
                        if (n == 0)
                                show_usage();
-                       
+
                        lookup = clone_lookup(default_lookup, ISC_TRUE);
 
                        for (i = n - 1; i >= 0; i--) {
@@ -1005,13 +1005,13 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
                        rc--;
                } else {
                        /*
-                        * Anything which isn't an option 
+                        * Anything which isn't an option
                         */
                        tr.base = rv[0];
                        tr.length = strlen(rv[0]);
                        if (strncmp(rv[0], "ixfr=", 5) == 0) {
                                lookup->rdtype = dns_rdatatype_ixfr;
-                               lookup->ixfr_serial = 
+                               lookup->ixfr_serial =
                                        atoi(&rv[0][5]);
                                continue;
                        }
@@ -1042,7 +1042,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
                        /* XXX Error message */
                }
        }
-       /* 
+       /*
         * If we have a batchfile, seed the lookup list with the
         * first entry, then trust the callback in dighost_shutdown
         * to get the rest
@@ -1098,7 +1098,7 @@ dighost_shutdown(void) {
        char batchline[MXNAME];
        int bargc;
        char *bargv[16];
-       
+
 
        if (batchname == NULL) {
                isc_app_shutdown();
@@ -1120,9 +1120,9 @@ dighost_shutdown(void) {
                        bargc++;
                        bargv[bargc] = strtok(NULL, " \t\r\n");
                }
-               
+
                bargv[0] = argv0;
-               
+
                reorder_args(bargc, (char **)bargv);
                parse_args(ISC_TRUE, ISC_FALSE, bargc, (char **)bargv);
                start_lookup();
@@ -1159,7 +1159,7 @@ main(int argc, char **argv) {
                      s, default_lookup);
                s2 = s;
                s = ISC_LIST_NEXT(s, link);
-               ISC_LIST_DEQUEUE(default_lookup->my_server_list, 
+               ISC_LIST_DEQUEUE(default_lookup->my_server_list,
                                 (dig_server_t *)s2, link);
                isc_mem_free(mctx, s2);
        }
index 2dfa8e7d4048943a038c2f0bb7f073958511c17e..be5c3f7a9a35f987dcf038aedb50d39fc4f8ace1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.105 2000/08/01 00:53:18 mws Exp $ */
+/* $Id: dighost.c,v 1.106 2000/08/01 01:11:15 tale Exp $ */
 
 /*
  * Notice to programmers:  Do not use this code as an example of how to
@@ -171,7 +171,7 @@ fatal(const char *format, ...) {
        va_list args;
 
        fprintf(stderr, "%s: ", progname);
-       va_start(args, format); 
+       va_start(args, format);
        vfprintf(stderr, format, args);
        va_end(args);
        fprintf(stderr, "\n");
@@ -185,7 +185,7 @@ debug(const char *format, ...) {
        va_list args;
 
        if (debugging) {
-               va_start(args, format); 
+               va_start(args, format);
                vfprintf(stderr, format, args);
                va_end(args);
                fprintf(stderr, "\n");
@@ -220,12 +220,12 @@ make_server(const char *servname) {
        return (srv);
 }
 
-/* 
+/*
  * Produce a cloned server list.  The dest list must have already had
  * ISC_LIST_INIT applied.
  */
 void
-clone_server_list(dig_serverlist_t src, 
+clone_server_list(dig_serverlist_t src,
                  dig_serverlist_t *dest)
 {
        dig_server_t *srv, *newsrv;
@@ -368,10 +368,10 @@ requeue_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
              lookold, lookold->link.next, looknew, looknew->link.next);
        ISC_LIST_PREPEND(lookup_list, looknew, link);
        debug("after insertion, init -> "
-             "%p, new = %p, new -> %p", 
+             "%p, new = %p, new -> %p",
              lookold, looknew, looknew->link.next);
        return (looknew);
-}      
+}
 
 
 static void
@@ -403,7 +403,7 @@ setup_text_key(void) {
        }
        secretsize = isc_buffer_usedlength(&secretbuf);
        isc_stdtime_get(&now);
-       
+
        result = dns_name_fromtext(&keyname, namebuf,
                                   dns_rootname, ISC_FALSE,
                                   namebuf);
@@ -436,7 +436,7 @@ setup_file_key(void) {
        dst_key_t *dstkey = NULL;
        isc_stdtime_t now;
 
-       
+
        debug("setup_file_key()");
        result = dst_key_fromnamedfile(keyfile, DST_TYPE_PRIVATE,
                                       mctx, &dstkey);
@@ -489,7 +489,7 @@ setup_system(void) {
        dig_server_t *srv;
        dig_searchlist_t *search;
        isc_boolean_t get_servers;
-       
+
        debug("setup_system()");
 
        if (fixeddomain[0] != 0) {
@@ -547,7 +547,7 @@ setup_system(void) {
                                                        fatal("Memory "
                                                              "allocation "
                                                              "failure in %s:"
-                                                             "%d", __FILE__, 
+                                                             "%d", __FILE__,
                                                              __LINE__);
                                                strncpy(search->
                                                        origin,
@@ -570,7 +570,7 @@ setup_system(void) {
                                                        fatal("Memory "
                                                              "allocation "
                                                              "failure in %s:"
-                                                             "%d", __FILE__, 
+                                                             "%d", __FILE__,
                                                              __LINE__);
                                                strncpy(search->
                                                        origin,
@@ -600,7 +600,7 @@ setup_system(void) {
        else if (keysecret[0] != 0)
                setup_text_key();
 }
-       
+
 /*
  * Setup the ISC and DNS libraries for use by the system.
  */
@@ -679,7 +679,7 @@ add_opt(dns_message_t *msg, isc_uint16_t udpsize) {
        check_result(result, "dns_message_gettemprdatalist");
        result = dns_message_gettemprdata(msg, &rdata);
        check_result(result, "dns_message_gettemprdata");
-       
+
        debug("setting udp size of %d", udpsize);
        rdatalist->type = dns_rdatatype_opt;
        rdatalist->covers = 0;
@@ -695,7 +695,7 @@ add_opt(dns_message_t *msg, isc_uint16_t udpsize) {
 }
 
 /*
- * Add a question section to a message, asking for the specified name, 
+ * Add a question section to a message, asking for the specified name,
  * type, and class.
  */
 static void
@@ -705,7 +705,7 @@ add_question(dns_message_t *message, dns_name_t *name,
        dns_rdataset_t *rdataset;
        isc_result_t result;
 
-       debug("add_question()"); 
+       debug("add_question()");
        rdataset = NULL;
        result = dns_message_gettemprdataset(message, &rdataset);
        check_result(result, "dns_message_gettemprdataset()");
@@ -767,7 +767,7 @@ clear_query(dig_query_t *query) {
        isc_buffer_invalidate(&query->lengthbuf);
        isc_mem_free(mctx, query);
 }
-       
+
 /*
  * Try and clear out a lookup if we're done with it.  Return ISC_TRUE if
  * the lookup was successfully cleared.  If ISC_TRUE is returned, the
@@ -805,7 +805,7 @@ try_clear_lookup(dig_lookup_t *lookup) {
                      s, lookup);
                ptr = s;
                s = ISC_LIST_NEXT(s, link);
-               ISC_LIST_DEQUEUE(lookup->my_server_list, 
+               ISC_LIST_DEQUEUE(lookup->my_server_list,
                                 (dig_server_t *)ptr, link);
                isc_mem_free(mctx, ptr);
        }
@@ -817,13 +817,13 @@ try_clear_lookup(dig_lookup_t *lookup) {
        }
        if (lookup->timer != NULL)
                isc_timer_detach(&lookup->timer);
-       if (lookup->sendspace != NULL) 
+       if (lookup->sendspace != NULL)
                isc_mempool_put(commctx, lookup->sendspace);
-       
+
        isc_mem_free(mctx, lookup);
        return (ISC_TRUE);
-}      
-       
+}
+
 
 /*
  * If we can, start the next lookup in the queue running.
@@ -862,11 +862,11 @@ start_lookup(void) {
  */
 static void
 check_next_lookup(dig_lookup_t *lookup) {
-       
+
        INSIST(!free_now);
 
        debug("check_next_lookup(%p)", lookup);
-       
+
        if (ISC_LIST_HEAD(lookup->q) != NULL) {
                debug("still have a worker");
                return;
@@ -899,7 +899,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query,
 
        INSIST(!free_now);
 
-       debug("followup_lookup()"); 
+       debug("followup_lookup()");
        result = dns_message_firstname(msg,section);
 
        if (result != ISC_R_SUCCESS) {
@@ -1005,7 +1005,7 @@ next_origin(dns_message_t *msg, dig_query_t *query) {
 
        INSIST(!free_now);
 
-       debug("next_origin()"); 
+       debug("next_origin()");
        debug("following up %s", query->lookup->textname);
 
        if (!usesearch)
@@ -1038,7 +1038,7 @@ insert_soa(dig_lookup_t *lookup) {
        dns_rdatalist_t *rdatalist = NULL;
        dns_rdataset_t *rdataset = NULL;
        dns_name_t *soaname = NULL;
-       
+
        debug("insert_soa()");
        soa.mctx = mctx;
        soa.serial = lookup->ixfr_serial;
@@ -1054,7 +1054,7 @@ insert_soa(dig_lookup_t *lookup) {
 
        dns_name_clone(lookup->name, &soa.origin);
        dns_name_clone(lookup->name, &soa.mname);
-       
+
        isc_buffer_init(&lookup->rdatabuf, lookup->rdatastore,
                        sizeof(lookup->rdatastore));
 
@@ -1068,7 +1068,7 @@ insert_soa(dig_lookup_t *lookup) {
 
        result = dns_message_gettemprdatalist(lookup->sendmsg, &rdatalist);
        check_result(result, "dns_message_gettemprdatalist");
-       
+
        result = dns_message_gettemprdataset(lookup->sendmsg, &rdataset);
        check_result(result, "dns_message_gettemprdataset");
 
@@ -1107,10 +1107,10 @@ setup_lookup(dig_lookup_t *lookup) {
        isc_region_t r;
        isc_buffer_t b;
        char store[MXNAME];
-       
+
        REQUIRE(lookup != NULL);
        INSIST(!free_now);
-       
+
        debug("setup_lookup(%p)", lookup);
 
        result = dns_message_create(mctx, DNS_MESSAGE_INTENTRENDER,
@@ -1176,7 +1176,7 @@ setup_lookup(dig_lookup_t *lookup) {
                        isc_buffer_init(&b, lookup->textname, len);
                        isc_buffer_add(&b, len);
                        result = dns_name_fromtext(lookup->name, &b,
-                                                  lookup->oname, ISC_FALSE, 
+                                                  lookup->oname, ISC_FALSE,
                                                   &lookup->namebuf);
                }
                if (result != ISC_R_SUCCESS) {
@@ -1209,7 +1209,7 @@ setup_lookup(dig_lookup_t *lookup) {
                              "(%s)", lookup->textname,
                              dns_result_totext(result));
                }
-       }               
+       }
        isc_buffer_init(&b, store, sizeof(store));
        /* XXX Move some of this into function, dns_name_format. */
        dns_name_totext(lookup->name, ISC_FALSE, &b);
@@ -1234,7 +1234,7 @@ setup_lookup(dig_lookup_t *lookup) {
                debug("AA query");
                lookup->sendmsg->flags |= DNS_MESSAGEFLAG_AA;
        }
-       
+
        if (lookup->adflag) {
                debug("AD query");
                lookup->sendmsg->flags |= DNS_MESSAGEFLAG_AD;
@@ -1402,7 +1402,7 @@ send_udp(dig_lookup_t *lookup, isc_boolean_t make_recv) {
 
        /*
         * If the timer already exists, that means we're calling this
-        * a second time (for a retry).  Don't need to recreate it, 
+        * a second time (for a retry).  Don't need to recreate it,
         * just reset it.
         */
        if (lookup->timer == NULL) {
@@ -1503,7 +1503,7 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
  * packets.  Start the next recv of length bytes.
  */
 static void
-tcp_length_done(isc_task_t *task, isc_event_t *event) { 
+tcp_length_done(isc_task_t *task, isc_event_t *event) {
        isc_socketevent_t *sevent;
        isc_buffer_t *b=NULL;
        isc_region_t r;
@@ -1520,7 +1520,7 @@ tcp_length_done(isc_task_t *task, isc_event_t *event) {
        debug("tcp_length_done()");
 
        LOCK_LOOKUP;
-       sevent = (isc_socketevent_t *)event;    
+       sevent = (isc_socketevent_t *)event;
        query = event->ev_arg;
 
        recvcount--;
@@ -1577,7 +1577,7 @@ tcp_length_done(isc_task_t *task, isc_event_t *event) {
                                  recv_done, query);
        check_result(result, "isc_socket_recvv");
        recvcount++;
-       debug("resubmitted recv request with length %d, recvcount=%d", 
+       debug("resubmitted recv request with length %d, recvcount=%d",
              length, recvcount);
        isc_event_free(&event);
        UNLOCK_LOOKUP;
@@ -1641,7 +1641,7 @@ launch_next_query(dig_query_t *query, isc_boolean_t include_question) {
 #endif
        return;
 }
-       
+
 /*
  * Event handler for TCP connect complete.  Make sure the connection was
  * successful, then pass into launch_next_query to actually send the
@@ -1735,7 +1735,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
         * rr's in the message, acting as necessary whenever we hit
         * an SOA rr.
         */
-       
+
        result = dns_message_firstname(msg, DNS_SECTION_ANSWER);
        if (result != ISC_R_SUCCESS) {
                puts("; Transfer failed.");
@@ -1904,7 +1904,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
        dig_lookup_t *n, *l;
        isc_boolean_t docancel = ISC_FALSE;
        unsigned int local_timeout;
-       
+
        UNUSED(task);
        INSIST(!free_now);
 
@@ -1930,7 +1930,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                debug("no longer pending.  Got %s",
                        isc_result_totext(sevent->result));
                query->waiting_connect = ISC_FALSE;
-               
+
                isc_event_free(&event);
                clear_query(query);
                check_next_lookup(l);
@@ -1944,7 +1944,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                result = dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE,
                                            &msg);
                check_result(result, "dns_message_create");
-               
+
                if (key != NULL) {
                        if (l->querysig == NULL) {
                                debug("getting initial querysig");
@@ -1960,7 +1960,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                        result = dns_message_settsigkey(msg, key);
                        check_result(result, "dns_message_settsigkey");
                        msg->tsigctx = l->tsigctx;
-                       if (l->msgcounter != 0) 
+                       if (l->msgcounter != 0)
                                msg->tcp_continuation = 1;
                        l->msgcounter++;
                }
@@ -2025,7 +2025,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                                                local_timeout = INT_MAX;
                                }
                                debug("have local timeout of %d",
-                                      local_timeout);          
+                                      local_timeout);
                                isc_interval_set(&l->interval,
                                                 local_timeout, 0);
                                result = isc_timer_reset(l->timer,
@@ -2103,7 +2103,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                           !l->trace_root ) {
                        printmessage(query, msg, ISC_TRUE);
                }
-               
+
                if (l->pending)
                        debug("still pending.");
                if (l->doing_xfr) {
@@ -2349,7 +2349,7 @@ cancel_all(void) {
        dig_query_t *q;
 
        debug("cancel_all()");
-       
+
        LOCK_LOOKUP;
        if (free_now) {
                UNLOCK_LOOKUP;
@@ -2381,7 +2381,7 @@ cancel_all(void) {
 }
 
 /*
- * Destroy all of the libs we are using, and get everything ready for a 
+ * Destroy all of the libs we are using, and get everything ready for a
  * clean shutdown.
  */
 void
@@ -2461,5 +2461,5 @@ destroy_libs(void) {
        if (isc_mem_debugging != 0)
                isc_mem_stats(mctx, stderr);
        if (mctx != NULL)
-               isc_mem_destroy(&mctx); 
+               isc_mem_destroy(&mctx);
 }
index 487d37ed52883dbd4a5293de8befc8f72b43ad49..c9f2477575f7d0af603150c4d94fb9686499f850 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: host.1,v 1.2 2000/07/27 09:42:26 tale Exp $
-.\" 
+.\"
+.\" $Id: host.1,v 1.3 2000/08/01 01:18:42 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt HOST 1
 .Os BIND9 9
@@ -42,7 +42,7 @@ prints a short summary of its command line arguments and options.
 .Pp
 .Ar name
 is the domain name that is to be looked up.
-It can also be a dotted-decimal string representing an IPv4 address, 
+It can also be a dotted-decimal string representing an IPv4 address,
 in which case
 .Nm host
 will by default perform a reverse lookup for that address.
@@ -57,7 +57,7 @@ The
 .Fl a
 (all) option is equivalent to setting the
 .Fl v
-option and asking 
+option and asking
 .Nm host
 to make a query of type ANY.
 .Pp
@@ -96,7 +96,7 @@ enabled verbose output.
 List mode is selected by the
 .Fl l
 option.
-This makes 
+This makes
 .Nm host
 perform a zone transfer for zone
 .Ar name .
@@ -115,7 +115,7 @@ the BIND9 implementation does not append domain names from the
 .Dv domain
 or
 .Dv search
-directives in 
+directives in
 .Pa /etc/resolv.conf .
 Therefore
 .Ar name
@@ -166,7 +166,7 @@ The
 option is used to select the query type.
 .Ar type
 can be any recognised query type: CNAME, NS, SOA, SIG, KEY, AXFR, etc.
-When no query type is specified, 
+When no query type is specified,
 .Nm host
 automatically selects an appropriate query type.
 By default it looks for A records unless the
@@ -187,7 +187,7 @@ The
 .Fl W
 option makes
 .Nm host
-wait for 
+wait for
 .Ar wait
 seconds.
 If
index 9b53dd92399aa0d8b2613365536beb2620ad26f7..3002cc23d092467dfaa8608d9f45e28fd21f819b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: host.c,v 1.44 2000/07/27 09:36:29 tale Exp $ */
+/* $Id: host.c,v 1.45 2000/08/01 01:11:16 tale Exp $ */
 
 #include <config.h>
 #include <stdlib.h>
@@ -59,7 +59,7 @@ extern isc_taskmgr_t *taskmgr;
 extern char *progname;
 extern isc_task_t *global_task;
 
-isc_boolean_t 
+isc_boolean_t
 short_form = ISC_TRUE;
 
 static const char *opcodetext[] = {
@@ -109,7 +109,7 @@ static const char *rtypetext[] = {
        "MF",                           /* 4 */
        "is an alias for",              /* 5 */
        "SOA",                          /* 6 */
-       "MB",                           /* 7 */ 
+       "MB",                           /* 7 */
        "MG",                           /* 8 */
        "MR",                           /* 9 */
        "NULL",                         /* 10 */
@@ -226,7 +226,7 @@ show_usage(void) {
 "       -w specifies to wait forever for a reply\n"
 "       -W specifies how long to wait for a reply\n", stderr);
        exit(exitcode);
-}                              
+}
 
 void
 dighost_shutdown(void) {
@@ -301,7 +301,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
        isc_boolean_t first;
        isc_boolean_t no_rdata;
        const char *rtt;
-       
+
        if (sectionid == DNS_SECTION_QUESTION)
                no_rdata = ISC_TRUE;
        else
@@ -345,7 +345,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
 #else
                                UNUSED(first); /* Shut up compiler. */
 #endif
-                       } else { 
+                       } else {
                                loopresult = dns_rdataset_first(rdataset);
                                while (loopresult == ISC_R_SUCCESS) {
                                        dns_rdataset_current(rdataset, &rdata);
@@ -372,14 +372,14 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
                        else
                                printf("%.*s", (int)r.length, (char *)r.base);
                }
-               
+
                result = dns_message_nextname(msg, sectionid);
                if (result == ISC_R_NOMORE)
                        break;
                else if (result != ISC_R_SUCCESS)
                        return (result);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -393,7 +393,7 @@ printrdata(dns_message_t *msg, dns_rdataset_t *rdataset, dns_name_t *owner,
        char t[4096];
 
        UNUSED(msg);
-       if (headers) 
+       if (headers)
                printf(";; %s SECTION:\n", set_name);
 
        isc_buffer_init(&target, t, sizeof(t));
@@ -569,7 +569,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
                        tr.length = strlen(isc_commandline_argument);
                        result = dns_rdatatype_fromtext(&rdtype,
                                                   (isc_textregion_t *)&tr);
-                       
+
                        if (result != ISC_R_SUCCESS)
                                fprintf (stderr,"Warning: invalid type: %s\n",
                                         isc_commandline_argument);
@@ -581,7 +581,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
                        tr.length = strlen(isc_commandline_argument);
                        result = dns_rdataclass_fromtext(&rdclass,
                                                   (isc_textregion_t *)&tr);
-                       
+
                        if (result != ISC_R_SUCCESS)
                                fprintf (stderr,"Warning: invalid class: %s\n",
                                         isc_commandline_argument);
@@ -621,7 +621,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
                        show_details = ISC_TRUE;
                        break;
                case 'N':
-                       debug("setting NDOTS to %s", 
+                       debug("setting NDOTS to %s",
                              isc_commandline_argument);
                        ndots = atoi(isc_commandline_argument);
                        break;
@@ -639,9 +639,9 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
                debug("server is %s", srv->servername);
                ISC_LIST_APPEND(server_list, srv, link);
        }
-       
+
        lookup->pending = ISC_FALSE;
-       /* 
+       /*
         * XXXMWS Add IPv6 translation here, probably using inet_pton
         * to extract the formatted text.
         */
index 837d836ec7d2f977dabdb8487557e650178bf1f2..7c18b236e527804156aae284edf7ba65dc33b86d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.h,v 1.40 2000/08/01 00:53:20 mws Exp $ */
+/* $Id: dig.h,v 1.41 2000/08/01 01:11:19 tale Exp $ */
 
 #ifndef DIG_H
 #define DIG_H
@@ -212,7 +212,7 @@ dig_server_t *
 make_server(const char *servname);
 
 void
-clone_server_list(dig_serverlist_t src, 
+clone_server_list(dig_serverlist_t src,
                  dig_serverlist_t *dest);
 
 void
index 812b279e6025d87467019beb404c2f3ef6025d33..002e55161718cfe6df4fd6ad296167a1f38701a0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.28 2000/07/27 23:52:30 bwelling Exp $ */
+/* $Id: nslookup.c,v 1.29 2000/08/01 01:11:17 tale Exp $ */
 
 #include <config.h>
 
@@ -109,7 +109,7 @@ static const char *rtypetext[] = {
        "mf = ",                        /* 4 */
        "canonical name = ",            /* 5 */
        "soa = ",                       /* 6 */
-       "mb = ",                        /* 7 */ 
+       "mb = ",                        /* 7 */
        "mg = ",                        /* 8 */
        "mr = ",                        /* 9 */
        "rtype_10 = ",                  /* 10 */
@@ -151,7 +151,7 @@ show_usage(void) {
        fputs (
 "Usage:\n"
 , stderr);
-}                              
+}
 
 void
 dighost_shutdown(void) {
@@ -213,7 +213,7 @@ printsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
        check_result(result, "isc_buffer_allocate");
        for (;;) {
                name = NULL;
-               dns_message_currentname(msg, section, 
+               dns_message_currentname(msg, section,
                                        &name);
                for (rdataset = ISC_LIST_HEAD(name->list);
                     rdataset != NULL;
@@ -319,14 +319,14 @@ printsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
                                                (char*)isc_buffer_base(b),
                                                 rdata.type);
                                        isc_buffer_clear(b);
-                                       result = dns_rdata_totext(&rdata, 
+                                       result = dns_rdata_totext(&rdata,
                                                                  NULL, b);
                                        check_result(result,
                                                     "dns_rdata_totext");
                                        printf("%.*s\n",
                                               (int)isc_buffer_usedlength(b),
                                               (char*)isc_buffer_base(b));
-                               }       
+                               }
                                loopresult = dns_rdataset_next(rdataset);
                        }
                }
@@ -390,7 +390,7 @@ detailsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
        check_result(result, "isc_buffer_allocate");
        for (;;) {
                name = NULL;
-               dns_message_currentname(msg, section, 
+               dns_message_currentname(msg, section,
                                        &name);
                for (rdataset = ISC_LIST_HEAD(name->list);
                     rdataset != NULL;
@@ -465,14 +465,14 @@ detailsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
                                                printf ("\trdata_%d = ",
                                                 rdata.type);
                                        isc_buffer_clear(b);
-                                       result = dns_rdata_totext(&rdata, 
+                                       result = dns_rdata_totext(&rdata,
                                                                  NULL, b);
                                        check_result(result,
                                                     "dns_rdata_totext");
                                        printf("%.*s\n",
                                               (int)isc_buffer_usedlength(b),
                                               (char*)isc_buffer_base(b));
-                               }       
+                               }
                                loopresult = dns_rdataset_next(rdataset);
                        }
                }
@@ -529,11 +529,11 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
                detailsection(query, msg, headers, DNS_SECTION_ADDITIONAL);
                puts ("------------");
        }
-       
+
        if ((msg->flags & DNS_MESSAGEFLAG_AA) == 0)
                puts ("Non-authorative answer:");
        printsection(query, msg, headers, DNS_SECTION_ANSWER);
-       
+
        if (((msg->flags & DNS_MESSAGEFLAG_AA) == 0) &&
            (query->lookup->rdtype != dns_rdatatype_a)) {
                puts ("\nAuthorative answers can be found from:");
@@ -551,7 +551,7 @@ show_settings(isc_boolean_t full) {
        isc_sockaddr_t sockaddr;
        isc_buffer_t *b = NULL;
        isc_result_t result;
-       
+
        srv = ISC_LIST_HEAD(server_list);
 
        while (srv != NULL) {
@@ -726,7 +726,7 @@ flush_server_list(void) {
 
 }
 
-/* 
+/*
  * This works on the global server list, instead of on a per-lookup
  * server list, since the change is persistent.
  */
@@ -764,9 +764,9 @@ get_next_command(void) {
                setoption(arg);
        else if ((strcasecmp(ptr, "server") == 0) ||
                 (strcasecmp(ptr, "lserver") == 0)) {
-               printf("Server:\t%s\n", arg); 
+               printf("Server:\t%s\n", arg);
                setsrv(arg);
-       } else 
+       } else
                addlookup(ptr);
 }
 
@@ -830,7 +830,7 @@ flush_lookup_list(void) {
                        s = ISC_LIST_NEXT(s, link);
                        ISC_LIST_DEQUEUE(l->my_server_list, sp, link);
                        isc_mem_free(mctx, sp);
-                       
+
                }
                if (l->sendmsg != NULL)
                        dns_message_destroy(&l->sendmsg);
@@ -841,7 +841,7 @@ flush_lookup_list(void) {
                ISC_LIST_DEQUEUE(lookup_list, lp, link);
                isc_mem_free(mctx, lp);
        }
-}      
+}
 
 int
 main(int argc, char **argv) {
@@ -911,8 +911,8 @@ main(int argc, char **argv) {
                isc_mem_stats(mctx, stderr);
        isc_app_finish();
        if (mctx != NULL)
-               isc_mem_destroy(&mctx); 
-       
+               isc_mem_destroy(&mctx);
+
        return (0);
 }
 
index bea28ed64c2d5db32768691b5b20b1a0402ab3d0..8107d5ea1eb56499b92531acf48b9dbeafd1273b 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.8 2000/07/27 09:36:33 tale Exp $
+# $Id: Makefile.in,v 1.9 2000/08/01 01:11:20 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index b151d80b8475e8b8040a42903d274566eb253449..d8d8cd52e3e700139a92e00b12a38478b63fcbd5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-keygen.8,v 1.6 2000/07/27 09:42:32 tale Exp $
-.\" 
+.\"
+.\" $Id: dnssec-keygen.8,v 1.7 2000/08/01 01:18:49 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-KEYGEN 8
 .Os BIND9 9
@@ -96,7 +96,7 @@ option specifies how the generated key will be used.
 .Ar nametype
 can be either
 .Dv ZONE ,
-.Dv HOST , 
+.Dv HOST ,
 .Dv ENTITY ,
 or
 .Dv USER
@@ -124,7 +124,7 @@ that is to be used.
 The only supported values value of
 .Ar generator
 are 2 and 5.
-If no Diffie-Hellman generator is supplied, a known prime 
+If no Diffie-Hellman generator is supplied, a known prime
 from RFC2539 will be used if possible; otherwise 2 will be used as the
 generator.
 .Pp
@@ -133,7 +133,7 @@ The
 option sets the protocol value for the generated key to
 .Ar protocol-value .
 The default is 2 (email) for keys of type
-.Dv USER 
+.Dv USER
 and 3 (DNSSEC) for all other key types.
 Other possible values for this argument are listed in RFC2535 and its
 successors.
@@ -149,7 +149,7 @@ will prompt for keyboard input and use the time intervals between
 keystrokes to provide randomness.
 The
 .Fl r
-option overrides this behaviour, making 
+option overrides this behaviour, making
 .Nm dnssec-keygen
 use
 .Ar randomdev
@@ -173,16 +173,16 @@ confidentiality.
 can be one of
 .Dv AUTHCONF ,
 .Dv NOAUTHCONF ,
-.Dv NOAUTH 
+.Dv NOAUTH
 or
 .Dv NOCONF .
 The default is
 .Dv AUTHCONF .
 If type is
-.Dv AUTHCONF 
+.Dv AUTHCONF
 the key can be used for authentication and confidentialty.
 Setting
-.Ar type 
+.Ar type
 to
 .Dv NOAUTHCONF
 indicates that the key cannot be used for authentication or confidentialty.
@@ -195,14 +195,14 @@ Similarly,
 defines that the key cannot be used for confidentiality though it can
 be used for authentication.
 .Pp
-The 
+The
 .Fl v
 option can be used to make
 .Nm dnssec-keygen
 more verbose.
 As the debugging/tracing level
 .Ar level
-increases, 
+increases,
 .Nm dnssec-keygen
 generates increasingly detailed reports about what it is doing.
 The default level is zero.
@@ -245,7 +245,7 @@ key(s) for generating or validating signatures.
 The
 .Ar .key
 file contains a KEY resource record that can be inserted into a zone file
-with a 
+with a
 .Dv $INCLUDE
 statement.
 The private part of the key is in the
@@ -259,7 +259,7 @@ The private part of the key is used by
 .Xr dnssec-signzone 8
 to generate signatures and the public part is used to verify the
 signatures.
-Both 
+Both
 .Ar .key
 and
 .Ar .private
@@ -278,13 +278,13 @@ has printed the key identification string
 .Dv Kexample.com.+003+26160 ,
 indicating a DSA key with identifier 26160.
 It will also have created the files
-.Pa Kexample.com.+003+26160.key 
+.Pa Kexample.com.+003+26160.key
 and
 .Pa Kexample.com.+003+26160.private
 containing respectively the public and private keys for the generated
 DSA key.
 .Sh FILES
-.Pa /dev/random 
+.Pa /dev/random
 .Sh SEE ALSO
 .Xr RFC2535,
 .Xr RFC2845,
@@ -296,7 +296,7 @@ DSA key.
 The naming convention for the public and private key files is a little
 clumsy.
 It won't work for domain names that are longer than 236 characters
-because of the 
+because of the
 .Ar .+aaa+iiiii.private
 suffix results in filenames that are too long for most
 .Ux
index 098986227a600cd1ac4613923c7ab985848044f7..17d72a17899151351d55bd929fb45f133651a245 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec-keygen.c,v 1.36 2000/06/22 02:48:12 bwelling Exp $ */
+/* $Id: dnssec-keygen.c,v 1.37 2000/08/01 01:11:21 tale Exp $ */
 
 #include <config.h>
 
@@ -185,7 +185,7 @@ main(int argc, char **argv) {
                        fprintf(stderr, "%s: invalid argument -%c\n",
                                program, ch);
                        usage();
-               } 
+               }
        }
 
        setup_entropy(mctx, randomfile, &ectx);
@@ -319,8 +319,8 @@ main(int argc, char **argv) {
 
        isc_buffer_init(&buf, filename, sizeof(filename) - 1);
 
-       do { 
-               conflict = ISC_FALSE; 
+       do {
+               conflict = ISC_FALSE;
                oldkey = NULL;
 
                /* generate the key */
@@ -334,14 +334,14 @@ main(int argc, char **argv) {
                              dst_result_totext(ret));
                        exit(-1);
                }
-               
+
                /*
                 * Try to read a key with the same name, alg and id from disk.
-                * If there is one we must continue generating a new one 
+                * If there is one we must continue generating a new one
                 * unless we were asked to generate a null key, in which
                 * case we return failure.
                 */
-               ret = dst_key_fromfile(name, dst_key_id(key), alg, 
+               ret = dst_key_fromfile(name, dst_key_id(key), alg,
                                       DST_TYPE_PRIVATE, NULL, mctx, &oldkey);
                /* do not overwrite an existing key  */
                if (ret == ISC_R_SUCCESS) {
index c24de1706f6440cf621bdcd028230d48d938ed7e..081e036cee7f5f2ebf049eec140c8178d4bec77c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-makekeyset.8,v 1.7 2000/07/31 19:39:38 bwelling Exp $
-.\" 
+.\"
+.\" $Id: dnssec-makekeyset.8,v 1.8 2000/08/01 01:18:50 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-MAKEKEYSET 8
 .Os BIND9 9
@@ -70,7 +70,7 @@ A relative start time is supplied when
 .Ar start-time
 is given as +N: N seconds from the current time.
 If no
-.Fl s 
+.Fl s
 option is supplied, the current date and time is used for the start
 time of the SIG records.
 .Pp
@@ -145,7 +145,7 @@ As the debugging/tracing level
 increases,
 .Nm dnssec-makekeyset
 generates increasingly detailed reports about what it is doing.
-The default level is zero. 
+The default level is zero.
 .Pp
 The
 .Fl h
@@ -177,7 +177,7 @@ The backslash is for typographic reasons and would not be provided on
 the command line when running
 .Nm dnssec-makekeyset .
 .nf
-.Dl # dnssec-makekeyset -t 86400 -s 20000701120000 \e\p 
+.Dl # dnssec-makekeyset -t 86400 -s 20000701120000 \e\p
 .Dl -e +2592000 Kexample.com.+003+26160
 .fi
 .Pp
@@ -198,7 +198,7 @@ to the DNS administrator for
 .Dv .com
 so that they could sign the resource records in the file.
 This assumes that the
-.Dv .com 
+.Dv .com
 zone is DNSSEC-aware and the administrators of the two zones have some
 mechanism for authenticating each other and exchanging the keys and
 signatures securely.
index c12d06b9549319e901800c2f711b5a44d7082d1f..da4ff209f5a19981c5f9548c869c9f238cbe636e 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec-makekeyset.c,v 1.30 2000/07/31 15:28:12 bwelling Exp $ */
+/* $Id: dnssec-makekeyset.c,v 1.31 2000/08/01 01:11:22 tale Exp $ */
 
 #include <config.h>
 
index 676b121eea863dcb8e778131f8ec179e95956b07..2723aeae7bd7d2aa2656dbcea28df27f941af72f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-signkey.8,v 1.8 2000/07/31 19:39:39 bwelling Exp $
-.\" 
+.\"
+.\" $Id: dnssec-signkey.8,v 1.9 2000/08/01 01:18:51 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-SIGNKEY 8
 .Os BIND9 9
@@ -33,7 +33,7 @@
 .Sh DESCRIPTION
 .Nm dnssec-signkey
 is used to sign a key set for a child zone.
-Typically this would be provided by a 
+Typically this would be provided by a
 .Ar keyset
 file generated by
 .Xr dnssec-makekeyset 8 .
@@ -50,7 +50,7 @@ Each
 argument will be a key identification string as reported by
 .Xr dnssec-keygen 8
 for the parent zone.
-This allows the child's keys to be signed by more than one 
+This allows the child's keys to be signed by more than one
 parent zone key.
 .Pp
 The
index a6eaa58d8ebefa72ea7e35cf8cd5734ab29d8dfd..9c04971c1058f998293d3c2f0bc23fe8bc493aae 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec-signkey.c,v 1.30 2000/07/31 21:07:25 tale Exp $ */
+/* $Id: dnssec-signkey.c,v 1.31 2000/08/01 01:11:23 tale Exp $ */
 
 #include <config.h>
 
index e274494af46b13d11d6cacaa2d0861a8c0ceec8f..6898596462c92f3d52d44966b65a59a46a4765d5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-signzone.8,v 1.10 2000/07/31 19:39:42 bwelling Exp $
-.\" 
+.\"
+.\" $Id: dnssec-signzone.8,v 1.11 2000/08/01 01:18:52 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-SIGNZONE 8
 .Os BIND9 9
@@ -77,7 +77,7 @@ If there is a
 .Ar signedkey
 file from the zone's parent, the parent's signatures will be
 incorporated into the generated signed zone file.
-The security status of delegations from the the signed zone 
+The security status of delegations from the the signed zone
 - i.e. whether the child zones are DNSSEC-aware or not - is
 set according to the presence or absence of a
 .Ar signedkey
@@ -112,7 +112,7 @@ A relative start time is supplied when
 .Ar start-time
 is given as +N: N seconds from the current time.
 If no
-.Fl s 
+.Fl s
 option is supplied, the current date and time is used for the start
 time of the SIG records.
 .Pp
@@ -152,9 +152,9 @@ Otherwise, it is considered to be expiring soon, and
 will remove it and generate a new SIG record to replace it.
 .Pp
 The default cycle period is one quarter of the difference between the
-specified signature end and start dates.  So if the 
+specified signature end and start dates.  So if the
 .Fl e
-and 
+and
 .Fl s
 options are not specified,
 .Nm dnssec-signzone
@@ -223,12 +223,12 @@ which is the same as the origin, so there is no need to use the
 .Fl o
 option to set the origin.
 The zone's keys were either appended to the zone file or
-incorporated using a 
-.Dv $INCLUDE 
+incorporated using a
+.Dv $INCLUDE
 statement.
 If there was a
 .Ar signedkey
-file from the parent zone - i.e. 
+file from the parent zone - i.e.
 .Dv signedkey-example.com.
 - it should be present in the current directory.
 This allows the parent zone's signature to be included in the signed
index 82298efbfd5e6caa23119178aff88cb23772c445..384a4e31fa98802ac55832f5ae6ce01dd825baad 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec-signzone.c,v 1.84 2000/07/31 23:11:21 bwelling Exp $ */
+/* $Id: dnssec-signzone.c,v 1.85 2000/08/01 01:11:25 tale Exp $ */
 
 #include <config.h>
 
@@ -565,7 +565,7 @@ importparentsig(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
                if (result != ISC_R_SUCCESS)
                        break;
        }
-       if (result != ISC_R_NOMORE) 
+       if (result != ISC_R_NOMORE)
                goto failure;
 
        vbprintf(2, "found the parent's signature of our zone key\n");
@@ -808,7 +808,7 @@ signname(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
                                         nametostr(name));
                                dns_rdatalist_init(&keyrdatalist);
                                dstkey = NULL;
-                               
+
                                result = dst_key_generate(name, DNS_KEYALG_DSA,
                                                          0, 0,
                                                          DNS_KEYTYPE_NOKEY |
@@ -824,7 +824,7 @@ signname(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
                                dns_rdata_fromregion(&keyrdata,
                                                     rdataset.rdclass,
                                                     dns_rdatatype_key, &r);
-                               
+
                                ISC_LIST_APPEND(keyrdatalist.rdata, &keyrdata,
                                                link);
                                keyrdatalist.rdclass = rdataset.rdclass;
@@ -1325,7 +1325,7 @@ main(int argc, char *argv[]) {
                cycle = (endtime - starttime) / 4;
 
        setup_logging(verbose, mctx, &log);
-       
+
        argc -= isc_commandline_index;
        argv += isc_commandline_index;
 
index 4a604cf84ed9b81b79c0f021c86a817ebdef979e..2ac4b92a8028f30bf9fe066bfb81042f68750814 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssectool.c,v 1.14 2000/07/31 20:38:27 bwelling Exp $ */
+/* $Id: dnssectool.c,v 1.15 2000/08/01 01:11:26 tale Exp $ */
 
 #include <config.h>
 
@@ -143,7 +143,7 @@ setup_logging(int verbose, isc_mem_t *mctx, isc_log_t **logp) {
                level = ISC_LOG_DEBUG(verbose - 2 + 1);
                break;
        }
-       
+
        RUNTIME_CHECK(isc_log_create(mctx, &log, &logconfig) == ISC_R_SUCCESS);
        isc_log_setcontext(log);
        dns_log_init(log);
@@ -167,7 +167,7 @@ setup_logging(int verbose, isc_mem_t *mctx, isc_log_t **logp) {
                                       &destination,
                                       ISC_LOG_PRINTTAG|ISC_LOG_PRINTLEVEL);
        check_result(result, "isc_log_createchannel()");
-       
+
        RUNTIME_CHECK(isc_log_usechannel(logconfig, "stderr",
                                         NULL, NULL) == ISC_R_SUCCESS);
 
index 9a2dcf9ad1634505a132da4df438a71608af4825..8359007c9fbc1ffc037a66ce1c67ab16efdf8cd1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssectool.h,v 1.7 2000/07/27 09:36:35 tale Exp $ */
+/* $Id: dnssectool.h,v 1.8 2000/08/01 01:11:27 tale Exp $ */
 
 #ifndef DNSSECTOOL_H
 #define DNSSECTOOL_H 1
index 42c02ab06afab8b7667357c1ac1e8965e4900632..505013ff0c79faa43865b36aa7da4b7b1b63a500 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.11 2000/07/27 09:36:37 tale Exp $
+# $Id: Makefile.in,v 1.12 2000/08/01 01:11:29 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -23,9 +23,9 @@ top_srcdir =  @top_srcdir@
 
 @BIND9_INCLUDES@
 
-CINCLUDES =    ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} 
+CINCLUDES =    ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES}
 
-CDEFINES =     
+CDEFINES =
 CWARNINGS =
 
 DNSLIBS =      ../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@
index ea843909b9b44647411f0cc13fabff3a1257b060..62ccbd18798da4e8e669e4ec3131a131d062501c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.29 2000/07/27 09:36:38 tale Exp $ */
+/* $Id: client.c,v 1.30 2000/08/01 01:11:30 tale Exp $ */
 
 #include <config.h>
 
@@ -286,7 +286,7 @@ client_send(isc_task_t *task, isc_event_t *ev) {
 
        UNUSED(task);
        UNUSED(dev);
-       
+
        INSIST(CLIENT_ISSEND(client));
        INSIST(client->sendbuf == dev->region.base);
 
index 72eb24547c4a61fadfebd689e811db7bd6bda747..b37b8f0b215930ccff509030f917d58dbb2fba92 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.h,v 1.17 2000/07/27 09:36:39 tale Exp $ */
+/* $Id: client.h,v 1.18 2000/08/01 01:11:31 tale Exp $ */
 
 #ifndef LWD_CLIENT_H
 #define LWD_CLIENT_H 1
index 6eb63ddd434edae984e7a1961a6b66d4c3f55072..2fc68d5755c8af4cbd881910995cd32a96e8721f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: err_pkt.c,v 1.6 2000/07/27 09:36:40 tale Exp $ */
+/* $Id: err_pkt.c,v 1.7 2000/08/01 01:11:32 tale Exp $ */
 
 #include <config.h>
 
index 097a64df02ee7d0a639e201df27309a1ccdca2cc..cc46f4b6102e2ec04f0df4e3ed01a9d7a07f5a97 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: main.c,v 1.44 2000/07/27 09:36:41 tale Exp $ */
+/* $Id: main.c,v 1.45 2000/08/01 01:11:33 tale Exp $ */
 
 /*
  * Main program for the Lightweight Resolver Daemon.
  *
- * To paraphrase the old saying about X11, "It's not a lightweight deamon 
+ * To paraphrase the old saying about X11, "It's not a lightweight deamon
  * for resolvers, it's a deamon for lightweight resolvers".
  */
 
@@ -82,7 +82,7 @@ static isc_logcategory_t logcategories[] = {
 };
 
 #define LWRES_LOGCATEGORY_NETWORK      (&logcategories[0])
-       
+
 
 static isc_result_t
 create_view(isc_mem_t *mctx) {
@@ -91,8 +91,8 @@ create_view(isc_mem_t *mctx) {
        dns_db_t *rootdb;
        unsigned int attrs;
        dns_dispatch_t *disp4 = NULL;
-       dns_dispatch_t *disp6 = NULL;           
-       
+       dns_dispatch_t *disp6 = NULL;
+
        view = NULL;
        cache = NULL;
 
@@ -121,7 +121,7 @@ create_view(isc_mem_t *mctx) {
 
        if (isc_net_probeipv4() == ISC_R_SUCCESS) {
                isc_sockaddr_t any4;
-               
+
                isc_sockaddr_any(&any4);
                attrs = DNS_DISPATCHATTR_IPV4 | DNS_DISPATCHATTR_UDP;
                result = dns_dispatch_getudp(dispatchmgr, sockmgr,
@@ -133,9 +133,9 @@ create_view(isc_mem_t *mctx) {
 
        if (isc_net_probeipv6() == ISC_R_SUCCESS) {
                isc_sockaddr_t any6;
-               
+
                isc_sockaddr_any6(&any6);
-               
+
                attrs = DNS_DISPATCHATTR_IPV6 | DNS_DISPATCHATTR_UDP;
                result = dns_dispatch_getudp(dispatchmgr, sockmgr,
                                             taskmgr, &any6, 512, 6, 1024,
@@ -143,7 +143,7 @@ create_view(isc_mem_t *mctx) {
                if (result != ISC_R_SUCCESS)
                        goto out;
        }
-       
+
        result = dns_view_createresolver(view, taskmgr, 16, sockmgr,
                                         timermgr, 0, dispatchmgr,
                                         disp4, disp6);
@@ -152,7 +152,7 @@ create_view(isc_mem_t *mctx) {
                dns_dispatch_detach(&disp4);
        if (disp6 != NULL)
                dns_dispatch_detach(&disp6);
-       
+
        if (result != ISC_R_SUCCESS)
                goto out;
 
@@ -177,7 +177,7 @@ create_view(isc_mem_t *mctx) {
                        isc_mem_put(mctx, sa, sizeof (*sa));
                        sa = ISC_LIST_HEAD(forwarders);
                }
-                       
+
        }
 
        dns_view_freeze(view);
@@ -379,7 +379,7 @@ main(int argc, char **argv) {
                              isc_result_totext(result));
                exit(1);
        }
-                             
+
        INSIST(result == ISC_R_SUCCESS);
 
        cmgr = isc_mem_get(mem, sizeof(clientmgr_t) * NTASKS);
@@ -495,7 +495,7 @@ main(int argc, char **argv) {
        cmgr = NULL;
 
        dns_dispatchmgr_destroy(&dispatchmgr);
-       
+
        isc_log_destroy(&lctx);
 
        /*
index 674d67159499166a6ed89c94a34cd9d1caa002ff..6a92d2501b3955894cac20d24d604ee9e14b9a1d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: process_gabn.c,v 1.30 2000/07/27 09:36:42 tale Exp $ */
+/* $Id: process_gabn.c,v 1.31 2000/08/01 01:11:34 tale Exp $ */
 
 #include <config.h>
 
@@ -293,7 +293,7 @@ process_gabn_finddone(isc_task_t *task, isc_event_t *ev) {
                                client->find = NULL;
                        else
                                dns_adb_destroyfind(&client->find);
-                               
+
                }
                generate_reply(client);
                return;
index 87aedf37f62d3b9615214ba91b5221a12d2dce7b..baa90eb53ec02cd3eb47f87b7cb0bd4cdebc9b8a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: process_gnba.c,v 1.25 2000/07/27 09:36:44 tale Exp $ */
+/* $Id: process_gnba.c,v 1.26 2000/08/01 01:11:35 tale Exp $ */
 
 #include <config.h>
 
@@ -91,7 +91,7 @@ byaddr_done(isc_task_t *task, isc_event_t *event) {
                 * fails.
                 */
                client->options |= DNS_BYADDROPT_IPV6NIBBLE;
-               
+
                start_byaddr(client);
                return;
        }
index e2958f7413e00cfb3e6edda1b0d7b25e4a097e9c..ce60fe5bad8cde334e7317e2a2e6f807c0b05710 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: process_noop.c,v 1.8 2000/07/27 09:36:45 tale Exp $ */
+/* $Id: process_noop.c,v 1.9 2000/08/01 01:11:36 tale Exp $ */
 
 #include <config.h>
 
index 838ef3f1bf297a6993e6d69a50430c36b1f0b477..ef74c2816e4825c0cae0c885c55d063cfa87656a 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.52 2000/07/27 09:36:46 tale Exp $
+# $Id: Makefile.in,v 1.53 2000/08/01 01:11:38 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -27,7 +27,7 @@ CINCLUDES =   -I${srcdir}/include -I${srcdir}/unix/include \
                ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
                ${OMAPI_INCLUDES}
 
-CDEFINES =     
+CDEFINES =
 CWARNINGS =
 
 OMAPILIBS =    ../../lib/omapi/libomapi.@A@
index a489d69999cb28eb95d6521df8add604ec0b6399..b00826a7ea70a192fbb10b4c00b7be2492666739 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: aclconf.c,v 1.19 2000/07/27 09:45:50 tale Exp $ */
+/* $Id: aclconf.c,v 1.20 2000/08/01 01:22:08 tale Exp $ */
 
 #include <config.h>
 
@@ -34,7 +34,7 @@ dns_aclconfctx_init(dns_aclconfctx_t *ctx) {
 
 void
 dns_aclconfctx_destroy(dns_aclconfctx_t *ctx) {
-       dns_acl_t *dacl, *next; 
+       dns_acl_t *dacl, *next;
        for (dacl = ISC_LIST_HEAD(ctx->named_acl_cache);
             dacl != NULL;
             dacl = next)
@@ -103,7 +103,7 @@ convert_keyname(char *txtname, isc_mem_t *mctx, dns_name_t *dnsname) {
        }
        return (dns_name_dup(dns_fixedname_name(&fixname), mctx, dnsname));
 }
-              
+
 isc_result_t
 dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
                   dns_c_ctx_t *cctx,
@@ -118,7 +118,7 @@ dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
        dns_c_ipmatchelement_t *ce;
 
        REQUIRE(target != NULL && *target == NULL);
-       
+
        count = 0;
        for (ce = ISC_LIST_HEAD(caml->elements);
             ce != NULL;
@@ -128,7 +128,7 @@ dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
        result = dns_acl_create(mctx, count, &dacl);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        de = dacl->elements;
        for (ce = ISC_LIST_HEAD(caml->elements);
             ce != NULL;
@@ -192,7 +192,7 @@ dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
 
        *target = dacl;
        return (ISC_R_SUCCESS);
-       
+
  cleanup:
        dns_acl_detach(&dacl);
        return (result);
index ccab520f78115900c28ab5e3758207ef2853eea2..4e083736bc99ee6f793058a326a5fd4f2d5b2891 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.105 2000/07/27 09:36:48 tale Exp $ */
+/* $Id: client.c,v 1.106 2000/08/01 01:11:39 tale Exp $ */
 
 #include <config.h>
 
@@ -114,7 +114,7 @@ struct ns_clientmgr {
 
 #define NS_CLIENTSTATE_INACTIVE 1
 /*
- * The client object exists and has a task and timer.  
+ * The client object exists and has a task and timer.
  * Its "query" struct and sendbuf are initialized.
  * It is on the client manager's list of inactive clients.
  * It has a message and OPT, both in the reset state.
@@ -136,7 +136,7 @@ struct ns_clientmgr {
 #define NS_CLIENTSTATE_READING  3
 /*
  * The client object is a TCP client object that has received
- * a connection.  It has a tcpsocket, tcpmsg, TCP quota, and an 
+ * a connection.  It has a tcpsocket, tcpmsg, TCP quota, and an
  * outstanding TCP read request.  This state is not used for
  * UDP client objects.
  */
@@ -147,7 +147,7 @@ struct ns_clientmgr {
  * on it.  It has a view, and it may  have any of a non-reset OPT,
  * recursion quota, and an outstanding write request.  If it
  * is a UDP client object, it has a dispatch event.
- */ 
+ */
 
 #define NS_CLIENTSTATE_MAX      9
 /*
@@ -175,11 +175,11 @@ static void client_request(isc_task_t *task, isc_event_t *event);
 static void
 client_deactivate(ns_client_t *client) {
        REQUIRE(NS_CLIENT_VALID(client));
-       
+
        if (client->interface)
                ns_interface_detach(&client->interface);
 
-       INSIST(client->naccepts == 0);  
+       INSIST(client->naccepts == 0);
        if (client->tcplistener != NULL)
                isc_socket_detach(&client->tcplistener);
 
@@ -193,8 +193,8 @@ client_deactivate(ns_client_t *client) {
        }
        if (client->dispatch != NULL)
                dns_dispatch_detach(&client->dispatch);
-       
-       client->attributes = 0; 
+
+       client->attributes = 0;
        client->mortal = ISC_FALSE;
 
        LOCK(&client->manager->lock);
@@ -214,7 +214,7 @@ static void
 client_free(ns_client_t *client) {
        isc_boolean_t need_clientmgr_destroy = ISC_FALSE;
        ns_clientmgr_t *manager = NULL;
-       
+
        REQUIRE(NS_CLIENT_VALID(client));
 
        /*
@@ -228,7 +228,7 @@ client_free(ns_client_t *client) {
        ns_query_free(client);
        isc_mem_put(client->mctx, client->sendbuf, SEND_BUFFER_SIZE);
        isc_timer_detach(&client->timer);
-       
+
        if (client->tcpbuf != NULL)
                isc_mem_put(client->mctx, client->tcpbuf, TCP_BUFFER_SIZE);
        if (client->opt != NULL) {
@@ -254,7 +254,7 @@ client_free(ns_client_t *client) {
        CTRACE("free");
        client->magic = 0;
        isc_mem_put(client->mctx, client, sizeof *client);
-       
+
        if (need_clientmgr_destroy)
                clientmgr_destroy(manager);
 }
@@ -263,7 +263,7 @@ static void
 set_timeout(ns_client_t *client, unsigned int seconds) {
        isc_result_t result;
        isc_interval_t interval;
-       
+
        isc_interval_set(&interval, seconds, 0);
        result = isc_timer_reset(client->timer, isc_timertype_once, NULL,
                                 &interval, ISC_FALSE);
@@ -302,7 +302,7 @@ exit_check(ns_client_t *client) {
         *
         */
        if (client->newstate == NS_CLIENTSTATE_FREED && client->view != NULL)
-               dns_view_detach(&client->view); 
+               dns_view_detach(&client->view);
 
        if (client->state == NS_CLIENTSTATE_WORKING) {
                INSIST(client->newstate <= NS_CLIENTSTATE_READING);
@@ -380,7 +380,7 @@ exit_check(ns_client_t *client) {
                 * active and force it to go inactive if not.
                 */
                ns_client_checkactive(client);
-               
+
                if (NS_CLIENTSTATE_READY == client->newstate) {
                        if (TCP_CLIENT(client)) {
                                client_accept(client);
@@ -400,14 +400,14 @@ exit_check(ns_client_t *client) {
        }
 
        if (client->state == NS_CLIENTSTATE_READY) {
-               INSIST(client->newstate <= NS_CLIENTSTATE_INACTIVE);        
+               INSIST(client->newstate <= NS_CLIENTSTATE_INACTIVE);
                /*
                 * We are trying to enter the inactive state.
                 */
                if (client->naccepts > 0)
                        isc_socket_cancel(client->tcplistener, client->task,
                                          ISC_SOCKCANCEL_ACCEPT);
-               
+
                if (! (client->naccepts == 0)) {
                        /* Still waiting for accept cancel completion. */
                        return (ISC_TRUE);
@@ -443,7 +443,7 @@ client_start(isc_task_t *task, isc_event_t *event) {
        isc_result_t result;
 
        INSIST(task == client->task);
-       
+
        UNUSED(task);
 
        if (TCP_CLIENT(client)) {
@@ -454,7 +454,7 @@ client_start(isc_task_t *task, isc_event_t *event) {
                                                 client_request,
                                                 client,
                                                 &client->dispentry);
-               
+
                if (result != ISC_R_SUCCESS) {
                        ns_client_log(client,
                                      DNS_LOGCATEGORY_SECURITY,
@@ -464,7 +464,7 @@ client_start(isc_task_t *task, isc_event_t *event) {
                                      "failed: %s",
                                      isc_result_totext(result));
                        /*
-                        * Not much we can do here but log the failure; 
+                        * Not much we can do here but log the failure;
                         * the client will effectively go idle.
                         */
                }
@@ -531,7 +531,7 @@ ns_client_endrequest(ns_client_t *client) {
                isc_quota_detach(&client->recursionquota);
 
        /*
-        * Clear all client attributes that are specific to 
+        * Clear all client attributes that are specific to
         * the request; that's all except the TCP flag.
         */
        client->attributes &= NS_CLIENTATTR_TCP;
@@ -542,7 +542,7 @@ ns_client_checkactive(ns_client_t *client) {
        if (client->mortal) {
                /*
                 * This client object should normally go inactive
-                * at this point, but if we have fewer active client 
+                * at this point, but if we have fewer active client
                 * objects than  desired due to earlier quota exhaustion,
                 * keep it active to make up for the shortage.
                 */
@@ -550,7 +550,7 @@ ns_client_checkactive(ns_client_t *client) {
                if (TCP_CLIENT(client)) {
                        LOCK(&client->interface->lock);
                        if (client->interface->ntcpcurrent <
-                           client->interface->ntcptarget) 
+                           client->interface->ntcptarget)
                                need_another_client = ISC_TRUE;
                        UNLOCK(&client->interface->lock);
                } else {
@@ -574,12 +574,12 @@ ns_client_checkactive(ns_client_t *client) {
 void
 ns_client_next(ns_client_t *client, isc_result_t result) {
        int newstate;
-       
+
        REQUIRE(NS_CLIENT_VALID(client));
        REQUIRE(client->state == NS_CLIENTSTATE_WORKING);
 
        CTRACE("next");
-       
+
        if (result != ISC_R_SUCCESS)
                ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
                              NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
@@ -624,7 +624,7 @@ client_senddone(isc_task_t *task, isc_event_t *event) {
 
        INSIST(client->nsends > 0);
        client->nsends--;
-       
+
        if (client->tcpbuf != NULL) {
                INSIST(TCP_CLIENT(client));
                isc_mem_put(client->mctx, client->tcpbuf, TCP_BUFFER_SIZE);
@@ -657,7 +657,7 @@ ns_client_send(ns_client_t *client) {
 
        if ((client->attributes & NS_CLIENTATTR_RA) != 0)
                client->message->flags |= DNS_MESSAGEFLAG_RA;
-       
+
        /*
         * XXXRTH  The following doesn't deal with TSIGs, TCP buffer resizing,
         *         or ENDS1 more data packets.
@@ -689,7 +689,7 @@ ns_client_send(ns_client_t *client) {
                goto done;
        if (client->opt != NULL) {
                result = dns_message_setopt(client->message, client->opt);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        goto done;
                /*
                 * XXXRTH dns_message_setopt() should probably do this...
@@ -757,7 +757,7 @@ ns_client_send(ns_client_t *client) {
        }
        ns_client_next(client, result);
 }
-       
+
 void
 ns_client_error(ns_client_t *client, isc_result_t result) {
        dns_rcode_t rcode;
@@ -844,7 +844,7 @@ client_addopt(ns_client_t *client) {
        ISC_LIST_INIT(rdatalist->rdata);
        ISC_LIST_APPEND(rdatalist->rdata, rdata, link);
        dns_rdatalist_tordataset(rdatalist, rdataset);
-       
+
        client->opt = rdataset;
 
        return (ISC_R_SUCCESS);
@@ -871,7 +871,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
        REQUIRE(task == client->task);
 
        UNUSED(task);
-       
+
        INSIST(client->recursionquota == NULL);
 
        INSIST(client->state ==
@@ -993,7 +993,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
 
        /*
         * Find a view that matches the client's source address.
-        * 
+        *
         * XXXRTH  View list management code will be moving to its own module
         *         soon.
         */
@@ -1029,7 +1029,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
        ns_client_log(client, NS_LOGCATEGORY_CLIENT,
                      NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(5),
                      "using view '%s'", view->name);
-       
+
        /*
         * Lock the view's configuration data for reading.
         * We must attach a separate view reference for this
@@ -1043,7 +1043,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
        RWLOCK(&client->lockview->conflock, isc_rwlocktype_read);
 
        /*
-        * Check for a signature.  We log bad signatures regardless of 
+        * Check for a signature.  We log bad signatures regardless of
         * whether they ultimately cause the request to be rejected or
         * not.  We do not log the lack of a signature unless we are
         * debugging.
@@ -1143,7 +1143,7 @@ client_timeout(isc_task_t *task, isc_event_t *event) {
        REQUIRE(client->timer != NULL);
 
        UNUSED(task);
-       
+
        CTRACE("timeout");
 
        isc_event_free(&event);
@@ -1153,7 +1153,7 @@ client_timeout(isc_task_t *task, isc_event_t *event) {
                client->shutdown = NULL;
                client->shutdown_arg = NULL;
        }
-       
+
        if (client->newstate > NS_CLIENTSTATE_READY)
                client->newstate = NS_CLIENTSTATE_READY;
        (void) exit_check(client);
@@ -1168,7 +1168,7 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp)
        /*
         * Caller must be holding the manager lock.
         *
-        * Note: creating a client does not add the client to the 
+        * Note: creating a client does not add the client to the
         * manager's client list or set the client's manager pointer.
         * The caller is responsible for that.
         */
@@ -1280,7 +1280,7 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp)
 static void
 client_read(ns_client_t *client) {
        isc_result_t result;
-       
+
        CTRACE("read");
 
        result = dns_tcpmsg_readmessage(&client->tcpmsg, client->task,
@@ -1293,14 +1293,14 @@ client_read(ns_client_t *client) {
         * for a request on this TCP connection.
         */
        set_timeout(client, 30);
-       
+
        client->state = client->newstate = NS_CLIENTSTATE_READING;
        INSIST(client->nreads == 0);
        client->nreads++;
 
        return;
  fail:
-       ns_client_next(client, result); 
+       ns_client_next(client, result);
 }
 
 static void
@@ -1308,7 +1308,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
        ns_client_t *client = event->ev_arg;
        isc_socket_newconnev_t *nevent = (isc_socket_newconnev_t *)event;
        isc_result_t result;
-       
+
        REQUIRE(event->ev_type == ISC_SOCKEVENT_NEWCONN);
        REQUIRE(NS_CLIENT_VALID(client));
        REQUIRE(client->task == task);
@@ -1355,7 +1355,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
                              "accept failed: %s",
                              isc_result_totext(nevent->result));
        }
-       
+
        if (exit_check(client))
                goto freeevent;
 
@@ -1383,7 +1383,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
                }
                client_read(client);
        }
-       
+
  freeevent:
        isc_event_free(&event);
 }
@@ -1420,7 +1420,7 @@ void
 ns_client_attach(ns_client_t *source, ns_client_t **targetp) {
        REQUIRE(NS_CLIENT_VALID(source));
        REQUIRE(targetp != NULL && *targetp == NULL);
-       
+
        source->references++;
        *targetp = source;
 }
@@ -1428,7 +1428,7 @@ ns_client_attach(ns_client_t *source, ns_client_t **targetp) {
 void
 ns_client_detach(ns_client_t **clientp) {
        ns_client_t *client = *clientp;
-       
+
        client->references--;
        INSIST(client->references >= 0);
        *clientp = NULL;
@@ -1454,8 +1454,8 @@ ns_client_replace(ns_client_t *client) {
                return (result);
 
        /*
-        * The responsibility for listening for new requests is hereby 
-        * transferred to the new client.  Therefore, the old client 
+        * The responsibility for listening for new requests is hereby
+        * transferred to the new client.  Therefore, the old client
         * should refrain from listening for any more requests.
         */
        client->mortal = ISC_TRUE;
@@ -1492,7 +1492,7 @@ ns_clientmgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        result = isc_mutex_init(&manager->lock);
        if (result != ISC_R_SUCCESS)
                goto cleanup_manager;
-       
+
        manager->mctx = mctx;
        manager->taskmgr = taskmgr;
        manager->timermgr = timermgr;
@@ -1518,7 +1518,7 @@ ns_clientmgr_destroy(ns_clientmgr_t **managerp) {
        ns_clientmgr_t *manager;
        ns_client_t *client;
        isc_boolean_t need_destroy = ISC_FALSE;
-       
+
        REQUIRE(managerp != NULL);
        manager = *managerp;
        REQUIRE(VALID_MANAGER(manager));
@@ -1591,7 +1591,7 @@ ns_clientmgr_createclients(ns_clientmgr_t *manager, unsigned int n,
                }
 
                client->state = NS_CLIENTSTATE_READY;
-               
+
                ns_interface_attach(ifp, &client->interface);
 
                if (tcp) {
@@ -1644,7 +1644,7 @@ ns_client_checkacl(ns_client_t  *client,
        }
 
        isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
-       
+
        result = dns_acl_match(&netaddr, client->signer, acl,
                               &ns_g_server->aclenv,
                               &match, NULL);
index bfd3e545d8176dc7f3351095dec18e24188e344d..7a50d60cadd78866534d1dadd44c29bdb2a6801c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: aclconf.h,v 1.8 2000/07/27 09:47:20 tale Exp $ */
+/* $Id: aclconf.h,v 1.9 2000/08/01 01:23:38 tale Exp $ */
 
 #ifndef DNS_ACLCONF_H
 #define DNS_ACLCONF_H 1
index 7f4f754786dfeb20ffb3cba9d50467908233b51a..9f5dffdd7193a908be267c59c9988a1ab47602ca 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.h,v 1.39 2000/07/27 09:37:11 tale Exp $ */
+/* $Id: client.h,v 1.40 2000/08/01 01:12:03 tale Exp $ */
 
 #ifndef NAMED_CLIENT_H
 #define NAMED_CLIENT_H 1
  * Each ns_client_t object can handle only one TCP connection or UDP
  * request at a time.  Therefore, several ns_client_t objects are
  * typically created to serve each network interface, e.g., one
- * for handling TCP requests and a few (one per CPU) for handling 
+ * for handling TCP requests and a few (one per CPU) for handling
  * UDP requests.
  *
  * Incoming requests are classified as queries, zone transfer
- * requests, update requests, notify requests, etc, and handed off 
+ * requests, update requests, notify requests, etc, and handed off
  * to the appropriate request handler.  When the request has been
- * fully handled (which can be much later), the ns_client_t must be 
- * notified of this by calling one of the following functions 
+ * fully handled (which can be much later), the ns_client_t must be
+ * notified of this by calling one of the following functions
  * exactly once in the context of its task:
  *
  *   ns_client_send()  (sending a non-error response)
  *   ns_client_error() (sending an error response)
  *   ns_client_next()  (sending no response)
  *
- * This will release any resources used by the request and 
+ * This will release any resources used by the request and
  * and allow the ns_client_t to listen for the next request.
  *
  * A ns_clientmgr_t manages a number of ns_client_t objects.
@@ -165,7 +165,7 @@ ns_client_error(ns_client_t *client, isc_result_t result);
 void
 ns_client_next(ns_client_t *client, isc_result_t result);
 /*
- * Finish processing the current client request, 
+ * Finish processing the current client request,
  * return no response to the client.
  */
 
@@ -239,7 +239,7 @@ ns_client_checkacl(ns_client_t  *client,
  * Log messages will refer to the request as an 'opname' request.
  *
  * Notes:
- *     This is appropriate for checking allow-update, 
+ *     This is appropriate for checking allow-update,
  *     allow-query, allow-transfer, etc.  It is not appropriate
  *     for checking the blackhole list because we treat positive
  *     matches as "allow" and negative matches as "deny"; in
index 7d92c0523d055977766aed011da2027e60faff7e..63ea57df826af16fc3bdad6831f93e9835137a32 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: globals.h,v 1.43 2000/07/27 09:37:12 tale Exp $ */
+/* $Id: globals.h,v 1.44 2000/08/01 01:12:04 tale Exp $ */
 
 #ifndef NAMED_GLOBALS_H
 #define NAMED_GLOBALS_H 1
index 29b7875220af1490c5b568556758b25b6c249032..0e25d998c9265b033e612314b856ffd3435e9d78 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: interfacemgr.h,v 1.18 2000/07/27 09:37:13 tale Exp $ */
+/* $Id: interfacemgr.h,v 1.19 2000/08/01 01:12:05 tale Exp $ */
 
 #ifndef NAMED_INTERFACEMGR_H
 #define NAMED_INTERFACEMGR_H 1
@@ -27,8 +27,8 @@
 /*
  * Interface manager
  *
- * The interface manager monitors the operating system's list 
- * of network interfaces, creating and destroying listeners 
+ * The interface manager monitors the operating system's list
+ * of network interfaces, creating and destroying listeners
  * as needed.
  *
  * Reliability:
@@ -62,7 +62,7 @@
  *** Types
  ***/
 
-#define IFACE_MAGIC            0x493A2D29U     /* I:-). */     
+#define IFACE_MAGIC            0x493A2D29U     /* I:-). */
 #define NS_INTERFACE_VALID(t)  ISC_MAGIC_VALID(t, IFACE_MAGIC)
 
 struct ns_interface {
@@ -103,7 +103,7 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
 void
 ns_interfacemgr_attach(ns_interfacemgr_t *source, ns_interfacemgr_t **target);
 
-void 
+void
 ns_interfacemgr_detach(ns_interfacemgr_t **targetp);
 
 void
@@ -149,7 +149,7 @@ ns_interfacemgr_getaclenv(ns_interfacemgr_t *mgr);
 void
 ns_interface_attach(ns_interface_t *source, ns_interface_t **target);
 
-void 
+void
 ns_interface_detach(ns_interface_t **targetp);
 
 #endif /* NAMED_INTERFACEMGR_H */
index 770569e22096fe0bb10ebba66d83fcc95a6f68e1..1f773629cf8ada4fc4e7519bacbe60324a2b8b0d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: listenlist.h,v 1.8 2000/07/27 09:37:14 tale Exp $ */
+/* $Id: listenlist.h,v 1.9 2000/08/01 01:12:06 tale Exp $ */
 
 #ifndef NAMED_LISTENLIST_H
 #define NAMED_LISTENLIST_H 1
index 65cfc7a345d97c23261d2f70716b689edaac9e4d..6a454fd9de136453a750a7b891b1141e67dd1800 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.h,v 1.14 2000/07/27 09:37:16 tale Exp $ */
+/* $Id: log.h,v 1.15 2000/08/01 01:12:07 tale Exp $ */
 
 #ifndef NAMED_LOG_H
 #define NAMED_LOG_H 1
@@ -55,7 +55,7 @@ ns_log_init(isc_boolean_t safe);
  * Initialize the logging system and set up an initial default
  * logging default configuration that will be used until the
  * config file has been read.
- * 
+ *
  * If 'safe' is true, use a default configuration that refrains
  * from opening files.  This is to avoid creating log files
  * as root.
index 6cbecb754fe99ce9addecff5f393c463f2dd5e91..18502a255c3e4e0957444cdb7775ff57fa1e9e9d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: logconf.h,v 1.7 2000/07/27 09:37:17 tale Exp $ */
+/* $Id: logconf.h,v 1.8 2000/08/01 01:12:08 tale Exp $ */
 
 #ifndef NAMED_LOGCONF_H
 #define NAMED_LOGCONF_H 1
index 683c70b9d8948df42dfd18c6bbea47e107089699..eaa11f2ac0c1b6a7ab03c1a7da225817a2c8275d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwdclient.h,v 1.4 2000/07/27 09:37:18 tale Exp $ */
+/* $Id: lwdclient.h,v 1.5 2000/08/01 01:12:09 tale Exp $ */
 
 #ifndef NAMED_LWDCLIENT_H
 #define NAMED_LWDCLIENT_H 1
index 29f62069b2a4723fd26470ed43d68b1de901efa1..695f2d34fd18f83f21f7d0c8eb91ccc9be957dc7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwresd.h,v 1.4 2000/07/27 09:37:19 tale Exp $ */
+/* $Id: lwresd.h,v 1.5 2000/08/01 01:12:10 tale Exp $ */
 
 #ifndef NAMED_LWRESD_H
 #define NAMED_LWRESD_H 1
index bb58a5dd99f9710856631026ea197bc8ad6786ff..a33fec15f576ac7574162fb4b90b98671c1d0885 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: main.h,v 1.5 2000/07/27 09:37:20 tale Exp $ */
+/* $Id: main.h,v 1.6 2000/08/01 01:12:11 tale Exp $ */
 
 #ifndef NAMED_MAIN_H
 #define NAMED_MAIN_H 1
index ea5ef80e29a8dff631445fd9fb1552cec0444b72..e5d07e14448f21797ebf7396e9cd86303e39f22d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: notify.h,v 1.7 2000/07/27 09:37:21 tale Exp $ */
+/* $Id: notify.h,v 1.8 2000/08/01 01:12:12 tale Exp $ */
 
 #ifndef NAMED_NOTIFY_H
 #define NAMED_NOTIFY_H 1
index 09620aa36789bc27803753c813180b3c51e756d5..33b86099191e441ed35fa2508a247b267a2de6ee 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: omapi.h,v 1.9 2000/07/27 09:37:22 tale Exp $ */
+/* $Id: omapi.h,v 1.10 2000/08/01 01:12:14 tale Exp $ */
 
 #ifndef NAMED_OMAPI_H
 #define NAMED_OMAPI_H 1
index 467436c4af8d2958a18822be60bccddecdb54617..f2dffc166abae1d60eb6d9c43e43402db845d3a6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.h,v 1.20 2000/07/31 21:06:58 explorer Exp $ */
+/* $Id: query.h,v 1.21 2000/08/01 01:12:15 tale Exp $ */
 
 #ifndef NAMED_QUERY_H
 #define NAMED_QUERY_H 1
index d570489a74c16435cd27cb85cf2e2158e0b36a8c..e22e40d265664d21c5681775d31927e3377ac581 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: server.h,v 1.34 2000/07/27 09:37:25 tale Exp $ */
+/* $Id: server.h,v 1.35 2000/08/01 01:12:16 tale Exp $ */
 
 #ifndef NAMED_SERVER_H
 #define NAMED_SERVER_H 1
@@ -43,7 +43,7 @@ struct ns_server {
 
        /* Common rwlock for the server's configurable data. */
        isc_rwlock_t            conflock;
-       
+
        /* Configurable data. */
        isc_quota_t             xfroutquota;
        isc_quota_t             tcpquota;
@@ -60,7 +60,7 @@ struct ns_server {
        dns_db_t *              in_roothints;
        dns_tkeyctx_t *         tkeyctx;
        isc_timer_t *           interface_timer;
-       
+
        isc_mutex_t             reload_event_lock;
        isc_event_t *           reload_event;
 };
index bd4beac695231323d4359fbb33263336aa09dbf5..257a7becc5cb6b0d1cd502ed00ed842e1a1d3254 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkeyconf.h,v 1.5 2000/07/27 09:48:31 tale Exp $ */
+/* $Id: tkeyconf.h,v 1.6 2000/08/01 01:24:49 tale Exp $ */
 
 #ifndef DNS_TKEYCONF_H
 #define DNS_TKEYCONF_H 1
@@ -45,7 +45,7 @@ dns_tkeyctx_fromconfig(dns_c_ctx_t *cfg, isc_mem_t *mctx, isc_entropy_t *ectx,
  *             ISC_R_SUCCESS
  *             ISC_R_NOMEMORY
  */
+
 ISC_LANG_ENDDECLS
 
 #endif /* DNS_TKEYCONF_H */
index 97bf2ecca3d3c3f19952838790b453e2bb68dd68..f9689a524bca62ca18e0cbbe91171ef131377d31 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsigconf.h,v 1.5 2000/07/27 09:48:33 tale Exp $ */
+/* $Id: tsigconf.h,v 1.6 2000/08/01 01:24:51 tale Exp $ */
 
 #ifndef DNS_TSIGCONF_H
 #define DNS_TSIGCONF_H 1
@@ -43,7 +43,7 @@ dns_tsigkeyring_fromconfig(dns_c_view_t *confview, dns_c_ctx_t *confctx,
  *             ISC_R_SUCCESS
  *             ISC_R_NOMEMORY
  */
+
 ISC_LANG_ENDDECLS
 
 #endif /* DNS_TSIGCONF_H */
index 7954cc2d32aecb959acc312b06701e5032f4434e..d2e44871b9761987741cfc11cddcf63cb87d578c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: types.h,v 1.14 2000/07/27 09:37:26 tale Exp $ */
+/* $Id: types.h,v 1.15 2000/08/01 01:12:17 tale Exp $ */
 
 #ifndef NAMED_TYPES_H
 #define NAMED_TYPES_H 1
index 5ada553b3cb47dc6919c28b0dbd079218d8e4e5c..a8a756ee12f1611b496f3b61a870638e80219b4e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.h,v 1.5 2000/07/27 09:37:27 tale Exp $ */
+/* $Id: update.h,v 1.6 2000/08/01 01:12:18 tale Exp $ */
 
 #ifndef NAMED_UPDATE_H
 #define NAMED_UPDATE_H 1
index 1f2164d286a502114c4f9e577aaf6a38384d590d..85b8b5761a7d2d2557f10c1ba8b0e049af45e71b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: xfrout.h,v 1.5 2000/07/27 09:37:28 tale Exp $ */
+/* $Id: xfrout.h,v 1.6 2000/08/01 01:12:19 tale Exp $ */
 
 #ifndef NAMED_XFROUT_H
 #define NAMED_XFROUT_H 1
index 4cb86be221c57c5777cd05e2f795c895f0d1ca17..5326b3c9b9290ea0902407b109f807320d091e9f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zoneconf.h,v 1.12 2000/07/27 09:48:41 tale Exp $ */
+/* $Id: zoneconf.h,v 1.13 2000/08/01 01:24:59 tale Exp $ */
 
 #ifndef DNS_ZONECONF_H
 #define DNS_ZONECONF_H 1
index 24ca6a38babdf935a023e3dbcdbe413bd3e831d9..a3b241914078f5ee3b567b817c47d9ad2b23497d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: interfacemgr.c,v 1.47 2000/07/27 09:36:49 tale Exp $ */
+/* $Id: interfacemgr.c,v 1.48 2000/08/01 01:11:40 tale Exp $ */
 
 #include <config.h>
 
@@ -31,7 +31,7 @@
 #include <named/log.h>
 #include <named/interfacemgr.h>
 
-#define IFMGR_MAGIC            0x49464D47U     /* IFMG. */     
+#define IFMGR_MAGIC            0x49464D47U     /* IFMG. */
 #define NS_INTERFACEMGR_VALID(t) ISC_MAGIC_VALID(t, IFMGR_MAGIC)
 
 #define IFMGR_COMMON_LOGARGS \
@@ -68,7 +68,7 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        REQUIRE(mctx != NULL);
        REQUIRE(mgrp != NULL);
        REQUIRE(*mgrp == NULL);
-       
+
        mgr = isc_mem_get(mctx, sizeof(*mgr));
        if (mgr == NULL)
                return (ISC_R_NOMEMORY);
@@ -84,7 +84,7 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        mgr->clientmgr = clientmgr;
        mgr->generation = 1;
        mgr->listenon4 = NULL;
-       mgr->listenon6 = NULL;  
+       mgr->listenon6 = NULL;
        ISC_LIST_INIT(mgr->interfaces);
 
        /*
@@ -98,7 +98,7 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        result = dns_aclenv_init(mctx, &mgr->aclenv);
        if (result != ISC_R_SUCCESS)
                goto cleanup_listenon;
-       
+
        mgr->references = 1;
        mgr->magic = IFMGR_MAGIC;
        *mgrp = mgr;
@@ -138,7 +138,7 @@ ns_interfacemgr_attach(ns_interfacemgr_t *source, ns_interfacemgr_t **target) {
        *target = source;
 }
 
-void 
+void
 ns_interfacemgr_detach(ns_interfacemgr_t **targetp) {
        isc_result_t need_destroy = ISC_FALSE;
        ns_interfacemgr_t *target = *targetp;
@@ -175,7 +175,7 @@ ns_interface_create(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
 {
         ns_interface_t *ifp;
        isc_result_t result;
-       
+
        REQUIRE(NS_INTERFACEMGR_VALID(mgr));
        ifp = isc_mem_get(mgr->mctx, sizeof(*ifp));
        if (ifp == NULL)
@@ -204,7 +204,7 @@ ns_interface_create(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
        isc_task_setname(ifp->task, "ifp", ifp);
 
        ifp->udpdispatch = NULL;
-       
+
        ifp->tcpsocket = NULL;
        /*
         * Create a single TCP client object.  It will replace itself
@@ -215,7 +215,7 @@ ns_interface_create(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
        ifp->ntcptarget = 1;
        ifp->ntcpcurrent = 0;
 
-       ns_interfacemgr_attach(mgr, &ifp->mgr); 
+       ns_interfacemgr_attach(mgr, &ifp->mgr);
        ISC_LIST_APPEND(mgr->interfaces, ifp, link);
 
        ifp->references = 1;
@@ -238,7 +238,7 @@ ns_interface_listenudp(ns_interface_t *ifp) {
        isc_result_t result;
        unsigned int attrs;
        unsigned int attrmask;
-       
+
        attrs = 0;
        attrs |= DNS_DISPATCHATTR_UDP;
        if (isc_sockaddr_pf(&ifp->addr) == AF_INET)
@@ -278,7 +278,7 @@ ns_interface_listenudp(ns_interface_t *ifp) {
 static isc_result_t
 ns_interface_accepttcp(ns_interface_t *ifp) {
        isc_result_t result;
-       
+
        /*
         * Open a TCP socket.
         */
@@ -333,7 +333,7 @@ ns_interface_setup(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
        isc_result_t result;
        ns_interface_t *ifp = NULL;
        REQUIRE(ifpret != NULL && *ifpret == NULL);
-       
+
        result = ns_interface_create(mgr, addr, name, &ifp);
        if (result != ISC_R_SUCCESS)
                return (result);
@@ -354,9 +354,9 @@ ns_interface_setup(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
        }
        *ifpret = ifp;
        return (ISC_R_SUCCESS);
-       
+
  cleanup_interface:
-       ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);       
+       ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);
        ns_interface_detach(&ifp);
        return (result);
 }
@@ -376,7 +376,7 @@ ns_interface_destroy(ns_interface_t *ifp) {
        isc_mutex_destroy(&ifp->lock);
 
        ns_interfacemgr_detach(&ifp->mgr);
-       
+
        ifp->magic = 0;
        isc_mem_put(mctx, ifp, sizeof(*ifp));
 }
@@ -391,7 +391,7 @@ ns_interface_attach(ns_interface_t *source, ns_interface_t **target) {
        *target = source;
 }
 
-void 
+void
 ns_interface_detach(ns_interface_t **targetp) {
        isc_result_t need_destroy = ISC_FALSE;
        ns_interface_t *target = *targetp;
@@ -472,7 +472,7 @@ do_ipv4(ns_interfacemgr_t *mgr) {
        result = clearacl(mgr->mctx, &mgr->aclenv.localnets);
        if (result != ISC_R_SUCCESS)
                goto cleanup_iter;
-       
+
        for (result = isc_interfaceiter_first(iter);
             result == ISC_R_SUCCESS;
             result = isc_interfaceiter_next(iter))
@@ -482,7 +482,7 @@ do_ipv4(ns_interfacemgr_t *mgr) {
                ns_listenelt_t *le;
                dns_aclelement_t elt;
                unsigned int prefixlen;
-               
+
                result = isc_interfaceiter_current(iter, &interface);
                if (result != ISC_R_SUCCESS)
                        break;
@@ -509,7 +509,7 @@ do_ipv4(ns_interfacemgr_t *mgr) {
                result = dns_acl_appendelement(mgr->aclenv.localhost, &elt);
                if (result != ISC_R_SUCCESS)
                        goto ignore_interface;
-               
+
                for (le = ISC_LIST_HEAD(mgr->listenon4->elts);
                     le != NULL;
                     le = ISC_LIST_NEXT(le, link))
@@ -537,7 +537,7 @@ do_ipv4(ns_interfacemgr_t *mgr) {
                                               &match, NULL);
                        if (match <= 0)
                                continue;
-                       
+
                        ifp = find_matching_interface(mgr, &listen_sockaddr);
                        if (ifp != NULL) {
                                ifp->generation = mgr->generation;
@@ -549,7 +549,7 @@ do_ipv4(ns_interfacemgr_t *mgr) {
                                              ISC_LOG_INFO,
                                              "listening on IPv4 interface "
                                              "%s, %s", interface.name, sabuf);
-                               
+
                                result = ns_interface_setup(mgr,
                                                            &listen_sockaddr,
                                                            interface.name,
@@ -609,7 +609,7 @@ listenon_is_ip6_any(ns_listenlist_t *p, in_port_t *portp) {
        if (ISC_LIST_NEXT(elt, link) != NULL)
                return (ISC_FALSE); /* More than one listen-on-v6 stmt */
        if (elt->acl->length != 1)
-               return (ISC_FALSE); 
+               return (ISC_FALSE);
        if (elt->acl->elements[0].negative == ISC_FALSE &&
            elt->acl->elements[0].type == dns_aclelementtype_any) {
                *portp = elt->port;
@@ -628,14 +628,14 @@ do_ipv6(ns_interfacemgr_t *mgr) {
 
        if (listenon_is_ip6_none(mgr->listenon6))
                return;
-       
+
        if (! listenon_is_ip6_any(mgr->listenon6, &port)) {
                isc_log_write(IFMGR_COMMON_LOGARGS,
-                     ISC_LOG_ERROR,                    
+                     ISC_LOG_ERROR,
                      "bad IPv6 listen-on list: must be 'any' or 'none'");
                return;
        }
-               
+
        in6a = in6addr_any;
        isc_sockaddr_fromin6(&listen_addr, &in6a, port);
 
@@ -648,7 +648,7 @@ do_ipv6(ns_interfacemgr_t *mgr) {
                result = ns_interface_setup(mgr, &listen_addr, "<any>", &ifp);
                if (result != ISC_R_SUCCESS) {
                        isc_log_write(IFMGR_COMMON_LOGARGS,
-                                     ISC_LOG_ERROR,                    
+                                     ISC_LOG_ERROR,
                                      "listening on IPv6 interfaces failed");
                        /* Continue. */
                }
@@ -660,7 +660,7 @@ ns_interfacemgr_scan(ns_interfacemgr_t *mgr, isc_boolean_t verbose) {
 
        REQUIRE(NS_INTERFACEMGR_VALID(mgr));
 
-       mgr->generation++;      /* Increment the generation count. */ 
+       mgr->generation++;      /* Increment the generation count. */
 
        if (isc_net_probeipv6() == ISC_R_SUCCESS) {
                do_ipv6(mgr);
index 7379ee1253b745e3b6461b4ccdf3b0a0ba8296ed..0d7750686c8146d869b0a583c01114d34c904082 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: listenlist.c,v 1.7 2000/07/27 09:36:50 tale Exp $ */
+/* $Id: listenlist.c,v 1.8 2000/08/01 01:11:41 tale Exp $ */
 
 #include <config.h>
 
@@ -77,7 +77,7 @@ destroy(ns_listenlist_t *list) {
                next = ISC_LIST_NEXT(elt, link);
                ns_listenelt_destroy(elt);
        }
-       isc_mem_put(list->mctx, list, sizeof(*list));   
+       isc_mem_put(list->mctx, list, sizeof(*list));
 }
 
 void
@@ -113,7 +113,7 @@ ns_listenlist_default(isc_mem_t *mctx, in_port_t port,
                result = dns_acl_none(mctx, &acl);
        if (result != ISC_R_SUCCESS)
                goto cleanup;
-       
+
        result = ns_listenelt_create(mctx, port, acl, &elt);
        if (result != ISC_R_SUCCESS)
                goto cleanup_acl;
index 20a55d51f42e8799335f51b176dbbfd3cdd3814d..3368c6ff91d330a4dd3b459a4933214f25224b0e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.21 2000/07/27 09:36:51 tale Exp $ */
+/* $Id: log.c,v 1.22 2000/08/01 01:11:42 tale Exp $ */
 
 #include <config.h>
 
@@ -96,7 +96,7 @@ isc_result_t
 ns_log_setdefaultchannels(isc_logconfig_t *lcfg) {
        isc_result_t result;
        isc_logdestination_t destination;
-       
+
        /*
         * By default, the logging library makes "default_debug" log to
         * stderr.  In BIND, we want to override this and log to named.run
@@ -131,7 +131,7 @@ ns_log_setdefaultchannels(isc_logconfig_t *lcfg) {
 isc_result_t
 ns_log_setsafechannels(isc_logconfig_t *lcfg) {
        isc_result_t result;
-       
+
        if (! ns_g_logstderr) {
                result = isc_log_createchannel(lcfg, "default_debug",
                                                ISC_LOG_TONULL,
index c322acd02676daf24b1c1166e63d1fe81def65cb..14469031597933efed5ecebb868decec57b084a6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: logconf.c,v 1.23 2000/07/27 09:36:52 tale Exp $ */
+/* $Id: logconf.c,v 1.24 2000/08/01 01:11:44 tale Exp $ */
 
 #include <config.h>
 
@@ -95,14 +95,14 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) {
        unsigned int type;
        unsigned int flags = 0;
        int level;
-       
+
        type = ISC_LOG_TONULL;
        switch (cchan->ctype) {
        case dns_c_logchan_file:
                type = ISC_LOG_TOFILE;
                {
                        const char *path = NULL;
-                       isc_int32_t versions = ISC_LOG_ROLLNEVER; 
+                       isc_int32_t versions = ISC_LOG_ROLLNEVER;
                        /*
                         * XXXDCL should be isc_offset_t, but that
                         * is incompatible with dns_c_logchan_getsize.
@@ -171,10 +171,10 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) {
                        flags |= ISC_LOG_PRINTLEVEL;
                /* XXX ISC_LOG_PRINTMODULE */
        }
-       
+
        level = ISC_LOG_INFO;
        (void)dns_c_logchan_getdebuglevel(cchan, &level);
-       
+
        result = isc_log_createchannel(lctx, cchan->name,
                                       type, level, &dest, flags);
        return (result);
@@ -188,7 +188,7 @@ ns_log_configure(isc_logconfig_t *lcctx, dns_c_logginglist_t *clog) {
        isc_boolean_t default_set = ISC_FALSE;
 
        CHECK(ns_log_setdefaultchannels(lcctx));
-               
+
        for (cchan = ISC_LIST_HEAD(clog->channels);
             cchan != NULL;
             cchan = ISC_LIST_NEXT(cchan, next)) {
index f9760a0ff0024c71b28d68e26186245f8ec8ff6d..89486b03eb71bf70176671f0d766a2c3c081a25b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwdclient.c,v 1.5 2000/07/27 09:36:53 tale Exp $ */
+/* $Id: lwdclient.c,v 1.6 2000/08/01 01:11:45 tale Exp $ */
 
 #include <config.h>
 
@@ -250,7 +250,7 @@ ns_lwdclient_send(isc_task_t *task, isc_event_t *ev) {
 
        UNUSED(task);
        UNUSED(dev);
-       
+
        INSIST(NS_LWDCLIENT_ISSEND(client));
        INSIST(client->sendbuf == dev->region.base);
 
index d893695ff14defd09ba35ca9094d98a29d9d0c79..804594b9ad6f512dd8dfa76dd93a48e8164bf46a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwderror.c,v 1.3 2000/07/27 09:36:54 tale Exp $ */
+/* $Id: lwderror.c,v 1.4 2000/08/01 01:11:46 tale Exp $ */
 
 #include <config.h>
 
index c7a8bc4def1e96e1573eff957cf56936de912a90..dfa5a02874a891b26663350f571bcee319df0647 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwdgabn.c,v 1.5 2000/07/27 09:36:55 tale Exp $ */
+/* $Id: lwdgabn.c,v 1.6 2000/08/01 01:11:47 tale Exp $ */
 
 #include <config.h>
 
@@ -297,7 +297,7 @@ process_gabn_finddone(isc_task_t *task, isc_event_t *ev) {
                                client->find = NULL;
                        else
                                dns_adb_destroyfind(&client->find);
-                               
+
                }
                generate_reply(client);
                return;
@@ -453,14 +453,14 @@ start_find(ns_lwdclient_t *client) {
 }
 
 
-static void            
+static void
 init_gabn(ns_lwdclient_t *client) {
        int i;
 
        /*
         * Initialize the real name and alias arrays in the reply we're
         * going to build up.
-        */     
+        */
        for (i = 0 ; i < LWRES_MAX_ALIASES ; i++) {
                client->aliases[i] = NULL;
                client->aliaslen[i] = 0;
index 22ce457453624dbbcb6346e0569a84a333961b19..6d9507100eea13cdfcc1558ecb96767b0708d058 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwdgnba.c,v 1.5 2000/07/27 09:36:57 tale Exp $ */
+/* $Id: lwdgnba.c,v 1.6 2000/08/01 01:11:48 tale Exp $ */
 
 #include <config.h>
 
@@ -100,7 +100,7 @@ byaddr_done(isc_task_t *task, isc_event_t *event) {
                 * fails.
                 */
                client->options |= DNS_BYADDROPT_IPV6NIBBLE;
-               
+
                start_byaddr(client);
                return;
        }
index f9e959240475780289fc359c7e9a789f3ffb8979..c1f6a3e590f63587415fe91e4b1bbd349ddda7ae 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwdnoop.c,v 1.3 2000/07/27 09:36:58 tale Exp $ */
+/* $Id: lwdnoop.c,v 1.4 2000/08/01 01:11:49 tale Exp $ */
 
 #include <config.h>
 
index 0da2cb857de7758d66cf5050aecba9e6f6ab5982..c1f69472d5cdbf4ae6d0239980e2f24446c44997 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwresd.8,v 1.5 2000/07/27 09:42:28 tale Exp $
-.\" 
+.\"
+.\" $Id: lwresd.8,v 1.6 2000/08/01 01:18:43 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRESD 8
 .Os BIND9 9
 is the daemon providing name lookup services to clients that use
 the BIND 9 lightweight resolver library.
 It is essentially a stripped-down, caching-only name server that
-answers queries using the BIND 9 lightweight resolver protocol 
+answers queries using the BIND 9 lightweight resolver protocol
 rather than the DNS protocol.
 .Pp
 .Nm lwresd
-listens for resolver queries on a UDP port on the IPv4 loopback 
+listens for resolver queries on a UDP port on the IPv4 loopback
 interface, 127.0.0.1.
 This means that
 .Nm lwresd
@@ -71,8 +71,8 @@ server.  If no
 .Sy nameserver
 entries are  present, or if forwarding fails,
 .Nm lwresd
-resolves the queries autonomously starting at the 
-root name servers, using a compiled-in list of root 
+resolves the queries autonomously starting at the
+root name servers, using a compiled-in list of root
 servers hints.
 .Pp
 The options to
@@ -104,7 +104,7 @@ write the daemon's process id to
 .Ar pid-file
 instead of the default pathname.
 .It Fl n
-create 
+create
 .Ar #cpus
 worker threads to take advantage of multiple CPUs.
 If no option is given,
index 0728494c0e5c78004eec16153557f92152426f06..6b73feb3d45d3e6c3884313f3a0216b9ed984cc2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwresd.c,v 1.12 2000/07/27 09:36:59 tale Exp $ */
+/* $Id: lwresd.c,v 1.13 2000/08/01 01:11:50 tale Exp $ */
 
 /*
  * Main program for the Lightweight Resolver Daemon.
  *
- * To paraphrase the old saying about X11, "It's not a lightweight deamon 
+ * To paraphrase the old saying about X11, "It's not a lightweight deamon
  * for resolvers, it's a deamon for lightweight resolvers".
  */
 
@@ -180,7 +180,7 @@ ns_lwresd_createview(ns_lwresd_t *lwresd, dns_view_t **viewp) {
        unsigned int attrs;
        isc_sockaddr_t any4, any6;
        dns_dispatch_t *disp4 = NULL;
-       dns_dispatch_t *disp6 = NULL;           
+       dns_dispatch_t *disp6 = NULL;
        isc_sockaddrlist_t forwarders;
        dns_view_t *view;
 
@@ -240,7 +240,7 @@ ns_lwresd_createview(ns_lwresd_t *lwresd, dns_view_t **viewp) {
        }
        if (disp4 == NULL && disp6 == NULL)
                fatal("not listening on IPv4 or IPv6", ISC_R_FAILURE);
-       
+
        result = dns_view_createresolver(view, ns_g_taskmgr, 16,
                                         ns_g_socketmgr, ns_g_timermgr, 0,
                                         lwresd->dispmgr, disp4, disp6);
index 76e3e17293ccd686dc0f089ab36fa059f8054754..c9a1fb81403cfbc60506d2cee4220c4142a20659 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: main.c,v 1.75 2000/07/27 09:37:00 tale Exp $ */
+/* $Id: main.c,v 1.76 2000/08/01 01:11:51 tale Exp $ */
 
 #include <config.h>
 
@@ -38,7 +38,7 @@
  * Defining NS_MAIN provides storage declaratons (rather than extern)
  * for variables in named/globals.h.
  */
-#define NS_MAIN 1              
+#define NS_MAIN 1
 
 #include <named/globals.h>     /* Explicit, though named/log.h includes it. */
 #include <named/interfacemgr.h>
@@ -185,7 +185,7 @@ usage(void) {
                "             [-p port] [-s] [-t chrootdir] [-u username]\n");
 }
 
-static void 
+static void
 parse_lwresd_command_line(int argc, char *argv[]) {
        int ch;
        unsigned int port;
@@ -259,7 +259,7 @@ parse_lwresd_command_line(int argc, char *argv[]) {
        }
 }
 
-static void 
+static void
 parse_command_line(int argc, char *argv[]) {
        int ch;
        unsigned int port;
@@ -508,7 +508,7 @@ main(int argc, char *argv[]) {
         */
        do {
                result = isc_app_run();
-               
+
                if (result == ISC_R_RELOAD) {
                        ns_server_reloadwanted(ns_g_server);
                } else if (result != ISC_R_SUCCESS) {
index 0e42a5f600d3ce44bd4502a5c5df6d61ee4d34b1..de9b38744952cca06c05f48aa8f7a5efaaf6cf2e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: named.8,v 1.4 2000/07/27 09:42:29 tale Exp $
-.\" 
+.\"
+.\" $Id: named.8,v 1.5 2000/08/01 01:18:44 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt NAMED 8
 .Os BIND9 9
@@ -55,12 +55,12 @@ However when operating as a lightweight resolver server,
 .Nm named
 is functionally and logically distinct from a
 conventional name server.
-More information can be found in 
+More information can be found in
 .Xr lwresd 8 .
 .Pp
 Although some command-line options can be used with
 .Nm named ,
-the name server's behaviour is mainly controlled by its configuration file, 
+the name server's behaviour is mainly controlled by its configuration file,
 .Pa /etc/named.conf .
 Refer to the BIND9 Administrator Reference Manual for further details.
 .Pp
@@ -89,7 +89,7 @@ run
 in the foreground and force all logging to
 .Dv stderr .
 .It Fl n
-create 
+create
 .Ar #cpus
 worker threads to take advantage of multiple CPUs.
 If no option is given,
@@ -122,7 +122,7 @@ as UID
 .Ar user-id .
 .Nm named
 will change its UID after it has
-carried out any privileged operations, such as 
+carried out any privileged operations, such as
 creating sockets that listen on privileged ports.
 .It Fl x
 load data from
index 3c27e89b673b462c0bbcb982f83391b92afcb839..593bcbfe772f2cd6d33331c3a50e0036e3b068b0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf.test,v 1.4 2000/07/27 09:37:01 tale Exp $ */
+/* $Id: named.conf.test,v 1.5 2000/08/01 01:11:52 tale Exp $ */
 
 options {
                directory "/var/named";
index 50f55c0cb23915dca3841254c54ca7202148a413..12a9fe68b0f2a6665bc17da7597697bd1a8d3077 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: notify.c,v 1.19 2000/07/27 09:37:02 tale Exp $ */
+/* $Id: notify.c,v 1.20 2000/08/01 01:11:54 tale Exp $ */
 
 #include <config.h>
 
@@ -32,7 +32,7 @@
 /*
  * This module implements notify as in RFC 1996.
  */
-  
+
 /**************************************************************************/
 
 /*
@@ -145,7 +145,7 @@ ns_notify_start(ns_client_t *client) {
        dns_name_t *zonename;
        dns_rdataset_t *zone_rdataset;
        dns_zone_t *zone = NULL;
-       
+
        /*
         * Interpret the question section.
         */
@@ -188,7 +188,7 @@ ns_notify_start(ns_client_t *client) {
        }
        dns_zone_detach(&zone);
        return;
-       
+
  failure:
        if (zone != NULL)
                dns_zone_detach(&zone);
index 5a8e07442eacb8b2b62756e6d65040b9489012a2..796076545b7432d4bb5721af825891d60bc6eff4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: omapi.c,v 1.15 2000/07/27 09:37:04 tale Exp $ */
+/* $Id: omapi.c,v 1.16 2000/08/01 01:11:55 tale Exp $ */
 
 /*
  * Principal Author: DCL
index 66d51c8ccf38659512ea496e816ee7c9a6a1a272..d8c35b64518c6b8e546c0b7c052920c0f23e8887 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: omapiconf.c,v 1.9 2000/07/27 09:37:05 tale Exp $ */
+/* $Id: omapiconf.c,v 1.10 2000/08/01 01:11:56 tale Exp $ */
 
 /*
  * Principal Author: DCL
@@ -277,7 +277,7 @@ register_keys(dns_c_ctrl_t *control, dns_c_kdeflist_t *keydeflist,
                                           keydef->keyid, socktext,
                                           isc_result_totext(result));
        }
-}                                       
+}
 
 static void
 update_listener(ns_omapilistener_t **listenerp, dns_c_ctrl_t *control,
@@ -427,7 +427,7 @@ ns_omapi_configure(isc_mem_t *mctx, dns_c_ctx_t *cctx,
        /*
         * Run through the new control channel list, noting sockets that
         * are already being listened on and moving them to the new list.
-        *                      
+        *
         * Identifying duplicates addr/port combinations is left to either
         * the underlying config code, or to the bind attempt getting an
         * address-in-use error.
@@ -481,7 +481,7 @@ ns_omapi_configure(isc_mem_t *mctx, dns_c_ctx_t *cctx,
                                 */
                                add_listener(mctx, &listener, control, cctx,
                                             aclconfctx, socktext);
-                               
+
                        if (listener != NULL)
                                ISC_LIST_APPEND(new_listeners, listener, link);
 
index 80f53e7ba1a59965d6d721f4cffcb815e2a2d89c..1b5b2d3b0afe2ae5dee999a59a99fbf4aeb1f37d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.c,v 1.119 2000/07/31 21:06:55 explorer Exp $ */
+/* $Id: query.c,v 1.120 2000/08/01 01:11:57 tale Exp $ */
 
 #include <config.h>
 
@@ -113,7 +113,7 @@ query_reset(ns_client_t *client, isc_boolean_t everything) {
         */
        if (client->query.fetch != NULL) {
                dns_resolver_cancelfetch(client->query.fetch);
-                                        
+
                client->query.fetch = NULL;
        }
 
@@ -385,7 +385,7 @@ query_getdbversion(ns_client_t *client) {
        dbversion = ISC_LIST_HEAD(client->query.freeversions);
        INSIST(dbversion != NULL);
        ISC_LIST_UNLINK(client->query.freeversions, dbversion, link);
-       
+
        return (dbversion);
 }
 
@@ -443,7 +443,7 @@ query_findversion(ns_client_t *client, dns_db_t *db,
                *newzonep = ISC_TRUE;
        } else
                *newzonep = ISC_FALSE;
-       
+
        return (dbversion);
 }
 
@@ -593,7 +593,7 @@ query_getcachedb(ns_client_t *client, dns_db_t **dbp, unsigned int options)
        if (!USECACHE(client))
                return (DNS_R_REFUSED);
        dns_db_attach(client->view->cachedb, dbp);
-       
+
        if ((client->query.attributes &
             NS_QUERYATTR_QUERYOKVALID) != 0) {
                /*
@@ -612,7 +612,7 @@ query_getcachedb(ns_client_t *client, dns_db_t **dbp, unsigned int options)
                 */
                check_acl = ISC_TRUE;
        }
-       
+
        if (check_acl) {
                isc_boolean_t log = ISC_TF((options & DNS_GETDB_NOLOG) == 0);
                result = ns_client_checkacl(client, "query", client->view->queryacl,
@@ -631,7 +631,7 @@ query_getcachedb(ns_client_t *client, dns_db_t **dbp, unsigned int options)
                 * the NS_QUERYATTR_QUERYOK attribute is now valid.
                 */
                client->query.attributes |= NS_QUERYATTR_QUERYOKVALID;
-               
+
        } else
                result = ISC_R_SUCCESS;
 
@@ -926,7 +926,7 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
                /*
                 * Most likely the client isn't allowed to query the cache.
                 */
-               goto try_glue; 
+               goto try_glue;
 
        result = dns_db_find(db, name, version, type,  client->query.dboptions,
                             client->now, &node, fname, rdataset,
@@ -1019,7 +1019,7 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
                        rdataset = query_newrdataset(client);
                        if (rdataset == NULL)
                                goto addname;
-               }       
+               }
                if (sigrdataset != NULL) {
                        if (dns_rdataset_isassociated(sigrdataset))
                                dns_rdataset_disassociate(sigrdataset);
@@ -1027,7 +1027,7 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
                        sigrdataset = query_newrdataset(client);
                        if (sigrdataset == NULL)
                                goto addname;
-               }       
+               }
                result = dns_db_findrdataset(db, node, version,
                                             dns_rdatatype_a, 0,
                                             client->now, rdataset,
@@ -1294,10 +1294,10 @@ query_addrdataset(ns_client_t *client, dns_name_t *fname,
        dns_rdatatype_t type = rdataset->type;
 
        /*
-        * Add 'rdataset' and any pertinent additional data to 
+        * Add 'rdataset' and any pertinent additional data to
         * 'fname', a name in the response message for 'client'.
         */
-       
+
        CTRACE("query_addrdataset");
 
        ISC_LIST_APPEND(fname->list, rdataset, link);
@@ -1744,7 +1744,7 @@ query_addbestns(ns_client_t *client) {
 
 static inline isc_result_t
 query_checktype(dns_rdatatype_t type) {
-       
+
        /*
         * XXXRTH  OPT still needs to be added.
         *         Should get help with this from rdata.c
@@ -1833,9 +1833,9 @@ query_resume(isc_task_t *task, isc_event_t *event) {
                RWLOCK(&client->lockview->conflock, isc_rwlocktype_read);
 
                query_find(client, devent);
-               
+
                RWUNLOCK(&client->lockview->conflock, isc_rwlocktype_read);
-               dns_view_detach(&client->lockview);             
+               dns_view_detach(&client->lockview);
                dns_zonemgr_unlockconf(ns_g_server->zonemgr,
                                       isc_rwlocktype_read);
                RWUNLOCK(&ns_g_server->conflock, isc_rwlocktype_read);
@@ -1853,12 +1853,12 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qdomain,
         * We are about to recurse, which means that this client will
         * be unavailable for serving new requests for an indeterminate
         * amount of time.  If this client is currently responsible
-        * for handling incoming queries, set up a new client 
+        * for handling incoming queries, set up a new client
         * object to handle them while we are waiting for a
         * response.
         */
        if (! client->mortal) {
-               result = isc_quota_attach(&ns_g_server->recursionquota, 
+               result = isc_quota_attach(&ns_g_server->recursionquota,
                                          &client->recursionquota);
                if (result == ISC_R_SUCCESS)
                        result = ns_client_replace(client);
@@ -1867,7 +1867,7 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qdomain,
                                      NS_LOGMODULE_QUERY, ISC_LOG_WARNING,
                                      "no more recursive clients: %s",
                                      isc_result_totext(result));
-                       return (result); 
+                       return (result);
                }
        }
 
@@ -1905,7 +1905,7 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qdomain,
                query_putrdataset(client, &rdataset);
                query_putrdataset(client, &sigrdataset);
        }
-       
+
        return (result);
 }
 
@@ -1949,7 +1949,7 @@ query_findparentkey(ns_client_t *client, dns_name_t *name,
                result = ISC_R_FAILURE;
                goto cleanup;
        }
-               
+
        result = dns_db_find(pdb, name, pversion, dns_rdatatype_key,
                             client->query.dboptions,
                             client->now, &pnode,
@@ -2025,7 +2025,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event) {
 
        CTRACE("query_find");
 
-       /*      
+       /*
         * One-time initialization.
         *
         * It's especially important to initialize anything that the cleanup
@@ -2597,7 +2597,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event) {
                result = dns_name_split(client->query.qname, nlabels, nbits,
                                        prefix, NULL);
                if (result != ISC_R_SUCCESS)
-                       goto cleanup;   
+                       goto cleanup;
                INSIST(fname == NULL);
                dbuf = query_getnamebuf(client);
                if (dbuf == NULL)
@@ -2837,9 +2837,9 @@ query_find(ns_client_t *client, dns_fetchevent_t *event) {
                if (client->message->rcode == dns_rcode_nxdomain &&
                    client->view->auth_nxdomain == ISC_TRUE)
                        client->message->flags |= DNS_MESSAGEFLAG_AA;
-               
+
                ns_client_send(client);
-               ns_client_detach(&client);              
+               ns_client_detach(&client);
        }
        CTRACE("query_find: done");
 }
@@ -2855,7 +2855,7 @@ log_query(ns_client_t *client) {
        /* XXXRTH  Allow this to be turned off! */
 
        dns_name_format(client->query.qname, namebuf, sizeof(namebuf));
-       
+
        isc_buffer_init(&b, (unsigned char *)text, sizeof(text));
        for (rdataset = ISC_LIST_HEAD(client->query.qname->list);
             rdataset != NULL;
@@ -2880,7 +2880,7 @@ ns_query_start(ns_client_t *client) {
        dns_message_t *message = client->message;
        dns_rdataset_t *rdataset;
        ns_client_t *qclient;
-       
+
        CTRACE("ns_query_start");
 
        /*
@@ -2901,7 +2901,7 @@ ns_query_start(ns_client_t *client) {
                /*
                 * If the client isn't allowed to recurse (due to
                 * "recursion no", the allow-recursion ACL, or the
-                * lack of a resolver in this view), or if it 
+                * lack of a resolver in this view), or if it
                 * doesn't want recursion, turn recursion off.
                 */
                client->query.attributes &= ~NS_QUERYATTR_RECURSIONOK;
@@ -2951,7 +2951,7 @@ ns_query_start(ns_client_t *client) {
                        }
                }
        }
-       
+
        /*
         * Check for meta-queries like IXFR and AXFR.
         */
index a4440704129939c278bd54a76c3426f8708170e6..aff18ab0f6935316fd920ac5b5e82df3a314fb9c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: server.c,v 1.206 2000/07/31 21:06:56 explorer Exp $ */
+/* $Id: server.c,v 1.207 2000/08/01 01:11:59 tale Exp $ */
 
 #include <config.h>
 
@@ -113,7 +113,7 @@ ns_listenlist_fromconfig(dns_c_lstnlist_t *clist, dns_c_ctx_t *cctx,
  * (for a global default).
  */
 static isc_result_t
-configure_view_acl(dns_c_view_t *cview, 
+configure_view_acl(dns_c_view_t *cview,
                   dns_c_ctx_t *cctx,
                   dns_aclconfctx_t *actx, isc_mem_t *mctx,
                   isc_result_t (*getvcacl)
@@ -123,7 +123,7 @@ configure_view_acl(dns_c_view_t *cview,
                   dns_acl_t **aclp)
 {
        isc_result_t result;
-       
+
        dns_c_ipmatchlist_t *cacl = NULL;
        if (*aclp != NULL)
                dns_acl_detach(aclp);
@@ -155,14 +155,14 @@ base64_cstring_tobuffer(isc_mem_t *mctx, char *cstr, isc_buffer_t *target) {
        isc_buffer_t source;
        isc_lex_t *lex = NULL;
        isc_boolean_t isopen = ISC_FALSE;
-       
+
        isc_buffer_init(&source, cstr, strlen(cstr));
        isc_buffer_add(&source, strlen(cstr));
        CHECK(isc_lex_create(mctx, 256, &lex));
        CHECK(isc_lex_openbuffer(lex, &source));
        isopen = ISC_TRUE;
        CHECK(isc_base64_tobuffer(lex, target, -1));
-       
+
  cleanup:
        if (isopen)
                (void)isc_lex_close(lex);
@@ -174,9 +174,9 @@ base64_cstring_tobuffer(isc_mem_t *mctx, char *cstr, isc_buffer_t *target) {
 /*
  * Configure DNSSEC keys for a view.  Currently used only for
  * the security roots.
- * 
+ *
  * The per-view configuration values and their server-global
- * defaults are are read from 'cview' and 'cctx' using 
+ * defaults are are read from 'cview' and 'cctx' using
  * the function 'cgetv' and 'cgets', respectively.
  * The variable to be configured is '*target'.
  */
@@ -195,7 +195,7 @@ configure_view_dnsseckeys(dns_c_view_t *cview,
        dns_c_tkey_t *ckey;
        dns_keytable_t *keytable = NULL;
        dst_key_t *dstkey = NULL;
-       
+
        CHECK(dns_keytable_create(mctx, &keytable));
 
        result = ISC_R_FAILURE;
@@ -220,7 +220,7 @@ configure_view_dnsseckeys(dns_c_view_t *cview,
                        dns_fixedname_t fkeyname;
                        dns_name_t *keyname;
                        isc_buffer_t namebuf;
-                       
+
                        if (cview == NULL)
                                viewclass = dns_rdataclass_in;
                        else
@@ -229,13 +229,13 @@ configure_view_dnsseckeys(dns_c_view_t *cview,
                        keystruct.common.rdclass = viewclass;
                        keystruct.common.rdtype = dns_rdatatype_key;
                        /*
-                        * The key data in keystruct is not 
+                        * The key data in keystruct is not
                         * dynamically allocated.
                         */
-                       keystruct.mctx = NULL; 
-                       
+                       keystruct.mctx = NULL;
+
                        ISC_LINK_INIT(&keystruct.common, link);
-                       
+
                        flags = ckey->pubkey->flags;
                        proto = ckey->pubkey->protocol;
                        alg = ckey->pubkey->algorithm;
@@ -248,16 +248,16 @@ configure_view_dnsseckeys(dns_c_view_t *cview,
                        keystruct.flags = flags;
                        keystruct.protocol = proto;
                        keystruct.algorithm = alg;
-                       
+
                        isc_buffer_init(&keydatabuf, keydata, sizeof(keydata));
                        isc_buffer_init(&rrdatabuf, rrdata, sizeof(rrdata));
-                       
+
                        CHECK(base64_cstring_tobuffer(mctx, ckey->pubkey->key,
                                                      &keydatabuf));
                        isc_buffer_usedregion(&keydatabuf, &r);
                        keystruct.datalen = r.length;
                        keystruct.data = r.base;
-                       
+
                        CHECK(dns_rdata_fromstruct(NULL,
                                                   keystruct.common.rdclass,
                                                   keystruct.common.rdtype,
@@ -272,13 +272,13 @@ configure_view_dnsseckeys(dns_c_view_t *cview,
                                                NULL));
                        CHECK(dst_key_fromdns(keyname, &rrdatabuf, mctx,
                                              &dstkey));
-                       
+
                        CHECK(dns_keytable_add(keytable, &dstkey));
                        INSIST(dstkey == NULL);
                }
        } else if (result != ISC_R_NOTFOUND)
                goto cleanup;
-       
+
        dns_keytable_detach(target);
        *target = keytable; /* Transfer ownership. */
        keytable = NULL;
@@ -289,7 +289,7 @@ configure_view_dnsseckeys(dns_c_view_t *cview,
                dst_key_free(&dstkey);
        return (result);
 }
-                                 
+
 
 /*
  * Get a dispatch appropriate for the resolver of a given view.
@@ -325,12 +325,12 @@ get_view_querysource_dispatch(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getquerysourcev6(cctx, &sa);
                if (result != ISC_R_SUCCESS)
-                       isc_sockaddr_any6(&sa);                 
+                       isc_sockaddr_any6(&sa);
                break;
        default:
                INSIST(0);
        }
-       
+
        INSIST(isc_sockaddr_pf(&sa) == af);
 
        /*
@@ -390,7 +390,7 @@ get_view_querysource_dispatch(dns_c_ctx_t *cctx, dns_c_view_t *cview,
  * Configure 'view' according to 'cview', taking defaults from 'cctx'
  * where values are missing in cctx.
  *
- * When configuring the default view, cctx will be NULL and the 
+ * When configuring the default view, cctx will be NULL and the
  * glboal defaults in cview used exclusively.
  */
 static isc_result_t
@@ -412,7 +412,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
        dns_dispatch_t *dispatch4 = NULL;
        dns_dispatch_t *dispatch6 = NULL;
        in_port_t port;
-       
+
        REQUIRE(DNS_VIEW_VALID(view));
 
        ISC_LIST_INIT(addresses);
@@ -427,13 +427,13 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
        if (result != ISC_R_SUCCESS)
                port = 53;
        dns_view_setdstport(view, port);
-                           
+
        /*
         * Configure the view's cache.  Try to reuse an existing
         * cache if possible, otherwise create a new cache.
         * Note that the ADB is not preserved in either case.
-        * 
-        * XXX Determining when it is safe to reuse a cache is 
+        *
+        * XXX Determining when it is safe to reuse a cache is
         * tricky.  When the view's configuration changes, the cached
         * data may become invalid because it reflects our old
         * view of the world.  As more view attributes become
@@ -559,7 +559,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
                result = ISC_R_FAILURE;
                goto cleanup;
        }
-       
+
        /*
         * Configure the view's TSIG keys.
         */
@@ -573,7 +573,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
        {
                dns_peerlist_t *newpeers = NULL;
 
-               result = ISC_R_NOTFOUND;                
+               result = ISC_R_NOTFOUND;
                if (cview != NULL)
                        result = dns_c_view_getpeerlist(cview, &newpeers);
                if (result != ISC_R_SUCCESS)
@@ -589,7 +589,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
        /*
         * Configure the "match-clients" ACL.
         */
-       CHECK(configure_view_acl(cview, cctx, actx, ns_g_mctx, 
+       CHECK(configure_view_acl(cview, cctx, actx, ns_g_mctx,
                                 dns_c_view_getmatchclients, NULL,
                                 &view->matchclients));
 
@@ -607,7 +607,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
                (void)dns_c_view_getauthnxdomain(cview, &view->auth_nxdomain);
 
        result = ISC_R_NOTFOUND;
-       if (cview != NULL)      
+       if (cview != NULL)
                result = dns_c_view_gettransferformat(cview,
                                                      &view->transfer_format);
        if (result != ISC_R_SUCCESS)
@@ -643,7 +643,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
                                 dns_c_view_getallowquery,
                                 dns_c_ctx_getallowquery,
                                 &view->queryacl));
-       
+
        CHECK(configure_view_acl(cview, cctx, actx, ns_g_mctx,
                                 dns_c_view_getrecursionacl,
                                 dns_c_ctx_getallowrecursion,
@@ -776,13 +776,13 @@ create_version_view(dns_c_ctx_t *cctx, dns_zonemgr_t *zmgr, dns_view_t **viewp)
        CHECK(dns_zone_setorigin(zone, &origin));
        dns_zone_settype(zone, dns_zone_master);
        dns_zone_setclass(zone, dns_rdataclass_ch);
-       dns_zone_setview(zone, view);   
-       
+       dns_zone_setview(zone, view);
+
        CHECK(dns_zonemgr_managezone(zmgr, zone));
 
        CHECK(dns_db_create(ns_g_mctx, "rbt", &origin, dns_dbtype_zone,
                            dns_rdataclass_ch, 0, NULL, &db));
-       
+
        CHECK(dns_db_newversion(db, &dbver));
 
        CHECK(dns_difftuple_create(ns_g_mctx, DNS_DIFFOP_ADD, &origin,
@@ -872,7 +872,7 @@ find_or_create_view(dns_c_view_t *cview, dns_viewlist_t *viewlist,
        result = dns_view_create(ns_g_mctx, viewclass, viewname, &view);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        ISC_LIST_APPEND(*viewlist, view, link);
        dns_view_attach(view, viewp);
        return (ISC_R_SUCCESS);
@@ -891,10 +891,10 @@ configure_zone(dns_c_ctx_t *cctx, dns_c_zone_t *czone, dns_c_view_t *cview,
        dns_view_t *pview = NULL;       /* Production view */
        dns_zone_t *zone = NULL;        /* New or reused zone */
        dns_zone_t *dupzone = NULL;
-       
+
        isc_result_t result;
 
-       char *corigin;  
+       char *corigin;
        isc_buffer_t buffer;
        dns_fixedname_t fixorigin;
        dns_name_t *origin;
@@ -911,7 +911,7 @@ configure_zone(dns_c_ctx_t *cctx, dns_c_zone_t *czone, dns_c_view_t *cview,
        CHECK(dns_name_fromtext(dns_fixedname_name(&fixorigin),
                                &buffer, dns_rootname, ISC_FALSE, NULL));
        origin = dns_fixedname_name(&fixorigin);
-       
+
        /*
         * Find or create the view in the new view list.
         */
@@ -926,7 +926,7 @@ configure_zone(dns_c_ctx_t *cctx, dns_c_zone_t *czone, dns_c_view_t *cview,
                result = ISC_R_FAILURE;
                goto cleanup;
        }
-       
+
        /*
         * Master zones must have 'file' set.
         */
@@ -999,7 +999,7 @@ configure_zone(dns_c_ctx_t *cctx, dns_c_zone_t *czone, dns_c_view_t *cview,
         *   - The zone's view exists
         *   - A zone with the right name exists in the view
         *   - The zone is compatible with the config
-        *     options (e.g., an existing master zone cannot 
+        *     options (e.g., an existing master zone cannot
         *     be reused if the options specify a slave zone)
         */
        result = dns_viewlist_find(&ns_g_server->viewlist,
@@ -1098,7 +1098,7 @@ options_callback(dns_c_ctx_t *cctx, void *uap) {
 }
 
 
-static void 
+static void
 scan_interfaces(ns_server_t *server, isc_boolean_t verbose) {
        ns_interfacemgr_scan(server->interfacemgr, verbose);
        dns_aclenv_copy(&server->aclenv,
@@ -1111,7 +1111,7 @@ scan_interfaces(ns_server_t *server, isc_boolean_t verbose) {
  */
 static void
 interface_timer_tick(isc_task_t *task, isc_event_t *event) {
-       ns_server_t *server = (ns_server_t *) event->ev_arg;    
+       ns_server_t *server = (ns_server_t *) event->ev_arg;
        UNUSED(task);
        isc_event_free(&event);
        RWLOCK(&server->conflock, isc_rwlocktype_write);
@@ -1136,12 +1136,12 @@ load_configuration(const char *filename, ns_server_t *server,
        char *pidfilename;
        isc_uint32_t interface_interval;
        in_port_t listen_port;
-       
+
        dns_aclconfctx_init(&aclconfctx);
 
        RWLOCK(&server->conflock, isc_rwlocktype_write);
        dns_zonemgr_lockconf(server->zonemgr, isc_rwlocktype_write);
-       
+
        lctx.mctx = ns_g_mctx;
        lctx.aclconf = &aclconfctx;
        ISC_LIST_INIT(lctx.viewlist);
@@ -1163,7 +1163,7 @@ load_configuration(const char *filename, ns_server_t *server,
        cctx = NULL;
        CHECK(dns_c_parse_namedconf(filename, ns_g_mctx, &cctx,
                                    &callbacks));
-       
+
        /*
         * Configure various server options.
         */
@@ -1247,7 +1247,7 @@ load_configuration(const char *filename, ns_server_t *server,
                ns_interfacemgr_setlistenon6(server->interfacemgr, listenon);
                ns_listenlist_detach(&listenon);
        }
-       
+
        /*
         * Rescan the interface list to pick up changes in the
         * listen-on option.  It's important that we do this before we try
@@ -1295,10 +1295,10 @@ load_configuration(const char *filename, ns_server_t *server,
                }
        }
        INSIST(view == NULL);
-               
+
        /*
-        * Make sure we have a default view if and only if there 
-        * were no explicit views.  
+        * Make sure we have a default view if and only if there
+        * were no explicit views.
         */
        if (cctx->views == NULL || ISC_LIST_EMPTY(cctx->views->views)) {
                /*
@@ -1317,7 +1317,7 @@ load_configuration(const char *filename, ns_server_t *server,
                 * There are explicit views.  There should not be
                 * a default view.  If there is one, complain.
                 */
-               result = dns_viewlist_find(&lctx.viewlist, "_default", 
+               result = dns_viewlist_find(&lctx.viewlist, "_default",
                                           dns_rdataclass_in, &view);
                if (result == ISC_R_SUCCESS) {
                        dns_view_detach(&view);
@@ -1329,7 +1329,7 @@ load_configuration(const char *filename, ns_server_t *server,
                        goto cleanup;
                }
        }
-       
+
        /*
         * Create (or recreate) the version view.
         */
@@ -1372,8 +1372,8 @@ load_configuration(const char *filename, ns_server_t *server,
 
        /*
         * Configure the logging system.
-        * 
-        * Do this after changing UID to make sure that any log 
+        *
+        * Do this after changing UID to make sure that any log
         * files specified in named.conf get created by the
         * unprivileged user, not root.
         */
@@ -1417,10 +1417,10 @@ load_configuration(const char *filename, ns_server_t *server,
        else
                ns_os_writepidfile(ns_g_defaultpidfile);
 
-       dns_aclconfctx_destroy(&aclconfctx);    
+       dns_aclconfctx_destroy(&aclconfctx);
 
        dns_c_ctx_delete(&cctx);
-       
+
  cleanup:
        /*
         * This cleans up either the old production view list
@@ -1452,7 +1452,7 @@ load_zones(ns_server_t *server, isc_boolean_t stop) {
        dns_view_t *view;
 
        dns_zonemgr_lockconf(server->zonemgr, isc_rwlocktype_read);
-       
+
        /*
         * Load zone data from disk.
         */
@@ -1470,7 +1470,7 @@ load_zones(ns_server_t *server, isc_boolean_t stop) {
         */
        CHECK(dns_zonemgr_forcemaint(server->zonemgr));
  cleanup:
-       dns_zonemgr_unlockconf(server->zonemgr, isc_rwlocktype_read);   
+       dns_zonemgr_unlockconf(server->zonemgr, isc_rwlocktype_read);
        return (result);
 }
 
@@ -1490,7 +1490,7 @@ run_server(isc_task_t *task, isc_event_t *event) {
        CHECKFATAL(ns_clientmgr_create(ns_g_mctx, ns_g_taskmgr, ns_g_timermgr,
                                       &server->clientmgr),
                   "creating client manager");
-       
+
        CHECKFATAL(ns_interfacemgr_create(ns_g_mctx, ns_g_taskmgr,
                                          ns_g_socketmgr, ns_g_dispatchmgr,
                                          server->clientmgr,
@@ -1517,7 +1517,7 @@ static void
 shutdown_server(isc_task_t *task, isc_event_t *event) {
        dns_view_t *view, *view_next;
        ns_server_t *server = (ns_server_t *)event->ev_arg;
-               
+
        UNUSED(task);
 
        RWLOCK(&server->conflock, isc_rwlocktype_write);
@@ -1537,7 +1537,7 @@ shutdown_server(isc_task_t *task, isc_event_t *event) {
        isc_timer_detach(&server->interface_timer);
 
        ns_interfacemgr_shutdown(server->interfacemgr);
-       ns_interfacemgr_detach(&server->interfacemgr);  
+       ns_interfacemgr_detach(&server->interfacemgr);
 
        dns_dispatchmgr_destroy(&ns_g_dispatchmgr);
 
@@ -1553,36 +1553,36 @@ shutdown_server(isc_task_t *task, isc_event_t *event) {
 void
 ns_server_create(isc_mem_t *mctx, ns_server_t **serverp) {
        isc_result_t result;
-       
+
        ns_server_t *server = isc_mem_get(mctx, sizeof(*server));
        if (server == NULL)
                fatal("allocating server object", ISC_R_NOMEMORY);
 
        server->mctx = mctx;
        server->task = NULL;
-       
+
        CHECKFATAL(isc_rwlock_init(&server->conflock, 1, 1),
                   "initializing server configuration lock");
 
        /* Initialize configuration data with default values. */
 
        result = isc_quota_init(&server->xfroutquota, 10);
-       RUNTIME_CHECK(result == ISC_R_SUCCESS); 
+       RUNTIME_CHECK(result == ISC_R_SUCCESS);
        result = isc_quota_init(&server->tcpquota, 10);
-       RUNTIME_CHECK(result == ISC_R_SUCCESS); 
+       RUNTIME_CHECK(result == ISC_R_SUCCESS);
        result = isc_quota_init(&server->recursionquota, 100);
-       RUNTIME_CHECK(result == ISC_R_SUCCESS); 
+       RUNTIME_CHECK(result == ISC_R_SUCCESS);
 
        result = dns_aclenv_init(mctx, &server->aclenv);
        RUNTIME_CHECK(result == ISC_R_SUCCESS);
-               
+
        /* Initialize server data structures. */
        server->zonemgr = NULL;
        server->clientmgr = NULL;
        server->interfacemgr = NULL;
        ISC_LIST_INIT(server->viewlist);
        server->in_roothints = NULL;
-               
+
        CHECKFATAL(dns_rootns_create(mctx, dns_rdataclass_in, NULL,
                                     &server->in_roothints),
                   "setting up root hints");
@@ -1630,7 +1630,7 @@ ns_server_create(isc_mem_t *mctx, ns_server_t **serverp) {
        server->magic = NS_SERVER_MAGIC;
        *serverp = server;
 }
-       
+
 void
 ns_server_destroy(ns_server_t **serverp) {
        ns_server_t *server = *serverp;
@@ -1644,11 +1644,11 @@ ns_server_destroy(ns_server_t **serverp) {
        dst_lib_destroy();
 
        isc_event_free(&server->reload_event);
-       
+
        INSIST(ISC_LIST_EMPTY(server->viewlist));
 
        dns_db_detach(&server->in_roothints);
-       
+
        dns_aclenv_destroy(&server->aclenv);
 
        isc_quota_destroy(&server->recursionquota);
@@ -1675,7 +1675,7 @@ ns_server_reload(isc_task_t *task, isc_event_t *event) {
        isc_result_t result;
        ns_server_t *server = (ns_server_t *)event->ev_arg;
        UNUSED(task);
-       
+
        result = load_configuration(ns_g_conffile, server, ISC_FALSE);
        if (result != ISC_R_SUCCESS) {
                isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
@@ -1712,13 +1712,13 @@ ns_listenlist_fromconfig(dns_c_lstnlist_t *clist, dns_c_ctx_t *cctx,
        dns_c_lstnon_t *ce;
        isc_result_t result;
        ns_listenlist_t *dlist = NULL;
-               
+
        REQUIRE(target != NULL && *target == NULL);
 
        result = ns_listenlist_create(mctx, &dlist);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        for (ce = ISC_LIST_HEAD(clist->elements);
             ce != NULL;
             ce = ISC_LIST_NEXT(ce, next))
index d85610072c43a7398fe8beb034c0c6a4923426d4..36600c95184b45d286e877dab8acf730335117a6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkeyconf.c,v 1.12 2000/07/27 09:46:42 tale Exp $ */
+/* $Id: tkeyconf.c,v 1.13 2000/08/01 01:22:59 tale Exp $ */
 
 #include <config.h>
 
index 639fe82e278722cf26e22286bde3306045fa1060..f146d61d9e9a77b5dae16aa95c7842136c2dfc02 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsigconf.c,v 1.10 2000/07/27 09:46:44 tale Exp $ */
+/* $Id: tsigconf.c,v 1.11 2000/08/01 01:23:02 tale Exp $ */
 
 #include <config.h>
 
@@ -135,7 +135,7 @@ dns_tsigkeyring_fromconfig(dns_c_view_t *confview, dns_c_ctx_t *confctx,
                goto failure;
 
        if (confview != NULL) {
-               keylist = NULL; 
+               keylist = NULL;
                result = dns_c_view_getkeydefs(confview, &keylist);
                if (result == ISC_R_SUCCESS)
                        result = add_initial_keys(keylist, ring, mctx);
index 4e3ccdc1ec29636d803af4e0e9729aaf0ead135c..9133c3b6b1e85a30471a374bd7d8bf291add4227 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.4 2000/07/27 09:37:29 tale Exp $
+# $Id: Makefile.in,v 1.5 2000/08/01 01:12:20 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -22,9 +22,9 @@ top_srcdir =  @top_srcdir@
 @BIND9_INCLUDES@
 
 CINCLUDES =    -I${srcdir}/include -I${srcdir}/../include \
-               ${DNS_INCLUDES} ${ISC_INCLUDES} 
+               ${DNS_INCLUDES} ${ISC_INCLUDES}
 
-CDEFINES =     
+CDEFINES =
 CWARNINGS =
 
 OBJS =         os.@O@
index 92cf04895eb1a880f43792a5ef49de6d85a4c29b..7b78a7c3eb9cb7b58908e89fc63de9a71ea34d62 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.h,v 1.10 2000/07/27 09:37:32 tale Exp $ */
+/* $Id: os.h,v 1.11 2000/08/01 01:12:23 tale Exp $ */
 
 #ifndef NS_OS_H
 #define NS_OS_H 1
index 358b411bc7be6513dba0db81cec5f070268737b6..414b837220c1c552427672fa7823fb47842c9bb5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.28 2000/07/27 09:37:30 tale Exp $ */
+/* $Id: os.c,v 1.29 2000/08/01 01:12:21 tale Exp $ */
 
 #include <config.h>
 
@@ -298,7 +298,7 @@ ns_os_changeuser(void) {
        if (!non_root_caps)
                ns_main_earlyfatal(
                   "-u not supported on Linux kernels older than 2.3.99-pre3");
-#endif 
+#endif
 
        if (setgid(runas_pw->pw_gid) < 0)
                ns_main_earlyfatal("setgid(): %s", strerror(errno));
index 872f937c02605bfbc579235ad311a1eccdf6d5ff..0569027801b1121f1bdeb62c6e89c6c93e1d165c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.59 2000/07/27 09:37:09 tale Exp $ */
+/* $Id: update.c,v 1.60 2000/08/01 01:12:00 tale Exp $ */
 
 #include <config.h>
 
@@ -45,7 +45,7 @@
 /*
  * This module implements dynamic update as in RFC2136.
  */
-  
+
 /*
   XXX TODO:
   - forwarding
@@ -147,7 +147,7 @@ struct update_event {
        ISC_EVENT_COMMON(update_event_t);
        dns_zone_t              *zone;
        isc_result_t            result;
-       
+
 };
 
 /**************************************************************************/
@@ -175,7 +175,7 @@ do_one_tuple(dns_difftuple_t **tuple,
 {
        dns_diff_t temp_diff;
        isc_result_t result;
-       
+
        /*
         * Create a singleton diff.
         */
@@ -201,10 +201,10 @@ do_one_tuple(dns_difftuple_t **tuple,
         */
        return (ISC_R_SUCCESS);
 }
-             
+
 static isc_result_t
 update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
-             dns_diffop_t op, dns_name_t *name, 
+             dns_diffop_t op, dns_name_t *name,
              dns_ttl_t ttl, dns_rdata_t *rdata)
 {
        dns_difftuple_t *tuple = NULL;
@@ -220,10 +220,10 @@ update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
 /*
  * Callback-style iteration over rdatasets and rdatas.
  *
- * foreach_rrset() can be used to iterate over the RRsets 
+ * foreach_rrset() can be used to iterate over the RRsets
  * of a name and call a callback function with each
  * one.  Similarly, foreach_rr() can be used to iterate
- * over the individual RRs at name, optionally restricted 
+ * over the individual RRs at name, optionally restricted
  * to RRs of a given type.
  *
  * The callback functions are called "actions" and take
@@ -280,7 +280,7 @@ foreach_node_rr_action(void *data, dns_rdataset_t *rdataset) {
 /*
  * For each rdataset of 'name' in 'ver' of 'db', call 'action'
  * with the rdataset and 'action_data' as arguments.  If the name
- * does not exist, do nothing. 
+ * does not exist, do nothing.
  *
  * If 'action' returns an error, abort iteration and return the error.
  */
@@ -294,14 +294,14 @@ foreach_rrset(dns_db_t *db,
        isc_result_t result;
        dns_dbnode_t *node;
        dns_rdatasetiter_t *iter;
-       
+
        node = NULL;
        result = dns_db_findnode(db, name, ISC_FALSE, &node);
        if (result == ISC_R_NOTFOUND)
                return (ISC_R_SUCCESS);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        iter = NULL;
        result = dns_db_allrdatasets(db, node, ver,
                                     (isc_stdtime_t) 0, &iter);
@@ -330,7 +330,7 @@ foreach_rrset(dns_db_t *db,
        dns_rdatasetiter_destroy(&iter);
 
  cleanup_node:
-       dns_db_detachnode(db, &node);   
+       dns_db_detachnode(db, &node);
 
        return (result);
 }
@@ -361,10 +361,10 @@ foreach_node_rr(dns_db_t *db,
 /*
  * For each of the RRs specified by 'db', 'ver', 'name', 'type',
  * (which can be dns_rdatatype_any to match any type), and 'covers', call
- * 'action' with the RR and 'action_data' as arguments. If the name 
+ * 'action' with the RR and 'action_data' as arguments. If the name
  * does not exist, or if no RRset of the given type exists at the name,
  * do nothing.
- * 
+ *
  * If 'action' returns an error, abort iteration and return the error.
  */
 static isc_result_t
@@ -382,9 +382,9 @@ foreach_rr(dns_db_t *db,
        dns_rdataset_t rdataset;
 
        if (type == dns_rdatatype_any)
-               return (foreach_node_rr(db, ver, name, 
+               return (foreach_node_rr(db, ver, name,
                                        rr_action, rr_action_data));
-       
+
        node = NULL;
        result = dns_db_findnode(db, name, ISC_FALSE, &node);
        if (result == ISC_R_NOTFOUND)
@@ -420,7 +420,7 @@ foreach_rr(dns_db_t *db,
  cleanup_rdataset:
        dns_rdataset_disassociate(&rdataset);
  cleanup_node:
-       dns_db_detachnode(db, &node);   
+       dns_db_detachnode(db, &node);
 
        return (result);
 }
@@ -465,7 +465,7 @@ rrset_exists_action(void *data, rr_t *rr) {
                ((result == ISC_R_SUCCESS) ?            \
                 (*exists = ISC_FALSE, ISC_R_SUCCESS) : \
                 result));
-       
+
 /*
  * Set '*exists' to true iff an rrset of the given type exists,
  * to false otherwise.
@@ -504,8 +504,8 @@ cname_compatibility_action(void *data, dns_rdataset_t *rrset) {
 static isc_result_t
 cname_incompatible_rrset_exists(dns_db_t *db, dns_dbversion_t *ver,
                                dns_name_t *name, isc_boolean_t *exists) {
-       isc_result_t result;    
-       result = foreach_rrset(db, ver, name, 
+       isc_result_t result;
+       result = foreach_rrset(db, ver, name,
                               cname_compatibility_action, NULL);
        RETURN_EXISTENCE_FLAG;
 }
@@ -513,7 +513,7 @@ cname_incompatible_rrset_exists(dns_db_t *db, dns_dbversion_t *ver,
 /*
  * Helper function for rr_count().
  */
-static isc_result_t 
+static isc_result_t
 count_rr_action(void *data, rr_t *rr) {
        int *countp = data;
        UNUSED(rr);
@@ -549,7 +549,7 @@ typedef struct {
  * Helper function for matching_rr_exists().
  */
 
-static isc_result_t 
+static isc_result_t
 matching_rr_exists_action(void *data, rr_t *rr) {
        matching_rr_exists_ctx_t *ctx = data;
        if ((*ctx->predicate)(ctx->update_rr, &rr->rdata))
@@ -558,7 +558,7 @@ matching_rr_exists_action(void *data, rr_t *rr) {
 }
 
 /*
- * Compare the 'update_rr' with all RRs in the RRset specified by 'db', 
+ * Compare the 'update_rr' with all RRs in the RRset specified by 'db',
  * 'ver', 'name', and 'type' using 'predicate'.  If the predicate returns
  * true for at least one of them, set '*exists' to ISC_TRUE.  Otherwise,
  * set it to ISC_FALSE.
@@ -661,12 +661,12 @@ ssu_checkall(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
 /*
  * Append a tuple asserting the existence of the RR with
  * 'name' and 'rdata' to 'diff'.
- */         
+ */
 static isc_result_t
 temp_append(dns_diff_t *diff, dns_name_t *name, dns_rdata_t *rdata) {
        isc_result_t result;
        dns_difftuple_t *tuple = NULL;
-       
+
        REQUIRE(DNS_DIFF_VALID(diff));
        CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_EXISTS,
                                      name, 0, rdata, &tuple));
@@ -681,7 +681,7 @@ temp_append(dns_diff_t *diff, dns_name_t *name, dns_rdata_t *rdata) {
  * Return ISC_R_SUCCESS if the rdatasets are equal, rcode(dns_rcode_nxrrset)
  * if not.
  */
-static isc_result_t 
+static isc_result_t
 temp_check_rrset(dns_difftuple_t *a, dns_difftuple_t *b) {
        for (;;) {
                if (a == NULL || b == NULL)
@@ -705,12 +705,12 @@ temp_check_rrset(dns_difftuple_t *a, dns_difftuple_t *b) {
  * in the "temp" data structure.  The major sort key is the owner name,
  * followed by the type and rdata.
  */
-static int 
+static int
 temp_order(const void *av, const void *bv) {
        dns_difftuple_t * const *ap = av;
        dns_difftuple_t * const *bp = bv;
        dns_difftuple_t *a = *ap;
-       dns_difftuple_t *b = *bp;       
+       dns_difftuple_t *b = *bp;
        int r;
        r = dns_name_compare(&a->name, &b->name);
        if (r != 0)
@@ -739,7 +739,7 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
        dns_dbnode_t *node;
        dns_difftuple_t *t;
        dns_diff_t trash;
-       
+
        /* Exit early if the list is empty (for efficiency only). */
        if (ISC_LIST_HEAD(temp->tuples) == NULL)
                return (ISC_R_SUCCESS);
@@ -753,7 +753,7 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
                return (result);
 
        dns_diff_init(mctx, &trash);
-       
+
        /*
         * For each name and type in the prerequisites,
         * construct a sorted rdata list of the corresponding
@@ -771,11 +771,11 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
                if (result != ISC_R_SUCCESS)
                        return (result);
 
-               /* A new unique type begins here. */            
+               /* A new unique type begins here. */
                while (t != NULL && dns_name_equal(&t->name, name)) {
                        dns_rdatatype_t type, covers;
                        dns_rdataset_t rdataset;
-                       dns_diff_t d_rrs; /* Database RRs with 
+                       dns_diff_t d_rrs; /* Database RRs with
                                                this name and type */
                        dns_diff_t u_rrs; /* Update RRs with
                                                this name and type */
@@ -815,12 +815,12 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
                        if (result != ISC_R_NOMORE)
                                goto failure;
                        result = dns_diff_sort(&d_rrs, temp_order);
-                       if (result != ISC_R_SUCCESS) 
+                       if (result != ISC_R_SUCCESS)
                                goto failure;
 
                        /*
                         * Collect all update RRs for this name and type
-                        * onto u_rrs.  No need to sort them here - 
+                        * onto u_rrs.  No need to sort them here -
                         * they are already sorted.
                         */
                        while (t != NULL &&
@@ -862,8 +862,8 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
 
                dns_db_detachnode(db, &node);
        }
-       
-       dns_diff_clear(&trash); 
+
+       dns_diff_clear(&trash);
        return (ISC_R_SUCCESS);
 }
 
@@ -945,7 +945,7 @@ replaces_p(dns_rdata_t *update_rr, dns_rdata_t *db_rr) {
        if (db_rr->type == dns_rdatatype_wks) {
                /*
                 * Compare the address and protocol fields only.  These
-                * form the first five bytes of the RR data.  Do a 
+                * form the first five bytes of the RR data.  Do a
                 * raw binary comparison; unpacking the WKS RRs using
                 * dns_rdata_tostruct() might be cleaner in some ways,
                 * but it would require us to pass around an mctx.
@@ -960,7 +960,7 @@ replaces_p(dns_rdata_t *update_rr, dns_rdata_t *db_rr) {
 /*
  * Internal helper function for delete_if().
  */
-static isc_result_t 
+static isc_result_t
 delete_if_action(void *data, rr_t *rr) {
        conditional_delete_ctx_t *ctx = data;
        if ((*ctx->predicate)(ctx->update_rr, &rr->rdata)) {
@@ -978,7 +978,7 @@ delete_if_action(void *data, rr_t *rr) {
  * Conditionally delete RRs.  Apply 'predicate' to the RRs
  * specified by 'db', 'ver', 'name', and 'type' (which can
  * be dns_rdatatype_any to match any type).  Delete those
- * RRs for which the predicate returns true, and log the 
+ * RRs for which the predicate returns true, and log the
  * deletions in 'diff'.
  */
 static isc_result_t
@@ -1039,7 +1039,7 @@ get_current_rr(dns_message_t *msg, dns_section_t section,
 
 /*
  * Increment the SOA serial number of database 'db', version 'ver'.
- * Replace the SOA record in the database, and log the 
+ * Replace the SOA record in the database, and log the
  * change in 'diff'.
  */
 
@@ -1057,23 +1057,23 @@ increment_soa_serial(dns_db_t *db, dns_dbversion_t *ver,
        dns_difftuple_t *addtuple = NULL;
        isc_uint32_t serial;
        isc_result_t result;
-       
+
        CHECK(dns_db_createsoatuple(db, ver, mctx, DNS_DIFFOP_DEL, &deltuple));
        CHECK(dns_difftuple_copy(deltuple, &addtuple));
        addtuple->op = DNS_DIFFOP_ADD;
 
        serial = dns_soa_getserial(&addtuple->rdata);
-       
+
        /* RFC1982 */
        serial = (serial + 1) & 0xFFFFFFFF;
-       if (serial == 0) 
+       if (serial == 0)
                serial = 1;
 
        dns_soa_setserial(serial, &addtuple->rdata);
        CHECK(do_one_tuple(&addtuple, db, ver, diff));
        CHECK(do_one_tuple(&deltuple, db, ver, diff));
        result = ISC_R_SUCCESS;
-       
+
  failure:
        if (addtuple != NULL)
                dns_difftuple_free(&addtuple);
@@ -1091,11 +1091,11 @@ increment_soa_serial(dns_db_t *db, dns_dbversion_t *ver,
  *
  * William King points out that RFC2136 is inconsistent about
  * the case where the serial number stays unchanged:
- * 
+ *
  *   section 3.4.2.2 requires a server to ignore a SOA update request
  *   if the serial number on the update SOA is less_than_or_equal to
  *   the zone SOA serial.
- * 
+ *
  *   section 3.6 requires a server to ignore a SOA update request if
  *   the serial is less_than the zone SOA serial.
  *
@@ -1103,7 +1103,7 @@ increment_soa_serial(dns_db_t *db, dns_dbversion_t *ver,
  *
  */
 static isc_result_t
-check_soa_increment(dns_db_t *db, dns_dbversion_t *ver, 
+check_soa_increment(dns_db_t *db, dns_dbversion_t *ver,
                    dns_rdata_t *update_rdata,
                    isc_boolean_t *ok)
 {
@@ -1112,7 +1112,7 @@ check_soa_increment(dns_db_t *db, dns_dbversion_t *ver,
        isc_result_t result;
 
        update_serial = dns_soa_getserial(update_rdata);
-       
+
        result = dns_db_getsoaserial(db, ver, &db_serial);
        if (result != ISC_R_SUCCESS)
                return (result);
@@ -1157,12 +1157,12 @@ namelist_append_subdomain(dns_db_t *db, dns_name_t *name, dns_diff_t *affected)
        dns_fixedname_t fixedname;
        dns_name_t *child;
        dns_dbiterator_t *dbit = NULL;
-       
+
        dns_fixedname_init(&fixedname);
        child = dns_fixedname_name(&fixedname);
 
        CHECK(dns_db_createiterator(db, ISC_FALSE, &dbit));
-       
+
        for (result = dns_dbiterator_seek(dbit, name);
             result == ISC_R_SUCCESS;
             result = dns_dbiterator_next(dbit))
@@ -1208,8 +1208,8 @@ static isc_result_t
 non_nxt_rrset_exists(dns_db_t *db, dns_dbversion_t *ver,
                     dns_name_t *name, isc_boolean_t *exists)
 {
-       isc_result_t result;    
-       result = foreach_rrset(db, ver, name, 
+       isc_result_t result;
+       result = foreach_rrset(db, ver, name,
                               is_non_nxt_action, NULL);
        RETURN_EXISTENCE_FLAG;
 }
@@ -1217,12 +1217,12 @@ non_nxt_rrset_exists(dns_db_t *db, dns_dbversion_t *ver,
 /*
  * A comparison function for sorting dns_diff_t:s by name.
  */
-static int 
+static int
 name_order(const void *av, const void *bv) {
        dns_difftuple_t * const *ap = av;
        dns_difftuple_t * const *bp = bv;
        dns_difftuple_t *a = *ap;
-       dns_difftuple_t *b = *bp;       
+       dns_difftuple_t *b = *bp;
        return (dns_name_compare(&a->name, &b->name));
 }
 
@@ -1230,7 +1230,7 @@ static isc_result_t
 uniqify_name_list(dns_diff_t *list) {
        isc_result_t result;
        dns_difftuple_t *p, *q;
-       
+
        CHECK(dns_diff_sort(list, name_order));
 
        p = ISC_LIST_HEAD(list->tuples);
@@ -1277,7 +1277,7 @@ is_glue(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
 }
 
 /*
- * Find the next/previous name that has a NXT record.  
+ * Find the next/previous name that has a NXT record.
  * In other words, skip empty database nodes and names that
  * have  had their NXTs removed because they are obscured by
  * a zone cut.
@@ -1291,11 +1291,11 @@ next_active(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *oldname,
        isc_boolean_t has_nxt;
 
        CHECK(dns_db_createiterator(db, ISC_FALSE, &dbit));
-       
+
        CHECK(dns_dbiterator_seek(dbit, oldname));
        do {
                dns_dbnode_t *node = NULL;
-               
+
                if (forward)
                        result = dns_dbiterator_next(dbit);
                else
@@ -1306,7 +1306,7 @@ next_active(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *oldname,
                         */
                        if (forward)
                                CHECK(dns_dbiterator_first(dbit));
-                       else 
+                       else
                                CHECK(dns_dbiterator_last(dbit));
                }
                dns_dbiterator_current(dbit, &node, newname);
@@ -1345,9 +1345,9 @@ add_nxt(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_diff_t *diff)
        dns_name_t *target;
 
        dns_fixedname_init(&fixedname);
-       target = dns_fixedname_name(&fixedname);        
-       
-             
+       target = dns_fixedname_name(&fixedname);
+
+
        /*
         * Find the successor name, aka NXT target.
         */
@@ -1359,17 +1359,17 @@ add_nxt(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_diff_t *diff)
        CHECK(dns_db_findnode(db, name, ISC_FALSE, &node));
        dns_rdata_init(&rdata);
        CHECK(dns_buildnxtrdata(db, ver, node, target, buffer, &rdata));
-       dns_db_detachnode(db, &node);   
+       dns_db_detachnode(db, &node);
 
        /*
         * Create a diff tuple, update the database, and record the change.
         */
        CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD, name,
-                                  3600,        /* XXXRTH */       
+                                  3600,        /* XXXRTH */
                                   &rdata, &tuple));
        CHECK(do_one_tuple(&tuple, db, ver, diff));
        INSIST(tuple == NULL);
-       
+
  failure:
        if (node != NULL)
                dns_db_detachnode(db, &node);
@@ -1438,7 +1438,7 @@ add_sigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
        CHECK(dns_db_findrdataset(db, node, ver, type, 0,
                                  (isc_stdtime_t) 0,
                                  &rdataset, NULL));
-       dns_db_detachnode(db, &node);   
+       dns_db_detachnode(db, &node);
 
        for (i = 0; i < nkeys; i++) {
                /* Calculate the signature, creating a SIG RDATA. */
@@ -1451,18 +1451,18 @@ add_sigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
                CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADD, name,
                                    rdataset.ttl, &sig_rdata));
        }
-               
+
  failure:
        if (dns_rdataset_isassociated(&rdataset))
                dns_rdataset_disassociate(&rdataset);
        if (node != NULL)
                dns_db_detachnode(db, &node);
        return (result);
-} 
+}
 
 /*
  * Update SIG and NXT records affected by an update.  The original
- * update, including the SOA serial update but exluding the SIG & NXT 
+ * update, including the SOA serial update but exluding the SIG & NXT
  * changes, is in "diff" and has already been applied to "newver" of "db".
  * The database version prior to the update is "oldver".
  *
@@ -1488,15 +1488,15 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
        unsigned int nkeys = 0;
        unsigned int i;
        isc_stdtime_t now, inception, expire;
-       
+
        dns_diff_init(mctx, &diffnames);
        dns_diff_init(mctx, &affected);
-       
+
        dns_diff_init(mctx, &sig_diff);
        dns_diff_init(mctx, &nxt_diff);
        dns_diff_init(mctx, &nxt_mindiff);
 
-       result = find_zone_keys(db, newver, mctx, 
+       result = find_zone_keys(db, newver, mctx,
                                MAXZONEKEYS, zone_keys, &nkeys);
        if (result != ISC_R_SUCCESS) {
                isc_log_write(ns_g_lctx, NS_LOGCATEGORY_UPDATE,
@@ -1509,9 +1509,9 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
        isc_stdtime_get(&now);
        inception = now - 3600; /* Allow for some clock skew. */
        expire = now + sigvalidityinterval;
-       
+
        /*
-        * Find all RRsets directly affected by the update, and 
+        * Find all RRsets directly affected by the update, and
         * update their SIGs.  Also build a list of names affected
         * by the update in "diffnames".
         */
@@ -1523,14 +1523,14 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
                /* Now "name" is a new, unique name affected by the update. */
 
                CHECK(namelist_append_name(&diffnames, name));
-               
+
                while (t != NULL && dns_name_equal(&t->name, name)) {
                        dns_rdatatype_t type;
                        type = t->rdata.type;
 
                        /*
                         * Now "name" and "type" denote a new unique RRset
-                        * affected by the update.  
+                        * affected by the update.
                         */
 
                        /* Don't sign SIGs. */
@@ -1540,7 +1540,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
                        /*
                         * Delete all old SIGs covering this type, since they
                         * are all invalid when the signed RRset has changed.
-                        * We may not be able to recreate all of them - tough. 
+                        * We may not be able to recreate all of them - tough.
                         */
                        CHECK(delete_if(true_p, db, newver, name,
                                        dns_rdatatype_sig, type,
@@ -1581,7 +1581,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
        }
 
        /*
-        * When a name is created or deleted, its predecessor needs to 
+        * When a name is created or deleted, its predecessor needs to
         * have its NXT updated.
         */
        for (t = ISC_LIST_HEAD(diffnames.tuples);
@@ -1607,7 +1607,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
                 * the NXTs have not yet been updated to reflect the delegation
                 * change.  This should not matter because in this case,
                 * the correct predecessor is either the delegation node or
-                * a newly unobscured node, and those nodes are on the 
+                * a newly unobscured node, and those nodes are on the
                 * "affected" list in any case.
                 */
                CHECK(next_active(db, newver, &t->name, prevname, ISC_FALSE));
@@ -1628,7 +1628,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
                if (exists == existed)
                        continue;
                /*
-                * There was a delegation change.  Mark all subdomains 
+                * There was a delegation change.  Mark all subdomains
                 * of t->name as potentially needing a NXT update.
                 */
                CHECK(namelist_append_subdomain(db, &t->name, &affected));
@@ -1636,9 +1636,9 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
 
        ISC_LIST_APPENDLIST(affected.tuples, diffnames.tuples, link);
        INSIST(ISC_LIST_EMPTY(diffnames.tuples));
-       
+
        CHECK(uniqify_name_list(&affected));
-       
+
        /*
         * Determine which names should have NXTs, and delete/create
         * NXTs to make it so.  We don't know the final NXT targets yet,
@@ -1675,7 +1675,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
                        }
                }
        }
-               
+
        /*
         * Now we know which names are part of the NXT chain.
         * Make them all point at their correct targets.
@@ -1699,7 +1699,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
                         * (XXX what if the zone keys are missing?).
                         * Because the SIG NXTs have not necessarily been
                         * created yet, the correctness of the bit mask relies
-                        * on the assumption that NXTs are only created if 
+                        * on the assumption that NXTs are only created if
                         * there is other data, and if there is other data,
                         * there are other SIGs.
                         */
@@ -1712,7 +1712,7 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
 
        /*
         * Minimize the set of NXT updates so that we don't
-        * have to regenerate the SIG NXTs for NXTs that were 
+        * have to regenerate the SIG NXTs for NXTs that were
         * replaced with identical ones.
         */
        while ((t = ISC_LIST_HEAD(nxt_diff.tuples)) != NULL) {
@@ -1760,11 +1760,11 @@ update_signatures(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *oldver,
        dns_diff_clear(&affected);
        dns_diff_clear(&diffnames);
 
-       for (i = 0; i < nkeys; i++) 
+       for (i = 0; i < nkeys; i++)
                dst_key_free(&zone_keys[i]);
-       
+
        return (result);
-}      
+}
 
 
 /**************************************************************************/
@@ -1779,7 +1779,7 @@ send_update_event(ns_client_t *client, dns_zone_t *zone) {
        update_event_t *event = NULL;
        isc_task_t *zonetask = NULL;
        ns_client_t *evclient;
-       
+
        event = (update_event_t *)
                isc_event_allocate(client->mctx, client, DNS_EVENT_UPDATE,
                                   update_action, NULL, sizeof(*event));
@@ -1812,7 +1812,7 @@ respond(ns_client_t *client, isc_result_t result) {
 
        ns_client_send(client);
        return;
-       
+
  msg_failure:
        isc_log_write(ns_g_lctx, NS_LOGCATEGORY_UPDATE, NS_LOGMODULE_UPDATE,
                      ISC_LOG_ERROR,
@@ -1828,7 +1828,7 @@ ns_update_start(ns_client_t *client) {
        dns_name_t *zonename;
        dns_rdataset_t *zone_rdataset;
        dns_zone_t *zone = NULL;
-       
+
        /*
         * Interpret the zone section.
         */
@@ -1865,7 +1865,7 @@ ns_update_start(ns_client_t *client) {
 
        switch(dns_zone_gettype(zone)) {
        case dns_zone_master:
-               CHECK(send_update_event(client, zone)); 
+               CHECK(send_update_event(client, zone));
                break;  /* OK. */
        case dns_zone_slave:
                FAILS(DNS_R_NOTIMP,
@@ -1875,11 +1875,11 @@ ns_update_start(ns_client_t *client) {
                      "not authoritative for update zone");
        }
        return;
-       
+
  failure:
        /*
         * We failed without having sent an update event to the zone.
-        * We are still in the client task context, so we can 
+        * We are still in the client task context, so we can
         * simply give an error response without switching tasks.
         */
        respond(client, result);
@@ -1904,7 +1904,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
        dns_rdataclass_t zoneclass;
        dns_name_t *zonename;
        dns_ssutable_t *ssutable = NULL;
-               
+
        INSIST(event->ev_type == DNS_EVENT_UPDATE);
 
        dns_diff_init(mctx, &diff);
@@ -1916,7 +1916,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
        dns_zone_getssutable(zone, &ssutable);
        dns_db_currentversion(db, &oldver);
        CHECK(dns_db_newversion(db, &ver));
-       
+
        /*
         * Check prerequisites.
         */
@@ -1984,7 +1984,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                                              "'rrset does not exist' "
                                              "prerequisite not satisfied");
                                }
-                       } 
+                       }
                } else if (update_class == zoneclass) {
                        /* "temp<rr.name, rr.type> += rr;" */
                        result = temp_append(&temp, name, &rdata);
@@ -2037,7 +2037,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                dns_name_t *name = NULL;
                dns_rdata_t rdata;
                dns_ttl_t ttl;
-               dns_rdataclass_t update_class;          
+               dns_rdataclass_t update_class;
                get_current_rr(request, DNS_SECTION_UPDATE, zoneclass,
                               &name, &rdata, &covers, &ttl, &update_class);
 
@@ -2058,17 +2058,17 @@ update_action(isc_task_t *task, isc_event_t *event) {
                        if (ttl != 0 || rdata.length != 0 ||
                            (dns_rdatatype_ismeta(rdata.type) &&
                             rdata.type != dns_rdatatype_any))
-                               FAILC(DNS_R_FORMERR, 
+                               FAILC(DNS_R_FORMERR,
                                      "meta-RR in update");
                } else if (update_class == dns_rdataclass_none) {
-                       if (ttl != 0 || 
+                       if (ttl != 0 ||
                            dns_rdatatype_ismeta(rdata.type))
-                               FAILC(DNS_R_FORMERR, 
+                               FAILC(DNS_R_FORMERR,
                                      "meta-RR in update");
                } else {
                        isc_log_write(ns_g_lctx, NS_LOGCATEGORY_UPDATE,
                                      NS_LOGMODULE_UPDATE, ISC_LOG_WARNING,
-                                     "update RR has incorrect class %d", 
+                                     "update RR has incorrect class %d",
                                      update_class);
                        FAIL(DNS_R_FORMERR);
                }
@@ -2110,7 +2110,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                FAIL(result);
 
        isc_log_write(UPDATE_DEBUG_LOGARGS, "update section prescan OK");
-       
+
        /*
         * Process the Update Section.
         */
@@ -2124,7 +2124,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                dns_ttl_t ttl;
                dns_rdataclass_t update_class;
                isc_boolean_t flag;
-               
+
                get_current_rr(request, DNS_SECTION_UPDATE, zoneclass,
                               &name, &rdata, &covers, &ttl, &update_class);
 
@@ -2144,7 +2144,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                                CHECK(rrset_exists(db, ver, name,
                                                   dns_rdatatype_cname, 0,
                                                   &flag));
-                               if (flag && 
+                               if (flag &&
                                    ! dns_rdatatype_isdnssec(rdata.type))
                                {
                                        isc_log_write(UPDATE_PROTOCOL_LOGARGS,
@@ -2155,7 +2155,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                        }
                        if (rdata.type == dns_rdatatype_soa) {
                                isc_boolean_t ok;
-                               CHECK(rrset_exists(db, ver, name, 
+                               CHECK(rrset_exists(db, ver, name,
                                                   dns_rdatatype_soa, 0,
                                                   &flag));
                                if (! flag) {
@@ -2177,7 +2177,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                        }
                        /*
                         * Add an RR.  If an identical RR already exists,
-                        * do nothing.  If a similar but not identical 
+                        * do nothing.  If a similar but not identical
                         * CNAME, SOA, or WKS exists, remove it first.
                         */
                        CHECK(matching_rr_exists(rr_equal_p, db, ver, name,
@@ -2205,11 +2205,11 @@ update_action(isc_task_t *task, isc_event_t *event) {
                                              "delete all rrsets from a name");
                                if (dns_name_equal(name, zonename)) {
                                        CHECK(delete_if(type_not_soa_nor_ns_p,
-                                                       db, ver, name, 
+                                                       db, ver, name,
                                                        dns_rdatatype_any, 0,
                                                        &rdata, &diff));
                                } else {
-                                       CHECK(delete_if(true_p, db, ver, name, 
+                                       CHECK(delete_if(true_p, db, ver, name,
                                                        dns_rdatatype_any, 0,
                                                        &rdata, &diff));
                                }
@@ -2271,7 +2271,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                dns_journal_t *journal;
 
                /*
-                * Increment the SOA serial, but only if it was not 
+                * Increment the SOA serial, but only if it was not
                 * changed as a result of an update operation.
                 */
                if (! soa_serial_changed) {
@@ -2279,7 +2279,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
                }
 
                if (dns_db_issecure(db)) {
-                       
+
                        result = update_signatures(mctx, db, oldver, ver,
                           &diff, dns_zone_getsigvalidityinterval(zone));
                        if (result != ISC_R_SUCCESS) {
@@ -2323,17 +2323,17 @@ update_action(isc_task_t *task, isc_event_t *event) {
         * Notify slaves of the change we just made.
         */
        dns_zone_notify(zone);
-       
+
        result = ISC_R_SUCCESS;
        goto common;
-       
+
  failure:
        /*
         * The reason for failure should have been logged at this point.
         */
        if (ver != NULL) {
                isc_log_write(UPDATE_DEBUG_LOGARGS,
-                             "rolling back");  
+                             "rolling back");
                dns_db_closeversion(db, &ver, ISC_FALSE);
        }
 
@@ -2343,7 +2343,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
 
        if (oldver != NULL)
                dns_db_closeversion(db, &oldver, ISC_FALSE);
-       
+
        if (db != NULL)
                dns_db_detach(&db);
 
@@ -2361,10 +2361,10 @@ update_action(isc_task_t *task, isc_event_t *event) {
 static void
 updatedone_action(isc_task_t *task, isc_event_t *event) {
        update_event_t *uev = (update_event_t *) event;
-       ns_client_t *client = (ns_client_t *) event->ev_arg;    
+       ns_client_t *client = (ns_client_t *) event->ev_arg;
 
        UNUSED(task);
-       
+
        INSIST(event->ev_type == DNS_EVENT_UPDATEDONE);
        INSIST(task == client->task);
 
index ebb044eea3e47c904a63219cde4c5a2e0af7576a..bd7b48d15f5ce1983b0c2ddf1d41a0a69e675f43 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: xfrout.c,v 1.69 2000/07/27 09:37:10 tale Exp $ */
+/* $Id: xfrout.c,v 1.70 2000/08/01 01:12:01 tale Exp $ */
 
 #include <config.h>
 
@@ -84,9 +84,9 @@
 /**************************************************************************/
 /*
  * A db_rr_iterator_t is an iterator that iterates over an entire database,
- * returning one RR at a time, in some arbitrary order. 
+ * returning one RR at a time, in some arbitrary order.
  */
-       
+
 typedef struct db_rr_iterator db_rr_iterator_t;
 
 struct db_rr_iterator {
@@ -147,21 +147,21 @@ db_rr_iterator_first(db_rr_iterator_t *it) {
                return (it->result);
        it->result = dns_dbiterator_current(it->dbit, &it->node,
                                    dns_fixedname_name(&it->fixedname));
-       if (it->result != ISC_R_SUCCESS) 
+       if (it->result != ISC_R_SUCCESS)
                return (it->result);
 
        it->result = dns_db_allrdatasets(it->db, it->node,
                                         it->ver, it->now,
                                         &it->rdatasetit);
-       if (it->result != ISC_R_SUCCESS) 
+       if (it->result != ISC_R_SUCCESS)
                return (it->result);
-               
+
        it->result = dns_rdatasetiter_first(it->rdatasetit);
-       if (it->result != ISC_R_SUCCESS) 
+       if (it->result != ISC_R_SUCCESS)
                return (it->result);
 
        dns_rdatasetiter_current(it->rdatasetit, &it->rdataset);
-       
+
        it->result = dns_rdataset_first(&it->rdataset);
        return (it->result);
 }
@@ -258,7 +258,7 @@ log_rr(dns_name_t *name, dns_rdata_t *rdata, isc_uint32_t ttl) {
        dns_rdataset_init(&rds);
        ISC_LIST_APPEND(rdl.rdata, rdata, link);
        RUNTIME_CHECK(dns_rdatalist_tordataset(&rdl, &rds) == ISC_R_SUCCESS);
-               
+
        isc_buffer_init(&buf, mem, sizeof(mem));
        result = dns_rdataset_totext(&rds, name,
                                     ISC_FALSE, ISC_FALSE, &buf);
@@ -295,7 +295,7 @@ typedef struct rrstream {
        rrstream_methods_t      *methods;
 } rrstream_t;
 
-struct rrstream_methods {      
+struct rrstream_methods {
        isc_result_t            (*first)(rrstream_t *);
        isc_result_t            (*next)(rrstream_t *);
        void                    (*current)(rrstream_t *,
@@ -350,7 +350,7 @@ ixfr_rrstream_create(isc_mem_t *mctx,
        s->common.mctx = mctx;
        s->common.methods = &ixfr_rrstream_methods;
        s->journal = NULL;
-       
+
        CHECK(dns_journal_open(mctx, journal_filename,
                               ISC_FALSE, &s->journal));
        CHECK(dns_journal_iter_init(s->journal, begin_serial, end_serial));
@@ -371,7 +371,7 @@ ixfr_rrstream_first(rrstream_t *rs) {
 
 static isc_result_t
 ixfr_rrstream_next(rrstream_t *rs) {
-       ixfr_rrstream_t *s = (ixfr_rrstream_t *) rs;    
+       ixfr_rrstream_t *s = (ixfr_rrstream_t *) rs;
        return (dns_journal_next_rr(s->journal));
 }
 
@@ -380,7 +380,7 @@ ixfr_rrstream_current(rrstream_t *rs,
                       dns_name_t **name, isc_uint32_t *ttl,
                       dns_rdata_t **rdata)
 {
-       ixfr_rrstream_t *s = (ixfr_rrstream_t *) rs;    
+       ixfr_rrstream_t *s = (ixfr_rrstream_t *) rs;
        dns_journal_current_rr(s->journal, name, ttl, rdata);
 }
 
@@ -395,7 +395,7 @@ ixfr_rrstream_destroy(rrstream_t **rsp) {
 static rrstream_methods_t ixfr_rrstream_methods = {
        ixfr_rrstream_first,
        ixfr_rrstream_next,
-       ixfr_rrstream_current,          
+       ixfr_rrstream_current,
        ixfr_rrstream_destroy
 };
 
@@ -477,7 +477,7 @@ static isc_result_t
 axfr_rrstream_next(rrstream_t *rs) {
        axfr_rrstream_t *s = (axfr_rrstream_t *) rs;
        isc_result_t result;
-       
+
        /* Skip SOA records. */
        for (;;) {
                dns_name_t *name_dummy = NULL;
@@ -506,14 +506,14 @@ static void
 axfr_rrstream_destroy(rrstream_t **rsp) {
        axfr_rrstream_t *s = (axfr_rrstream_t *) *rsp;
        if (s->it_valid)
-               db_rr_iterator_destroy(&s->it); 
+               db_rr_iterator_destroy(&s->it);
        isc_mem_put(s->common.mctx, s, sizeof(*s));
 }
 
 static rrstream_methods_t axfr_rrstream_methods = {
        axfr_rrstream_first,
        axfr_rrstream_next,
-       axfr_rrstream_current,          
+       axfr_rrstream_current,
        axfr_rrstream_destroy
 };
 
@@ -551,7 +551,7 @@ soa_rrstream_create(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *ver,
        s->common.mctx = mctx;
        s->common.methods = &soa_rrstream_methods;
        s->soa_tuple = NULL;
-       
+
        CHECK(dns_db_createsoatuple(db, ver, mctx, DNS_DIFFOP_EXISTS,
                                    &s->soa_tuple));
 
@@ -579,7 +579,7 @@ static void
 soa_rrstream_current(rrstream_t *rs, dns_name_t **name, isc_uint32_t *ttl,
                     dns_rdata_t **rdata)
 {
-       soa_rrstream_t *s = (soa_rrstream_t *) rs;      
+       soa_rrstream_t *s = (soa_rrstream_t *) rs;
        *name = &s->soa_tuple->name;
        *ttl = s->soa_tuple->ttl;
        *rdata = &s->soa_tuple->rdata;
@@ -596,7 +596,7 @@ soa_rrstream_destroy(rrstream_t **rsp) {
 static rrstream_methods_t soa_rrstream_methods = {
        soa_rrstream_first,
        soa_rrstream_next,
-       soa_rrstream_current,           
+       soa_rrstream_current,
        soa_rrstream_destroy
 };
 
@@ -607,7 +607,7 @@ static rrstream_methods_t soa_rrstream_methods = {
  * a concatenated stream consisting of the soa_rrstream, then
  * the data stream, then the soa_rrstream again.
  *
- * The component streams are owned by the compound_rrstream_t 
+ * The component streams are owned by the compound_rrstream_t
  * and are destroyed with it.
  */
 
@@ -681,7 +681,7 @@ compound_rrstream_first(rrstream_t *rs) {
 static isc_result_t
 compound_rrstream_next(rrstream_t *rs) {
        compound_rrstream_t *s = (compound_rrstream_t *) rs;
-       rrstream_t *curstream = s->components[s->state];        
+       rrstream_t *curstream = s->components[s->state];
        s->result = curstream->methods->next(curstream);
        while (s->result == ISC_R_NOMORE) {
                if (s->state == 2)
@@ -717,7 +717,7 @@ compound_rrstream_destroy(rrstream_t **rsp) {
 static rrstream_methods_t compound_rrstream_methods = {
        compound_rrstream_first,
        compound_rrstream_next,
-       compound_rrstream_current,              
+       compound_rrstream_current,
        compound_rrstream_destroy
 };
 
@@ -807,7 +807,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
        dns_rdataset_t *soa_rdataset;
        dns_rdata_t soa_rdata;
        isc_boolean_t have_soa = ISC_FALSE;
-       const char *mnemonic = NULL;    
+       const char *mnemonic = NULL;
        isc_mem_t *mctx = client->mctx;
        dns_message_t *request = client->message;
        xfrout_ctx_t *xfr = NULL;
@@ -828,7 +828,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
                INSIST(0);
                break;
        }
-       
+
        ns_client_log(client,
                      DNS_LOGCATEGORY_XFER_OUT, NS_LOGMODULE_XFER_OUT,
                      ISC_LOG_DEBUG(6), "%s request", mnemonic);
@@ -873,12 +873,12 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
        case dns_zone_slave:
                break;  /* Master and slave zones are OK for transfer. */
        default:
-               FAILC(DNS_R_NOTAUTH, "non-authoritative zone"); 
+               FAILC(DNS_R_NOTAUTH, "non-authoritative zone");
        }
        CHECK(dns_zone_getdb(zone, &db));
        dns_db_currentversion(db, &ver);
 
-       xfrout_log1(client, question_name, ISC_LOG_DEBUG(6), 
+       xfrout_log1(client, question_name, ISC_LOG_DEBUG(6),
                    "%s question section OK", mnemonic);
 
        /*
@@ -898,7 +898,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
                 */
                if (! dns_name_equal(soa_name, question_name))
                        continue;
-               
+
                for (soa_rdataset = ISC_LIST_HEAD(soa_name->list);
                     soa_rdataset != NULL;
                     soa_rdataset = ISC_LIST_NEXT(soa_rdataset, link))
@@ -926,7 +926,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
        if (result != ISC_R_NOMORE)
                CHECK(result);
 
-       xfrout_log1(client, question_name, ISC_LOG_DEBUG(6), 
+       xfrout_log1(client, question_name, ISC_LOG_DEBUG(6),
                    "%s authority section OK", mnemonic);
 
        /*
@@ -948,13 +948,13 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
         */
        isc_netaddr_fromsockaddr(&na, &client->peeraddr);
        (void)dns_peerlist_peerbyaddr(client->view->peers, &na, &peer);
-          
+
        /*
         * Decide on the transfer format (one-answer or many-answers).
         */
        if (peer != NULL)
                (void)dns_peer_gettransferformat(peer, &format);
-       
+
        /*
         * Get a dynamically allocated copy of the current SOA.
         */
@@ -964,7 +964,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
        if (reqtype == dns_rdatatype_ixfr) {
                isc_uint32_t begin_serial, current_serial;
                isc_boolean_t provide_ixfr;
-               
+
                /*
                 * Outgoing IXFR may have been disabled for this peer
                 * or globally.
@@ -974,7 +974,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
                        (void) dns_peer_getprovideixfr(peer, &provide_ixfr);
                if (provide_ixfr == ISC_FALSE)
                        goto axfr_fallback;
-               
+
                if (! have_soa)
                        FAILC(DNS_R_FORMERR,
                              "IXFR request missing SOA");
@@ -984,13 +984,13 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
 
                /*
                 * RFC1995 says "If an IXFR query with the same or
-                * newer version number than that of the server 
-                * is received, it is replied to with a single SOA 
+                * newer version number than that of the server
+                * is received, it is replied to with a single SOA
                 * record of the server's current version, just as
                 * in AXFR".  The claim about AXFR is incorrect,
                 * but other than that, we do as the RFC says.
                 *
-                * Sending a single SOA record is also how we refuse 
+                * Sending a single SOA record is also how we refuse
                 * IXFR over UDP (currently, we always do).
                 */
                if (DNS_SERIAL_GE(begin_serial, current_serial) ||
@@ -1006,7 +1006,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
                                              &data_stream);
                if (result == ISC_R_NOTFOUND ||
                    result == ISC_R_RANGE) {
-                       xfrout_log1(client, question_name, ISC_LOG_DEBUG(4), 
+                       xfrout_log1(client, question_name, ISC_LOG_DEBUG(4),
                                    "IXFR version not in journal, "
                                    "falling back to AXFR");
                        goto axfr_fallback;
@@ -1033,7 +1033,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
         * Create the xfrout context object.  This transfers the ownership
         * of "stream", "db", "ver", and "quota" to the xfrout context object.
         */
-       CHECK(xfrout_ctx_create(mctx, client, request->id, question_name, 
+       CHECK(xfrout_ctx_create(mctx, client, request->id, question_name,
                                reqtype, db, ver, quota, stream,
                                dns_message_gettsigkey(request),
                                tsigbuf,
@@ -1046,7 +1046,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
        db = NULL;
        ver = NULL;
        quota = NULL;
-       
+
        CHECK(xfr->stream->methods->first(xfr->stream));
 
        /*
@@ -1056,7 +1056,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
         */
        sendstream(xfr);
        xfr = NULL;
-       
+
        result = ISC_R_SUCCESS;
 
  failure:
@@ -1082,7 +1082,7 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
        } else if (result != ISC_R_SUCCESS) {
                ns_client_log(client, DNS_LOGCATEGORY_XFER_OUT,
                              NS_LOGMODULE_XFER_OUT,
-                             ISC_LOG_DEBUG(3), "zone transfer setup failed"); 
+                             ISC_LOG_DEBUG(3), "zone transfer setup failed");
                ns_client_error(client, result);
        }
 }
@@ -1102,7 +1102,7 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id,
        void *mem;
        isc_interval_t maxinterval, idleinterval;
        isc_time_t expires;
-       
+
        INSIST(xfrp != NULL && *xfrp == NULL);
        xfr = isc_mem_get(mctx, sizeof(*xfr));
        if (xfr == NULL)
@@ -1126,7 +1126,7 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id,
        xfr->many_answers = many_answers,
        xfr->sends = 0;
        xfr->shuttingdown = ISC_FALSE;
-       
+
        /*
         * Allocate a temporary buffer for the uncompressed response
         * message data.  The size should be no more than 65535 bytes
@@ -1176,10 +1176,10 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id,
         */
        xfr->client->shutdown = xfrout_client_shutdown;
        xfr->client->shutdown_arg = xfr;
-               
+
        *xfrp = xfr;
        return (ISC_R_SUCCESS);
-       
+
 failure:
        xfrout_ctx_destroy(&xfr);
        return (result);
@@ -1191,7 +1191,7 @@ failure:
  *
  * Requires:
  *     The stream iterator is initialized and points at an RR,
- *      or possiby at the end of the stream (that is, the 
+ *      or possiby at the end of the stream (that is, the
  *      _first method of the iterator has been called).
  */
 static void
@@ -1208,7 +1208,7 @@ sendstream(xfrout_ctx_t *xfr) {
        isc_buffer_clear(&xfr->txbuf);
 
        /*
-        * Build a response dns_message_t, temporarily storing the raw, 
+        * Build a response dns_message_t, temporarily storing the raw,
         * uncompressed owner names and RR data contiguously in xfr->buf.
         * We know that if the uncompressed data fits in xfr->buf,
         * the compressed data will surely fit in a TCP message.
@@ -1228,7 +1228,7 @@ sendstream(xfrout_ctx_t *xfr) {
                isc_buffer_free(&xfr->lasttsig);
 
        /*
-        * Include a question section in the first message only. 
+        * Include a question section in the first message only.
         * BIND 8.2.1 will not recognize an IXFR if it does not have a
         * question section.
         */
@@ -1241,7 +1241,7 @@ sendstream(xfrout_ctx_t *xfr) {
                 * and 4 bytes of question.
                 */
                isc_buffer_add(&xfr->buf, 12 + 4);
-               
+
                qrdataset = NULL;
                result = dns_message_gettemprdataset(msg, &qrdataset);
                if (result != ISC_R_SUCCESS)
@@ -1268,7 +1268,7 @@ sendstream(xfrout_ctx_t *xfr) {
        }
        else
                msg->tcp_continuation = 1;
-       
+
        /*
         * Try to fit in as many RRs as possible, unless "one-answer"
         * format has been requested.
@@ -1277,12 +1277,12 @@ sendstream(xfrout_ctx_t *xfr) {
                dns_name_t *name = NULL;
                isc_uint32_t ttl;
                dns_rdata_t *rdata = NULL;
-               
+
                dns_name_t *msgname = NULL;
                dns_rdata_t *msgrdata = NULL;
                dns_rdatalist_t *msgrdl = NULL;
                dns_rdataset_t *msgrds = NULL;
-               
+
                unsigned int size;
                isc_region_t r;
 
@@ -1292,19 +1292,19 @@ sendstream(xfrout_ctx_t *xfr) {
                isc_buffer_availableregion(&xfr->buf, &r);
                if (size >= r.length) {
                        /*
-                        * RR would not fit.  If there are other RRs in the 
-                        * buffer, send them now and leave this RR to the 
+                        * RR would not fit.  If there are other RRs in the
+                        * buffer, send them now and leave this RR to the
                         * next message.  If this RR overflows the buffer
                         * all by itself, fail.
                         *
-                        * In theory some RRs might fit in a TCP message 
+                        * In theory some RRs might fit in a TCP message
                         * when compressed even if they do not fit when
                         * uncompressed, but surely we don't want
                         * to send such monstrosities to an unsuspecting
                         * slave.
                         */
                        if (n_rrs == 0) {
-                               xfrout_log(xfr, ISC_LOG_WARNING, 
+                               xfrout_log(xfr, ISC_LOG_WARNING,
                                           "RR too large for zone transfer "
                                           "(%d bytes)", size);
                                /* XXX DNS_R_RRTOOLARGE? */
@@ -1315,7 +1315,7 @@ sendstream(xfrout_ctx_t *xfr) {
                }
 
                log_rr(name, rdata, ttl); /* XXX */
-               
+
                dns_message_gettempname(msg, &msgname);
                dns_name_init(msgname, NULL);
                isc_buffer_availableregion(&xfr->buf, &r);
@@ -1326,7 +1326,7 @@ sendstream(xfrout_ctx_t *xfr) {
 
                /* Reserve space for RR header. */
                isc_buffer_add(&xfr->buf, 10);
-               
+
                dns_message_gettemprdata(msg, &msgrdata);
                isc_buffer_availableregion(&xfr->buf, &r);
                r.length = rdata->length;
@@ -1368,12 +1368,12 @@ sendstream(xfrout_ctx_t *xfr) {
                CHECK(dns_message_rendersection(msg, DNS_SECTION_QUESTION, 0));
                CHECK(dns_message_rendersection(msg, DNS_SECTION_ANSWER, 0));
                CHECK(dns_message_renderend(msg));
-               
+
                isc_buffer_usedregion(&xfr->txbuf, &used);
                isc_buffer_putuint16(&xfr->txlenbuf, used.length);
                region.base = xfr->txlenbuf.base;
                region.length = 2 + used.length;
-               xfrout_log(xfr, ISC_LOG_DEBUG(8), 
+               xfrout_log(xfr, ISC_LOG_DEBUG(8),
                           "sending TCP message of %d bytes",
                           used.length);
                CHECK(isc_socket_send(xfr->client->tcpsocket, /* XXX */
@@ -1429,8 +1429,8 @@ xfrout_ctx_destroy(xfrout_ctx_t **xfrp) {
        if (xfr->lasttsig != NULL)
                isc_buffer_free(&xfr->lasttsig);
        if (xfr->quota != NULL)
-               isc_quota_detach(&xfr->quota);          
-       if (xfr->ver != NULL) 
+               isc_quota_detach(&xfr->quota);
+       if (xfr->ver != NULL)
                dns_db_closeversion(xfr->db, &xfr->ver, ISC_FALSE);
        if (xfr->db != NULL)
                dns_db_detach(&xfr->db);
@@ -1444,7 +1444,7 @@ xfrout_ctx_destroy(xfrout_ctx_t **xfrp) {
 
 static void
 xfrout_senddone(isc_task_t *task, isc_event_t *event) {
-       isc_socketevent_t *sev = (isc_socketevent_t *)event;    
+       isc_socketevent_t *sev = (isc_socketevent_t *)event;
        xfrout_ctx_t *xfr = (xfrout_ctx_t *)event->ev_arg;
        isc_result_t evresult = sev->result;
 
@@ -1504,7 +1504,7 @@ xfrout_client_shutdown(void *arg, isc_result_t result) {
 
 /*
  * Log outgoing zone transfer messages in a format like
- * <client>: transfer of <zone>: <message> 
+ * <client>: transfer of <zone>: <message>
  */
 static void
 xfrout_logv(ns_client_t *client, dns_name_t *zonename, int level,
index 9353903cf7538e050e8c4d22174cfba5f8a4873b..237bad5d2fab0c24da77de0b30c5047e5a936fb3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zoneconf.c,v 1.50 2000/07/31 19:36:48 explorer Exp $ */
+/* $Id: zoneconf.c,v 1.51 2000/08/01 01:23:10 tale Exp $ */
 
 #include <config.h>
 
@@ -199,7 +199,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
 
                } else
                        RETERR(dns_zone_setalsonotify(zone, NULL, 0));
-               
+
                RETERR(configure_zone_acl(czone, cctx, cview, ac, zone,
                                          dns_c_zone_getallowtransfer,
                                          dns_c_view_gettransferacl,
@@ -219,10 +219,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setmaxxfrout(zone, uintval);
 
                result = dns_c_zone_getmaxtransidleout(czone, &uintval);
-               if (result != ISC_R_SUCCESS && cview != NULL) 
+               if (result != ISC_R_SUCCESS && cview != NULL)
                        result = dns_c_view_getmaxtransferidleout(cview,
                                                                  &uintval);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getmaxtransferidleout(cctx,
                                                                 &uintval);
                if (result != ISC_R_SUCCESS)
@@ -280,13 +280,13 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
 #else /* NOMINUM_PUBLIC */
                        result = dns_zone_setmasters(zone, iplist->ips,
                                                     iplist->nextidx);
-#endif /* NOMINUM_PUBLIC */                
+#endif /* NOMINUM_PUBLIC */
                else
                        result = dns_zone_setmasters(zone, NULL, 0);
                RETERR(result);
 
                result = dns_c_zone_getmaxtranstimein(czone, &uintval);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getmaxtransfertimein(cctx,
                                                                &uintval);
                if (result != ISC_R_SUCCESS)
@@ -294,7 +294,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setmaxxfrin(zone, uintval);
 
                result = dns_c_zone_getmaxtransidlein(czone, &uintval);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getmaxtransferidlein(cctx,
                                                                &uintval);
                if (result != ISC_R_SUCCESS)
@@ -312,10 +312,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setxfrsource4(zone, &sockaddr);
 
                result = dns_c_zone_gettransfersourcev6(czone, &sockaddr);
-               if (result != ISC_R_SUCCESS && cview != NULL) 
+               if (result != ISC_R_SUCCESS && cview != NULL)
                        result = dns_c_view_gettransfersourcev6(cview,
                                                                &sockaddr);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_gettransfersourcev6(cctx,
                                                               &sockaddr);
                if (result != ISC_R_SUCCESS)
@@ -323,7 +323,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setxfrsource6(zone, &sockaddr);
 
                break;
-               
+
        default:
                break;
        }
@@ -348,12 +348,12 @@ dns_zone_reusable(dns_zone_t *zone, dns_c_zone_t *czone) {
 
        return (ISC_TRUE);
 }
-       
+
 isc_result_t
 dns_zonemgr_configure(dns_c_ctx_t *cctx, dns_zonemgr_t *zmgr) {
        isc_uint32_t val;
        isc_result_t result;
-       
+
        result = dns_c_ctx_gettransfersin(cctx, &val);
        if (result != ISC_R_SUCCESS)
                val = 10;
index 7fd8f5dee1ef6ad23c315f8e94cd3f1f65c5d279..5469963c1b8ed1dfa0a4ddc69b91fd63ecb9c940 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.5 2000/07/27 09:37:33 tale Exp $
+# $Id: Makefile.in,v 1.6 2000/08/01 01:12:24 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -25,7 +25,7 @@ top_srcdir =  @top_srcdir@
 
 CINCLUDES =    -I${srcdir}/include ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES}
 
-CDEFINES =     
+CDEFINES =
 CWARNINGS =
 
 LWRESLIBS =    ../../lib/lwres/liblwres.@A@
@@ -40,13 +40,13 @@ DEPLIBS =   ${DNSDEPLIBS} ${ISCDEPLIBS}
 
 LIBS =         ${LWRESLIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@
 
-SUBDIRS =      
+SUBDIRS =
 
 TARGETS =      nsupdate
 
 OBJS =         nsupdate.@O@
 
-UOBJS =                
+UOBJS =
 
 SRCS =         nsupdate.c
 
index fc953806b88d6d12563b033afa17bf250221b76e..5c37905de00a2cf36ab766626d86c4a59e6431cb 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: nsupdate.8,v 1.3 2000/07/27 09:42:30 tale Exp $
-.\" 
+.\"
+.\" $Id: nsupdate.8,v 1.4 2000/08/01 01:18:45 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt NSUPDATE 8
 .Os BIND9 9
@@ -67,7 +67,7 @@ These use the TSIG resource record type described in RFC2845.
 The signatures rely on a shared secret that should only be known to
 .Nm nsupdate
 and the name server.
-Currently, the only supported encryption algorithm for TSIG is 
+Currently, the only supported encryption algorithm for TSIG is
 HMAC-MD5, which is defined in RFC 2104.
 Once other algorithms are defined for TSIG, applications will need to
 ensure they select the appropriate algorithm as well as the key when
@@ -141,7 +141,7 @@ Updates will be rejected if the tests for the prerequisite conditions fail.
 Every update request consists of zero or more prerequisites
 and one or more updates.
 This allows a suitably authenticated update request to proceed if some
-specified resource records are present or missing from the zone. 
+specified resource records are present or missing from the zone.
 A blank input line causes the accumulated commands to be sent as one Dynamic
 DNS update request to the name server.
 .Pp
@@ -259,7 +259,7 @@ could be used to insert and delete resource records from the
 zone.
 Notice that the input in each example contains a trailing blank line so that
 a group of commands are sent as one dynamic update request to the
-master name server for 
+master name server for
 .Dv example.com .
 .Bd -literal -offset indent
 # nsupdate
@@ -272,10 +272,10 @@ Any A records for
 .Dv oldhost.example.com
 are deleted.
 and an A record for
-.Dv newhost.example.com 
+.Dv newhost.example.com
 it IP address 172.16.1.1 is added.
 The newly-added record has a 1 day TTL (86400 seconds)
-.Bd -literal -offset indent 
+.Bd -literal -offset indent
 # nsupdate
 > prereq nxdomain nickname.example.com
 > update add nickname.example.com CNAME somehost.example.com
@@ -312,7 +312,7 @@ name server configuration file
 .It Pa K{name}.+157.+{random}.key
 base-64 encoding of HMAC-MD5 key created by
 .Xr dnssec-keygen 8 .
-.It Pa K{name}.+157.+{random}.private 
+.It Pa K{name}.+157.+{random}.private
 base-64 encoding of HMAC-MD5 key created by
 .Xr dnssec-keygen 8 .
 .El
@@ -325,7 +325,7 @@ base-64 encoding of HMAC-MD5 key created by
 .Xr RFC2535 ,
 .Xr named 8 ,
 .Xr dnssec-keygen 8 .
-.Sh BUGS 
+.Sh BUGS
 The
 .Fl D
 and
@@ -333,4 +333,4 @@ and
 options are not documented apart from this self-referential paragraph.
 They provide additional debugging information which is primarily of interest
 to the BIND9 developers.
-These options might be changed or removed in future releases. 
+These options might be changed or removed in future releases.
index 500cb9f94b71d9d4c0bf9f20de274ce0c00ae7e2..656727fcbfd3f735b5264107fc82d42925951e25 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsupdate.c,v 1.37 2000/07/31 22:11:13 bwelling Exp $ */
+/* $Id: nsupdate.c,v 1.38 2000/08/01 01:12:25 tale Exp $ */
 
 #include <config.h>
 
@@ -122,7 +122,7 @@ static void
 fatal(const char *format, ...) {
        va_list args;
 
-       va_start(args, format); 
+       va_start(args, format);
        vfprintf(stderr, format, args);
        va_end(args);
        fprintf(stderr, "\n");
@@ -134,7 +134,7 @@ debug(const char *format, ...) {
        va_list args;
 
        if (debugging) {
-               va_start(args, format); 
+               va_start(args, format);
                vfprintf(stderr, format, args);
                va_end(args);
                fprintf(stderr, "\n");
@@ -146,7 +146,7 @@ ddebug(const char *format, ...) {
        va_list args;
 
        if (ddebugging) {
-               va_start(args, format); 
+               va_start(args, format);
                vfprintf(stderr, format, args);
                va_end(args);
                fprintf(stderr, "\n");
@@ -303,7 +303,7 @@ setup_key() {
                }
                keyname = dst_key_name(dstkey);
        }
-               
+
        debug("keycreate");
        result = dns_tsigkey_create(keyname, dns_tsig_hmacmd5_name,
                                    secret, secretlen, ISC_TRUE, NULL, 0, 0,
@@ -554,7 +554,7 @@ parse_rdata(char **cmdlinep, dns_rdataclass_t rdataclass,
 
        if (*cmdline != 0) {
                result = isc_lex_create(mctx, WORDLEN, &lex);
-               check_result(result, "isc_lex_create"); 
+               check_result(result, "isc_lex_create");
 
                isc_buffer_init(&source, cmdline, strlen(cmdline));
                isc_buffer_add(&source, strlen(cmdline));
@@ -670,7 +670,7 @@ make_prereq(char *cmdline, isc_boolean_t ispositive, isc_boolean_t isrrset) {
        ISC_LIST_INIT(rdatalist->rdata);
        ISC_LIST_APPEND(rdatalist->rdata, rdata, link);
        dns_rdataset_init(rdataset);
-       dns_rdatalist_tordataset(rdatalist, rdataset);          
+       dns_rdatalist_tordataset(rdatalist, rdataset);
        ISC_LIST_INIT(name->list);
        ISC_LIST_APPEND(name->list, rdataset, link);
        dns_message_addname(updatemsg, name, DNS_SECTION_PREREQUISITE);
@@ -943,7 +943,7 @@ show_message(void) {
               (int)isc_buffer_usedlength(&buf),
               (char*)isc_buffer_base(&buf));
 }
-       
+
 
 static isc_uint16_t
 get_next_command(void) {
@@ -1011,7 +1011,7 @@ update_completed(isc_task_t *task, isc_event_t *event) {
        isc_buffer_t buf;
        dns_message_t *rcvmsg = NULL;
        char bufstore[MSGTEXT];
-       
+
        UNUSED(task);
 
        ddebug("updated_completed()");
@@ -1108,7 +1108,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) {
 
        if (eresult != ISC_R_SUCCESS) {
                char addrbuf[ISC_SOCKADDR_FORMATSIZE];
-       
+
                isc_sockaddr_format(addr, addrbuf, sizeof(addrbuf));
                fprintf(stderr, "; Communication with %s failed: %s\n",
                       addrbuf, isc_result_totext(eresult));
@@ -1329,7 +1329,7 @@ cleanup(void) {
        lwres_context_destroy(&lwctx);
 
        isc_mem_put(mctx, servers, ns_total * sizeof(isc_sockaddr_t));
-               
+
        ddebug("Shutting down request manager");
        dns_requestmgr_shutdown(requestmgr);
        dns_requestmgr_detach(&requestmgr);
index e325a668916998d487e5b47a8d07a7016eecb0f8..2a5a524ef1bf8eb7b47ebd6d1772a8eef6702b15 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.11 2000/07/27 09:37:36 tale Exp $
+# $Id: Makefile.in,v 1.12 2000/08/01 01:12:27 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -26,7 +26,7 @@ top_srcdir =  @top_srcdir@
 CINCLUDES =    -I${top_srcdir}/bin/named/include \
                ${ISC_INCLUDES} ${DNS_INCLUDES} ${OMAPI_INCLUDES}
 
-CDEFINES =     
+CDEFINES =
 CWARNINGS =
 
 OMAPILIBS =    ../../lib/omapi/libomapi.@A@
index 80b0c771b572934556d40b54ebd2b64f95600b77..a8c53815051f5bf34d2d65e0d052da74e3a7dac7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: rndc.8,v 1.7 2000/07/27 23:49:40 tale Exp $
-.\" 
+.\"
+.\" $Id: rndc.8,v 1.8 2000/08/01 01:18:46 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt RDNC 8
 .Os BIND9 9
@@ -31,7 +31,7 @@
 .Op Fl s Ar server
 .Op Fl v
 .Op Fl y Ar key_id
-.Ar command .... 
+.Ar command ....
 .Sh DESCRIPTION
 This command allows the system administrator to control the operation
 of a name server.
@@ -45,16 +45,16 @@ prints a short summary of the supported commands and the available
 options and their arguments.
 .Pp
 .Nm rndc
-communicates with the name server over a TCP connection, 
-sending commands authenticated with digital signatures. 
+communicates with the name server over a TCP connection,
+sending commands authenticated with digital signatures.
 In the current versions of
 .Nm rndc
-and 
+and
 .Xr named 8
 the only supported encryption algorithm is HMAC-MD5, which uses a
 shared secret on each end of the connection.
 This provides TSIG-style authentication for the command request
-and the name server's response. 
+and the name server's response.
 All commands sent over the channel
 must be signed by a key_id known to the server.
 .Pp
@@ -86,7 +86,7 @@ option can be used to make
 .Nm rndc
 send commands to TCP port number
 .Ar port#
-on the system running the name server instead of BIND 9's 
+on the system running the name server instead of BIND 9's
 default control channel port of 953.
 .Pp
 The
@@ -103,7 +103,7 @@ If no
 .Fl y
 option is provided,
 .Nm rndc
-will first look for a 
+will first look for a
 .Dv key
 clause in the
 .Dv server{}
@@ -148,7 +148,7 @@ offers at least as many management capabilities as the old
 .Xr ndc
 utility.
 .Pp
-There is currently no way to provide the shared secret for a key_id 
+There is currently no way to provide the shared secret for a key_id
 without using the configuration file.
 .Pp
 Several error messages could be clearer.
index 7227e97d6eda6b963e5c4e11b7e79837b79e79b2..375ea249af065604dcebfbb8b2ec0fc7ddc88c90 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,9 +15,9 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rndc.c,v 1.21 2000/07/27 23:27:37 bwelling Exp $ */
+/* $Id: rndc.c,v 1.22 2000/08/01 01:12:28 tale Exp $ */
 
-/* 
+/*
  * Principal Author: DCL
  */
 
@@ -462,7 +462,7 @@ main(int argc, char **argv) {
 
                if (strcmp(command, "dumpdb") == 0) {
                        result = ISC_R_NOTIMPLEMENTED;
-                       
+
                } else if (strcmp(command, "notrace") == 0) {
                        result = ISC_R_NOTIMPLEMENTED;
 
index 9dde134727b375c41ce1118eb90938e93de28fa4..924767a4450cdd091e602b87a95d1fe955c625c6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rndc.conf,v 1.5 2000/07/27 09:37:38 tale Exp $ */
+/* $Id: rndc.conf,v 1.6 2000/08/01 01:12:29 tale Exp $ */
 
 /*
  * Sample rndc configuration file.
index 93066a59d02cf34adfa2283aa050179d93bd1609..dcf25eae1a03abe6c2ea934a5a15dd538f341e60 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: rndc.conf.5,v 1.5 2000/07/27 09:42:31 tale Exp $
-.\" 
+.\"
+.\" $Id: rndc.conf.5,v 1.6 2000/08/01 01:18:48 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt RDNC.CONF 5
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd rdnc configuration file
 .Sh SYNOPSIS
 .Nm rdnc.conf
-.Sh DESCRIPTION 
+.Sh DESCRIPTION
 The BIND9 utility for controlling the name server,
 .Nm rndc ,
 has its own configuration file
@@ -65,13 +65,13 @@ be used when no name server is given as an argument to
 The
 .Dv default-key
 clause
-is followed by the name of a key which is identified by a 
+is followed by the name of a key which is identified by a
 .Dv key{}
 statement.
-If no 
+If no
 .Fl y
 option is provided on the
-.Xr rndc 
+.Xr rndc
 command line, and no
 .Dv key
 clause is found in a a matching
@@ -81,7 +81,7 @@ commands and responses.
 .Pp
 After the keyword
 .Dv server ,
-the 
+the
 .Dv server{}
 statement is followed by a string which is the hostname or address for a
 name server.
@@ -99,7 +99,7 @@ The statement has two clauses.
 identifies the encryption algorithm for
 .Nm rndc
 to use; currently only HMAC-MD5 is supported.
-This is followed by a 
+This is followed by a
 .Dv secret
 clause which contains the base-64 encoding of the
 algorithm's encryption key.
@@ -161,9 +161,9 @@ To generate a random secret with
 $ dnssec-keygen -a hmac-md5 -b 128 -n user rndc
 .Ed
 .Pp
-The base-64 string will appear in two files, 
+The base-64 string will appear in two files,
 .Pa Krndc.+157.+{random}.key
-and 
+and
 .Pa Krndc.+157.+{random}.private .
 After extracting the key to be
 placed in the
index ad77eb58f9079937ead80f1d45b3cc8809d72d21..1fc2347e7326bfde4a64ce35640d2190d14e52ab 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.97 2000/07/27 09:37:39 tale Exp $
+# $Id: Makefile.in,v 1.98 2000/08/01 01:12:30 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -42,7 +42,7 @@ LIBS =                @LIBS@
 SUBDIRS = db dst master mem names net rbt sockaddr tasks timers system
 
 # Alphabetically
-TARGETS =      
+TARGETS =
 
 XTARGETS =     adb_test \
                byaddr_test \
index fffd469945a967394092b748fbbc4623e54c6e95..7c1881cbf09a8523c97b20b9cfac659f86f24544 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb_test.c,v 1.56 2000/07/27 09:37:40 tale Exp $ */
+/* $Id: adb_test.c,v 1.57 2000/08/01 01:12:31 tale Exp $ */
 
 #include <config.h>
 
@@ -67,7 +67,7 @@ check_result(isc_result_t result, const char *format, ...) {
        if (result == ISC_R_SUCCESS)
                return;
 
-       va_start(args, format); 
+       va_start(args, format);
        vfprintf(stderr, format, args);
        va_end(args);
        fprintf(stderr, "\n");
@@ -182,7 +182,7 @@ create_view(void) {
                unsigned int attrs;
                isc_sockaddr_t any4, any6;
                dns_dispatch_t *disp4 = NULL;
-               dns_dispatch_t *disp6 = NULL;           
+               dns_dispatch_t *disp6 = NULL;
 
                isc_sockaddr_any(&any4);
                isc_sockaddr_any6(&any6);
index 455c1b09f3ee930d9494a6682b004d1712b5fc9c..03ed3815f7859457d2b3dd1106e3ec4e386f5988 100755 (executable)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: b8status.pl,v 1.6 2000/07/27 09:37:41 tale Exp $
+# $Id: b8status.pl,v 1.7 2000/08/01 01:12:33 tale Exp $
 
 #
 # aggregate reports from all bind8 build environments
@@ -134,7 +134,7 @@ sub doHost {
                $junk = <XXX>;
                close(XXX);
                @junk = split(/\s/, $junk);
-               ($hostname = $junk[1]) =~ s/\..*//; 
+               ($hostname = $junk[1]) =~ s/\..*//;
        }
 
        print DEBUG "Host: $hostid, Hostname: $hostname\n" if ($Debug);
index 229366955cbf810a3c11038f36ce3ca670db39e6..ec9bcea2f0e295b0c9d7e453dab3fa69a2ae0041 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: b8t.mk,v 1.6 2000/07/27 09:37:42 tale Exp $
+# $Id: b8t.mk,v 1.7 2000/08/01 01:12:34 tale Exp $
 
 #
 # bind 8 multi-host make
@@ -31,7 +31,7 @@ all:  clobber populate config build
 
 clobber:
        @echo "CLOBBBER `date`"
-       @if test ! -d $(BASE) ; then mkdir -p $(BASE) ; fi 
+       @if test ! -d $(BASE) ; then mkdir -p $(BASE) ; fi
        @rm -fr $(BDIR)
        @echo "DONE `date`"
 
index 04a5bfa962d5a1c0365c5b9abacc349572038dcd..d848c771c5ff3d9e66c0d9638bf74d188e49c259 100755 (executable)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: b9status.pl,v 1.9 2000/07/27 09:37:43 tale Exp $
+# $Id: b9status.pl,v 1.10 2000/08/01 01:12:35 tale Exp $
 
 #
 # aggregate reports from all bind9 build environments
@@ -147,7 +147,7 @@ sub doHost {
                close(XXX);
                @junk = split(/\s/, $junk);
                $hostname = $junk[1];
-               $hostname =~ s/\..*//; 
+               $hostname =~ s/\..*//;
        }
 
        print DEBUG "Host: $hostid, Hostname: $hostname\n" if ($Debug);
index 27a181f9e8573df023d88a14736d44f493bfb8b9..831b55e3c04ed0ea707eac17bdc02939e57a5072 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: b9t.mk,v 1.8 2000/07/27 09:37:45 tale Exp $
+# $Id: b9t.mk,v 1.9 2000/08/01 01:12:36 tale Exp $
 
 #
 # makefile to configure, build and test bind9
index e0efc185d82221c51f9b59576adf1be1c93f1eca..6094a4328f1bfe2d00aed690c79f72aca28f7317 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: byaddr_test.c,v 1.18 2000/07/27 09:37:46 tale Exp $ */
+/* $Id: byaddr_test.c,v 1.19 2000/08/01 01:12:37 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -123,7 +123,7 @@ main(int argc, char *argv[]) {
        task = NULL;
        RUNTIME_CHECK(isc_task_create(taskmgr, 0, &task)
                      == ISC_R_SUCCESS);
-       isc_task_setname(task, "byaddr", NULL); 
+       isc_task_setname(task, "byaddr", NULL);
 
        dispatchmgr = NULL;
        RUNTIME_CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr)
@@ -147,10 +147,10 @@ main(int argc, char *argv[]) {
                unsigned int attrs;
                dns_dispatch_t *disp4 = NULL;
                dns_dispatch_t *disp6 = NULL;
-               
+
                if (isc_net_probeipv4() == ISC_R_SUCCESS) {
                        isc_sockaddr_t any4;
-                       
+
                        isc_sockaddr_any(&any4);
 
                        attrs = DNS_DISPATCHATTR_IPV4 | DNS_DISPATCHATTR_UDP;
@@ -158,7 +158,7 @@ main(int argc, char *argv[]) {
                                                          socketmgr,
                                                          taskmgr, &any4,
                                                          512, 6, 1024,
-                                                         17, 19, attrs, 
+                                                         17, 19, attrs,
                                                          attrs, &disp4)
                                      == ISC_R_SUCCESS);
                        INSIST(disp4 != NULL);
@@ -166,15 +166,15 @@ main(int argc, char *argv[]) {
 
                if (isc_net_probeipv6() == ISC_R_SUCCESS) {
                        isc_sockaddr_t any6;
-                       
+
                        isc_sockaddr_any6(&any6);
 
                        attrs = DNS_DISPATCHATTR_IPV6 | DNS_DISPATCHATTR_UDP;
-                       RUNTIME_CHECK(dns_dispatch_getudp(dispatchmgr, 
+                       RUNTIME_CHECK(dns_dispatch_getudp(dispatchmgr,
                                                          socketmgr,
-                                                         taskmgr, &any6, 
+                                                         taskmgr, &any6,
                                                          512, 6, 1024,
-                                                         17, 19, attrs, 
+                                                         17, 19, attrs,
                                                          attrs, &disp6)
                                      == ISC_R_SUCCESS);
                        INSIST(disp6 != NULL);
index 0f00a9b957e371db9492be80cb32898ff917a330..1e9130b9896069d8fbfd8f7757df00fc7c88418d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: byname_test.c,v 1.20 2000/07/27 09:37:47 tale Exp $ */
+/* $Id: byname_test.c,v 1.21 2000/08/01 01:12:38 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -260,12 +260,12 @@ main(int argc, char *argv[]) {
        {
                unsigned int attrs;
                dns_dispatch_t *disp4 = NULL;
-               dns_dispatch_t *disp6 = NULL;           
+               dns_dispatch_t *disp6 = NULL;
 
                if (isc_net_probeipv4() == ISC_R_SUCCESS) {
                        isc_sockaddr_t any4;
                        isc_sockaddr_any(&any4);
-                       
+
                        attrs = DNS_DISPATCHATTR_IPV4 | DNS_DISPATCHATTR_UDP;
                        RUNTIME_CHECK(dns_dispatch_getudp(dispatchmgr,
                                                          socketmgr,
@@ -279,9 +279,9 @@ main(int argc, char *argv[]) {
 
                if (isc_net_probeipv6() == ISC_R_SUCCESS) {
                        isc_sockaddr_t any6;
-                       
+
                        isc_sockaddr_any6(&any6);
-                       
+
                        attrs = DNS_DISPATCHATTR_IPV6 | DNS_DISPATCHATTR_UDP;
                        RUNTIME_CHECK(dns_dispatch_getudp(dispatchmgr,
                                                          socketmgr,
@@ -292,7 +292,7 @@ main(int argc, char *argv[]) {
                                      == ISC_R_SUCCESS);
                        INSIST(disp6 != NULL);
                }
-               
+
                RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
                                                      socketmgr,
                                                      timermgr, 0,
@@ -302,8 +302,8 @@ main(int argc, char *argv[]) {
 
                if (disp4 != NULL)
                        dns_dispatch_detach(&disp4);
-               if (disp6 != NULL)              
-                       dns_dispatch_detach(&disp6);            
+               if (disp6 != NULL)
+                       dns_dispatch_detach(&disp6);
        }
 
        {
@@ -344,12 +344,12 @@ main(int argc, char *argv[]) {
        isc_task_detach(&task);
 
        dns_dispatchmgr_destroy(&dispatchmgr);
-       
+
        isc_taskmgr_destroy(&taskmgr);
 
        isc_socketmgr_destroy(&socketmgr);
        isc_timermgr_destroy(&timermgr);
-       
+
        isc_log_destroy(&lctx);
 
        if (verbose)
index 9517a307a79a006d68a074b4ab5b2758cdc2ee69..5199b4694fc4b848ac61e8c142e64bbc9ead97d9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: compress_test.c,v 1.19 2000/07/27 09:37:48 tale Exp $ */
+/* $Id: compress_test.c,v 1.20 2000/08/01 01:12:39 tale Exp $ */
 
 #include <config.h>
 
@@ -145,7 +145,7 @@ test(unsigned int allowed, dns_name_t *name1, dns_name_t *name2,
        RUNTIME_CHECK(dns_name_towire(name1, &cctx, &source) == ISC_R_SUCCESS);
 
        /*
-       RUNTIME_CHECK(dns_compress_localinit(&cctx, name1, &source) == 
+       RUNTIME_CHECK(dns_compress_localinit(&cctx, name1, &source) ==
                      ISC_R_SUCCESS);
        */
        dns_compress_setmethods(&cctx, allowed);
index f592fbe51aec04bdcfff6058792038c75d17e0e3..a58a54522e7aab3eae0092e3ad12fbbdc7946ad2 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.16 2000/07/27 09:38:41 tale Exp $
+# $Id: Makefile.in,v 1.17 2000/08/01 01:13:34 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 41b8a0537a60128b5f67fac52cce61f5aa4134f1..9b9fdc160adeaeb982d3ff045c0458825275ccd7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_db.c,v 1.24 2000/07/27 09:38:42 tale Exp $ */
+/* $Id: t_db.c,v 1.25 2000/08/01 01:13:35 tale Exp $ */
 
 #include <config.h>
 
@@ -236,7 +236,7 @@ t1(void) {
        int     result;
 
        t_assert("dns_db_load", 1, T_REQUIRED, a1);
-       result = t_eval("dns_db_load_data", t_dns_db_load, 9); 
+       result = t_eval("dns_db_load_data", t_dns_db_load, 9);
        t_result(result);
 }
 
@@ -1454,7 +1454,7 @@ t_dns_db_closeversion_1(char **av) {
                t_info("dns_rdata_compare returned %d\n", rval);
                ++nfails;
        }
-       
+
        /*
         * Now check the rdata deletion.
         */
@@ -1808,7 +1808,7 @@ t_dns_db_closeversion_2(char **av) {
                t_info("dns_rdata_compare returned %d\n", rval);
                ++nfails;
        }
-       
+
        /*
         * Now check the rdata deletion.
         */
@@ -1876,7 +1876,7 @@ t_dns_db_closeversion_2(char **av) {
                isc_mem_destroy(&mctx);
                return(T_FAIL);
        }
-       
+
        /*
         * Now check the rdata deletion.
         */
@@ -2083,7 +2083,7 @@ t_dns_db_expirenode(char **av) {
                 */
                dns_db_detachnode(db, &nodep);
        }
-       
+
 
        dns_db_detach(&db);
        isc_mem_destroy(&mctx);
@@ -2213,7 +2213,7 @@ t_dns_db_findnode_1(char **av) {
                cversionp = NULL;
                dns_db_currentversion(db, &cversionp);
                dns_rdataset_init(&rdataset);
-       
+
                dns_result = dns_db_findrdataset(db, nodep, cversionp,
                                                 rdatatype, 0,
                                                 0, &rdataset, NULL);
@@ -2230,7 +2230,7 @@ t_dns_db_findnode_1(char **av) {
        } else {
                result = T_PASS;
        }
-               
+
        dns_db_detach(&db);
        isc_mem_destroy(&mctx);
 
@@ -2718,7 +2718,7 @@ t25(void) {
        int     result;
 
        t_assert("dns_db_load", 25, T_REQUIRED, a25);
-       result = t_eval("dns_db_load_soa_not_top", t_dns_db_load, 9); 
+       result = t_eval("dns_db_load_soa_not_top", t_dns_db_load, 9);
        t_result(result);
 }
 
index 49e42de30f01453d3f207554a7c8ad97482c4083..2fd0d1d78bdfb591e7e1cb9f3ce77772db5395c1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: db_test.c,v 1.52 2000/07/27 09:37:49 tale Exp $ */
+/* $Id: db_test.c,v 1.53 2000/08/01 01:12:40 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -173,7 +173,7 @@ list(dbinfo *dbi, char *seektext) {
                        else
                                dns_db_currentversion(dbi->db, &dbi->iversion);
                }
-               
+
                result = dns_db_createiterator(dbi->db, ISC_FALSE,
                                               &dbi->dbiterator);
                if (result == ISC_R_SUCCESS) {
@@ -262,7 +262,7 @@ load(const char *filename, const char *origintext, isc_boolean_t cache) {
        dbi->iversion = NULL;
        dbi->pause_every = pause_every;
        dbi->ascending = ascending;
-       
+
        len = strlen(origintext);
        isc_buffer_init(&source, origintext, len);
        isc_buffer_add(&source, len);
@@ -310,7 +310,7 @@ load(const char *filename, const char *origintext, isc_boolean_t cache) {
 static void
 unload_all(void) {
        dbinfo *dbi, *dbi_next;
-       
+
        for (dbi = ISC_LIST_HEAD(dbs); dbi != NULL; dbi = dbi_next) {
                dbi_next = ISC_LIST_NEXT(dbi, link);
                if (dns_db_iszone(dbi->db))
@@ -331,7 +331,7 @@ if ((dbi) == NULL) { \
        printf("You must first select a database with !DB\n"); \
        continue; \
 }
+
 int
 main(int argc, char *argv[]) {
        dns_db_t *db;
index 39dbaffa6118e4655322e132ef51fb9541b04b51..61ab27e4d893e22193aba961c76bbb4d3f29fac1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch_tcp_test.c,v 1.34 2000/07/27 09:37:50 tale Exp $ */
+/* $Id: dispatch_tcp_test.c,v 1.35 2000/08/01 01:12:42 tale Exp $ */
 
 #include <config.h>
 
@@ -174,7 +174,7 @@ got_request(isc_task_t *task, isc_event_t *ev_in) {
                dns_dispatch_detach(&disp);
                isc_app_shutdown();
                break;
-               
+
        case 3:
                printf("--- removing request\n");
                dns_dispatch_removerequest(&resp, &ev);
index 920dd1884512af552ec699550944bb3ac6a7119d..8d7a2576048a98e4b78297b8d255071a99640d2a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch_test.c,v 1.45 2000/07/27 09:37:52 tale Exp $ */
+/* $Id: dispatch_test.c,v 1.46 2000/08/01 01:12:43 tale Exp $ */
 
 #include <config.h>
 
@@ -349,7 +349,7 @@ got_request(isc_task_t *task, isc_event_t *ev_in) {
                start_response(&clients[4], "vix.com", task);
                start_response(&clients[5], "isc.org", task);
                break;
-               
+
        case 2:
                printf("--- removing request\n");
                dns_dispatch_removerequest(&cli->resp, &ev);
@@ -394,7 +394,7 @@ main(int argc, char *argv[]) {
        isc_log_setcontext(log);
        dns_log_init(log);
        dns_log_setcontext(log);
-       
+
        destination.file.stream = stderr;
        destination.file.name = NULL;
        destination.file.versions = ISC_LOG_ROLLNEVER;
@@ -435,7 +435,7 @@ main(int argc, char *argv[]) {
        attrs = 0;
        attrs |= DNS_DISPATCHATTR_IPV4;
        attrs |= DNS_DISPATCHATTR_UDP;
-       
+
        disp = NULL;
        RUNTIME_CHECK(dns_dispatch_getudp(dispatchmgr, socketmgr,
                                          taskmgr, &sa, 512, 6, 1024,
index e46d582bddd530b1fb8e930de107aa8da5e14d4d..7a5ec2fabe5d73d32eeb01e4a16080f58f457eff 100644 (file)
@@ -1 +1 @@
-test. IN KEY 49152 2 1 
+test. IN KEY 49152 2 1
index 809263acca0141af000a3041c0934d115cbedfb7..18ab1475eb8011effdb96bff2712064a18c67adc 100644 (file)
@@ -1 +1 @@
-test. IN KEY 49152 2 3 
+test. IN KEY 49152 2 3
index a9101d03d24bd267c5b2e1e9d053ffc69c35e60c..79b967ed5b32194ec312b5b1ff2737c6b993bcfd 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.22 2000/07/27 09:38:44 tale Exp $
+# $Id: Makefile.in,v 1.23 2000/08/01 01:13:39 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 9cd57c0f3a3a499b4eb7235e62623de968acfecc..445483ca7bf4201008a2c7fbf24bf1935884a3d1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dst_test.c,v 1.29 2000/07/27 09:38:45 tale Exp $ */
+/* $Id: dst_test.c,v 1.30 2000/08/01 01:13:40 tale Exp $ */
 
 #include <config.h>
 
index 22f5578e377c610a3687787ab83a1bc48e6011c9..0fb99ae4565a48ddc0e9f2a7ca6c04e8750e845a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_dst.c,v 1.35 2000/07/27 09:38:46 tale Exp $ */
+/* $Id: t_dst.c,v 1.36 2000/08/01 01:13:41 tale Exp $ */
 
 #include <config.h>
 
@@ -541,7 +541,7 @@ sig_fromfile(char *path, isc_buffer_t *iscbuf) {
                t_info("malloc failed, errno == %d\n", errno);
                return(1);
        }
-       
+
        fd = open(path, O_RDONLY);
        if (fd < 0) {
                t_info("open failed, errno == %d\n", errno);
index 3d712977ed22c633f2e91b885302c1265016f318..4b81d9f2d30b6e3ef5519726604ea699003aa99a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: entropy2_test.c,v 1.7 2000/07/27 09:37:53 tale Exp $ */
+/* $Id: entropy2_test.c,v 1.8 2000/08/01 01:12:44 tale Exp $ */
 
 #include <config.h>
 
index 81d646d5a881342df81f292c1ecd50431a4b7ff3..04e8538d698b67b454ac257d2a428f93c40ae283 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: entropy_test.c,v 1.14 2000/07/27 09:37:54 tale Exp $ */
+/* $Id: entropy_test.c,v 1.15 2000/08/01 01:12:45 tale Exp $ */
 
 #include <config.h>
 
index 1d41528fbc19ca6b0d9cc041446c0e4292c3026f..03afda1547dd0591715a418f1553f741ffa5b009 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: fsaccess_test.c,v 1.6 2000/07/27 09:37:55 tale Exp $ */
+/* $Id: fsaccess_test.c,v 1.7 2000/08/01 01:12:46 tale Exp $ */
 
 #include <config.h>
 
index fadaa28a83882773478a028c7af237c38fe824ed..4ae33e4efa3278d86bd2033394840ae8e2d969f7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gxba_test.c,v 1.5 2000/07/27 09:37:56 tale Exp $ */
+/* $Id: gxba_test.c,v 1.6 2000/08/01 01:12:47 tale Exp $ */
 
 #include <config.h>
 
index 6dad7b8d6f6eb2814bd1d28a436af6066df1c8a2..86be6aac936c7cb3b31d41e86048493be3d0fb9b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gxbn_test.c,v 1.8 2000/07/27 09:37:57 tale Exp $ */
+/* $Id: gxbn_test.c,v 1.9 2000/08/01 01:12:49 tale Exp $ */
 
 #include <config.h>
 
index e6612df99cfc47eb9e655d2ebabc2d6ae4f3b850..cdf6b2acecb50f98ce94fa62694ea8ee253aa249 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: hash_test.c,v 1.6 2000/07/27 09:37:58 tale Exp $ */
+/* $Id: hash_test.c,v 1.7 2000/08/01 01:12:50 tale Exp $ */
 
 #include <config.h>
 
index 0f26c5bc458b4b6ed4505518370eaf84328504ad..1e1a0fe58c1259980be7f3e32e6f4d685c019ec8 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: headerdep_test.sh.in,v 1.3 2000/07/27 09:37:59 tale Exp $
+# $Id: headerdep_test.sh.in,v 1.4 2000/08/01 01:12:51 tale Exp $
 
 #
 # Check the installed bind9 headers to make sure that no header
@@ -43,7 +43,7 @@ do
 EOF
 
     # Compile the test program.
-    if 
+    if
        gcc @STD_CWARNINGS@ @STD_CINCLUDES@ -I$prefix/include -c test.c 2>&1
     then
        :
index b269d9614c102fbb88bb531a3c377cf95e2bce35..824f4325d13da1d429f3ba24b40d2b0b9bfdae89 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: inter_test.c,v 1.6 2000/07/27 09:38:00 tale Exp $ */
+/* $Id: inter_test.c,v 1.7 2000/08/01 01:12:52 tale Exp $ */
 
 #include <config.h>
 
index 8d95859327de16268ad379707a6fb7c28facc0d9..083845723751e204e99a21efe9240e8ee78d1ec4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keyboard_test.c,v 1.6 2000/07/27 09:38:01 tale Exp $ */
+/* $Id: keyboard_test.c,v 1.7 2000/08/01 01:12:53 tale Exp $ */
 
 #include <config.h>
 
index e8383b8cf38881207b473e862fb9cdc814667ad8..6dbbf4b60b05b46ffd57dd1e6121b8477f9903a3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lex_test.c,v 1.16 2000/07/27 09:38:03 tale Exp $ */
+/* $Id: lex_test.c,v 1.17 2000/08/01 01:12:54 tale Exp $ */
 
 #include <config.h>
 
index f8f12a07f16aca99e628de2c6b0da7272d4487e6..b53bb2e31fc4b36c1849677a177f9632ee53c706 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lfsr_test.c,v 1.8 2000/07/27 09:38:04 tale Exp $ */
+/* $Id: lfsr_test.c,v 1.9 2000/08/01 01:12:55 tale Exp $ */
 
 #include <config.h>
 
index ac28e7181b6d560561c56e02086740dc787652f0..a4c294bb0e95df6eff726f9a2a9f0bd6fc192f7f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log_test.c,v 1.19 2000/07/27 09:38:05 tale Exp $ */
+/* $Id: log_test.c,v 1.20 2000/08/01 01:12:56 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -310,7 +310,7 @@ main (int argc, char **argv) {
 
        isc_log_setduplicateinterval(lcfg, 1);
        message = "This message should appear twice on stderr";
-       
+
        isc_log_write1(lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_RBTDB,
                       ISC_LOG_CRITICAL, message);
        sleep(2);
index 45af819e4bd0190182bfc7bcaa304de0b661d6e4..ebf28fdce8f6c3963e3519f66c48430ad5aac404 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwres_test.c,v 1.22 2000/07/27 09:38:06 tale Exp $ */
+/* $Id: lwres_test.c,v 1.23 2000/08/01 01:12:57 tale Exp $ */
 
 #include <config.h>
 
index 6b331370d8b38a3c7db549b4be2bc553b678cc6d..2b044ac0a0853a3bbc4585b67b98ab263e137a9b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwresconf_test.c,v 1.8 2000/07/27 09:38:07 tale Exp $ */
+/* $Id: lwresconf_test.c,v 1.9 2000/08/01 01:12:58 tale Exp $ */
 
 #include <config.h>
 
@@ -64,7 +64,7 @@ main(int argc, char *argv[]) {
        if (argc > 1) {
                file = argv[1];
        }
-       
+
 #ifdef USE_ISC_MEM
        mem = NULL;
        result = isc_mem_create(0, 0, &mem);
index 7ac7309cf442b152c145f79d103f5e3044e24a66..3d45e80218f1eb87c27f4a7b705169f487d89ff5 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.15 2000/07/27 09:38:47 tale Exp $
+# $Id: Makefile.in,v 1.16 2000/08/01 01:13:42 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 4e1c81a6316207c65d9739ec0853ccfd9a857593..9ee052fca90b5d26e7350d8aa0c6609cbd0a9d7f 100644 (file)
@@ -1,6 +1,6 @@
 ;
 ;      the following black line contains spaces
-     
+
 ;
 @      300     IN      A       10.0.0.1
        ;
index 6bb4091bd349fb0f052de8ee2f35bcd38f0cfbb3..1ec38d572610f94b66ce9f5c2d02ed33538bf068 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_master.c,v 1.27 2000/07/27 09:38:48 tale Exp $ */
+/* $Id: t_master.c,v 1.28 2000/08/01 01:13:45 tale Exp $ */
 
 #include <config.h>
 
@@ -50,7 +50,7 @@ t1_add_callback(void *arg, dns_name_t *owner, dns_rdataset_t *dataset) {
        char buf[BIGBUFLEN];
        isc_buffer_t target;
        isc_result_t result;
-       
+
        UNUSED(arg);
 
        isc_buffer_init(&target, buf, BIGBUFLEN);
@@ -103,7 +103,7 @@ test_master(char *testfile, char *origin, char *class, isc_result_t exp_result)
 
        dns_rdatacallbacks_init_stdio(&callbacks);
        callbacks.add = t1_add_callback;
-       
+
        textregion.base = class;
        textregion.length = strlen(class);
 
index af56244b1e72930030980e54f8a65a4e99b4cf7f..da608239d1702305a4041418d635035447785107 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: master_test.c,v 1.23 2000/07/27 09:38:08 tale Exp $ */
+/* $Id: master_test.c,v 1.24 2000/08/01 01:13:00 tale Exp $ */
 
 #include <config.h>
 
@@ -38,7 +38,7 @@ print_dataset(void *arg, dns_name_t *owner, dns_rdataset_t *dataset) {
        char buf[64*1024];
        isc_buffer_t target;
        isc_result_t result;
-       
+
        UNUSED(arg);
 
        isc_buffer_init(&target, buf, 64*1024);
@@ -47,7 +47,7 @@ print_dataset(void *arg, dns_name_t *owner, dns_rdataset_t *dataset) {
        if (result == ISC_R_SUCCESS)
                fprintf(stdout, "%.*s\n", (int)target.used,
                                          (char*)target.base);
-       else 
+       else
                fprintf(stdout, "dns_rdataset_totext: %s\n",
                        dns_result_totext(result));
 
@@ -80,10 +80,10 @@ main(int argc, char *argv[]) {
                                dns_result_totext(result));
                        exit(1);
                }
-                               
+
                dns_rdatacallbacks_init_stdio(&callbacks);
                callbacks.add = print_dataset;
-               
+
                result = dns_master_loadfile(argv[1], &origin, &origin, 1,
                                             ISC_FALSE,
                                             &callbacks, mctx);
index a161def6df5f64568e437f76433a93cad53d3cb1..2c96e7ab2601a2a3df4834fe584471854121d884 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.21 2000/07/27 09:38:50 tale Exp $
+# $Id: Makefile.in,v 1.22 2000/08/01 01:13:46 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -32,7 +32,7 @@ TAPIDEPLIBS = ../../../lib/tests/libt_api.@A@
 ISCDEPLIBS =   ../../../lib/isc/libisc.@A@
 TAPILIBS =     ../../../lib/tests/libt_api.@A@
 
-DEPLIBS =      ${TAPIDEPLIBS} ${ISCDEPLIBS} 
+DEPLIBS =      ${TAPIDEPLIBS} ${ISCDEPLIBS}
 
 LIBS =         ${TAPILIBS} ${ISCLIBS} @LIBS@
 
index abe3362ad1fc73560c592d8a1c72a8f89b980730..6a8a719c255cb35fca7656ec4a074ae48df5415b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_mem.c,v 1.7 2000/07/27 09:38:51 tale Exp $ */
+/* $Id: t_mem.c,v 1.8 2000/08/01 01:13:47 tale Exp $ */
 
 #include <config.h>
 
@@ -128,7 +128,7 @@ memtest(void) {
                                rval, MP1_MAXALLOC - 11);
                ++nfails;
        }
-               
+
        if (T_debug)
                isc_mem_stats(mctx, stderr);
 
@@ -166,7 +166,7 @@ memtest(void) {
                isc_mempool_put(mp1, items1[i]);
                items1[i] = NULL;
        }
-               
+
        isc_mempool_destroy(&mp1);
 
        if (T_debug)
@@ -200,7 +200,7 @@ t1(void) {
                result = T_FAIL;
        t_result(result);
 }
-               
+
 testspec_t     T_testlist[] = {
        {       t1,     "basic memory subsystem"        },
        {       NULL,   NULL                            }
index b9f37ffc12766c81a8d4e44366df1c47ebd458e3..820345e02cc218384d7629a5b53be466431c0ff7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mempool_test.c,v 1.9 2000/07/27 09:38:09 tale Exp $ */
+/* $Id: mempool_test.c,v 1.10 2000/08/01 01:13:01 tale Exp $ */
 
 #include <config.h>
 
@@ -111,7 +111,7 @@ main(int argc, char *argv[]) {
                isc_mempool_put(mp1, items1[i]);
                items1[i] = NULL;
        }
-               
+
        isc_mempool_destroy(&mp1);
 
        isc_mem_stats(mctx, stderr);
index 47a69459a1825d39602ab624db64c1710008017b..111f5a548c51d2eb07503444157a8d9a60f444d2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: name_test.c,v 1.30 2000/07/27 09:38:10 tale Exp $ */
+/* $Id: name_test.c,v 1.31 2000/08/01 01:13:02 tale Exp $ */
 
 #include <config.h>
 
@@ -31,7 +31,7 @@
 static void
 print_wirename(isc_region_t *name) {
        unsigned char *ccurr, *cend;
-               
+
        if (name->length == 0) {
                printf("<empty wire name>\n");
                return;
@@ -194,7 +194,7 @@ main(int argc, char *argv[]) {
                                dns_fixedname_init(&wname2);
                        continue;
                }
-                       
+
                if (check_absolute && dns_name_countlabels(name) > 0) {
                        if (dns_name_isabsolute(name))
                                printf("absolute\n");
@@ -354,6 +354,6 @@ main(int argc, char *argv[]) {
                                name = &wname.name;
                }
        }
-       
+
        return (0);
 }
index ff2bb0e9aedb6ac3e9ba8c5dbd37ff4d296616c0..08abca544e31f5afc85a60f45caf77900bf8f5d2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.44 2000/07/27 09:38:12 tale Exp $ */
+/* $Id: named.conf,v 1.45 2000/08/01 01:13:03 tale Exp $ */
 
 /*
  * This is a worthless, nonrunnable example of a named.conf file that has
@@ -62,7 +62,7 @@ options {
                                        // servers won't like it.
 
 # Obsolete
-       deallocate-on-exit no;          
+       deallocate-on-exit no;
 
        dialup yes;
 
@@ -119,26 +119,26 @@ options {
        allow-recursion { !any; };
        blackhole { 45/24; };
 
-       listen-on { 
+       listen-on {
                10/24;
                10.0.0.3;
        };
 
-       listen-on port 53 { any; };     
-                                       
-       listen-on { 5.6.7.8; };         
-                                       
-       listen-on port 1234 {           
-               !1.2.3.4;               
-               1.2.3/24;               
-       };                              
+       listen-on port 53 { any; };
+
+       listen-on { 5.6.7.8; };
+
+       listen-on port 1234 {
+               !1.2.3.4;
+               1.2.3/24;
+       };
 
        listen-on-v6 {
-               1:1:1:1:1:1:1:1;                        
+               1:1:1:1:1:1:1:1;
        };
 
        listen-on-v6 port 777 {
-               2:2:2:2:2:2:2:2;                        
+               2:2:2:2:2:2:2:2;
        };
 
        query-source-v6 address 8:7:6:5:4:3:2:1 port *;
@@ -150,7 +150,7 @@ options {
        max-transfer-time-out 10;
        max-transfer-idle-in 100;
        max-transfer-idle-out 11;
-       
+
        max-ncache-ttl 333;
        min-roots 15;
        serial-queries 34;
@@ -180,15 +180,15 @@ options {
        heartbeat-interval 1001;
        interface-interval 1002;
        statistics-interval 1003;
-       
+
        topology {
-               10/8;                   
-                                       
-               !1.2.3/24;              
-                                       
-               { 1.2/16; 3/8; };       
-                                       
-                                       
+               10/8;
+
+               !1.2.3/24;
+
+               { 1.2/16; 3/8; };
+
+
        };
 
        sortlist { 10/8; 11/8; };
@@ -203,14 +203,14 @@ options {
 controls {
        // 'inet' lines without a 'port' defaults to 'port 953'
        // 'keys' must be used and the list must have at least one entry
-       inet * port 52 allow { any; } keys { "key2"; };         
+       inet * port 52 allow { any; } keys { "key2"; };
        inet 10.0.0.1 allow { any; } keys { "key4";};
        inet 10.0.0.2 allow { none; } keys { "key-1"; "key-2"; };
        unix "/var/run/ndc" perm 0600 owner 0 group 0;  // ignored by named.
 };
 
 zone "master.demo.zone" {
-       type master;                    // what used to be called "primary" 
+       type master;                    // what used to be called "primary"
        database "somedb -option1 -option2 arg1 arg2 arg3";
        file "master.demo.zone";
        check-names fail;
@@ -231,7 +231,7 @@ zone "master.demo.zone" {
 };
 
 zone "slave.demo.zone" {
-       type slave;                     // what used to be called "secondary" 
+       type slave;                     // what used to be called "secondary"
        file "slave.demo.zone";
        ixfr-base  "slave.demo.zone.ixfr";  // File name for IXFR transaction log file
        masters {
@@ -259,9 +259,9 @@ key "non-viewkey" { secret "aaa" ; algorithm "zzz" ; };
 view "test-view" in {
        key "viewkey" { algorithm "xxx" ; secret "yyy" ; };
        also-notify { 10.2.2.3; };
-       trusted-keys {                          
+       trusted-keys {
                foo.com. 4 3 2 "abdefghijklmnopqrstuvwxyz";
-       };       
+       };
        sig-validity-interval 45;
        max-cache-size 100000;
        allow-query { 10.0.0.30;};
@@ -328,13 +328,13 @@ zone "stub.demo.zone" {
 
 zone "." {
        type hint;                      // used to be specified w/ "cache"
-       file "cache.db";        
+       file "cache.db";
 //     pubkey 257 255 1 "AQP2fHpZ4VMpKo/jc9Fod821uyfY5p8j5h/Am0V/KpBTMZjdXmp9QJe6yFRoIIzkaNCgTIftASdpXGgCwFB2j2KXP/rick6gvEer5VcDEkLR5Q==";
 };
 
-trusted-keys {                          
+trusted-keys {
        "." 257 255 1 "AQP2fHpZ4VMpKo/jc9Fod821uyfY5p8j5h/Am0V/KpBTMZjdXmp9QJe6yFRoIIzkaNCgTIftASdpXGgCwFB2j2KXP/rick6gvEer5VcDEkLR5Q==";
-};       
+};
 
 
 acl can_query { !1.2.3/24; any; };     // network 1.2.3.0 mask 255.255.255.0
@@ -364,17 +364,17 @@ zone "non-default-acl.demo.zone" {
        //      identity or name not absolute
        //      'wildcard' match type and no wildcard character in name
        //
-       // issues: 
+       // issues:
        //      - certain rdatatype values (such as "key") are config file keywords and
        //        must be quoted or a syntax error will occur.
        //
 
        update-policy {
-               grant root.domain. subdomain host.domain. A MX CNAME; 
-               grant sub.root.domain. wildcard *.host.domain. A; 
-               grant root.domain. name host.domain. a ns md mf cname soa mb mg 
+               grant root.domain. subdomain host.domain. A MX CNAME;
+               grant sub.root.domain. wildcard *.host.domain. A;
+               grant root.domain. name host.domain. a ns md mf cname soa mb mg
                        mr "null" wks ptr hinfo minfo mx txt rp afsdb x25
-                       isdn rt nsap sig "key" px gpos aaaa loc nxt srv naptr kx 
+                       isdn rt nsap sig "key" px gpos aaaa loc nxt srv naptr kx
                        cert a6 dname opt unspec tkey tsig ;
                grant foo.bar.com. self foo.bar.com. a;
        };
@@ -408,7 +408,7 @@ server 1.2.3.4 {
                                        // rest of the server
 # Now called 'request-ixfr'
 #      support-ixfr yes;      // for IXFR supported by server
-                                       // if yes, the listed server talks IXFR 
+                                       // if yes, the listed server talks IXFR
 };
 
 logging {
@@ -427,13 +427,13 @@ logging {
        };
 
        /*
-        * Channels have a severity level.  Messages at severity levels 
+        * Channels have a severity level.  Messages at severity levels
         * greater than or equal to the channel's level will be logged on
         * the channel.  In order of decreasing severity, the levels are:
         *
         *      critical                a fatal error
         *      error
-        *      warning                 
+        *      warning
         *      notice                  a normal, but significant event
         *      info                    an informational message
         *      debug 1                 the least detailed debugging info
@@ -532,7 +532,7 @@ logging {
 
        category lame-servers { null; };        // don't log these at all
 
-       channel moderate_debug {                        
+       channel moderate_debug {
                file "foo";                     // foo
                severity debug 3;               // level 3 debugging to file
                print-time yes;                 // timestamp log entries
index 580c1c7efdb553c912dc2e75d5d4cf5b33b87bee..19f5e7050d49a112656f6d24637ee9a4c28c288f 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.15 2000/07/27 09:38:52 tale Exp $
+# $Id: Makefile.in,v 1.16 2000/08/01 01:13:48 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index f3fa08ee960b854615bb8e9298392632e4c19c6d..0467fcfeb013748f3f4ebb4b2d640d3b8ef9a8d1 100644 (file)
@@ -3,7 +3,7 @@
 # format:
 #      <name1> <tab> <name2> <tab> <exp_order>
 # where: exp_order may be one of: -1, 0, 1
-#              
+#
 # and where: exp_nlabels and exp_nbits are not tested if < 0
 #
 c.d    a.b.c.d -1
index 4711f192a976be52e304f1871bb91d321a479119..64cf117cbe6d0fcd22d769bd9bbf8dacd10ce8b2 100644 (file)
@@ -3,7 +3,7 @@
 # format:
 #      <test_name>
 # where: exp_order may be one of: -1, 0, 1
-#              
+#
 # and where: exp_nlabels and exp_nbits are not tested if < 0
 #
 #c.d.\[x31].abc.\[b110011]
index 7816699dde4d5821f5d6f6684af17bf143626a85..f32915021909ee4ca1b7116d9608558ff2bb7916 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test1.data        25      1       DNS_COMPRESS_ALL        vix.com.        ISC_R_SUCCESS
index 728d5da2a6524287f003a59a3f395a2a12195294..fd790c0a7cd84347e0779c63de54a26beb59b67a 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test2.data        25      1       DNS_COMPRESS_ALL        vix.com.        ISC_R_NOSPACE
index 22277891dd7c5a0446d813adb766728450ffccb7..04a163857220109b99b153f027d0d06be38f4786 100644 (file)
@@ -28,6 +28,6 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test3_1.data      25      1       DNS_COMPRESS_ALL        vix.com.        DNS_R_BADLABELTYPE
 wire_test3_2.data      25      1       DNS_COMPRESS_ALL        vix.com.        DNS_R_BADLABELTYPE
index af4d515f757f90e9e6aa54fd9d135737ecc9d427..4dc9104924167341f671d3550c46ef359e652682 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test4.data        550     1       DNS_COMPRESS_ALL        vix.com.        DNS_R_NAMETOOLONG
index b813557d072af0d7f687870e8a6fabf181cbd3a0..0803e0df0e14aaea6ea4fc63462eb92c4a41173f 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test5.data        25      1       DNS_COMPRESS_NONE       vix.com.        DNS_R_DISALLOWED
index 319515da2aeccc7b28c7dd1c8038ddd9a55ec2ca..fdd6ca8dfd25921c116cb0041c98cded8586cae8 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test6.data        25      1       DNS_COMPRESS_ALL        vix.com.        DNS_R_BADPOINTER
index 7b47691ce0478f71b1e82dbda1668ec24c0c61e4..fd13d53344aaa9f53ae177a7ef27d6e8df7930eb 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test7.data        25      1       DNS_COMPRESS_ALL        vix.com.        ISC_R_UNEXPECTEDEND
index ddf49f3ce971c17889306719bca896dfa49bc333..b0523abb4ade296bd20db125a1275866c2b8d516 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test8.data        383     1       DNS_COMPRESS_ALL        vix.com.        DNS_R_TOOMANYHOPS
index 2f6cb1bc7995da8f35aee9aa5e97719485040880..fb92336cbfc1b1269b3e02060921e97a8e8a05fc 100644 (file)
@@ -28,5 +28,5 @@
 #              DNS_R_BADPOINTER
 #              ISC_R_UNEXPECTEDEND
 #              DNS_R_TOOMANYHOPS
-#              
+#
 wire_test9.data        25      1       DNS_COMPRESS_ALL        vix.com.        ISC_R_NOSPACE
index cdaf7aad8fefe7190de5619b66bf5dabc92bdfd5..d8dc880a099ed0f6a00b277197d836bd55acbeef 100644 (file)
@@ -4,7 +4,7 @@
 #      <name1> <tab> <label1_pos> <tab> <name2> <tab> <label2_pos>
 # where: label1_pos and label2_pos identify the label position of
 #       the common label shared by name1 and name2 respectively
-#              
+#
 c.d    1       a.b.c.d 3
 a.b.c.d        3       c.d     1
 a.b.c. 3       a.b.c.  3
index 2f39ce969e14febf7892e3cf2ee0c69b79035d81..339604afb03a1cbbdddca959e47d6d6a11656534 100644 (file)
@@ -2,7 +2,7 @@
 # test data for dns_name_getlabelsequence
 # format:
 #      <name1> <tab> <label1_start> <tab> <name2> <tab> <label2_start> <tab> <extent>
-#              
+#
 #
 c.d    1       a.b.c.d 3       1
 a.b.c.d.e      2       c.d     0       2
index 3f74bcbec2ba926abd188177d6f25b2c33a4868c..102b0721f3a1492ba9fd8358f2e952acb55d57e6 100644 (file)
@@ -3,7 +3,7 @@
 # format:
 #      <name1> <tab> <name2> <tab> <issubdomain>
 # where: issubdomain is 0 if false, else non-zero
-#              
+#
 # and where: exp_nlabels and exp_nbits are not tested if < 0
 #
 c.d    a.b.c.d 0
index 45041e517b491477ae525cc59ecae46ac92ed290..7f0c6a21096a80e84e8465b2264f10dc6773e043 100644 (file)
@@ -3,7 +3,7 @@
 # format:
 #      <name1> <tab> <name2> <tab> <exp_order>
 # where: exp_order may be one of: -1, 0, 1
-#              
+#
 # and where: exp_nlabels and exp_nbits are not tested if < 0
 #
 c.d.   a.b.c.d.        1
index 833f7b441791b25c8a416e16074177223895b879..a876556c855bf1c394dfbe596c1d3e2e3fed39b7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_names.c,v 1.27 2000/07/27 09:38:53 tale Exp $ */
+/* $Id: t_names.c,v 1.28 2000/08/01 01:14:06 tale Exp $ */
 
 #include <config.h>
 
@@ -113,7 +113,7 @@ chkdata(unsigned char *buf, size_t buflen, char *exp_data,
                        t_info("malloc failed unexpectedly\n");
                        return (-1);
                }
-       
+
                /*
                 * First convert exp_data from hex format.
                 */
@@ -934,7 +934,7 @@ test_dns_name_fullcompare(char *name1, char *name2,
                if (dns_result == ISC_R_SUCCESS) {
                        dns_reln = dns_name_fullcompare(&dns_name1, &dns_name2,
                                        &order, &nlabels, &nbits);
-                       
+
                        if (dns_reln != exp_dns_reln) {
                                ++nfails;
                                t_info("expected relationship of %s, got %s\n",
@@ -1277,7 +1277,7 @@ test_dns_name_issubdomain(char *name1, char *name2, isc_boolean_t exp_rval) {
                dns_result = dname_from_tname(name2, &dns_name2);
                if (dns_result == ISC_R_SUCCESS) {
                        rval = dns_name_issubdomain(&dns_name1, &dns_name2);
-                       
+
                        if (rval != exp_rval) {
                                t_info("expected return value of %s, got %s\n",
                                       exp_rval == ISC_TRUE ? "true" : "false",
@@ -1364,7 +1364,7 @@ test_dns_name_countlabels(char *test_name, unsigned int exp_nlabels) {
        dns_result = dname_from_tname(test_name, &dns_name);
        if (dns_result == ISC_R_SUCCESS) {
                nlabels = dns_name_countlabels(&dns_name);
-                       
+
                if (nlabels != exp_nlabels) {
                        t_info("expected %d, got %d\n", exp_nlabels, nlabels);
                        result = T_FAIL;
@@ -2076,7 +2076,7 @@ static const char *a42 =
                "converts the possibly compressed DNS name 'name' in wire "
                "format to canonicalized form at target, performing upper to "
                "lower case conversion if downcase is true, and returns "
-               "ISC_R_SUCCESS"; 
+               "ISC_R_SUCCESS";
 
 #if 0
        /*
@@ -2163,7 +2163,7 @@ test_dns_name_fromwire(char *datafile_name, int testname_offset, int downcase,
                                                            &nbits);
                        if (dns_namereln != dns_namereln_equal) {
                                t_info("dns_name_fullcompare  returned %s\n",
-                                      dns_namereln_to_text(dns_namereln)); 
+                                      dns_namereln_to_text(dns_namereln));
                                result = T_FAIL;
                        } else {
                                result = T_PASS;
index dcf339f18dff92dbbbc469d593a006427642afc7..632960d7248dfa91c3c06b8721a0bde0bbe39a55 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nconf_test.c,v 1.18 2000/07/27 09:38:13 tale Exp $ */
+/* $Id: nconf_test.c,v 1.19 2000/08/01 01:13:04 tale Exp $ */
 
 #include <config.h>
 
@@ -36,7 +36,7 @@ zonecbk(dns_c_ctx_t *ctx, dns_c_zone_t *zone, dns_c_view_t *view, void *uap) {
 
        UNUSED(ctx);
        UNUSED(uap);
-       
+
        dns_c_zone_getname(zone, &zname);
 
 #if 0
@@ -48,7 +48,7 @@ zonecbk(dns_c_ctx_t *ctx, dns_c_zone_t *zone, dns_c_view_t *view, void *uap) {
 #else
        UNUSED(view);
        vname = "foo";
-#endif 
+#endif
 
        fprintf(stderr, "handling zone %s, view %s\n", zname, vname);
 
@@ -59,7 +59,7 @@ static isc_result_t
 optscbk(dns_c_ctx_t *ctx, void *uap) {
        UNUSED(ctx);
        UNUSED(uap);
-       
+
        fprintf(stderr, "Processing options in callback.\n");
        return (ISC_R_SUCCESS);
 }
@@ -76,7 +76,7 @@ main (int argc, char **argv) {
        dns_c_cbks_t callbacks;
        isc_log_t *log = NULL;
        isc_logconfig_t *logcfg = NULL;
-       
+
        callbacks.zonecbk = zonecbk;
        callbacks.optscbk = optscbk;
        callbacks.zonecbkuap = NULL;
@@ -86,14 +86,14 @@ main (int argc, char **argv) {
        callbacks.zonecbk = NULL;
        callbacks.optscbk = NULL;
 #endif
-       
+
        if (argc > 1 && strcmp(argv[1],"-d") == 0) {
                argv++;
                argc--;
                /* debug_mem_print = ISC_TRUE; */
                dns__yydebug = 1;
        }
-       
+
        conffile = getenv("NAMED_CONF");
        if (argc > 1)
                conffile = argv[1];
@@ -106,12 +106,12 @@ main (int argc, char **argv) {
        isc_log_setcontext(log);
        dns_log_init(log);
        dns_log_setcontext(log);
-       
+
        RUNTIME_CHECK(isc_log_usechannel(logcfg, "default_stderr", NULL, NULL)
                      == ISC_R_SUCCESS);
 
        dns_lctx = log;
-       
+
        if (dns_c_parse_namedconf(conffile, mem, &configctx, &callbacks) !=
            ISC_R_SUCCESS) {
                fprintf(stderr, "parse_configuration failed.\n");
@@ -132,7 +132,7 @@ main (int argc, char **argv) {
                        outfp = stderr;
                }
        }
-       
+
        dns_c_ctx_print(outfp, 0, configctx);
 
 #if 0
@@ -146,7 +146,7 @@ main (int argc, char **argv) {
                dns_ipmatch_list_print(outfp, 0, list);
        }
 #endif
-       
+
        if (outfp != stderr) {
                fclose(outfp);
        }
@@ -155,7 +155,7 @@ main (int argc, char **argv) {
 
        dns_lctx = NULL;
        isc_log_destroy(&log);
-       
+
        isc_mem_destroy(&mem);
 
        return (0);
index 7a9368cdd81a916d2d09f879171622c3b84cc34f..17574ef3a493006b67c6f8dd324a4393df6fcb13 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ndc.conf,v 1.4 2000/07/27 09:38:14 tale Exp $ */
+/* $Id: ndc.conf,v 1.5 2000/08/01 01:13:05 tale Exp $ */
 
 options {
        default-server  "velo.jab.fr" ;
index 270d19c7981ec2215a445ae7e5131ffec23046f6..20c4db0ee07ace403280cba2cf914f29aab146b4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ndcconf_test.c,v 1.9 2000/07/27 09:38:15 tale Exp $ */
+/* $Id: ndcconf_test.c,v 1.10 2000/08/01 01:13:06 tale Exp $ */
 
 #include <config.h>
 
@@ -44,15 +44,15 @@ main(int argc, char **argv) {
        } else {
                program++;
        }
-       
+
        argc--;
        argv++;
-       
+
        if (argc == 0) {
                fprintf(stderr, "usage: %s file\n", program);
                exit (1);
        }
-       
+
        conffile = argv[0];
 
        RUNTIME_CHECK(isc_mem_create(0, 0, &mem) == ISC_R_SUCCESS);
@@ -60,7 +60,7 @@ main(int argc, char **argv) {
        isc_log_setcontext(log);
        dns_log_init(log);
        dns_log_setcontext(log);
-       
+
        RUNTIME_CHECK(isc_log_usechannel(logcfg, "default_stderr", NULL, NULL)
                      == ISC_R_SUCCESS);
 
@@ -72,15 +72,15 @@ main(int argc, char **argv) {
        } else {
                dns_c_ndcctx_print(stderr, ndcctx);
        }
-       
+
 
        dns_c_ndcctx_destroy(&ndcctx);
 
        dns_lctx = NULL;
        isc_log_destroy(&log);
-       
+
        isc_mem_destroy(&mem);
 
        return (0);
 }
-     
+
index d44b1f3fe70f0c04d91f479d55ecccc88da068b2..19e22f7a8767592ddd07f8f2677c6dc26ba7e216 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.5 2000/07/27 09:38:55 tale Exp $
+# $Id: Makefile.in,v 1.6 2000/08/01 01:14:07 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 6442813137d14ea2ddfb330e01257cf1019e728b..e0ce8e95e817ad00b0e0b1bc92a0af1a72523222 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: driver.c,v 1.5 2000/07/27 09:38:56 tale Exp $ */
+/* $Id: driver.c,v 1.6 2000/08/01 01:14:08 tale Exp $ */
 
 #include <config.h>
 
index 0e6fa6628a12b47719cdf0958b3bc4d636b925db..4328ba5f6ade4dbaa13a52e888b2a444306bdf02 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: driver.h,v 1.3 2000/07/27 09:38:57 tale Exp $ */
+/* $Id: driver.h,v 1.4 2000/08/01 01:14:09 tale Exp $ */
 
 /*
  * PASSED and FAILED mean the particular test passed or failed.
index 18dc6e7609c0acac56df70386cd194b73e94809c..9d93d847842fd6be198ab48b3f3851097c301bfd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netaddr_multicast.c,v 1.6 2000/07/27 09:38:58 tale Exp $ */
+/* $Id: netaddr_multicast.c,v 1.7 2000/08/01 01:14:10 tale Exp $ */
 
 #include <config.h>
 
index 324556e5eb0d97853c90ff2485ee2cd49d41c158..5c301af6a1bbffda717dd93563918a95417c742e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sockaddr_multicast.c,v 1.3 2000/07/27 09:38:59 tale Exp $ */
+/* $Id: sockaddr_multicast.c,v 1.4 2000/08/01 01:14:12 tale Exp $ */
 
 #include <config.h>
 
index e6317f3a0606973e7561c45a6b49850e81153cdd..513b49fc54773825e14a1340e5a4bf92484edc7f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: testsuite.h,v 1.2 2000/07/27 09:39:00 tale Exp $ */
+/* $Id: testsuite.h,v 1.3 2000/08/01 01:14:13 tale Exp $ */
 
 #define SUITENAME "net"
 
index e55a7c9e0cd1803aec6fd7b1e4e9578b1aeb83fa..433be945be6c2e6cc381e23faaf78d496e639abd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nxtify.c,v 1.14 2000/07/27 09:38:16 tale Exp $ */
+/* $Id: nxtify.c,v 1.15 2000/08/01 01:13:07 tale Exp $ */
 
 #include <config.h>
 
index c55ec84e6467926c2ed320032048549d99e69205..117596fe2d7aabbd9a63cf1d6afcaa4caaccee37 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,9 +15,9 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: omapi_test.c,v 1.26 2000/07/27 09:38:17 tale Exp $ */
+/* $Id: omapi_test.c,v 1.27 2000/08/01 01:13:09 tale Exp $ */
 
-/* 
+/*
  * Test code for OMAPI.
  */
 #include <config.h>
@@ -598,7 +598,7 @@ do_listen(int port) {
        master_data.refcnt = 1;
        master_data.value = 2;
        master_data.target_reached = ISC_FALSE;
+
        LOCK(&mutex);
 
        /*
@@ -667,10 +667,10 @@ main(int argc, char **argv) {
 
                        else if (ARG_IS("badsig"))
                                error_badsig = ISC_TRUE;
-                                   
+
                        else if (ARG_IS("unknownsig"))
                                error_unknownsig = ISC_TRUE;
-                                   
+
                        else if (ARG_IS("denyall"))
                                error_denyall = ISC_TRUE;
                        else {
index 4f7a4870fafe50322feab21f14d2f7e7ea44b1ba..5ccc68a842947c4dc0f3d60fe40aa6bd639b5fb5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: printmsg.c,v 1.22 2000/07/27 09:38:18 tale Exp $ */
+/* $Id: printmsg.c,v 1.23 2000/08/01 01:13:10 tale Exp $ */
 
 #include <config.h>
 
@@ -79,7 +79,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
        char t[4096];
        isc_boolean_t first;
        isc_boolean_t no_rdata;
-       
+
        if (sectionid == DNS_SECTION_QUESTION)
                no_rdata = ISC_TRUE;
        else
@@ -129,7 +129,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
                else if (result != ISC_R_SUCCESS)
                        return (result);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
index f444384bddea6893ecfc17182364e09806d44c9c..af3459d984e120bf85890412762793ab8f6b75c6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: printmsg.h,v 1.7 2000/07/27 09:38:19 tale Exp $ */
+/* $Id: printmsg.h,v 1.8 2000/08/01 01:13:11 tale Exp $ */
 
 #ifndef TEST_PRINTMSG_H
 #define TEST_PRINTMSG_H
index d0579462a11879e0147f4b40cdcbfc333d247008..30a64e8f16a66eda43fad8a714fb470a25c7ba02 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ratelimiter_test.c,v 1.13 2000/07/27 09:38:21 tale Exp $ */
+/* $Id: ratelimiter_test.c,v 1.14 2000/08/01 01:13:12 tale Exp $ */
 
 #include <config.h>
 
@@ -82,7 +82,7 @@ static void
 shutdown_rl(isc_task_t *task, isc_event_t *event) {
        UNUSED(task);
        UNUSED(event);
-       printf("shutdown ratelimiter\n");       
+       printf("shutdown ratelimiter\n");
        isc_ratelimiter_shutdown(rlim);
 }
 
@@ -109,7 +109,7 @@ main(int argc, char *argv[]) {
 
        isc_app_start();
        isc_interval_set(&linterval, 1, 0);
-       
+
        RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
        RUNTIME_CHECK(isc_taskmgr_create(mctx, 3, 0, &taskmgr) ==
                      ISC_R_SUCCESS);
@@ -118,7 +118,7 @@ main(int argc, char *argv[]) {
        RUNTIME_CHECK(isc_task_create(taskmgr, 0, &g_task) ==
                      ISC_R_SUCCESS);
 
-       RUNTIME_CHECK(isc_ratelimiter_create(mctx, timermgr, g_task, 
+       RUNTIME_CHECK(isc_ratelimiter_create(mctx, timermgr, g_task,
                                             &rlim) == ISC_R_SUCCESS);
 
        RUNTIME_CHECK(isc_ratelimiter_setinterval(rlim, &linterval) ==
@@ -142,12 +142,12 @@ main(int argc, char *argv[]) {
        isc_task_destroy(&g_task);
 
        isc_ratelimiter_detach(&rlim);
-       
+
        isc_timermgr_destroy(&timermgr);
        isc_taskmgr_destroy(&taskmgr);
 
        isc_mem_stats(mctx, stdout);
-       
+
        isc_app_finish();
        return (0);
 }
index 402fe0753715936a02a6d34ce0da99c627aa35c9..46a9434a2a6b0279d22cf350a906e2d15b4f304b 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.15 2000/07/27 09:39:01 tale Exp $
+# $Id: Makefile.in,v 1.16 2000/08/01 01:14:14 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index ea2f4e952ae19e3172a4b3b8dd8b1183d2193bd8..181f2012262fe0b2c5820030c63d8f12ecde04a3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_rbt.c,v 1.20 2000/07/27 09:39:02 tale Exp $ */
+/* $Id: t_rbt.c,v 1.21 2000/08/01 01:14:15 tale Exp $ */
 
 #include <config.h>
 
@@ -130,10 +130,10 @@ create_name(char *s, isc_mem_t *mctx, dns_name_t **dns_name) {
        if (s && *s) {
 
                length = strlen(s);
-       
+
                isc_buffer_init(&source, s, length);
                isc_buffer_add(&source, length);
-       
+
                /*
                 * The buffer for the actual name will immediately follow the
                 * name structure.
@@ -143,13 +143,13 @@ create_name(char *s, isc_mem_t *mctx, dns_name_t **dns_name) {
                        t_info("isc_mem_get failed\n");
                        ++nfails;
                }
-       
+
                dns_name_init(*dns_name, NULL);
                isc_buffer_init(&target, *dns_name + 1, DNSNAMELEN);
-       
+
                result = dns_name_fromtext(*dns_name, &source, dns_rootname,
                                           ISC_FALSE, &target);
-       
+
                if (result != ISC_R_SUCCESS) {
                        ++nfails;
                        t_info("dns_name_fromtext(%s) failed %s\n",
@@ -330,7 +330,7 @@ test_rbt_gen(char *filename, char *command, char *testname,
                isc_mem_destroy(&mctx);
                return(result);
        }
-               
+
        /*
         * Now try the database command.
         */
@@ -894,7 +894,7 @@ t_dns_rbtnodechain_init(char *dbfile, char *findname,
                result = T_FAIL;
        else
                result = T_PASS;
-               
+
        dns_rbtnodechain_invalidate(&chain);
        dns_rbt_destroy(&rbt);
 
@@ -1043,7 +1043,7 @@ t_dns_rbtnodechain_first(char *dbfile, char *expected_firstname,
 
        t_info("testing for next name of %s, origin of %s\n",
                        expected_nextname, expected_nextorigin);
-                       
+
        if ((dns_result != ISC_R_SUCCESS) && (dns_result != DNS_R_NEWORIGIN)) {
                t_info("dns_rbtnodechain_next unexpectedly returned %s\n",
                                dns_result_totext(dns_result));
@@ -1059,7 +1059,7 @@ t_dns_rbtnodechain_first(char *dbfile, char *expected_firstname,
                result = T_FAIL;
        else
                result = T_PASS;
-               
+
        dns_rbtnodechain_invalidate(&chain);
 
        dns_rbt_destroy(&rbt);
@@ -1226,7 +1226,7 @@ t_dns_rbtnodechain_last(char *dbfile, char *expected_lastname,
                result = T_FAIL;
        else
                result = T_PASS;
-               
+
        dns_rbtnodechain_invalidate(&chain);
        dns_rbt_destroy(&rbt);
 
@@ -1408,7 +1408,7 @@ t_dns_rbtnodechain_next(char *dbfile, char *findname,
                result = T_FAIL;
        else
                result = T_PASS;
-               
+
        dns_rbtnodechain_invalidate(&chain);
        dns_rbt_destroy(&rbt);
 
@@ -1589,7 +1589,7 @@ t_dns_rbtnodechain_prev(char *dbfile, char *findname, char *prevname,
                result = T_FAIL;
        else
                result = T_PASS;
-               
+
        dns_rbtnodechain_invalidate(&chain);
        dns_rbt_destroy(&rbt);
 
index f326d654f47d7fd66f4760ac255a7fbeead0a43f..284e5529884b1e75aa90d8bf3e553fda4d86935a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbt_test.c,v 1.38 2000/07/31 23:27:22 tale Exp $ */
+/* $Id: rbt_test.c,v 1.39 2000/08/01 01:13:14 tale Exp $ */
 
 #include <config.h>
 
@@ -210,7 +210,7 @@ iterate(dns_rbt_t *rbt, isc_boolean_t forward) {
        if (forward) {
                printf("iterating forward\n" );
                move = dns_rbtnodechain_next;
-               
+
                result = dns_rbtnodechain_first(&chain, rbt, &foundname,
                                                origin);
 
@@ -447,7 +447,7 @@ main(int argc, char **argv) {
 
                        }
                }
-                       
+
        }
 
        dns_rbt_destroy(&rbt);
index 401e771d1ff3433f27ec2ed1711776ffdc6f5647..b007f014e5629da4b4a5f49c79e8f4ef7b8ba193 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: rbt_test.txt,v 1.10 2000/07/27 09:38:23 tale Exp $
+# $Id: rbt_test.txt,v 1.11 2000/08/01 01:13:15 tale Exp $
 
 add a.vix.com
 add b.vix.com
index d56fb86d1514255a9bf651f18e733806602ed092..47d8b1d5ec351b533e8e457bfbdf2026d579cd27 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata_test.c,v 1.30 2000/07/27 09:38:24 tale Exp $ */
+/* $Id: rdata_test.c,v 1.31 2000/08/01 01:13:16 tale Exp $ */
 
 #include <config.h>
 
@@ -866,7 +866,7 @@ main(int argc, char *argv[]) {
                }
                if (token.type == isc_tokentype_eof)
                        break;
-       
+
                /*
                 * Get type.
                 */
index e70bf3a819ff2de0169d02ade3aba228e657c900..fb17a1956029d9f20319dc1191efc4736a8c0f09 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolv.conf.sample,v 1.5 2000/07/27 09:38:25 tale Exp $ */
+/* $Id: resolv.conf.sample,v 1.6 2000/08/01 01:13:17 tale Exp $ */
 
 domain  jab.fr
 nameserver 194.150.1.2     ; ignore that
index f69c4842232ac9277cc82effa7b021b8194cbb04..5f1fb358a89c3b7b7a6831e9732cd615a5f24bbe 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rwlock_test.c,v 1.17 2000/07/27 09:38:26 tale Exp $ */
+/* $Id: rwlock_test.c,v 1.18 2000/08/01 01:13:18 tale Exp $ */
 
 #include <config.h>
 
index da1c7b3c8763984a71ca7338fee5f70e3ff6ef1a..cc89ff4edd1c5cb574acc23781d3208720975043 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: serial_test.c,v 1.8 2000/07/27 09:38:27 tale Exp $ */
+/* $Id: serial_test.c,v 1.9 2000/08/01 01:13:19 tale Exp $ */
 
 #include <config.h>
 
index 402242373fa02e16e4a524837693550d66505d2b..6ea32e7c5dd1f9d00a9479c6000d3ec8da885f30 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: shutdown_test.c,v 1.15 2000/07/27 09:38:28 tale Exp $ */
+/* $Id: shutdown_test.c,v 1.16 2000/08/01 01:13:20 tale Exp $ */
 
 #include <config.h>
 
@@ -51,7 +51,7 @@ static isc_timermgr_t *               timer_manager;
 static void
 t1_shutdown(isc_task_t *task, isc_event_t *event) {
        t_info *info = event->ev_arg;
-       
+
        printf("task %s (%p) t1_shutdown\n", info->name, task);
        isc_task_detach(&info->task);
        isc_event_free(&event);
@@ -217,7 +217,7 @@ main(int argc, char *argv[]) {
 
        isc_taskmgr_destroy(&task_manager);
        isc_timermgr_destroy(&timer_manager);
-       
+
        printf("Statistics for mctx:\n");
        isc_mem_stats(mctx, stdout);
        isc_mem_destroy(&mctx);
index 00dfb17ba3e3c88707f7a2da9dd68f4926edcfab..8aeb383fc2a3cf9ba410059178b7432a4a8fa217 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sock_test.c,v 1.44 2000/07/27 09:38:30 tale Exp $ */
+/* $Id: sock_test.c,v 1.45 2000/08/01 01:13:21 tale Exp $ */
 
 #include <config.h>
 
index 146dcececd231e327e931109f9ad98b0d0a1f4fb..dbab4a0edfeaed7fec0fc5557ef46d371cd59621 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.10 2000/07/27 09:39:04 tale Exp $
+# $Id: Makefile.in,v 1.11 2000/08/01 01:14:16 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -32,7 +32,7 @@ TAPIDEPLIBS = ../../../lib/tests/libt_api.@A@
 ISCDEPLIBS =   ../../../lib/isc/libisc.@A@
 TAPILIBS =     ../../../lib/tests/libt_api.@A@
 
-DEPLIBS =      ${TAPIDEPLIBS} ${ISCDEPLIBS} 
+DEPLIBS =      ${TAPIDEPLIBS} ${ISCDEPLIBS}
 
 LIBS =         ${TAPILIBS} ${ISCLIBS} @LIBS@
 
index d8221acc01769fccd298ada785e0c62909d21855..f368bff3e22d79cddf37ce3fe1a93a66694d20b7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_sockaddr.c,v 1.9 2000/07/27 09:39:05 tale Exp $ */
+/* $Id: t_sockaddr.c,v 1.10 2000/08/01 01:14:17 tale Exp $ */
 
 #include <config.h>
 
@@ -29,11 +29,11 @@ static int
 test_isc_sockaddr_eqaddrprefix(void) {
        struct in_addr ina_a;
        struct in_addr ina_b;
-       struct in_addr ina_c;   
+       struct in_addr ina_c;
        isc_sockaddr_t isa_a;
        isc_sockaddr_t isa_b;
        isc_sockaddr_t isa_c;
-               
+
        if (inet_pton(AF_INET, "194.100.32.87", &ina_a) < 0)
                return T_FAIL;
        if (inet_pton(AF_INET, "194.100.32.80", &ina_b) < 0)
@@ -76,13 +76,13 @@ test_isc_netaddr_masktoprefixlen(void) {
        struct in_addr na_a;
        struct in_addr na_b;
        struct in_addr na_c;
-       struct in_addr na_d;            
+       struct in_addr na_d;
        isc_netaddr_t ina_a;
        isc_netaddr_t ina_b;
        isc_netaddr_t ina_c;
-       isc_netaddr_t ina_d;    
+       isc_netaddr_t ina_d;
        unsigned int plen;
-               
+
        if (inet_pton(AF_INET, "0.0.0.0", &na_a) < 0)
                return T_FAIL;
        if (inet_pton(AF_INET, "255.255.255.254", &na_b) < 0)
@@ -128,7 +128,7 @@ t2(void) {
        result = test_isc_netaddr_masktoprefixlen();
        t_result(result);
 }
-               
+
 testspec_t     T_testlist[] = {
        {       t1,     "isc_sockaddr_eqaddrprefix"     },
        {       t2,     "isc_netaddr_masktoprefixlen"   },
index 1321b29608daf9f7c28d4fa1c1d9024b763e53b3..37a366ddb7fe950be6f9e39ad7ba44daa21bc210 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sym_test.c,v 1.19 2000/07/27 09:38:31 tale Exp $ */
+/* $Id: sym_test.c,v 1.20 2000/08/01 01:13:23 tale Exp $ */
 
 #include <config.h>
 
@@ -110,7 +110,7 @@ main(int argc, char *argv[]) {
                                               key, cp,
                                               isc_result_totext(result));
                                        if (result != ISC_R_SUCCESS)
-                                               undefine_action(key, 1, 
+                                               undefine_action(key, 1,
                                                        value, NULL);
                                }
                        }
index bd4cbca1d9c156e1c001a04a69abb96738378bc0..63137a47fcff16880751ea62749dd9f79b1fce8d 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.19 2000/07/28 01:37:05 gson Exp $
+# $Id: Makefile.in,v 1.20 2000/08/01 01:14:19 tale Exp $
 
 @BIND9_INCLUDES@
 SUBDIRS =      lwresd
-TARGETS = 
+TARGETS =
 
 @BIND9_MAKE_RULES@
 
index 65592ab96fddf098ed6ddf4fed69eb8d8c0f180d..5e87dc32bc14abcafca167ae7c6482ea30f22f95 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: cleanall.sh,v 1.4 2000/07/27 09:39:07 tale Exp $
+# $Id: cleanall.sh,v 1.5 2000/08/01 01:14:20 tale Exp $
 
 #
 # Clean up after system tests.
index dc2a91b630e3406b8456536d90f7476ba5160123..98a90da064c2e5ec002dd99e315812c03bc419a8 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,9 +15,9 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: conf.sh.in,v 1.11 2000/07/27 09:39:08 tale Exp $
+# $Id: conf.sh.in,v 1.12 2000/08/01 01:14:21 tale Exp $
 
-# 
+#
 # Common configuration data for system tests, to be sourced into
 # other shell scripts.
 #
index 63554272f9f8bfee1e00f8de252b664f0fd483bc..2067957921c6a4658f4d673c1084215a97dcbd28 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: digcomp.pl,v 1.9 2000/07/27 09:39:10 tale Exp $
+# $Id: digcomp.pl,v 1.10 2000/08/01 01:14:22 tale Exp $
 
 # Compare two files, each with the output from dig, for differences.
 # Ignore "unimportant" differences, like ordering of NS lines, TTL's,
index f5fc0148b1ef8d1d84927fb2778604fa007c8517..a4b904c9aa38d9f10de9ffc593ca70cbc0e9f538 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.7 2000/07/31 15:28:15 bwelling Exp $
+# $Id: clean.sh,v 1.8 2000/08/01 01:14:31 tale Exp $
 
 rm -f */K* */keyset-* */signedkey-* */*.signed */trusted.conf
 rm -f ns1/root.db ns2/example.db ns3/secure.example.db
 rm -f ns3/unsecure.example.db ns3/bogus.example.db
-rm -f dig.out.* 
+rm -f dig.out.*
 
index 26e0416046a93e7ca2ac76015b7489ebf332bc18..c25fba41eee999d83c2060a50da2ae099e79ad3f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.10 2000/07/27 09:39:22 tale Exp $ */
+/* $Id: named.conf,v 1.11 2000/08/01 01:14:35 tale Exp $ */
 
 // NS1
 
index 4c4d2dbedc3acaabce430d60508cd7786b046c50..2ff50fb081d63ea30aaf71909fff998db753a065 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db.in,v 1.4 2000/07/27 09:39:23 tale Exp $
+; $Id: root.db.in,v 1.5 2000/08/01 01:14:36 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 6de7032df58b6961c1ba06eacd738a272a5c36f5..ed52a9c4e522407ae03f3597b8c6ec60ce222b10 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.9 2000/07/31 15:28:16 bwelling Exp $
+# $Id: sign.sh,v 1.10 2000/08/01 01:14:37 tale Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
index 57fb5eea95363a73c0a6a5b2202385561f60e22c..2c34792567207045bb59505199f7cb36c5d81bc7 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example.db.in,v 1.5 2000/07/27 09:39:26 tale Exp $
+; $Id: example.db.in,v 1.6 2000/08/01 01:14:38 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index 4af9b38b33229a3b6499041f66bbbc2b2b45bdeb..bc42ce31c43719a5d0eedd46272a544901be60f3 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: insecure.secure.example.db,v 1.4 2000/07/27 09:39:27 tale Exp $
+; $Id: insecure.secure.example.db,v 1.5 2000/08/01 01:14:39 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index c90c5f7ec4b1e880652dee771ebc2cf3da2fd2d4..a610512b64b36e4800d2f36d762353f5708c5d1d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.11 2000/07/27 09:39:28 tale Exp $ */
+/* $Id: named.conf,v 1.12 2000/08/01 01:14:40 tale Exp $ */
 
 // NS2
 
index 75a68d253f62afcff56e08fc2802002a206ed443..bb2119a7bf1f18cf0c413f2d0bf221afa44590bb 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: private.secure.example.db.in,v 1.4 2000/07/27 09:39:29 tale Exp $
+; $Id: private.secure.example.db.in,v 1.5 2000/08/01 01:14:41 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index 18a9bd8fa68f88314be2705f2990b2afc362dd99..d4d6b3ffbe1f8bc77425fc00c5817227387518ef 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:39:30 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:14:42 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 2d219fae0d24b15c1008985e1ff7552556a747ff..8df367a7b5cdc10f6e79bc2835ccbaba5bf8744f 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.12 2000/07/31 15:28:18 bwelling Exp $
+# $Id: sign.sh,v 1.13 2000/08/01 01:14:43 tale Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
index 5546e155c213dd3807285d8c28bae08c2fff4427..ecaffd9a8af80d8de231f53908a6d45ce70be9ec 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: bogus.example.db.in,v 1.4 2000/07/27 09:39:32 tale Exp $
+; $Id: bogus.example.db.in,v 1.5 2000/08/01 01:14:45 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index b892ea07be929127ae84a8b081495554f15474da..cebdd2673f7cd5da05b5e382e142467b4eb5211c 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: insecure.example.db,v 1.4 2000/07/27 09:39:34 tale Exp $
+; $Id: insecure.example.db,v 1.5 2000/08/01 01:14:46 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index 7e89f01e9502138e8b8f00fd070ae7a364e54b3c..6ba899a30c46851fc6ef8e74f758b38238ff7c60 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.12 2000/07/27 09:39:35 tale Exp $ */
+/* $Id: named.conf,v 1.13 2000/08/01 01:14:47 tale Exp $ */
 
 // NS3
 
index 2b7e0fbdc379a1d7c47a9d265dae214865763290..057968ac2873be0a47fb58c40a54887019b8676d 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:39:36 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:14:48 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 83d51a7a6b267f6e87312eef89b15b03e6340fdf..16884622f93a481818ca3251d06ab8e1403f5640 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: secure.example.db.in,v 1.6 2000/07/27 09:39:37 tale Exp $
+; $Id: secure.example.db.in,v 1.7 2000/08/01 01:14:49 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index 2d9ac72b566d7f822d913dd9708f424496871470..27e1d67cc1583702d9a1badcc9c0642ebea0cc51 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.9 2000/07/27 09:39:38 tale Exp $
+# $Id: sign.sh,v 1.10 2000/08/01 01:14:50 tale Exp $
 
 RANDFILE=../random.data
 
index de2484a0e860e7a02720eefc7dd9f15338f458b6..f2e848ca245051b9ea468070b430fc2f48481ff3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.11 2000/07/27 09:39:39 tale Exp $ */
+/* $Id: named.conf,v 1.12 2000/08/01 01:14:51 tale Exp $ */
 
 // NS4
 
index 57a953c2bf7f72a26f77b62ac980e3bc15aff296..ac351dc5f4ada4e34ee2d7a2d63b6ecb73a28f2c 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:39:40 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:14:53 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index c5d31c9ff90d15043d7ac98b3841a089969eb531..d281f60a7296a79fa55be876c18f794a0f0b3294 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.9 2000/07/27 09:39:42 tale Exp $ */
+/* $Id: named.conf,v 1.10 2000/08/01 01:14:54 tale Exp $ */
 
 // NS5
 
index 52e3b9bf375ff0dde4667a19c829731fa2d1c5d2..31829a022aa32cca369701e5b89549ae8cd922ee 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:39:43 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:14:55 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index d1cfe72a7624510881f4e49ab64de3e338194332..863f698783cb96c647c28ddbf94a8c5bc6855f5b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: trusted.conf.bad,v 1.4 2000/07/27 09:39:44 tale Exp $ */
+/* $Id: trusted.conf.bad,v 1.5 2000/08/01 01:14:56 tale Exp $ */
 
 trusted-keys {
     "." 256 3 1 "AQO6Cl+slAf+iuieDim9L3kujFHQD7s/IOj03ClMOpKYcTXtK4mRpuULVfvWxDi9Ew/gj0xLnnX7z9OJHIxLI+DSrAHd8Dm0XfBEAtVtJSn70GaPZgnLMw1rk5ap2DsEoWk=";
index 52e655c496c8cf50a95a412969dcfd59e3992cd9..3a527ff14de76182310efc4d2134d5de333d489b 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.7 2000/07/27 09:39:20 tale Exp $
+# $Id: setup.sh,v 1.8 2000/08/01 01:14:32 tale Exp $
 
 cd ns1 && sh sign.sh
 
index 5c5bd417f5985f985e8bbd129a05f3f3c8ffbfd0..50c5ceb45e36a6c978c8ad07743089901ed514df 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.24 2000/07/27 23:22:35 bwelling Exp $
+# $Id: tests.sh,v 1.25 2000/08/01 01:14:33 tale Exp $
 
 #
 # Perform tests
index a540e1b80ccf5bd5d013650aa0aca26d777055fc..a7ef9b146d512453acdbad3eb606cd75aeba9e4f 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.2 2000/07/27 09:39:45 tale Exp $
+# $Id: clean.sh,v 1.3 2000/08/01 01:14:57 tale Exp $
 
 #
 # Clean up after glue tests.
index 2bcf3681cdec2ac0e848eb68d748246d86b9feb5..53952749a0d32657a210c526a0045c7c568665a8 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: cache,v 1.2 2000/07/27 09:39:48 tale Exp $
+; $Id: cache,v 1.3 2000/08/01 01:15:00 tale Exp $
 
 ; Preloaded cache data for glue test
 
index 5ca144492df95276c10cbfee0fe36c41157caf05..eab23582af456a754f4874a961da0284762ba625 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: mil.db,v 1.3 2000/07/27 09:39:49 tale Exp $
+; $Id: mil.db,v 1.4 2000/08/01 01:15:01 tale Exp $
 
 $ORIGIN mil.
 $TTL 300
 @                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 4bf0ce202b5fe971b0c07bd400e222bc0bec7562..bc6acf5b9d111b9fbea5c1bb20efdc41605ea27a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.2 2000/07/27 09:39:50 tale Exp $ */
+/* $Id: named.conf,v 1.3 2000/08/01 01:15:02 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index c089167fa304d68878d256d76b6c7bbfac00a345..c2c04b24176255b624409579c41d2224dd3b960e 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: net.db,v 1.3 2000/07/27 09:39:51 tale Exp $
+; $Id: net.db,v 1.4 2000/08/01 01:15:05 tale Exp $
 
 $ORIGIN net.
 $TTL 300
 @                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 9debe2b36b72071e1199cbfd0df5d3df21d27e53..1d25de1545b6a609ab46a5b1b79c4706689a259d 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root-servers.nil.db,v 1.2 2000/07/27 09:39:52 tale Exp $
+; $Id: root-servers.nil.db,v 1.3 2000/08/01 01:15:06 tale Exp $
 
 $TTL 300
 @                      IN SOA  ns hostmaster (
                                1
                                3600
                                1800
-                               1814400    
-                               3600 
+                               1814400
+                               3600
                                )
                        NS      a
 a                      A       10.53.0.1
index 05942d1cb4b1a994670ae7739c73bc2eebbc9eba..4878732b6208712adb2657a1b549b84f0ce2053c 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.2 2000/07/27 09:39:53 tale Exp $
+; $Id: root.db,v 1.3 2000/08/01 01:15:07 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index d03cba895718d6c868c43afaaef93f5db3f2b48a..f5042eba29f1a4f838bc33c14aa6066aae6b8b37 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.3 2000/07/27 09:39:46 tale Exp $
+# $Id: tests.sh,v 1.4 2000/08/01 01:14:58 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 2ffd54a0ed4fb09e9c7a8a56e7329b7ee0b9d522..61a75d56a45e2bdd747f5c42432bd97254c881e8 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: ifconfig.sh,v 1.19 2000/07/27 09:39:11 tale Exp $
+# $Id: ifconfig.sh,v 1.20 2000/08/01 01:14:23 tale Exp $
 
 #
 # Set up interface aliases for bind9 system tests.
@@ -36,7 +36,7 @@ case "$1" in
     'start')
        for ns in 1 2 3 4 5
        do
-               case "$sys" in 
+               case "$sys" in
                    *-sun-solaris2.[6-7])
                        ifconfig lo0:$ns 10.53.0.$ns up
                        ;;
@@ -87,7 +87,7 @@ case "$1" in
     'stop')
        for ns in 5 4 3 2 1
        do
-               case "$sys" in 
+               case "$sys" in
                    *-sun-solaris2.[6-7])
                        ifconfig lo0:$ns 10.53.0.$ns down
                        ;;
@@ -132,7 +132,7 @@ case "$1" in
                        exit 1
                esac
        done
-       
+
        ;;
 
        *)
index 70a4729c028289552325dc4b154216b59fa8429b..86bf7a516629442b697c979d17238654ee8c5630 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.4 2000/07/27 09:39:54 tale Exp $
+# $Id: clean.sh,v 1.5 2000/08/01 01:15:11 tale Exp $
 
 #
 # Clean up after limits tests.
index 805eff1a7942ae082282135e687008e1b9308750..3b7e01ae850446aa4621cf4ed61d240b26eeaf99 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> 1000.example. @10.53.0.1 a -p 
+; <<>> DiG 8.2 <<>> 1000.example. @10.53.0.1 a -p
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
index 2a2d66a5d4d61afe6eb978de2fce18c5155d3946..96c9181b503e96395bf1df5fd24c995691a7e20c 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> 2000.example. @10.53.0.1 a -p 
+; <<>> DiG 8.2 <<>> 2000.example. @10.53.0.1 a -p
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
index 415c4d6adb42dc1e949b4ec7e89dd91615a93957..19324758ac93a008b16f3ba9aba7af32863eece4 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> 3000.example. @10.53.0.1 a -p 
+; <<>> DiG 8.2 <<>> 3000.example. @10.53.0.1 a -p
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
index f49bec316d056ce3c489d203b095b77c20fff61e..8b109c806fbc978d7c00510d521de9e4fa1759b6 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> 4000.example. @10.53.0.1 a -p 
+; <<>> DiG 8.2 <<>> 4000.example. @10.53.0.1 a -p
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
index d7d0b7cc6e7c40ba9e9cbf7a0b870555d4cd0aa3..1688e83d15a518fd7f7478b018361201dfca062b 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> a-maximum-rrset.example. @10.53.0.1 a -p 
+; <<>> DiG 8.2 <<>> a-maximum-rrset.example. @10.53.0.1 a -p
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
index 5b38b9883fc35971cb18ac824efa91603dca3a0f..5389924b2684906ee5c0864fa27a6846f52c23f7 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example.db,v 1.5 2000/07/27 09:39:57 tale Exp $
+; $Id: example.db,v 1.6 2000/08/01 01:15:30 tale Exp $
 
 $TTL 300        ; 5 minutes
 @                 IN SOA  ns1.example. hostmaster.example. (
index 2461bacce3bd9b31a773fa9a64b30939e7d243a4..d1b57a58ea33ecae6301bba568dba70d2a8a9bea 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.4 2000/07/27 09:39:58 tale Exp $ */
+/* $Id: named.conf,v 1.5 2000/08/01 01:15:33 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index eda0dcee9d2bf39b2edef0a81e2b68e1c99c78a1..a32a3f19b0230461bfa48a8e6e247bc182a639af 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.4 2000/07/27 09:39:59 tale Exp $
+; $Id: root.db,v 1.5 2000/08/01 01:15:34 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 128080e69c54496e880f3d906e8a7b3a1abd72e5..d34ca3e3a0238e842ab9265584a77d545e892a89 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.8 2000/07/27 09:39:55 tale Exp $
+# $Id: tests.sh,v 1.9 2000/08/01 01:15:26 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 3ede7d75f51f4debcd1c91f17aaac5cde0ab6e58..d14d3fc4735e9d921ea6a89edfe402e918f65847 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.6 2000/07/27 09:40:00 tale Exp $
+# $Id: Makefile.in,v 1.7 2000/08/01 01:15:35 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index dd25a253c4ec2d47a2b4b1b8b99d069afd5fb992..cd94bff23a0a7c109a398182121930e00e96d2ea 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolv.conf,v 1.4 2000/07/27 09:40:05 tale Exp $ */
+/* $Id: resolv.conf,v 1.5 2000/08/01 01:15:41 tale Exp $ */
 
 nameserver 10.53.0.1
 search example1.
index 89ca937ffc7721ee79c37179e5e2a4c543721eb7..b501e0496263a8b986697451ab17909e0851ea73 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwtest.c,v 1.12 2000/07/28 03:31:25 tale Exp $ */
+/* $Id: lwtest.c,v 1.13 2000/08/01 01:15:37 tale Exp $ */
 
 #include <config.h>
 
@@ -237,7 +237,7 @@ test_gethostbyname(const char *name, const char *address) {
                if (address == NULL && h_errno == HOST_NOT_FOUND)
                        return;
                else if (h_errno != HOST_NOT_FOUND) {
-                       printf("I:gethostbyname(%s) failed: %s\n", 
+                       printf("I:gethostbyname(%s) failed: %s\n",
                               name, hstrerror(h_errno));
                        fails++;
                        return;
@@ -272,7 +272,7 @@ test_gethostbyname2(const char *name, const char *address, int af) {
                if (address == NULL && h_errno == HOST_NOT_FOUND)
                        return;
                else if (h_errno != HOST_NOT_FOUND) {
-                       printf("I:gethostbyname(%s) failed: %s\n", 
+                       printf("I:gethostbyname(%s) failed: %s\n",
                               name, hstrerror(h_errno));
                        fails++;
                        return;
@@ -328,7 +328,7 @@ test_gethostbyaddr(const char *address, int af, const char *name) {
                if (name == NULL && h_errno == HOST_NOT_FOUND)
                        return;
                else if (h_errno != HOST_NOT_FOUND) {
-                       printf("I:gethostbyaddr(%s) failed: %s\n", 
+                       printf("I:gethostbyaddr(%s) failed: %s\n",
                               address, hstrerror(h_errno));
                        fails++;
                        return;
@@ -372,7 +372,7 @@ test_getaddrinfo(const char *name, int af, int v4ok, int v6ok,
                if (address == NULL && ret == EAI_NODATA)
                        return;
                else if (ret != EAI_NODATA) {
-                       printf("I:getaddrinfo(%s,%d,%d) failed: %s\n", 
+                       printf("I:getaddrinfo(%s,%d,%d) failed: %s\n",
                               name, v4ok, v6ok, gai_strerror(ret));
                        fails++;
                        return;
@@ -470,7 +470,7 @@ test_getnameinfo(const char *address, int af, const char *name) {
                if (name == NULL && ret == ENI_NOHOSTNAME)
                        return;
                else if (ret != ENI_NOHOSTNAME) {
-                       printf("I:getnameinfo(%s) failed: %d\n", 
+                       printf("I:getnameinfo(%s) failed: %d\n",
                               address, ret);
                        fails++;
                        return;
index 2d0366b9431fb5badec8641b9a856d15f307392d..e5f382096bf00ab83879da251d22581088148a90 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: 10.10.10.in-addr.arpa.db,v 1.5 2000/07/27 09:40:07 tale Exp $
+; $Id: 10.10.10.in-addr.arpa.db,v 1.6 2000/08/01 01:15:43 tale Exp $
 
 $TTL 300       ; 5 minutes
 @      IN SOA  mname1. . (
index 37bddd605368e7cbe7c9db4874d40001bc3d2a1e..0f86c5648bc919fbfdc7d5f2ee2080a08a7e89e8 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example1.db,v 1.6 2000/07/27 09:40:08 tale Exp $
+; $Id: example1.db,v 1.7 2000/08/01 01:15:45 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index 03e0f749e289cbcd388cc0762ec259b4ef25301b..1cae6393ccc2b9d35a2bcb307c3fb00f51755fbf 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example2.db,v 1.4 2000/07/27 09:40:09 tale Exp $
+; $Id: example2.db,v 1.5 2000/08/01 01:15:46 tale Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
index f9541c82858cfbfdd98154d80d1aaee48f322f47..8c60ed7bff195ca013737e10b2ab994ed1b6aab9 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: ip6.arpa.db,v 1.4 2000/07/27 09:40:10 tale Exp $
+; $Id: ip6.arpa.db,v 1.5 2000/08/01 01:15:47 tale Exp $
 
 $TTL 300       ; 5 minutes
 @      IN SOA  mname1. . (
index 44aace408f525d086d49a355cef96dec03707bdc..77d3c0389c759040491080f4bef4eceae9dcc036 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: ip6.int.db,v 1.5 2000/07/27 09:40:11 tale Exp $
+; $Id: ip6.int.db,v 1.6 2000/08/01 01:15:48 tale Exp $
 
 $TTL 300       ; 5 minutes
 @      IN SOA  mname1. . (
index c68128c5e6260429d1a4577090223fd5c69fd908..33de7aa81a4bbcd33992c5f839018ed34593a027 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.5 2000/07/27 09:40:12 tale Exp $ */
+/* $Id: named.conf,v 1.6 2000/08/01 01:15:50 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index 357f401683fa5d8ba8445a5d3a169e3f8f6d9f15..465494ba799cd0890fd339c75625e5dc2bbae981 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.4 2000/07/27 09:40:13 tale Exp $
+; $Id: root.db,v 1.5 2000/08/01 01:15:51 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 1d589edb4572783c81d04033a148c999f5eb1b75..d0e4fde9ad7106e95630a218afb7a5f6cfc0c834 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolv.conf,v 1.4 2000/07/27 09:40:03 tale Exp $ */
+/* $Id: resolv.conf,v 1.5 2000/08/01 01:15:38 tale Exp $ */
 
 nameserver 10.53.0.1
 search example1.
index 1d1f2a8df9d439d9e44a11d11d1353b6184d7a35..12688c69ca814b8c2e97f6eb484b42076a1e7c02 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.6 2000/07/27 09:40:04 tale Exp $
+# $Id: tests.sh,v 1.7 2000/08/01 01:15:40 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 2615d9794aa5669fee180516f5448298f4c320fb..e7f72f98559cc8374bfd8d43a5b5ce18b5d897ec 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.5 2000/07/27 09:40:14 tale Exp $
+# $Id: clean.sh,v 1.6 2000/08/01 01:15:53 tale Exp $
 
 #
 # Clean up after zone transfer tests.
index f61ac9393d25171a101bd2946bb37962c022dde7..16bac3b9f3e95dedff723baecce9da368abdb6ba 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.8 2000/07/27 09:40:18 tale Exp $ */
+/* $Id: named.conf,v 1.9 2000/08/01 01:15:58 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index ad346579841faa971a2628b06d9ec94154493dff..21a3283554ee25e7623b89fd65ed639c12776966 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.4 2000/07/27 09:40:19 tale Exp $
+; $Id: root.db,v 1.5 2000/08/01 01:15:59 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 587c3c757edaa0698182fca3ffe534ba7a243e3d..944bd77b88a7686930a354e7e20a3f81b88b6286 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example1.db,v 1.5 2000/07/27 09:40:20 tale Exp $
+; $Id: example1.db,v 1.6 2000/08/01 01:16:00 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 75c77e0f1bfe263f62801d938896c73b2d450c67..4f0b52695652706d9a83b0ea7537ba7df647d8bb 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example2.db,v 1.5 2000/07/27 09:40:21 tale Exp $
+; $Id: example2.db,v 1.6 2000/08/01 01:16:01 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 15b64d1b1228bd23d1286a3bb973dc1795574a96..c0056bbf2833dfd60ab4ba70952ad3fbac2ac353 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example3.db,v 1.5 2000/07/27 09:40:22 tale Exp $
+; $Id: example3.db,v 1.6 2000/08/01 01:16:02 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 2ac4205427e9b0a93e338315ad71595e86e3d8b8..0dd6e133c2799608b07c5e041d7f2d6a1627df8d 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example4.db,v 1.5 2000/07/27 09:40:23 tale Exp $
+; $Id: example4.db,v 1.6 2000/08/01 01:16:04 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 8d2cc74bbf198e22b18f3fe6107df377fe8b2094..ecb54023effa29daf97591f80279c5f0f6c8782a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.10 2000/07/27 09:40:24 tale Exp $ */
+/* $Id: named.conf,v 1.11 2000/08/01 01:16:05 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
index 90f7a986323e740aa4b61def66ec31d8cca8ebc0..c0acee977c9004a0aad702c16f9153b5d14c315a 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:40:26 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:16:06 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index cf0e8dd5317a8544cd425302110fba6555295587..08723e6d10355de6bf42cb571c945d06d14f0b54 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.11 2000/07/27 09:40:27 tale Exp $ */
+/* $Id: named.conf,v 1.12 2000/08/01 01:16:07 tale Exp $ */
 
 options {
        query-source address 10.53.0.3;
index b0fb6ac4fb5353526b4fdc015fe891f6f519455e..3a5d2236752bf374ed67b5eb25f657cd5af573fd 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:40:28 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:16:09 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 26d6d8d65d2d4a3e5ed3ceccded08801cfec7695..7b66bf54e23fdb2dd66639efce4cab6160ac89ab 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,6 +15,6 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.4 2000/07/27 09:40:15 tale Exp $
+# $Id: setup.sh,v 1.5 2000/08/01 01:15:54 tale Exp $
 
 cp ns2/example1.db ns2/example.db
index 12cc7a35f965b0c638a79c7b1bfef85e4b42cfe2..dacf729a1e91f6a5265a797d7e6422989b3adda6 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.24 2000/07/27 09:40:16 tale Exp $
+# $Id: tests.sh,v 1.25 2000/08/01 01:15:56 tale Exp $
 
 #
 # Perform tests
index 98d966add3ea02965a4e97e23adb0a8c020d945b..2cddd9e5ac75658c6ba400d589308eb2c4822cf5 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.4 2000/07/28 00:38:08 bwelling Exp $
+# $Id: clean.sh,v 1.5 2000/08/01 01:16:11 tale Exp $
 
 #
 # Clean up after zone transfer tests.
index bbe8786fa3d4d5a704115a21a878107c6637239a..2a83b24fec681b5e1c3827457a224e541f47b034 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example.orig,v 1.2 2000/07/27 09:40:34 tale Exp $
+; $Id: example.orig,v 1.3 2000/08/01 01:16:17 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 5d44f117934c28b250497b8d34ecd9e17acc6a8c..4da390eb818c5a3b950e551b9b1c000eefccaf4d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.4 2000/07/27 09:40:35 tale Exp $ */
+/* $Id: named.conf,v 1.5 2000/08/01 01:16:18 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index 9d94e49a28f69d2e0267ae5408530db491374bad..2fe52d84a8a9d8ef422f2abba248615a26f4d354 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: update.orig,v 1.2 2000/07/27 09:40:36 tale Exp $
+; $Id: update.orig,v 1.3 2000/08/01 01:16:19 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 333136d44ecd1037ee066870bf9604da68d592fb..2556f44da7666740e7b7c8f3dca618f811a2fd73 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.3 2000/07/27 09:40:37 tale Exp $ */
+/* $Id: named.conf,v 1.4 2000/08/01 01:16:20 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
index d450b3a4fc9ccfb732c7a33cf51ff48fd5f35c8f..ab81e49c0b098af8949bcc0fa3d1afab3e3e9618 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.3 2000/07/27 09:40:30 tale Exp $
+# $Id: setup.sh,v 1.4 2000/08/01 01:16:12 tale Exp $
 
 #
 # jnl and database files MUST be removed before we start
index 9fdb70cd0929cf8fd2e34574786feea366249a6c..05bb9fce635cf123ea8f1ddc9d824dd8a568e7e9 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.10 2000/07/27 09:40:31 tale Exp $
+# $Id: tests.sh,v 1.11 2000/08/01 01:16:13 tale Exp $
 
 #
 # Perform tests
index deab974da8ea101e3a1f234333ed1845810d160b..0b9b3da82d1b7ed4b67a081fb2315f76c82d362d 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -25,8 +25,8 @@
 # The server defaults to 127.0.0.1.
 # The port defaults to 53.
 #
-# The "Special NS rules" tests will only work correctly if the 
-# has no NS records to begin with, or alternatively has a 
+# The "Special NS rules" tests will only work correctly if the
+# has no NS records to begin with, or alternatively has a
 # single NS record pointing at the name "ns1" (relative to
 # the zone name).
 #
@@ -37,7 +37,7 @@
 #
 #    perl -MCPAN -e "install Net::DNS"
 #
-# $Id: update_test.pl,v 1.3 2000/07/27 09:40:32 tale Exp $
+# $Id: update_test.pl,v 1.4 2000/08/01 01:16:14 tale Exp $
 #
 
 use Getopt::Std;
@@ -74,11 +74,11 @@ sub test {
     my ($expected, @records) = @_;
 
     my $update = new Net::DNS::Update("$zone");
-    
+
     foreach $rec (@records) {
        $update->push(@$rec);
     }
-    
+
     $reply = $res->send($update);
 
     # Did it work?
@@ -166,7 +166,7 @@ test("NOERROR", ["update",
                 rr_add("e.$zone 300 A 73.80.65.50")]);
 test("NOERROR", ["update",
                 rr_add("e.$zone 300 A 73.80.65.52"),
-                rr_add("f.$zone 300 A 73.80.65.52"),            
+                rr_add("f.$zone 300 A 73.80.65.52"),
                 rr_add("e.$zone 300 A 73.80.65.51")]);
 test("NOERROR", ["update",
                 rr_add("e.$zone 300 TXT 'three'"),
index edc72828d145d16222bab9cc3411f4386d09e8ea..d279a32a42f6c104812175edf1cef7f365cad31c 100644 (file)
@@ -8,7 +8,7 @@ use IO::Socket;
 use Net::DNS;
 use Net::DNS::Packet;
 
-my $sock = IO::Socket::INET->new(LocalAddr => "10.53.0.2", 
+my $sock = IO::Socket::INET->new(LocalAddr => "10.53.0.2",
    LocalPort => 5300, Proto => "udp") or die "$!";
 
 my $pidf = new IO::File "ans.pid", "w" or die "cannot write pid file: $!";
@@ -53,5 +53,5 @@ for (;;) {
 
        print "RESPONSE:\n";
        $packet->print;
-       print "\n";     
+       print "\n";
 }
index ad6ecfce46cc884020ce0bba89c8263c6c5d2a79..ae15aedc7ea2728662a8026b45398448d08519ba 100644 (file)
@@ -8,7 +8,7 @@ use IO::Socket;
 use Net::DNS;
 use Net::DNS::Packet;
 
-my $sock = IO::Socket::INET->new(LocalAddr => "10.53.0.3", 
+my $sock = IO::Socket::INET->new(LocalAddr => "10.53.0.3",
    LocalPort => 5300, Proto => "udp") or die "$!";
 
 my $pidf = new IO::File "ans.pid", "w" or die "cannot write pid file: $!";
@@ -27,16 +27,16 @@ for (;;) {
        my ($packet, $err) = new Net::DNS::Packet(\$buf, 0);
        $err and die $err;
 
-       print "REQUEST:\n";     
+       print "REQUEST:\n";
        $packet->print;
 
        $packet->header->qr(1);
 
        $packet->push("answer", new Net::DNS::RR("www.example.com 300 A 1.2.3.4"));
-       
+
        $sock->send($packet->data);
 
        print "RESPONSE:\n";
        $packet->print;
-       print "\n";     
+       print "\n";
 }
index 6563afb930ec445b875473b8a5eccdb245471680..1e2aaa9e7b4511dc0f276edc5192a592beeaf16a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.2 2000/07/27 09:40:41 tale Exp $ */
+/* $Id: named.conf,v 1.3 2000/08/01 01:16:27 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index 70d230aa06c8e5da4fd0d23ed2eead92092fd7cc..8422531e57307a8ac10b758ccf5548c9045a93e6 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.2 2000/07/27 09:40:42 tale Exp $
+; $Id: root.hint,v 1.3 2000/08/01 01:16:28 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 75a6fbd16d7bd7bc0548acf1216e46143256b92f..400c7537191d0f3550bd6412418f5f557551e945 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: prereq.sh,v 1.2 2000/07/27 09:40:39 tale Exp $
+# $Id: prereq.sh,v 1.3 2000/08/01 01:16:22 tale Exp $
 
 if $PERL -e 'use Net::DNS;' 2>/dev/null
 then
     :
 else
-    echo "I:This test requires the Net::DNS library." >&2    
+    echo "I:This test requires the Net::DNS library." >&2
     exit 1
 fi
index 055895dfa16808c4ba31af80c045f4aea6ec7a0f..e4c9d9c2e872120921095099e561b4a741055519 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.4 2000/07/28 22:42:41 gson Exp $
+# $Id: tests.sh,v 1.5 2000/08/01 01:16:23 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 7dd43e042a9849bde4daf7a117c6d755641c2a85..21160d81ccee5d63bbe6af5b0150b514b3044e08 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: run.sh,v 1.32 2000/07/27 09:39:12 tale Exp $
+# $Id: run.sh,v 1.33 2000/08/01 01:14:24 tale Exp $
 
 #
 # Run a system test.
index bbbb7614d10d8d5b6a1d3df7a9e6dc4a5d6a95f9..0ea7aace7cf58959321ac388d8f50f1a416bdd9a 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: runall.sh,v 1.2 2000/07/27 09:39:13 tale Exp $
+# $Id: runall.sh,v 1.3 2000/08/01 01:14:25 tale Exp $
 
 #
 # Run all the system tests.
index b80834bb158a563971aa5a568e881ad4eab07fd4..bd255f32b429080714a87beabdf5e3a421d1f7f5 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.6 2000/07/27 09:39:14 tale Exp $
+# $Id: setup.sh,v 1.7 2000/08/01 01:14:26 tale Exp $
 
 #
 # Run a system test.
index 08a7a4ff8761b81d6119920d7b9846bfe35c25e6..610607d03eb784534d115a667951662391238f3a 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: start.sh,v 1.28 2000/07/27 09:39:15 tale Exp $
+# $Id: start.sh,v 1.29 2000/08/01 01:14:27 tale Exp $
 
 #
 # Start name servers for running system tests.
@@ -46,7 +46,7 @@ do
            sh ./stop.sh $1
            exit 1
        fi
-    fi 
+    fi
 done
 
 cd $1
index 820a1c8f770d66ee4c01c562beb0f6cdeccfbacb..009b82c42c587e672a854fae603519d97ae28775 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: stop.sh,v 1.15 2000/07/27 09:39:16 tale Exp $
+# $Id: stop.sh,v 1.16 2000/08/01 01:14:29 tale Exp $
 
 #
 # Stop name servers.
index 82c495c86611e3639037c356918fac9f1518062d..633e80b46ee8210fbc77a95dbc7eff8e995a5d2b 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.4 2000/07/27 09:40:43 tale Exp $
+# $Id: clean.sh,v 1.5 2000/08/01 01:16:30 tale Exp $
 
 #
 # Clean up after stub tests.
index 0aa9c0dbbf146ade829254a52928cf525957509c..ca0e458e8b042fe766701453a08aba11e2d1e47a 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> -p @10.53.0.3 +norec data.child.example txt 
+; <<>> DiG 8.2 <<>> -p @10.53.0.3 +norec data.child.example txt
 ; (1 server found)
 ;; res options: init defnam dnsrch
 ;; got answer:
index da6c3aa7164f2d1f9ae2dd3a05d30db31ab9b771..9f2e4ee8e807110006a89b0ccbff046f395fa54f 100644 (file)
@@ -1,5 +1,5 @@
 
-; <<>> DiG 8.2 <<>> -p @10.53.0.3 data.child.example txt 
+; <<>> DiG 8.2 <<>> -p @10.53.0.3 data.child.example txt
 ; (1 server found)
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
index 9d8f2859c651050cc6e30ddb764289f7f8e5878d..a689a755dafb7ec5a1c162399b30bbf2fe145fba 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.4 2000/07/27 09:40:46 tale Exp $ */
+/* $Id: named.conf,v 1.5 2000/08/01 01:16:35 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index 7acde72a5c9554d25f234221b979eae95b77f41a..0809f086d235288d50d2f80bf5cba91b7a7cb771 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.4 2000/07/27 09:40:47 tale Exp $
+; $Id: root.db,v 1.5 2000/08/01 01:16:36 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 06d02cbe225b0e794a93a747896f2a35a1798227..86bc07c416bd81f3b14ad026610376dafd347165 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: child.example.db,v 1.4 2000/07/27 09:40:48 tale Exp $
+; $Id: child.example.db,v 1.5 2000/08/01 01:16:39 tale Exp $
 
 $TTL 300       ; 5 minutes
 child.example.         IN SOA  ns2.child.example. hostmaster.child.example. (
index adc8efcd733d4e477670f1706528fc07aaffefc2..e38378d555bd6d95b338369e11e86e23bff2652c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.4 2000/07/27 09:40:49 tale Exp $ */
+/* $Id: named.conf,v 1.5 2000/08/01 01:16:40 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
index 22ca1de0a209fdf9bf4449d80cdaefd6e73bb700..a80e9339a9db98c3d50309b954b1534b2ddf48d5 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:40:50 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:16:41 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 522fa55e1b3314a3099e5c1416530c2434960431..1469eced875b579555231ccf4896cfdbb3673395 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example.db,v 1.4 2000/07/27 09:40:52 tale Exp $
+; $Id: example.db,v 1.5 2000/08/01 01:16:42 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 633c21fd6c63e7b0da88e8aebe26232a804eabfe..95896b1c690d4db23aeffdedce6003c53290acfd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.4 2000/07/27 09:40:53 tale Exp $ */
+/* $Id: named.conf,v 1.5 2000/08/01 01:16:43 tale Exp $ */
 
 options {
        query-source address 10.53.0.3;
index 773db4eaa282e63003b3b507c157233721ad2b32..f7110cd945219193bc68764247e744285f5c01c4 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:40:54 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:16:44 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index a01ae61a19d5ef9ed660b1fb9df8ae3071ccbff1..f5fd9b19c9266183ad8b491955c3e9186376628e 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.8 2000/07/27 09:40:44 tale Exp $
+# $Id: tests.sh,v 1.9 2000/08/01 01:16:34 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 200a4f841920baf3840aa151005a984e911125e4..b060ff4b625d9a43f71c513702b7e4a36801d460 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: testsock.pl,v 1.8 2000/07/27 09:39:17 tale Exp $
+# $Id: testsock.pl,v 1.9 2000/08/01 01:14:30 tale Exp $
 
 # Test whether the interfaces on 10.53.0.* are up.
 
index 7d351c8b6fbc9f26df3216e3fab57ad7acc8b7b5..ecf3a0a464731a23dec9a34fa2fe67fe1a49cca5 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.5 2000/07/27 09:40:55 tale Exp $
+# $Id: clean.sh,v 1.6 2000/08/01 01:16:45 tale Exp $
 
 #
 # Clean up after zone transfer tests.
index e900bf8e5b97ca7fa2ba92afe76141ef07bb4d80..4d9728c2f1315b8e38394f79187e5f28ca8c35ad 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.7 2000/07/27 09:40:59 tale Exp $ */
+/* $Id: named.conf,v 1.8 2000/08/01 01:16:51 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index ce95f5972a99ea1458d069db11c180af2d19bcf8..5eba63e058addadd76f64821963be6581245bba8 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.4 2000/07/27 09:41:01 tale Exp $
+; $Id: root.db,v 1.5 2000/08/01 01:16:52 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index b07aa694709af3175ab3dcdd4929ba813ff82535..3c0844dae0a6609a99e510cf050ca9c54e9b5216 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example1.db,v 1.4 2000/07/27 09:41:02 tale Exp $
+; $Id: example1.db,v 1.5 2000/08/01 01:16:53 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index c144f106ee46e81680091f57ad43828239cf3df4..4f4ec199f780f23bbb5a2cbdc5e8f93e5745ec42 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example2.db,v 1.4 2000/07/27 09:41:03 tale Exp $
+; $Id: example2.db,v 1.5 2000/08/01 01:16:55 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 1517c49f804d2bf7e770ef5df87195866274ffc8..39559f1983b675cd9be4579c6a511048234c6d28 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: internal.db,v 1.4 2000/07/27 09:41:04 tale Exp $
+; $Id: internal.db,v 1.5 2000/08/01 01:16:56 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 9ca873bd716d4de5c3fac78ef1388adf14cd1bef..837367fbb706f1e3410f9503e35a95ee38705327 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named1.conf,v 1.10 2000/07/29 00:26:18 mws Exp $ */
+/* $Id: named1.conf,v 1.11 2000/08/01 01:16:57 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
index 878978f07cfba9e33101630228a530221fc32f2c..96686d0cd1352603133cfa814114717cb8d8eacc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named2.conf,v 1.10 2000/07/29 00:26:19 mws Exp $ */
+/* $Id: named2.conf,v 1.11 2000/08/01 01:16:58 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
        port 5300;
        pid-file "named.pid";
-       listen-on { 10.53.0.2; 
+       listen-on { 10.53.0.2;
                10.53.0.4; };
        listen-on-v6 {none;};
        recursion no;
@@ -38,7 +38,7 @@ controls {
 };
 
 view "internal" {
-       match-clients { 10.53.0.2; 
+       match-clients { 10.53.0.2;
                        10.53.0.3; };
 
        zone "." {
index aa66af13a0f9feab4f52d6d922f8c17f21739385..daf194182e46032a787072f5c885364fd169461e 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:41:07 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:16:59 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 62683857e7ac473720c857b0c9355ccbc7e00263..dee6bdb10f6827c96277ba4ef92d62f14bf913f5 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: internal.db,v 1.4 2000/07/27 09:41:09 tale Exp $
+; $Id: internal.db,v 1.5 2000/08/01 01:17:01 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 731c96a29b01cee831578434dbdd10275144a731..2fef3c0d78dbca2774f7fcf1ec1c2e3e140d3492 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named1.conf,v 1.11 2000/07/29 00:26:20 mws Exp $ */
+/* $Id: named1.conf,v 1.12 2000/08/01 01:17:02 tale Exp $ */
 
 options {
        query-source address 10.53.0.3;
index 971e923c467233ecac7541deff0a4fa781e58e1b..34c005e675bc1ff98a44f71a8fc213de82a9a995 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named2.conf,v 1.11 2000/07/29 00:26:22 mws Exp $ */
+/* $Id: named2.conf,v 1.12 2000/08/01 01:17:03 tale Exp $ */
 
 options {
        query-source address 10.53.0.3;
index 930771a952f71d4902784fd3a68781ffc2eb6610..c4fdf239a50647af56e95682a31dd6be05c62cf3 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:41:12 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:17:04 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 70145f689e834a58e39459dd557d4a0fc563c058..e570dc71d5cf44b2f0bf679d44966667e1af0173 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rndc.conf,v 1.2 2000/07/27 09:40:56 tale Exp $ */
+/* $Id: rndc.conf,v 1.3 2000/08/01 01:16:46 tale Exp $ */
 
 options {
         default-key     "rndc_key";
index ce80ce59af652b3c67eb9e917e1bcd95af8de74d..7a121e8adeb3fbe97fd3077d424820e865204e7d 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.4 2000/07/27 09:40:57 tale Exp $
+# $Id: setup.sh,v 1.5 2000/08/01 01:16:48 tale Exp $
 
 
 cp ns2/example1.db ns2/example.db
index 8e736f5bcd39b38e9583f2ee66acab4ef9b566e9..6724b68bb3e0a60b30427095cdce37bfd2a0f91a 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.20 2000/07/27 09:40:58 tale Exp $
+# $Id: tests.sh,v 1.21 2000/08/01 01:16:49 tale Exp $
 
 #
 # Perform tests
index dc5b6cce6300f719e2a26908805fa3674581b6a4..0901f3d70f3999d755da813d717f57a6845643c0 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.7 2000/07/27 09:41:13 tale Exp $
+# $Id: clean.sh,v 1.8 2000/08/01 01:17:06 tale Exp $
 
 #
 # Clean up after zone transfer tests.
index 06daa1d240b12e28ee2c91a0976dc140d12e1b69..10b89508f85948675578aae86fa496db644db0ab 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.8 2000/07/27 09:41:16 tale Exp $ */
+/* $Id: named.conf,v 1.9 2000/08/01 01:17:08 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index 459e575f9cef4c9b2e27a5b49bb0fdcb19f922ea..28a35270047607e685811a84abc9eee22a6c8a33 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.4 2000/07/27 09:41:17 tale Exp $
+; $Id: root.db,v 1.5 2000/08/01 01:17:09 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index dfdf395f14b6d8b4758097c5315432fb98b2d5cc..221a00af47e846b6de3c325b6dab39ad3e5cabb3 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example.db,v 1.5 2000/07/27 09:41:18 tale Exp $
+; $Id: example.db,v 1.6 2000/08/01 01:17:10 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index e93e5c8f485563a2b28ad4dd67fb789e724dde57..67d540c6c853d11b04a09de7cc84bbca621ab621 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.9 2000/07/27 09:41:19 tale Exp $ */
+/* $Id: named.conf,v 1.10 2000/08/01 01:17:12 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
@@ -27,7 +27,7 @@ options {
        notify yes;
 };
 
-key tsigzone. { 
+key tsigzone. {
         algorithm hmac-md5;
         secret "1234abcd8765";
 };
index 00d1030ba5cf7c055e848196d7e6cdb940526521..22ee5d6a32c81e290596874217373a174b5ab31a 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:41:20 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:17:13 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 9aaa3febc963af55173376972a314eac7dc56b1d..8dd0d9959dc2a52455030193aa063cdaa17a266c 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: tsigzone.db,v 1.4 2000/07/27 09:41:21 tale Exp $
+; $Id: tsigzone.db,v 1.5 2000/08/01 01:17:14 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index 24a1231bffb2a73d7af88cd57aeab9be5250eeeb..3309363dbc27af509e478a55d8470997702351db 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.8 2000/07/27 09:41:23 tale Exp $ */
+/* $Id: named.conf,v 1.9 2000/08/01 01:17:16 tale Exp $ */
 
 options {
        query-source address 10.53.0.3;
@@ -28,7 +28,7 @@ options {
        notify yes;
 };
 
-key tsigzone. { 
+key tsigzone. {
         algorithm hmac-md5;
         secret "1234abcd8765";
 };
index 27ca07340e9f6e7f84b6a337a1802f51464e6fd6..c5247d51b701f9dedf8224d8e3d2ec3cd8c94281 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:41:24 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:17:17 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index d7ccd0c43d58cf0eef46a77d5291a210a077d1fa..e0d78eb83abdcc75062c0ff01697f37e739ee9e1 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.20 2000/07/27 09:41:14 tale Exp $
+# $Id: tests.sh,v 1.21 2000/08/01 01:17:07 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 990a9325dc8ef851085d6a537cfa86d9baa07ccd..cca281731c22a5804aaf0cc71f8c5024b7549934 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: clean.sh,v 1.6 2000/07/27 09:41:25 tale Exp $
+# $Id: clean.sh,v 1.7 2000/08/01 01:17:18 tale Exp $
 
 #
 # Clean up after zone transfer quota tests.
index 29367847f2848316f5cfb381575176bb088a2e04..3fb69fd831ad61e90870f721f9d5d8efff6fd8f5 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: changing1.db,v 1.4 2000/07/27 09:41:29 tale Exp $
+; $Id: changing1.db,v 1.5 2000/08/01 01:17:23 tale Exp $
 
 $TTL   600
 
index 31b89f3bbe729a5961946c10e07ae006b61f4acb..7a241b25f906b4bcf3c8edbcd903a2be174d939c 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: changing2.db,v 1.4 2000/07/27 09:41:30 tale Exp $
+; $Id: changing2.db,v 1.5 2000/08/01 01:17:24 tale Exp $
 
 $TTL   600
 
index dfe4b74c01d26f78ef3035d5959ae66a27fc32b1..60cb4dae38ed850466e501ab3a03c5574a97240d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.11 2000/07/27 09:41:32 tale Exp $ */
+/* $Id: named.conf,v 1.12 2000/08/01 01:17:25 tale Exp $ */
 
 options {
        query-source address 10.53.0.1;
index 0604180bce33518d4fcc3a4be0108cc40ddec646..f56740f4aa6decd381d6896c535ed5bfed706eac 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.db,v 1.5 2000/07/27 09:41:33 tale Exp $
+; $Id: root.db,v 1.6 2000/08/01 01:17:28 tale Exp $
 
 $TTL 300
 .                      IN SOA  gson.nominum.com. a.root.servers.nil. (
                                2000042100      ; serial
                                600             ; refresh
-                               600             ; retry 
+                               600             ; retry
                                1200            ; expire
                                600             ; minimum
                                )
index 297865c47eabaccca4281d4ac2568a18a46554fa..51dc5277b0fb9a8f4daeeda04e1b2aac815b456c 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example.db,v 1.4 2000/07/27 09:41:34 tale Exp $
+; $Id: example.db,v 1.5 2000/08/01 01:17:29 tale Exp $
 
 $ORIGIN .
 $TTL 300       ; 5 minutes
index ef55869a2ad3ea5d50aaa8e05eaa3bbdc833fb21..0b3685ada98c8ac428b93ab4b428a56e255f2ae1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named.conf,v 1.9 2000/07/27 09:41:35 tale Exp $ */
+/* $Id: named.conf,v 1.10 2000/08/01 01:17:30 tale Exp $ */
 
 options {
        query-source address 10.53.0.2;
index 8dda6c8d4ab39b2016e071d56314bfe389c94702..34737b43ca991e0322da0619e21ee77a1e10c345 100644 (file)
@@ -1,9 +1,9 @@
 ; Copyright (C) 2000  Internet Software Consortium.
-; 
+;
 ; Permission to use, copy, modify, and distribute this software for any
 ; purpose with or without fee is hereby granted, provided that the above
 ; copyright notice and this permission notice appear in all copies.
-; 
+;
 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: root.hint,v 1.4 2000/07/27 09:41:36 tale Exp $
+; $Id: root.hint,v 1.5 2000/08/01 01:17:31 tale Exp $
 
 $TTL 999999
 .                       IN NS  a.root-servers.nil.
index 7c99c856651645128fa4f924a7b4b1644f981f7f..4e18ee282240ab496e0acb0e46541aedb52252e5 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.pl,v 1.8 2000/07/27 09:41:26 tale Exp $
+# $Id: setup.pl,v 1.9 2000/08/01 01:17:19 tale Exp $
 
 #
 # Set up test data for zone transfer quota tests.
index 3aca5b82a6c95314d3d6f913a867db2879e1108c..e595ec71587e4a68ee117800a945a219a90fad31 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.9 2000/07/27 09:41:27 tale Exp $
+# $Id: setup.sh,v 1.10 2000/08/01 01:17:20 tale Exp $
 
 #
 # Set up test data for zone transfer quota tests.
index f925852750d839156f0b5e506b18ed6e29ef7c46..6a667740a9207dcec4e8da47ea1fb81b9443d972 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.18 2000/07/27 09:41:28 tale Exp $
+# $Id: tests.sh,v 1.19 2000/08/01 01:17:21 tale Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
index 5ce0ea3082ac82dfe8a1da30f23dbd50102ce42f..93f9700245ea39fe3c9d426b94b2a049e899d59d 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/local/bin/perl
 #
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: t_api.pl,v 1.5 2000/07/27 09:38:32 tale Exp $
+# $Id: t_api.pl,v 1.6 2000/08/01 01:13:24 tale Exp $
 
 require "getopts.pl";
 
index 201dfd8ee734b8c9389ddca9e471802e0ca0f647..85afe793ca054399712beb48b4035bd5796c103a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task_test.c,v 1.45 2000/07/27 09:38:33 tale Exp $ */
+/* $Id: task_test.c,v 1.46 2000/08/01 01:13:25 tale Exp $ */
 
 #include <config.h>
 
@@ -183,7 +183,7 @@ main(int argc, char *argv[]) {
        isc_timermgr_destroy(&timgr);
        isc_taskmgr_destroy(&manager);
        printf("destroyed\n");
-       
+
        isc_mem_stats(mctx, stdout);
        isc_mem_destroy(&mctx);
 
index c06fd8c8c85f0dec20aceaef385752ecd025ae47..c9f4ee7a8686712bb80215d8f55c19c6f5ae58d6 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.19 2000/07/27 09:41:37 tale Exp $
+# $Id: Makefile.in,v 1.20 2000/08/01 01:17:32 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -32,7 +32,7 @@ TAPIDEPLIBS = ../../../lib/tests/libt_api.@A@
 ISCDEPLIBS =   ../../../lib/isc/libisc.@A@
 TAPILIBS =     ../../../lib/tests/libt_api.@A@
 
-DEPLIBS =      ${TAPIDEPLIBS} ${ISCDEPLIBS} 
+DEPLIBS =      ${TAPIDEPLIBS} ${ISCDEPLIBS}
 
 LIBS =         ${TAPILIBS} ${ISCLIBS} @LIBS@
 
index 2f0b2086744462e6ce16ca29eae81beb2b5e7f38..214e36b0f4038c365a0461d56d9c2cddc94ca042 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_tasks.c,v 1.17 2000/07/27 09:41:39 tale Exp $ */
+/* $Id: t_tasks.c,v 1.18 2000/08/01 01:17:34 tale Exp $ */
 
 #include <config.h>
 
@@ -190,7 +190,7 @@ t_tasks1(void) {
                return(T_UNRESOLVED);
        }
 
-       
+
        sleep(2);
 
        /*
@@ -348,7 +348,7 @@ t_tasks1(void) {
        isc_timer_detach(&ti2);
        isc_timermgr_destroy(&timgr);
        isc_taskmgr_destroy(&manager);
-       
+
        isc_mem_destroy(&mctx);
        return(T_PASS);
 }
@@ -392,7 +392,7 @@ t2_shutdown(isc_task_t *task, isc_event_t *event) {
                        t_info("isc_mutex_lock failed %d\n", isc_result);
                        ++T2_nprobs;
                }
-       
+
                T2_done = 1;
 
                isc_result = isc_condition_signal(&T2_cv);
@@ -400,7 +400,7 @@ t2_shutdown(isc_task_t *task, isc_event_t *event) {
                        t_info("isc_condition_signal failed %d\n", isc_result);
                        ++T2_nprobs;
                }
-       
+
                isc_result = isc_mutex_unlock(&T2_mx);
                if (isc_result != ISC_R_SUCCESS) {
                        t_info("isc_mutex_unlock failed %d\n", isc_result);
@@ -438,7 +438,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
                        ++T2_nfails;
                        return;
                }
-       
+
                isc_result = isc_task_onshutdown(newtask, t2_shutdown,
                                                 (void *)task);
                if (isc_result != ISC_R_SUCCESS) {
@@ -447,7 +447,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
                        ++T2_nfails;
                        return;
                }
-       
+
                isc_task_send(newtask, &event);
        } else {
                /*
@@ -781,7 +781,7 @@ t_tasks3(void) {
                                isc_result_totext(isc_result));
                ++T3_nprobs;
        }
-       
+
 
        isc_task_detach(&task);
        isc_taskmgr_destroy(&tmgr);
@@ -1181,7 +1181,7 @@ t_tasks7(void) {
                        isc_mem_destroy(&mctx);
                        return(T_UNRESOLVED);
                }
-       
+
                isc_result = isc_condition_waituntil(&T7_cv, &T7_mx, &now);
                if (isc_result != ISC_R_SUCCESS) {
                        t_info("isc_condition_waituntil returned %s\n",
@@ -1325,7 +1325,7 @@ t10_event2(isc_task_t *task, isc_event_t *event) {
            (T10_purge_tag == event->ev_tag)) {
                tag_match = 1;
        }
-               
+
        if (sender_match && type_match && tag_match) {
                if (event->ev_attributes & ISC_EVENTATTR_NOPURGE) {
                        t_info("event %p,%d,%d matched but was not purgable\n",
@@ -1501,7 +1501,7 @@ t_taskpurge_x(int sender, int type, int tag, int purge_sender,
                                            (void *)(sender + sender_cnt),
                                            (isc_eventtype_t)(type + type_cnt),
                                            t10_event2, NULL, sizeof(*event));
-                               
+
                                eventtab[event_cnt]->ev_tag =
                                        (void *)((int)tag + tag_cnt);
 
@@ -1597,7 +1597,7 @@ t_taskpurge_x(int sender, int type, int tag, int purge_sender,
                        ++*nprobs;
                        return;
                }
-       
+
                isc_result = isc_condition_waituntil(&T10_cv, &T10_mx, &now);
                if (isc_result != ISC_R_SUCCESS) {
                        t_info("isc_condition_waituntil returned %s\n",
@@ -1925,7 +1925,7 @@ t_tasks11(int purgable) {
                               isc_result_totext(isc_result));
                        ++T11_nprobs;
                }
-       
+
                isc_result = isc_condition_waituntil(&T11_cv, &T11_mx, &now);
                if (isc_result != ISC_R_SUCCESS) {
                        t_info("isc_condition_waituntil returned %s\n",
@@ -1967,7 +1967,7 @@ static const char *a11 =
                "When the event is marked as purgable, a call to "
                "isc_task_purgeevent(task, event) purges the event 'event' "
                "from the task's queue and returns ISC_TRUE.";
-                       
+
 static void
 t11(void) {
        int     result;
@@ -2005,7 +2005,7 @@ static const char *a13 =
                "sender 'sender' and of type within the range 'first' "
                "to 'last' inclusive from the task's event queue and "
                "returns the number of tasks purged.";
-                       
+
 static int
 t_tasks13(void) {
        int     result;
index b55224ae0cbad7f3e871148fee43a83d116ce317..8f639c18f63f86bf5ec4824e54aa3d8ec90f3952 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer_test.c,v 1.33 2000/07/27 09:38:34 tale Exp $ */
+/* $Id: timer_test.c,v 1.34 2000/08/01 01:13:26 tale Exp $ */
 
 #include <config.h>
 
@@ -74,7 +74,7 @@ timeout(isc_task_t *task, isc_event_t *event) {
        char *name = event->ev_arg;
        const char *type;
 
-       INSIST(event->ev_type == ISC_TIMEREVENT_IDLE || 
+       INSIST(event->ev_type == ISC_TIMEREVENT_IDLE ||
               event->ev_type == ISC_TIMEREVENT_LIFE);
 
        if (event->ev_type == ISC_TIMEREVENT_IDLE)
@@ -140,7 +140,7 @@ main(int argc, char *argv[]) {
        RUNTIME_CHECK(isc_timer_create(timgr, isc_timertype_ticker, NULL,
                                       &interval, t1, tick, "1", &ti1) ==
                      ISC_R_SUCCESS);
-                                      
+
        isc_interval_set(&interval, 10, 0);
        RUNTIME_CHECK(isc_time_add(&now, &interval, &expires) ==
                      ISC_R_SUCCESS);
@@ -162,7 +162,7 @@ main(int argc, char *argv[]) {
        isc_timermgr_destroy(&timgr);
        isc_taskmgr_destroy(&manager);
        printf("destroyed\n");
-       
+
        printf("Statistics for mctx1:\n");
        isc_mem_stats(mctx1, stdout);
        isc_mem_destroy(&mctx1);
index f1d10648202bfc8d13903397dc5b2f3f61b856bd..9a7dd50a4e68e659a7a2bb6ba0b986d0144572b3 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.17 2000/07/27 09:41:40 tale Exp $
+# $Id: Makefile.in,v 1.18 2000/08/01 01:17:35 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index a417f98e8ef734a2314d33c29428e723e241597d..922b231cd9734518c033bf2ad145759e3d533574 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_timers.c,v 1.13 2000/07/27 09:41:41 tale Exp $ */
+/* $Id: t_timers.c,v 1.14 2000/08/01 01:17:37 tale Exp $ */
 
 #include <config.h>
 
index aa62aab1070a24212079e773ab27f7e9d04df0e1..6e4e550582004e7590c2f3f2ad2ee3b27d459084 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkey_test.c,v 1.28 2000/07/27 09:38:35 tale Exp $ */
+/* $Id: tkey_test.c,v 1.29 2000/08/01 01:13:27 tale Exp $ */
 
 /*
  * Principal Author: Brian Wellington (core copied from res_test.c)
@@ -261,7 +261,7 @@ buildquery(void) {
                                     isc_buffer_length(nonce), NULL,
                                     ISC_ENTROPY_BLOCKING);
        CHECK("isc_entropy_getdata", result);
-       
+
        query = NULL;
        result = dns_message_create(mctx, DNS_MESSAGE_INTENTRENDER, &query);
        CHECK("dns_message_create", result);
index f8ca1d7503d971ab9dd154a38fd27b9854483229..a11a9988386fbcac6b556a6cd21fc5804031d7ac 100755 (executable)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -25,8 +25,8 @@
 # The server defaults to 127.0.0.1.
 # The port defaults to 53.
 #
-# The "Special NS rules" tests will only work correctly if the 
-# has no NS records to begin with, or alternatively has a 
+# The "Special NS rules" tests will only work correctly if the
+# has no NS records to begin with, or alternatively has a
 # single NS record pointing at the name "ns1" (relative to
 # the zone name).
 #
@@ -37,7 +37,7 @@
 #
 #    perl -MCPAN -e "install Net::DNS"
 #
-# $Id: update_test.pl,v 1.5 2000/07/27 09:38:36 tale Exp $
+# $Id: update_test.pl,v 1.6 2000/08/01 01:13:28 tale Exp $
 #
 
 use Getopt::Std;
@@ -76,11 +76,11 @@ sub test {
     my ($expected, @records) = @_;
 
     my $update = new Net::DNS::Update("$zone");
-    
+
     foreach $rec (@records) {
        $update->push(@$rec);
     }
-    
+
     $reply = $res->send($update);
 
     # Did it work?
@@ -168,7 +168,7 @@ test("NOERROR", ["update",
                 rr_add("e.$zone 300 A 73.80.65.50")]);
 test("NOERROR", ["update",
                 rr_add("e.$zone 300 A 73.80.65.52"),
-                rr_add("f.$zone 300 A 73.80.65.52"),            
+                rr_add("f.$zone 300 A 73.80.65.52"),
                 rr_add("e.$zone 300 A 73.80.65.51")]);
 test("NOERROR", ["update",
                 rr_add("e.$zone 300 TXT 'three'"),
index c5a36c0b2d69b99211fa5c95e8a9c18452508bc6..9e503df61143b89347833a75c5ff33c10f9335f8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: wire_test.c,v 1.51 2000/07/27 09:38:38 tale Exp $ */
+/* $Id: wire_test.c,v 1.52 2000/08/01 01:13:29 tale Exp $ */
 
 #include <config.h>
 
@@ -70,7 +70,7 @@ main(int argc, char *argv[]) {
 
        mctx = NULL;
        RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
-       
+
        if (argc > 1) {
                f = fopen(argv[1], "r");
                if (f == NULL) {
index 690447a4bbc84a5f57fdc08d7069278da93c1f71..cbda58687b431905cbb6788b2bd272baebf1b811 100644 (file)
@@ -1,9 +1,9 @@
 000a 8580 0001 0003 0000 0003  # message header
 0376697803636f6d00 0002 0001   # question section: vix.com IN NS
-c00c 0002 0001 00000e10        # vix.com IN NS 3600 
+c00c 0002 0001 00000e10        # vix.com IN NS 3600
 000b 056973727631027061c00c    # rdlen=0xb  isrv1.pa.vix.com
 c00c 0002 0001 00000e10 0009 066e732d657874c00c
 c00c 0002 0001 00000e10 000e 036e733104676e616303636f6d00
-c025 0001 0001 00000e10 0004 cc98b886 
+c025 0001 0001 00000e10 0004 cc98b886
 c03c 0001 0001 00000e10 0004 cc98b840
 c051 0001 0001 0002a14a 0004 c697f8f6
index 5f3eaf62c5a14304a1f31a9d88a5440613e58bb1..805d09a1f28a844bd16b9de0a984060a1f13f57e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone2_test.c,v 1.19 2000/07/27 09:38:39 tale Exp $ */
+/* $Id: zone2_test.c,v 1.20 2000/08/01 01:13:32 tale Exp $ */
 
 #include <config.h>
 
@@ -205,7 +205,7 @@ query(dns_view_t *view) {
        dns_rdataset_init(&sigset);
 
        do {
-               
+
                fprintf(stdout, "zone_test ");
                fflush(stdout);
                FD_ZERO(&rfdset);
@@ -216,7 +216,7 @@ query(dns_view_t *view) {
                        break;
                }
                buf[sizeof(buf) - 1] = '\0';
-               
+
                s = strchr(buf, '\n');
                if (s != NULL)
                        *s = '\0';
@@ -247,7 +247,7 @@ query(dns_view_t *view) {
                result = dns_name_fromtext(dns_fixedname_name(&name),
                                  &buffer, dns_rootname, ISC_FALSE, NULL);
                ERRCONT(result, "dns_name_fromtext");
-               
+
                if (reload) {
                        dns_zone_t *zone = NULL;
                        result = dns_zt_find(view->zonetable,
@@ -274,7 +274,7 @@ query(dns_view_t *view) {
                                dns_result_totext(result));
                        switch (result) {
                        case ISC_R_SUCCESS:
-                               print_rdataset(dns_fixedname_name(&name), 
+                               print_rdataset(dns_fixedname_name(&name),
                                               &rdataset);
                                break;
                        default:
index 04464047ed503c645607399bfc160f386f52e075..602d71d1b0d86a01cda4ec6bfd7b8ef9dc4aa810 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone_test.c,v 1.21 2000/07/27 09:38:40 tale Exp $ */
+/* $Id: zone_test.c,v 1.22 2000/08/01 01:13:33 tale Exp $ */
 
 #include <config.h>
 
@@ -97,7 +97,7 @@ setup(char *zonename, char *filename, char *classname) {
                                   &buffer, dns_rootname, ISC_FALSE, NULL);
        ERRRET(result, "dns_name_fromtext");
        origin = dns_fixedname_name(&fixorigin);
-       
+
        result = dns_zone_setorigin(zone, origin);
        ERRRET(result, "dns_zone_setorigin");
 
@@ -109,7 +109,7 @@ setup(char *zonename, char *filename, char *classname) {
 
        region.base = classname;
        region.length = strlen(classname);
-       result = dns_rdataclass_fromtext(&rdclass, &region); 
+       result = dns_rdataclass_fromtext(&rdclass, &region);
        ERRRET(result, "dns_rdataclass_fromtext");
 
        dns_zone_setclass(zone, rdclass);
@@ -167,7 +167,7 @@ query(void) {
        dns_rdataset_init(&sigset);
 
        do {
-               
+
                fprintf(stdout, "zone_test ");
                fflush(stdout);
                FD_ZERO(&rfdset);
@@ -178,7 +178,7 @@ query(void) {
                        break;
                }
                buf[sizeof(buf) - 1] = '\0';
-               
+
                s = strchr(buf, '\n');
                if (s != NULL)
                        *s = '\0';
@@ -197,7 +197,7 @@ query(void) {
                result = dns_name_fromtext(dns_fixedname_name(&name),
                                  &buffer, dns_rootname, ISC_FALSE, NULL);
                ERRCONT(result, "dns_name_fromtext");
-               
+
                result = dns_db_find(db, dns_fixedname_name(&name),
                                     NULL /*vesion*/,
                                     dns_rdatatype_a,
index 6cb567b8ae6c0afe306ac67603e16d01e7309157..993d33f90d7c3e95349cd94af6f988f2902d2e3d 100644 (file)
@@ -226,7 +226,7 @@ EOF
        exit 0 ;;
     # The situation for MiNT is a little confusing.  The machine name
     # can be virtually everything (everything which is not
-    # "atarist" or "atariste" at least should have a processor 
+    # "atarist" or "atariste" at least should have a processor
     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
     # to the lowercase version "mint" (or "freemint").  Finally
     # the system name "TOS" denotes a system which is actually not
@@ -668,7 +668,7 @@ EOF
                        if test "$?" = 0 ; then
                                LIBC="libc1"
                        fi
-               fi      
+               fi
                rm -f $dummy.c $dummy
                echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
        esac
index b52ef9a54b024af3abad3fa03ffe298a52e80121..0df171470945f58042e50d4d8597d6dda4061f00 100644 (file)
@@ -1,11 +1,11 @@
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
  * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
index a74b2c18c322ed43033e41d0047b2264beae2f89..e0aec41427e83e7ed6ec17cc2b5dd1478d58d040 100755 (executable)
@@ -4,7 +4,7 @@
 # This directory was configured as follows,
 # on host gro.dd.org:
 #
-# ./configure 
+# ./configure
 #
 # Compiler output produced by configure, useful for debugging
 # configure, is in ./config.log if it exists.
@@ -30,7 +30,7 @@ case $# in
 0)
     dstdir=g:/work/bind9-nt
     ;;
-1)  
+1)
     dstdir=$1
     ;;
 *)
index c8729e0236c8d1a0cb9affe25cf5c3a5c23bd23d..67b04e2481ec774d66c3ae5d7af9b843a281f39f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,11 +1,11 @@
 #! /bin/sh
 
 # Copyright (C) 1996-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
 # ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
 # OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
@@ -15,7 +15,7 @@
 # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 # SOFTWARE.
 
-# From configure.in Revision: 1.169 
+# From configure.in Revision: 1.169
 
 ## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
 ## Copyright (C) 1996-1999 Free Software Foundation, Inc.
 
 
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13 
+# Generated automatically using autoconf version 2.13
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
@@ -841,13 +841,13 @@ else
   /*)
   ac_cv_path_AR="$AR" # Let the user override the test with a path.
   ;;
-  ?:/*)                         
+  ?:/*)
   ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
   ;;
   *)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
   ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do 
+  for ac_dir in $ac_dummy; do
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then
       ac_cv_path_AR="$ac_dir/$ac_word"
@@ -876,7 +876,7 @@ LN=ln
 
 case "$AR" in
        "")
-               { echo "configure: error: 
+               { echo "configure: error:
 ar program not found.  Please fix your PATH to include the directory in
 which ar resides, or set AR in the environment with the full path to ar.
 " 1>&2; exit 1; }
@@ -897,13 +897,13 @@ else
   /*)
   ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
   ;;
-  ?:/*)                         
+  ?:/*)
   ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a dos path.
   ;;
   *)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
   ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do 
+  for ac_dir in $ac_dummy; do
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then
       ac_cv_path_ETAGS="$ac_dir/$ac_word"
@@ -942,13 +942,13 @@ else
   /*)
   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   ;;
-  ?:/*)                         
+  ?:/*)
   ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
   ;;
   *)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
   ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do 
+  for ac_dir in $ac_dummy; do
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then
       ac_cv_path_PERL="$ac_dir/$ac_word"
@@ -1021,9 +1021,9 @@ case "$INSTALL" in
                 #
                 # Not all systems have dirname.
                 #
-                
+
                 ac_dir="`echo $INSTALL | sed 's%/[^/]*$%%'`"
-                
+
 
                 ac_prog="`echo $INSTALL | sed 's%.*/%%'`"
                 test "$ac_dir" = "$ac_prog" && ac_dir=.
@@ -1213,7 +1213,7 @@ DNS_OPENSSL_LIBS=""
 
 #
 # NetBSD has multiple pthreads implementations.  The recommended
-# one to use is "unproven-pthreads".  The older "mit-pthreads" 
+# one to use is "unproven-pthreads".  The older "mit-pthreads"
 # may also work on some NetBSD versions.  The PTL2 thread
 # library does not currently work with bind9, but can be
 # chosen with the --with-ptl2 option for those who wish to
@@ -1740,7 +1740,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   cat >> confdefs.h <<EOF
 #define $ac_tr_hdr 1
 EOF
+
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -1817,7 +1817,7 @@ fi
 echo "$ac_t""$ac_cv_c_const" 1>&6
 if test $ac_cv_c_const = no; then
   cat >> confdefs.h <<\EOF
-#define const 
+#define const
 EOF
 
 fi
@@ -1853,7 +1853,7 @@ echo "$ac_t""$ac_cv_c_inline" 1>&6
 case "$ac_cv_c_inline" in
   inline | yes) ;;
   no) cat >> confdefs.h <<\EOF
-#define inline 
+#define inline
 EOF
  ;;
   *)  cat >> confdefs.h <<EOF
@@ -3060,7 +3060,7 @@ exec 5>>./config.log
                O=o
                A=a
                LIBTOOL=
-               
+
                ;;
 esac
 
@@ -4145,7 +4145,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   cat >> confdefs.h <<EOF
 #define $ac_tr_hdr 1
 EOF
+
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -4185,7 +4185,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   cat >> confdefs.h <<EOF
 #define $ac_tr_hdr 1
 EOF
+
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -4228,7 +4228,7 @@ case "$hack_shutup_sigwait" in
        yes)
                #
                # Shut up a -Wmissing-prototypes warning for sigwait().
-               # 
+               #
                cat >> confdefs.h <<\EOF
 #define SHUTUP_SIGWAIT 1
 EOF
index 47c91c5995064c39263013f9f91dc6c560f65210..87c1769fd88da5017b77003f20c93b3ee149a6ef 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
 esyscmd([sed "s/^/# /" COPYRIGHT])dnl
 AC_DIVERT_POP()dnl
 
-AC_REVISION($Revision: 1.170 $)
+AC_REVISION($Revision: 1.171 $)
 
 AC_INIT(lib/dns/name.c)
 AC_PREREQ(2.13)
@@ -217,7 +217,7 @@ AC_SUBST(DNS_OPENSSL_LIBS)
 
 #
 # NetBSD has multiple pthreads implementations.  The recommended
-# one to use is "unproven-pthreads".  The older "mit-pthreads" 
+# one to use is "unproven-pthreads".  The older "mit-pthreads"
 # may also work on some NetBSD versions.  The PTL2 thread
 # library does not currently work with bind9, but can be
 # chosen with the --with-ptl2 option for those who wish to
@@ -940,7 +940,7 @@ case "$hack_shutup_sigwait" in
        yes)
                #
                # Shut up a -Wmissing-prototypes warning for sigwait().
-               # 
+               #
                AC_DEFINE(SHUTUP_SIGWAIT)
                ;;
 esac
index 4b10908e420de4a4350b3241ad3bc76b75d8a613..ae5517fffefcda254a6a12f5022650c14be9ca4e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: DNSConf-macros.h,v 1.4 2000/07/27 09:41:42 tale Exp $ */
+/* $Id: DNSConf-macros.h,v 1.5 2000/08/01 01:17:38 tale Exp $ */
 
 #define CONCAT(a,b) a ## b
 #define DNSCONF_SET_STRING(FIELD)                                      \
@@ -34,7 +34,7 @@ void CONCAT(DNSConf_set, FIELD)(DNSConf *cfg, const char *arg) {      \
                CONCAT(dns_c_ctx_unset, FIELD)(cfg->confctx);           \
        } else                                                          \
                CONCAT(dns_c_ctx_set, FIELD)(cfg->confctx, arg);        \
-}      
+}
 
 #define DNSCONF_GET_STRING(FIELD)                                      \
 char * CONCAT(DNSConf_get, FIELD)(DNSConf *cfg) {                      \
index f33b535b63bb067c3f83fa1bd42bc9ee6272027d..2a3c44bdeb8eba22a39f1b3e993806aeb01dff6b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: DNSConf.i,v 1.4 2000/07/27 09:41:43 tale Exp $ */
+/* $Id: DNSConf.i,v 1.5 2000/08/01 01:17:40 tale Exp $ */
 
 %module DNSConf
 
@@ -35,7 +35,7 @@
 #else
 #define DBGPRINT ((void) 0)
 #endif
-       
+
 static struct {
        isc_mem_t *mem;
        isc_log_t *log;
@@ -60,7 +60,7 @@ int xprintf(const char *fmt, ...) {
 
 int ctx_init(void) {
        int returnval = 0;
-       
+
        DBGPRINT("Starting ctx_init()\n");
 
        if (ctx.mem != NULL) {
@@ -73,11 +73,11 @@ int ctx_init(void) {
 
        if (isc_log_create(ctx.mem, &ctx.log, &ctx.logcfg) != ISC_R_SUCCESS)
                goto done;
-       
+
        isc_log_setcontext(ctx.log);
        dns_log_init(ctx.log);
        dns_log_setcontext(ctx.log);
-       
+
        if (isc_log_usechannel(ctx.logcfg, "default_stderr", NULL, NULL) !=
            ISC_R_SUCCESS)
                goto done;
@@ -92,7 +92,7 @@ done:
        DBGPRINT("Finished ctx_init()\n");
 
        return (returnval);
-}      
+}
 
 void *ctx_destroy(void) {
        DBGPRINT("starting ctx_destroy()\n");
@@ -108,7 +108,7 @@ void *ctx_destroy(void) {
        }
 
        DBGPRINT("destroying ctx\n");
-       
+
        dns_lctx = NULL;
        isc_log_destroy(&ctx.log);
        isc_mem_destroy(&ctx.mem);
@@ -145,15 +145,15 @@ void delete_DNSConf(DNSConf *ctx) {
 }
 
 int DNSConf_parse(DNSConf *conf, const char *filename) {
-       
+
        DBGPRINT("inside parse\n");
-       
+
        if (!ctx_init())
                return;
 
        clear_DNSConf(conf);
 
-       if (dns_c_parse_namedconf(filename, ctx.mem, &conf->confctx, NULL) 
+       if (dns_c_parse_namedconf(filename, ctx.mem, &conf->confctx, NULL)
            == ISC_R_SUCCESS) {
                ctx.count++;
 
@@ -166,13 +166,13 @@ int DNSConf_parse(DNSConf *conf, const char *filename) {
 }
 
 int DNSConf_initctx(DNSConf *cfg) {
-       if (cfg == NULL) 
+       if (cfg == NULL)
                return 0;
 
-       if (cfg->confctx != NULL) 
+       if (cfg->confctx != NULL)
                return 1;
-       
-       if (!ctx_init()) 
+
+       if (!ctx_init())
                return 0;
 
        if (dns_c_ctx_new(ctx.mem, &cfg->confctx) != ISC_R_SUCCESS)
@@ -185,12 +185,12 @@ int DNSConf_initctx(DNSConf *cfg) {
        return 1;
 }
 
-               
+
 
 void DNSConf_print(DNSConf *ptr, FILE *outfile) {
 
        DBGPRINT("inside print\n");
-       
+
        if (ptr == NULL || ptr->confctx == NULL)
                return;
 
@@ -199,12 +199,12 @@ void DNSConf_print(DNSConf *ptr, FILE *outfile) {
 
 
 #if 0
+
 void DNSConf_setdirectory(DNSConf *cfg, const char *directory) {
 
        DBGPRINT("inside DNSConf_setdirectory\n");
 
-       if (!DNSConf_initctx(cfg)) 
+       if (!DNSConf_initctx(cfg))
                return;
 
        if (directory == NULL) {
@@ -213,9 +213,9 @@ void DNSConf_setdirectory(DNSConf *cfg, const char *directory) {
        } else if (*directory == '\0') {
                DBGPRINT("empty string\n");
                dns_c_ctx_unsetdirectory(cfg->confctx);
-       } else  
+       } else
                dns_c_ctx_setdirectory(cfg->confctx, directory);
-}      
+}
 
 char *DNSConf_getdirectory(DNSConf *cfg) {
        char *dir = NULL;
@@ -225,7 +225,7 @@ char *DNSConf_getdirectory(DNSConf *cfg) {
                return NULL;
 
        tmpres = dns_c_ctx_getdirectory(cfg->confctx, &dir);
-       if (tmpres == ISC_R_NOTFOUND) 
+       if (tmpres == ISC_R_NOTFOUND)
                return NULL;
 
        return dir;
@@ -247,15 +247,15 @@ void DNSConf_settransfersin(DNSConf *cfg, unsigned int *transfersin) {
 
        DBGPRINT("inside DNSConf_settransfersin %p\n", transfersin);
 
-       if (!DNSConf_initctx(cfg)) 
+       if (!DNSConf_initctx(cfg))
                return;
 
        if (transfersin == NULL) {
                DBGPRINT("null pointer\n");
                dns_c_ctx_unsettransfersin(cfg->confctx);
-       } else  
+       } else
                dns_c_ctx_settransfersin(cfg->confctx, transfersin);
-}      
+}
 
 unsigned int DNSConf_gettransfersin(DNSConf *cfg) {
        unsigned int result;
@@ -265,7 +265,7 @@ unsigned int DNSConf_gettransfersin(DNSConf *cfg) {
                return NULL;
 
        tmpres = dns_c_ctx_gettransfersin(cfg->confctx, &result);
-       if (tmpres == ISC_R_NOTFOUND) 
+       if (tmpres == ISC_R_NOTFOUND)
                return NULL;
 
        return result;
@@ -300,8 +300,8 @@ INT_FIELD_DEFS(maxncachettl)
 INT_FIELD_DEFS(maxcachettl)
 
 
-#endif 
-       
+#endif
+
 %}
 
 
@@ -347,4 +347,4 @@ struct DNSConf {
 };
 
 
-       
+
index 38dbe24ba1c6df7bb331007c7b50cf06b2433a12..85d889affa8697009ac2ec3cc3530720eeba7aa1 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.PL,v 1.4 2000/07/27 09:41:45 tale Exp $
+# $Id: Makefile.PL,v 1.5 2000/08/01 01:17:41 tale Exp $
 
 use ExtUtils::MakeMaker;
 
index c1d61c7f503829458940b3569967a950532a0796..e2b140804f5c9a758b92307005a0a09cf71c3e8d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named1.conf,v 1.4 2000/07/27 09:41:46 tale Exp $ */
+/* $Id: named1.conf,v 1.5 2000/08/01 01:17:42 tale Exp $ */
 
 options {
 #      port 8888;
@@ -40,7 +40,7 @@ zone "." {
 };
 
 #view "default-view" IN {
-#      
+#
 #      zone "." {
 #              type hint;
 #              file "/etc/namedb/root.cache";
index a01335e06f0f5d0983c33d27576285f373f607b5..73591687f840b5187f1717cb4136dc8e73193f59 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: test.pl,v 1.4 2000/07/27 09:41:47 tale Exp $
+# $Id: test.pl,v 1.5 2000/08/01 01:17:44 tale Exp $
 
 push(@ARGV, "/etc/named.conf") if ! @ARGV;
 
index e0e45209f992909edd43059cd92573ee7b0dadf4..4b4b48626a1710e81ba50364eec120223038656c 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Portions Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: named-bootconf.sh,v 1.5 2000/07/27 09:41:48 tale Exp $
+# $Id: named-bootconf.sh,v 1.6 2000/08/01 01:17:45 tale Exp $
 
 # $NetBSD: named-bootconf.sh,v 1.5 1998/12/15 01:00:53 tron Exp $
 #
@@ -97,7 +97,7 @@ while read CMD ARGS; do
                        DIRECTORY=$1
                        export DIRECTORY
                fi
-               ;; 
+               ;;
        forwarders )
                (cat $COMMENTFILE
                echo "  forwarders {"
index 73413038047a432ac73b9d63cf0bb83dc88a926d..650dc396f3e2d3326e843953d43294a2125d776b 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: nanny.pl,v 1.6 2000/07/27 09:41:49 tale Exp $
+# $Id: nanny.pl,v 1.7 2000/08/01 01:17:47 tale Exp $
 
 # A simple nanny to make sure named stays running.
 
@@ -32,7 +32,7 @@ for (;;) {
        $pid = <FILE>;
        close(FILE);
        chomp($pid);
-  
+
        $res = kill 0, $pid;
 
        goto restart if ($res == 0);
index bd649f5ab0cc8047d6cfe71431cefa770be89160..c5929ee8368f70e21a8a0b963f45f562af9f05a1 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.1.html,v 1.9 2000/07/27 09:41:51 tale Exp $ -->
+<!-- $Id: Bv9ARM.1.html,v 1.10 2000/08/01 01:17:48 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
index 9af0fd85bd3c14b62a8dce997885ecebf0b33413..df301c61508765f5182c296c1280de4b00b7fbac 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.2.html,v 1.9 2000/07/27 09:41:52 tale Exp $ -->
+<!-- $Id: Bv9ARM.2.html,v 1.10 2000/08/01 01:17:49 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
index 4f31f91b79ba7d9bf045b65fba30e402fc6a8bc3..b33cd788007bbaaaae77189cc4459a15137e01ee 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,6 +16,6 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.3.html,v 1.9 2000/07/27 09:41:53 tale Exp $ -->
+<!-- $Id: Bv9ARM.3.html,v 1.10 2000/08/01 01:17:50 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">\r<HTML>\r<HEAD>\r<META NAME="GENERATOR" CONTENT="Adobe FrameMaker 5.5/HTML Export Filter">\r<LINK REL="STYLESHEET" HREF="Bv9ARM.css">\r<TITLE> Section 3. Nameserver Configuration</TITLE></HEAD>\r<BODY BGCOLOR="#ffffff">\r<OL>\r<H1 CLASS="1Level">\r<A NAME="pgfId=997350">\r</A>\rSection 3.       Nameserver Configuration</H1>\r</OL>\r<P CLASS="1LevelContinued">\r<A NAME="pgfId=997351">\r</A>\rIn this section we provide some suggested configurations along with guidelines for their use. We also address the topic of reasonable option setting.</P>\r<DIV>\r<OL>\r<H3 CLASS="2Level">\r<A NAME="pgfId=997353">\r</A>\r3.1  <A NAME="30164">\r</A>\rSample Configurations</H3>\r</OL>\r<DIV>\r<OL>\r<H4 CLASS="3Level">\r<A NAME="pgfId=1079232">\r</A>\r3.1.1       A Caching-only Nameserver</H4>\r</OL>\r<P CLASS="3LevelContinued">\r<A NAME="pgfId=1079238">\r</A>\rThe following sample configuration is appropriate for a caching-only name server for use by clients internal to a corporation.  All queries from outside clients are refused.</P>\r\r<PRE>\r<CODE><STRONG>\r// Two corporate subnets we wish to allow queries from.\racl &quot;corpnets&quot; { 192.168.4.0/24; 192.168.7.0/24; };\roptions {\r     directory &quot;/etc/namedb&quot;;          // Working directory\r     pid-file &quot;named.pid&quot;;               // Put pid file in working dir\r     allow-query { &quot;corpnets &quot;; };\r};\r// Root server hints\rzone &quot;.&quot; { type hint; file &quot;root.hint&quot;; };\r// Provide a reverse mapping for the loopback address 127.0.0.1\rzone &quot;0.0.127.in-addr.arpa&quot; {\r     type master;\r     file &quot;localhost.rev&quot;;\r     notify no;\r\r};</STRONG></CODE>\r</PRE>\r</DIV>\r<DIV>\r<OL>\r<H4 CLASS="3Level">\r<A NAME="pgfId=1079323">\r</A>\r3.1.2  An Authoritative-only Nameserver</H4>\r</OL>\r<P CLASS="3LevelContinued">\r<A NAME="pgfId=1079327">\r</A>\rThis sample configuration is for an authoritative-only server that is the master server for &quot;<EM CLASS="pathname">\rexample.com</EM>\r&quot; and a slave for the subdomain &quot;<EM CLASS="pathname">\reng.example.com</EM>\r&quot;.</P>\r\r<PRE>\r<CODE><STRONG>options {\r     directory &quot;/etc/namedb&quot;;         // Working directory\r     pid-file &quot;named.pid&quot;;               // Put pid file in working dir\r     allow-query { any; };               // This is the default\r     recursion no;                       // Do not provide recursive service\r};\r// Root server hints\rzone &quot;.&quot; { type hint; file &quot;root.hint&quot;; };&nbsp;\r\r// Provide a reverse mapping for the loopback address 127.0.0.1\r     zone &quot;0.0.127.in-addr.arpa&quot; {\r     type master;\r     file &quot;localhost.rev&quot;;\r     notify no;\r};\r// We are the master server for example.com\rzone &quot;example.com&quot; {\r     type master;\r     file &quot;example.com.db&quot;;\r     // IP addresses of slave servers allowed to transfer example.com\r     allow-transfer {\r          192.168.4.14;\r          192.168.5.53;\r     };\r};\r\r// We are a slave server for eng.example.com\rzone &quot;eng.example.com&quot; {\r     type slave;\r     file &quot;eng.example.com.bk&quot;;\r     // IP address of eng.example.com master server\r     masters { 192.168.4.12; };\r};\r</STRONG></CODE></PRE>\r\r</DIV>\r</DIV>\r<DIV>\r<OL>\r<H3 CLASS="2Level">\r<A NAME="pgfId=997410">\r</A>\r3.2     Load Balancing</H3>\r</OL>\r<P CLASS="2LevelContinued">\r<A NAME="pgfId=997411">\r</A>\rPrimitive load balancing can be achieved in DNS using multiple A records for one name.</P>\r<P CLASS="2LevelContinued">\r<A NAME="pgfId=997412">\r</A>\rFor example, if you have three WWW servers with network addresses of 10.0.0.1, 10.0.0.2 and 10.0.0.3, a set of records such as the following means that clients will connect to each machine one third of the time:</P>\r<PRE CLASS="2Level-fixed1"><A NAME="pgfId=997454"></A>\r&nbsp;</PRE>\r<TABLE>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997415">\r</A>\rName</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997417">\r</A>\rTTL</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997419">\r</A>\rCLASS</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997421">\r</A>\rTYPE</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997423">\r</A>\rResource Record (RR) Data</P>\r</TD>\r</TR>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997425">\r</A>\r<EM CLASS="grammar_literal">\rwww</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997427">\r</A>\r<EM CLASS="grammar_literal">\r600</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997429">\r</A>\r<EM CLASS="grammar_literal">\rIN</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997431">\r</A>\r<EM CLASS="grammar_literal">\rA</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997433">\r</A>\r<EM CLASS="grammar_literal">\r10.0.0.1</EM>\r</P>\r</TD>\r</TR>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997435">\r</A>\r<EM CLASS="grammar_literal">\r</EM>\r&nbsp;</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997437">\r</A>\r<EM CLASS="grammar_literal">\r600</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997439">\r</A>\r<EM CLASS="grammar_literal">\rIN</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997441">\r</A>\r<EM CLASS="grammar_literal">\rA</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997443">\r</A>\r<EM CLASS="grammar_literal">\r10.0.0.2</EM>\r</P>\r</TD>\r</TR>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997445">\r</A>\r<EM CLASS="grammar_literal">\r</EM>\r&nbsp;</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997447">\r</A>\r<EM CLASS="grammar_literal">\r600</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997449">\r</A>\r<EM CLASS="grammar_literal">\rIN</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997451">\r</A>\r<EM CLASS="grammar_literal">\rA</EM>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=997453">\r</A>\r<EM CLASS="grammar_literal">\r10.0.0.3</EM>\r</P>\r</TD>\r</TR>\r</TABLE>\r<P CLASS="2LevelContinued">\r<A NAME="pgfId=997455">\r</A>\rWhen a resolver queries for these records, BIND will rotate them and respond to the query with the records in a different order. In the example above, clients will randomly receive records in the order 1, 2, 3; 2, 3, 1; and 3, 1, 2. Most clients will use the first record returned and discard the rest.</P>\r<P CLASS="2LevelContinued">\r<A NAME="pgfId=997456">\r</A>\rFor more detail on ordering responses, check the <CODE CLASS="Program-Process">\rrrset-order</CODE>\r substatement in the <CODE CLASS="Program-Process">\roptions</CODE>\r statement under <A HREF="Bv9ARM.6.html#22766" CLASS="XRef">RRset Ordering</A>. This substatement is not supported in BIND&nbsp;9, and only the ordering scheme described above is available.</P>\r</DIV>\r<DIV>\r<OL>\r<H3 CLASS="2Level">\r<A NAME="pgfId=997460">\r</A>\r3.3      <A NAME="35205">\r</A>\rNotify</H3>\r</OL>\r<P CLASS="2LevelContinued">\r<A NAME="pgfId=997461">\r</A>\rDNS Notify is a mechanism that allows master nameservers to notify their slave servers of changes to a zone's data. In response to a <CODE CLASS="Program-Process">\rNOTIFY</CODE>\r from a master server, the slave will check to see that its version of the zone is the current version and, if not, initiate a transfer.</P>\r<P CLASS="2LevelContinued">\r<A NAME="pgfId=1078896">\r</A>\rDNS Notify is fully documented in RFC 1996. See also the description of the zone option <CODE CLASS="Program-Process">\ralso-notify</CODE>\r under <A HREF="Bv9ARM.6.html#32057" CLASS="XRef">Zone Transfers</A>\r. More information about <CODE CLASS="Program-Process">\rnotify</CODE>\r can be found under <A HREF="Bv9ARM.6.html#12205" CLASS="XRef">Boolean Options</A>\r.</P>\r</DIV>\r<DIV>\r<OL>\r<H3 CLASS="2Level">\r<A NAME="pgfId=1078903">\r</A>\r3.4 Nameserver Operations</H3>\r</OL>\r<DIV>\r<OL>\r<H4 CLASS="3Level">\r<A NAME="pgfId=997464">\r</A>\r3.4.1      Tools for Use With the Nameserver Daemon</H4>\r</OL>\r<P CLASS="3LevelContinued">\r<A NAME="pgfId=997465">\r</A>\rThere are several indispensable diagnostic, administrative and monitoring tools available to the system administrator for controlling and debugging the nameserver daemon. We describe several in this section </P>\r<DIV>\r<OL>\r<H5 CLASS="4Level">\r<A NAME="pgfId=997466">\r</A>\r3.4.1.1    Diagnostic Tools</H5>\r</OL>\r</DIV>\r<DIV>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997467">\r</A>\rdig</H5>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997468">\r</A>\rThe domain information groper (<CODE CLASS="Program-Process">\rdig</CODE>\r) is a command line tool that can be used to gather information from the Domain Name System servers. Dig has two modes: simple interactive mode for a single query, and batch mode which executes a query for each in a list of several query lines. All query options are accessible from the command line.</P>\r</DIV>\r<DIV>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997469">\r</A>\rUsage</H5>\r<PRE>\r<CODE><STRONG>\rdig [@server] domain [&lt;query-type&gt;] [&lt;query-class&gt;]\r     [+&lt;query-option&gt;] [-&lt;dig-option&gt;] [%comment]</STRONG></CODE>\r</PRE>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997471">\r</A>\rThe usual simple use of dig will take the form</P>\r<PRE>\r<CODE><STRONG>\rdig @server domain query-type query-class</STRONG></CODE>\r</PRE>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997473">\r</A>\rFor more information and a list of available commands and options, see the <CODE CLASS="Program-Process">\rdig</CODE> man page.</P>\r</DIV>\r<DIV>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997474">\r</A>\rhost</H5>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997475">\r</A>\rThe<EM CLASS="pathname">\r </EM>\r<CODE CLASS="Program-Process">\rhost</CODE>\r<EM CLASS="pathname">\r </EM>\rutility provides a simple DNS lookup using a command-line interface for looking up Internet hostnames. By default, the utility converts between host names and Internet addresses, but its functionality can be extended with the use of options.</P>\r</DIV>\r<DIV>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997476">\r</A>\rUsage</H5>\r<PRE>\r<CODE><STRONG>\rhost [-aCdlrTwv] [-c class] [-N ndots] [-t type]\r     [-W timeout] [-R retries] hostname [server]\r</STRONG></CODE></PRE>\rFor more information and a list of available commands and options, see the <CODE CLASS="Program-Process">\rhost</CODE> man page.<p></P>\r<DIV>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997478">\r</A>\rnslookup</H5>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997479">\r</A>\r<CODE CLASS="Program-Process">\rnslookup</CODE>\r is a program used to query Internet domain nameservers. <CODE CLASS="Program-Process">\rnslookup</CODE>\r has two modes: interactive and non-interactive. Interactive mode allows the user to query nameservers for information about various hosts and domains or to print a list of hosts in a domain. Non-interactive mode is used to print just the name and requested information for a host or domain.</P>\r</DIV>\r<DIV>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997480">\r</A>\rUsage</H5>\r<PRE>\r<CODE><STRONG>\rnslookup [-option ...] [host-to-find | -[server]]</STRONG></CODE>\r</PRE>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997482">\r</A>\rInteractive mode is entered when no arguments are given (the default nameserver will be used) or when the first argument is a hyphen (`-') and the second argument is the host name or Internet address of a nameserver.</P>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997483">\r</A>\rNon-interactive mode is used when the name or Internet address of the host to be looked up is given as the first argument. The optional second argument specifies the host name or address of a nameserver.</P>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997484">\r</A>\rThe options listed under the &quot;set&quot; command (see the <CODE CLASS="Program-Process">\rnslookup</CODE>\r man page for details) can be specified in the <EM CLASS="pathname">\r.nslookuprc</EM>\r file in the user's home directory if they are listed one per line. Options can also be specified on the command line if they precede the arguments and are prefixed with a hyphen. For example, to change the default query type to host information, and the initial time-out to 10 seconds, type:</P>\r<PRE>\r<CODE><STRONG>\rnslookup -query=hinfo -timeout=10</STRONG></CODE>\r</PRE>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=1079183">\r</A>\rFor more information and a list of available commands and options, see the <CODE CLASS="Program-Process">\rnslookup</CODE>\r man page.</P>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=1079184">\r</A>\rDue to its arcane user interface and frequently inconsistent behavior, we do not recommend the use of <CODE CLASS="Program-Process">\rnslookup</CODE>\r, and it is not installed by default when installing BIND&nbsp;9. Use <CODE CLASS="Program-Process">\rdig</CODE>\r instead.</P>\r</DIV>\r<DIV>\r<OL>\r<H5 CLASS="4Level">\r<A NAME="pgfId=1079185">\r</A>\r3.4.1.2       Administrative Tools</H5>\r</OL>\r<P CLASS="4LevelContinued">\r<A NAME="pgfId=997488">\r</A>\rAdministrative tools play an integral part in the management of a server.</P>\r</DIV>\r      <DIV> \r        <H5 CLASS="Subhead4"> <A NAME="pgfId=997489"> </A> rndc</H5>\r        <P CLASS="4LevelContinued"> <A NAME="pgfId=997490"> </A> The remote name \r          daemon control (<CODE CLASS="Program-Process">rndc</CODE>) program allows \r          the system administrator to control the operation of a nameserver. If \r          you run (<code class="Program-Process">rndc</code>) without any options \r          it will display a usage message as follows: </P>\r<H5 CLASS="Subhead4">\r<A NAME="pgfId=997469">\r</A>\rUsage</H5>\r        <PRE>\r<CODE><STRONG>rndc [-c config] [-s server] [-p port] [-y key] command [command ...]\r</STRONG></CODE></PRE>\r  <CODE><STRONG>command</STRONG></CODE> is one of the following for named:\r\r<TABLE>\r       <TR>\r           \r            <TD>*<code>status</code></TD>\r            <TD>Display ps(1) status of named.</TD>\r </TR>\r  <TR>\r           <TD>*<CODE>dumpdb</CODE></TD> <TD>Dump database and cache to /var/tmp/named_dump.db.</TD>\r      </TR>\r  <TR>\r           <TD><CODE>reload</CODE></TD> <TD>Reload configuration file and zones.</TD>\r     </TR>\r  <TR>\r           <TD>*<CODE>stats</CODE></TD> <TD>Dump statistics to /var/tmp/named.stats.</TD>\r </TR>\r  <TR>\r           <TD>*<CODE>trace</CODE></TD> <TD>Increment debugging level by one.</TD>\r        </TR>\r  <TR>\r           <TD>*<CODE>notrace</CODE></TD> <TD>Set debugging level to 0.</TD>\r      </TR>\r  <TR>\r           <TD>*<CODE>querylog</CODE></TD> <TD>Toggle query logging.</TD>\r </TR>\r  <TR>\r           <TD>*<CODE>stop</CODE></TD> <TD>Stop the server.</TD>\r  </TR>\r  <TR>\r           <TD>*<CODE>restart</CODE></TD> <TD>Restart the server.</TD>\r    </TR>\r  <TR>\r           <TD>* == not yet implemented</TD>\r      </TR>\r</TABLE>\r\r\r        <p>As noted above, "reload" is the only command available for BIND 9.0.0. \r          The other commands, and more, are planned to be implemented for future \r          releases.</p>\r        <p> A configuration file is required, since all communication with the \r          server is authenticated with digital signatures that rely on a shared \r          secret, and there is no way to provide that secret other than with a \r          configuration file. The default location for the rndc configuration \r          file is <EM>/etc/rndc.conf</EM>, but an alternate location can be specified with \r          the "<CODE>-c</CODE>" option.</p>\r        <p>The format of the configuration file is similar to that of named.conf, \r          but limited to only three statements, the <CODE>options{}</CODE>, <CODE>key{}</CODE> and <CODE>server{}</CODE> \r          statements. These statements are what associate the secret keys to the \r          servers with which they are meant to be shared. The order of statements \r          is not significant.</p>\r        <p>The <CODE>options{}</CODE> statement has two clauses: <CODE>default-server</CODE> and default-key. \r          <CODE>default-server</CODE> takes a host name or address argument and represents the server that will be contacted if \r          no "<CODE>-s</CODE>" option is provided on the command line. default-key takes the \r          name of the key as its argument, as defined by a <CODE>key{}</CODE> statement. In \r          the future a default-port clause will be added to specify the port to \r          which <CODE>rndc</CODE> should connect.</p>\r        <p>The <CODE>key{}</CODE> statement names a key with its string argument. The string \r          is required by the server to be a valid domain name, though it need \r          not actually be hierarchical; thus, a string like "rndc_key" is a valid \r          name. The <CODE>key{}</CODE> statement has two clauses: <CODE>algorithm</CODE> and <CODE>secret</CODE>. While \r          the configuration parser will accept any string as the argument to algorithm, \r          currently only the string "hmac-md5" has any meaning. The secret is \r          a base-64 encoded string, typically generated with either <CODE>dnssec-keygen</CODE> \r          or <CODE>mmencode</CODE>.</p>\r        <p>The <CODE>server{}</CODE> statement uses the key clause to associate a <CODE>key{}</CODE>-defined \r          key with a server. The argument to the <CODE>server{}</CODE> statement is a host \r          name or address (addresses must be double quoted). The argument to the \r          key clause is the name of key as defined by the <CODE>key{}</CODE> statement. A port \r          clause will be added to a future release to specify the port to which \r          rndc should connect on the given server.</p>\r        <p>A sample minimal configuration file is as follows:</p>\r        <PRE>\r<CODE><STRONG>key rndc_key {\r     algorithm "hmac-md5";\r     secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";\r};</STRONG></CODE>\r<CODE><STRONG>options {\r     default-server localhost;\r     default-key rndc_key;\r};</STRONG></CODE>\r</PRE>\r        <p>This file, if installed as<EM> /etc/rndc.conf</EM>, would allow the command:</p>\r        <p> <strong><code>$ rndc reload</code></strong></p>\r        <p>to connect to 127.0.0.1 port 953 and cause the nameserver to reload, \r          if a nameserver on the local machine were running with following controls \r          statements:</p>\r        <PRE>\r<CODE><STRONG>controls {\r     inet 127.0.0.1 allow { localhost; } keys { rndc_key; };         \r};</STRONG></CODE>\r</PRE>\r        <p>and it had an identical key statement for <CODE>rndc_key</CODE>.</p>\r        <P CLASS="4LevelContinued">&nbsp;</P>\r</DIV>\r<H4 CLASS="3Level">\r<A NAME="pgfId=998650">\r</A>\r3.4.2  Signals</H4>\r\r<P CLASS="3LevelContinued">\r<A NAME="pgfId=998651">\r</A>\rCertain UNIX signals cause the name server to take specific actions, as described in the following table.  These signals can be sent using the <CODE CLASS="Program-Process">\rkill</CODE>\r command.</P>\r<P CLASS="3LevelContinued">\r<A NAME="pgfId=1073295">\r</A>\r&nbsp;</P>\r<TABLE>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody4">\r<A NAME="pgfId=1073306">\r</A>\r<CODE CLASS="Program-Process">\rSIGHUP</CODE>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=1073308">\r</A>\rCauses the server to read <CODE CLASS="Program-Process">\rnamed.conf</CODE>\r and reload the database. </P>\r</TD>\r</TR>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody4">\r<A NAME="pgfId=1073310">\r</A>\r<CODE CLASS="Program-Process">\rSIGTERM</CODE>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=1073312">\r</A>\rCauses the server to clean up and exit.</P>\r</TD>\r</TR>\r<TR>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody4">\r<A NAME="pgfId=1073322">\r</A>\r<CODE CLASS="Program-Process">\rSIGINT</CODE>\r</P>\r</TD>\r<TD ROWSPAN="1" COLSPAN="1">\r<P CLASS="CellBody">\r<A NAME="pgfId=1073324">\r</A>\rCauses the server to clean up and exit.</P>\r</TD>\r</TR>\r</TABLE>\r</DIV>\r</DIV>\r<HR ALIGN="center">\r<p>Return to <A href="Bv9ARM.html">BIND 9 Administrator Reference Manual</A> table of contents.</p>\r\r\r\r</div></BODY></HTML>\r
\ No newline at end of file
index c44918719131d03fcdc331f63b286f69b315ca7c..36d013234f0cf76434b01b6396d961fcd63d47d3 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.4.html,v 1.9 2000/07/27 09:41:54 tale Exp $ -->
+<!-- $Id: Bv9ARM.4.html,v 1.10 2000/08/01 01:17:52 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
@@ -340,7 +340,7 @@ External (bastion host) DNS server config:
 
 <PRE>
 <CODE><STRONG>acl internals { 172.16.72.0/24; 192.168.1.0/24; };
-acl externals { 
+acl externals {
 bastion-ips-go-here; };
 options {
   ...
@@ -800,7 +800,7 @@ dnssec-makekeyset</CODE>
 The following command generates a key set containing the above key and another key similarly generated, with a TTL of 3600 and a signature validity period of 10 days starting from now.</P>
 
 <PRE>
-<CODE><STRONG>dnssec-makekeyset -t 3600 -e \13\13+864000 Kchild.example.+003+12345 
+<CODE><STRONG>dnssec-makekeyset -t 3600 -e \13\13+864000 Kchild.example.+003+12345
 Kchild.example.+003+23456</STRONG></CODE>
 </PRE>
 
@@ -840,7 +840,7 @@ child.example</EM>
 The following command signs the child's key set with the zone keys:</P>
 
 <PRE>
-<CODE><STRONG>dnssec-signkey grand.child.example.keyset Kchild.example.+003+12345 
+<CODE><STRONG>dnssec-signkey grand.child.example.keyset Kchild.example.+003+12345
 Kchild.example.+003+23456</STRONG></CODE>
 </PRE>
 
index a1feb0b59af0e8cbe7b19b888f06f5f94b965491..1c8c4bc4b04ca9f10ccf1e19b5b26956477873e1 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.5.html,v 1.9 2000/07/27 09:41:55 tale Exp $ -->
+<!-- $Id: Bv9ARM.5.html,v 1.10 2000/08/01 01:17:54 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
index 88f6ed9a698dd2d8b3e21c3cd09c0268478ac447..9248c123d6254a90f5c7e1642fb7a410dd43d274 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.6.html,v 1.11 2000/07/27 09:41:57 tale Exp $ -->
+<!-- $Id: Bv9ARM.6.html,v 1.12 2000/08/01 01:17:56 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
@@ -805,8 +805,8 @@ options</CODE>
 6.2.1  <CODE CLASS="Program-Process">
 acl</CODE> Statement Grammar</H4>
 <PRE CLASS="3Level-fixed"><A NAME="pgfId=997492"></A>
-<CODE CLASS="Program-Process">acl </CODE><EM CLASS="variable">acl-name</EM><CODE CLASS="Program-Process"> {</CODE> 
-    <EM CLASS="variable">address_match_list</EM> 
+<CODE CLASS="Program-Process">acl </CODE><EM CLASS="variable">acl-name</EM><CODE CLASS="Program-Process"> {</CODE>
+    <EM CLASS="variable">address_match_list</EM>
 <CODE CLASS="Program-Process">};</CODE>
 </PRE>
 </DIV>
@@ -1361,7 +1361,7 @@ the category Phrase</A>
         file &quot;&lt;stderr&gt;&quot;;                       // this is illustrative only;
                                                // there's currently no way of
                                                // specifying an internal file
-                                               // descriptor in the 
+                                               // descriptor in the
                                                // configuration language.
         severity info;                         // only send priority info
                                                // and higher
@@ -3432,7 +3432,7 @@ rrset-order</CODE>
 An <CODE CLASS="Program-Process">
 order_spec</CODE>
  is defined as follows:</P>
+
 <PRE>
 <EM>[ </EM><CODE CLASS="Program-Process">class</CODE> <VAR>class_name</VAR> <EM> ][ </EM><CODE CLASS="Program-Process">type</CODE> <VAR>type_name</VAR> <EM>][</EM> <CODE>name</CODE> <VAR>&quot;domain_name&quot;</VAR><EM>]</EM>
      <CODE CLASS="Program-Process">order</CODE> <VAR>ordering</VAR>
@@ -3971,7 +3971,7 @@ view</CODE>
 Here is an example of a typical split DNS setup implemented using <CODE CLASS="Program-Process">
 view</CODE>
  statements.</P>
+
 <PRE>
 
 <CODE><STRONG>view &quot;internal&quot; {
@@ -4013,7 +4013,7 @@ zone</CODE>
 
 
 <PRE CLASS="2Level-fixed"><A NAME="pgfId=998171"></A>
-<KBD CLASS="literal-user-input">zone</KBD> <EM CLASS="variable">zone name</EM> <EM CLASS="Optional-meta-syntax">[</EM><EM CLASS="variable">class</EM><EM CLASS="Optional-meta-syntax">] [</EM><KBD CLASS="literal-user-input">{</KBD> 
+<KBD CLASS="literal-user-input">zone</KBD> <EM CLASS="variable">zone name</EM> <EM CLASS="Optional-meta-syntax">[</EM><EM CLASS="variable">class</EM><EM CLASS="Optional-meta-syntax">] [</EM><KBD CLASS="literal-user-input">{</KBD>
     <KBD CLASS="Literal-user-input">type</KBD> <EM CLASS="Optional-meta-syntax">( </EM><KBD CLASS="literal-user-input">master</KBD><EM CLASS="Optional-meta-syntax">|</EM><KBD CLASS="literal-user-input">slave</KBD><EM CLASS="Optional-meta-syntax">|</EM><KBD CLASS="literal-user-input">hint</KBD><EM CLASS="Optional-meta-syntax">|</EM><KBD CLASS="literal-user-input">stub</KBD><EM CLASS="Optional-meta-syntax">|</EM><KBD CLASS="literal-user-input">forward </KBD><EM CLASS="Optional-meta-syntax">)</EM><KBD CLASS="literal-user-input"> ;</KBD>
     <EM CLASS="Optional-meta-syntax">[</EM> <KBD CLASS="literal-user-input">allow-query</KBD> <KBD CLASS="literal-user-input">{</KBD> <EM CLASS="variable">address_match_list</EM> } <KBD CLASS="literal-user-input">;</KBD> <EM CLASS="Optional-meta-syntax">]</EM>
     <EM CLASS="Optional-meta-syntax">[</EM> <KBD CLASS="literal-user-input">allow-transfer</KBD> <KBD CLASS="literal-user-input">{</KBD> <EM CLASS="variable">address_match_list</EM> } <KBD CLASS="literal-user-input">;</KBD> <EM CLASS="Optional-meta-syntax">]</EM>
index e0e29ba3373fef001378bd293181fa3d845995e3..ac011524ab3b79dd8cccffb8d599374e850c81a2 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.7.html,v 1.9 2000/07/27 09:41:58 tale Exp $ -->
+<!-- $Id: Bv9ARM.7.html,v 1.10 2000/08/01 01:17:57 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
@@ -68,17 +68,17 @@ good idea</EM>
 Here is an example of how to properly apply ACLs:</P>
 <PRE>
 
+
 <CODE><STRONG>// Set up an ACL named &quot;bogusnets&quot; that will block RFC1918 space,
 // which is commonly used in spoofing attacks.
+
 acl bogusnets { 0.0.0.0/8; 1.0.0.0/8; 2.0.0.0/8; 192.0.2.0/24; 224.0.0.0/3;
 10.0.0.0/8; 172.16.0.0/12; 192.168.0.0/16; };
 
 // Set up an ACL called our-nets. Replace this with the real IP numbers.
+
 acl our-nets { x.x.x.x/24; x.x.x.x/21; };
+
 options {
   ...
   ...
@@ -150,7 +150,7 @@ chroot()</CODE>
 , and to run <CODE CLASS="Program-Process">
 <STRONG>named setuid</STRONG></CODE>
  to user 202:</P>
+
 <PRE>
 <CODE><STRONG>/usr/local/bin/named -u 202 -t /var/named
 </STRONG></CODE></PRE>
index 5454476328817a58e861791ada280fae46fad3e5..4e2e82c618cec08d28debb1ba2790086e28de135 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.8.html,v 1.9 2000/07/27 09:41:59 tale Exp $ -->
+<!-- $Id: Bv9ARM.8.html,v 1.10 2000/08/01 01:17:58 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
@@ -85,7 +85,7 @@ The Internet Software Consortium (ISC) offers a wide range of support and servic
 <P CLASS="2LevelContinued">
 <A NAME="pgfId=997394">
  </A>
-To discuss arrangements for support, contact 
+To discuss arrangements for support, contact
 <A HREF="mailto:info@isc.org">info@isc.org</A>
 <CODE CLASS="Program-Process">
  </CODE>
index 70f293461e74b6dd86d0d147662931681444984b..75806f15309eb50c471516601800c71040c4aca0 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.9.html,v 1.4 2000/07/27 09:42:01 tale Exp $ -->
+<!-- $Id: Bv9ARM.9.html,v 1.5 2000/08/01 01:18:00 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
@@ -30,7 +30,7 @@
 <A NAME="pgfId=1007883">
  </A>
 <P ALIGN="center">
-Appendices 
+Appendices
 </P>
 </H1>
 
@@ -574,7 +574,7 @@ Request for Comments (RFCs)</H4>
 </A>
 Specification documents for the Internet protocol suite, including the DNS, are published as part of the Request for Comments (RFCs) series of technical notes. The standards themselves are defined by the Internet Engineering Task Force (IETF) and the Internet Engineering Steering Group (IESG). RFCs can be obtained online via FTP at <BR>
 <EM>ftp://www.isi.edu/in-notes/RFCxxx.txt</EM>
- (where 
+ (where
 <EM>xxx</EM>
  is the number of the RFC). RFCs are also available via the Web at <EM CLASS="URL">
 <A HREF="http://www.ietf.org/rfc/">http://www.ietf.org/rfc/</A></EM>
index 34664143a4a60bb53aae8b54d282ed4711b04e6f..78ea7fab8e4520b3dd2dd4a3fb1b7801819ffe1d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: Bv9ARM.css,v 1.8 2000/07/27 09:42:02 tale Exp $ */
+/* $Id: Bv9ARM.css,v 1.9 2000/08/01 01:18:01 tale Exp $ */
 
 A:link {
        color: blue;
index d0b8c6421827f5a0841017baa65cb9898dc68617..1a2fa9714324438926dd9522638b668b12c9cad7 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <!--
  - Copyright (C) 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: Bv9ARM.html,v 1.8 2000/07/27 09:42:03 tale Exp $ -->
+<!-- $Id: Bv9ARM.html,v 1.9 2000/08/01 01:18:02 tale Exp $ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
 <HTML>
index 8426f2da7e63fa2b6329863c0b1316b7016f479e..9f5187d0ae37451704b4f885a3259e7492d29ce5 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: Bv9ARM.txt,v 1.9 2000/07/27 09:42:05 tale Exp $
+$Id: Bv9ARM.txt,v 1.10 2000/08/01 01:18:04 tale Exp $
 
 BIND 9 Administrator Reference Manual
 July 2000
@@ -99,17 +99,17 @@ Section 6 : BIND 9 Configuration Reference
 6.2.1 acl Statement Grammar
 6.2.2 acl Statement Definition and Usage
 6.2.3 controls Statement Grammar
-6.2.4 controls Statement Definition and Usage 
+6.2.4 controls Statement Definition and Usage
 6.2.5 include Statement Grammar
 6.2.6 include Statement Definition and Usage
 6.2.7 key Statement Grammar
 6.2.8 key Statement Definition and Usage
 6.2.9 logging Statement Grammar
-6.2.10 logging Statement Definition and Usage 
+6.2.10 logging Statement Definition and Usage
 6.2.10.1 The channel Phrase
 6.2.10.2 The category Phrase
 6.2.11 options Statement Grammar
-6.2.12 options Statement Definition and Usage 
+6.2.12 options Statement Definition and Usage
 6.2.12.1 Boolean Options
 6.2.12.2 Forwarding
 6.2.12.3 Name Checking
@@ -2124,7 +2124,7 @@ options {
     [ transfer-source ip4_addr; ]
     [ transfer-source-v6 ip6_addr; ]
     [ also-notify { ip_addr; [ ip_addr; ... ] }; ]
-    [ max-ixfr-log-size number; ]  
+    [ max-ixfr-log-size number; ]
     [ coresize size_spec ; ]
     [ datasize size_spec ; ]
     [ files size_spec ; ]
@@ -2456,7 +2456,7 @@ the amount of load that transfers place on the system. The following options
 apply to zone transfers.
 
 
+
  also-notify           Defines a global list of IP addresses that are also
                        sent NOTIFY messages whenever a fresh copy of the
                        zone is loaded. This helps to ensure that copies of
@@ -2611,7 +2611,7 @@ Resource limits are not yet implemented in BIND 9.
                      the cache every cleaning-interval minutes. The default
                      is 60 minutes. If set to 0, no periodic cleaning will
                      occur.
+
  heartbeat-interval  The server will perform zone maintenance tasks for all
                      zones marked dialup yes whenever this interval
                      expires. The default is 60 minutes. Reasonable values
@@ -3698,7 +3698,7 @@ containing critical data such as the IP addresses of public web and mail
 servers need not allow dynamic update at all.
 
   ------------------------------------------------------------------------
-  
+
      Section 8. Troubleshooting
 
      8.1 Common Problems
index 37b97c72a31e1678dff8c18dbed72972e519ba5b..a4fe9cf9046b8ab9e7c9613a97288318cb0c10ab 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: addressdb,v 1.2 2000/06/21 23:43:28 tale Exp $
+$Id: addressdb,v 1.3 2000/08/01 01:18:06 tale Exp $
 
 You are lost in a maze of twisty little pointers, all alike...
 
@@ -12,7 +12,7 @@ ADB                          |-> 0         |-> handle ---> handle ---> 0
  |                          namehook      namehook
  |                             |  |          |  |
  |                             |  0          0  -> fetch
- |                            |         
+ |                            |
  |                             V
  |-lists of elements -----> element ----> element ----> element ---> 0
  |                            |             |             |
index 59865107e9f1775f8bf861300f3d9121a5564ee1..ca0f1cc95e8a2a46fcc4b9a36a13b3ef63f4c5aa 100644 (file)
@@ -3,7 +3,7 @@ See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
                        Name Compression
 
-       $Id: compression,v 1.5 2000/06/21 23:43:29 tale Exp $
+       $Id: compression,v 1.6 2000/08/01 01:18:07 tale Exp $
 
 Overview.
 
@@ -28,7 +28,7 @@ Overview.
           across a message.
 
        BIND 4.x and BIND 8.x used a table of existing 14 bit compression
-       targets. 
+       targets.
 
        The implicit assumption is that we will use compression whenever
        possible and when ever there are multiple alternatives available
@@ -128,7 +128,7 @@ Functions:
        dns_compress_findlocal(dns_compress_t *cctx, dns_name_t *name,
                               dns_name_t *prefix, dns_name_t *suffix,
                               isc_uint16_t *offset, isc_buffer_t *workspace);
-       
+
        Find the best best match in the global / local RBT.  Returns prefix,
        suffix and offset of the bestmatch.  Findglobal(), findlocal()
        requires as workspace as it may be neccessary to spit a bit stream
index a0fa7788ccee3f9b20822632a281b7752d1d69a5..5c6217cd41187ec58c9d573e84a80c317fae52f4 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: db_rules,v 1.4 2000/06/21 23:43:31 tale Exp $
+$Id: db_rules,v 1.5 2000/08/01 01:18:08 tale Exp $
 
 Here is a more formal statement of the important database design
 rules.  Each rule has a 5 character mnemonic, for use in source code
@@ -70,7 +70,7 @@ Cache Node Lookups                                            [DBCNL]
 
        2)      If there is a negative caching entry for the desired node,
                DNS_R_NONEXISTENT shall be returned.
-       
+
        3)      If the desired node does not exist, and there is not a
                negative caching entry, DNS_R_UNKNOWN shall be returned.
 
index 323a601e7fb8f8c97f32526b52a0d8b037839d8d..08bb91a7ea283a348c89715cad3707fa5f743417 100644 (file)
@@ -3,10 +3,10 @@ See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
                        Name Decompression
 
-       $Id: decompression,v 1.4 2000/06/21 23:43:32 tale Exp $
+       $Id: decompression,v 1.5 2000/08/01 01:18:09 tale Exp $
 
 Overview.
-       
+
        There are 4 type of compression: global 14 bit, global 16 bit,
        local 14 bit and local 16 bit.
 
@@ -35,7 +35,7 @@ Overview.
           and edn version.
 
 Implementation:
-       
+
        dns_rdata_fromwire will set the allowed decompression methods allowed
        by looking at edns, strict and the type values.
 
index e0fba90af2c429e6e87f2b151c25fc872d0cb159..bc005aef78b5bb1870509874a0f8c42472489e14 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: logging,v 1.6 2000/06/22 21:53:52 tale Exp $
+$Id: logging,v 1.7 2000/08/01 01:18:11 tale Exp $
 
 OVERVIEW
 
@@ -354,7 +354,7 @@ Providing a NULL argument for the category means "associate the
 channel with the indicated module in all known categories" ---
 including ISC_CATEGORY_DEFAULT.  Providing a NULL argument for the
 module means "associate the channel with all modules that use this
-category."  
+category."
 
 6) If you are sending any messages to syslog, call
 isc_log_opensyslog().  Currently the arguments to this function are
@@ -435,7 +435,7 @@ logging system internally.
   };
   isc_logmodule_t dns_modules[] = {
           { "db",      0 },
-          { "rbtdb",   0 }, 
+          { "rbtdb",   0 },
           { NULL,      0 }
   };
 
index d13357d098982e41ccd349fe258c405f1b6956aa..6d0f0de9a3cf5bd2be41e0f8dee292032d108517 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: ncache,v 1.3 2000/06/22 21:53:53 tale Exp $
+$Id: ncache,v 1.4 2000/08/01 01:18:12 tale Exp $
 
 Negative Caching
 
@@ -20,7 +20,7 @@ Not sure what to do in this case.  Probably return delegation to force client
 to ask authority.
 
 
-Perhaps we should just create some kind of meta-rdata, the "negative cache 
+Perhaps we should just create some kind of meta-rdata, the "negative cache
 rdata type"?
 
 Or maybe something like:
index 14698c91157fe62feabd418afee961e9b002d110..5f609c9742d96daa19f96c21159d423778d8e17a 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: omapi,v 1.4 2000/06/22 21:53:55 tale Exp $
+$Id: omapi,v 1.5 2000/08/01 01:18:13 tale Exp $
 
 This file documents the protocol that the ISC DHCP server and ISC
 Object Management clients (clients that use the ISC Object Management
@@ -166,7 +166,7 @@ Message types:
        invalid handle - the handle does not refer to a known object
        permisson denied - the handle refers to an object that the
                           requestor does not have permission to
-                          examine. 
+                          examine.
 
 3: update
 
@@ -253,7 +253,7 @@ dhcpctl_status dhcpctl_connect (dhcpctl_handle *connection,
        synchronous
        returns nonzero status code if it didn't connect, zero otherwise
        stores connection handle through connection, which can be used
-       for subsequent access to the specified server. 
+       for subsequent access to the specified server.
        server_name is the name of the server, and port is the TCP
        port on which it is listening.
        authinfo is the handle to an object containing authentication
@@ -270,7 +270,7 @@ dhcpctl_status dhcpctl_open_object (dhcpctl_handle h,
        flags include:
           DHCPCTL_CREATE - if the object doesn't exist, create it
           DHCPCTL_UPDATE - update the object on the server using the
-                           attached parameters 
+                           attached parameters
           DHCPCTL_EXCL - error if the object exists and DHCPCTL_CREATE
                          was also specified
 
@@ -296,7 +296,7 @@ dhcpctl_status dhcpctl_set_callback (dhcpctl_handle h, void *data,
        status code is returned otherwise.
        Upon completion of whatever task is in process, the callback
        will be passed the handle to the object, a status code
-       indicating what happened, and the anonymous pointer passed to 
+       indicating what happened, and the anonymous pointer passed to
 
 dhcpctl_status dhcpctl_wait_for_completion (dhcpctl_handle h,
                                            dhcpctl_status *s)
@@ -315,7 +315,7 @@ dhcpctl_status dhcpctl_get_value (data_string *result,
                                  dhcpctl_handle h, char *value_name)
        synchronous
        returns zero if the call succeeded, a nonzero status code if
-       it didn't. 
+       it didn't.
        result is the address of an empty data string (initialized
        with bzero or cleared with data_string_forget).   On
        successful completion, the addressed data string will contain
index ba5e2c4d96d4e82bf316ed4b907b1af205134ddb..5e966c8bde7091af06b550de263c8cd4de2ee97b 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: red-black,v 1.5 2000/06/22 21:53:57 tale Exp $
+$Id: red-black,v 1.6 2000/08/01 01:18:14 tale Exp $
 
                  Red-Black Tree Implementation Notes
 
@@ -46,7 +46,7 @@ down pointer from the suffix locating the subtree.
 For example, consider storing the following names:
    a       x.d.e.f     o.w.y.d.e.f
    b       z.d.e.f     p.w.y.d.e.f
-   c       g.h         q.w.y.d.e.f 
+   c       g.h         q.w.y.d.e.f
 
 No matter which order the keys were added, this would result in a tree
 that can be visualized as:
index 9dcf80ebf7b38b022b7793e0de544447b7031241..bcd208297d2f691f3bed0afc0d920fb9a7e63577 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: search,v 1.6 2000/06/22 21:53:58 tale Exp $
+$Id: search,v 1.7 2000/08/01 01:18:16 tale Exp $
 
 What follows is pseudocode for the zone and cache lookup algorithms, as they
 will work in the RBT DB.
@@ -39,7 +39,7 @@ rdataset, or a node (including the zone top) with an active DNAME
 rdataset.
 
 
-Zone Search Algorithm                  
+Zone Search Algorithm
 
        Inputs:
                Search name
@@ -239,7 +239,7 @@ Cache Search Algorithm:
 
        Go down as far as possible remembering every parent node.
        Remember the predecessor too.
-       
+
        If some rdataset for name exists
 
                Look for desired type or CNAME
@@ -280,7 +280,7 @@ Cache Search Algorithm:
                                Return NO_KNOWN_AUTHORITY
                                (this will cause priming of root servers or,
                                 perhaps, forwarding)
-       
+
                If we have a zone DKZC and it's better than the one we found
                in the cache
                        Return it (node and name).
index c0758523b7894f8728dd4690f125c22513486be4..b23b4052e6ddd488c73ddb3939495382bde6dfcb 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: windows-nt,v 1.4 2000/06/22 21:54:00 tale Exp $
+$Id: windows-nt,v 1.5 2000/08/01 01:18:18 tale Exp $
 
                      Windows NT Portability Notes
 
@@ -37,7 +37,7 @@ directory of the BIND9 sources.  Its usage is:
 where "remotedest" is the path under which the sources will be
 compiled on the NT machine, and "localdest" is where the munged
 source tree will be placed on the local machine in preparation for
-mounting/zipping/whatever to get it to the remote machine.  
+mounting/zipping/whatever to get it to the remote machine.
 
 The default remotedest is g:/proj/bind9-nt, because that suits my
 environment and I'm the one working on this.  Use forward slashes when
index e979636896d3190584899604f6eee77c584cdd1e..2641dc7834b7ee16140a6b426e470a40a8e03c1e 100644 (file)
@@ -3,10 +3,10 @@ See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
                        Zones
 
-       $Id: zone,v 1.6 2000/06/21 23:43:46 tale Exp $
+       $Id: zone,v 1.7 2000/08/01 01:18:19 tale Exp $
 
 Overview
-        
+
        Zones are the unit of delegation in the DNS and may go from holding
        RR's only at the zone top to holding the complete hierachy (private
        roots zones).  Zones have an associated database which is the
@@ -35,7 +35,7 @@ Overview
        * primary master name (required to auto generate our masters)
        * master file name
        * database name
-       * database type 
+       * database type
                * initially only master_file (BIND 4 & 8)
                * expanded axfr + ixfr
        * transaction logs
@@ -82,7 +82,7 @@ Overview
        * updated (UPDATE / IXFR)
        * copied out in full (AXFR) or as partial deltas (IXFR)
        * read from
-       * validated 
+       * validated
        * generate a delta between two given versions.
        * signed / resigned
        * maintenance
@@ -161,7 +161,7 @@ Functions:
 
     void
     dns_zone_invalidate(dns_zone_t *zone);
-       
+
     void
     dns_ixfr_init(dns_ixfr_t *ixfr, unsigned long serial, time_t expire);
 
@@ -209,10 +209,10 @@ Functions:
     dns_zone_checkchildren(dns_zone_t *);
 
        check that the child zones NS lists agree with the NS lists in this
-       zone, check glue records.  Warn if not identical. 
+       zone, check glue records.  Warn if not identical.
 
     dns_zone_checkservers(dns_zone_t *);
-       
+
        check that all the listed servers for the zone agree on NS list and
        serial number. NOTE only errors which continue over several refresh
        periods to be reported.
@@ -229,7 +229,7 @@ Functions:
 
     dns_zone_addmaster(dns_zone_t *zone, isc_sockaddr_t *addr);
 
-       Add addr to the set of masters for the zone. 
+       Add addr to the set of masters for the zone.
 
     dns_zone_clearmasters(dns_zone_t *zone);
 
@@ -246,5 +246,5 @@ Functions:
     dns_zone_load(dns_zone_t *);
 
     dns_zone_consolidate(dns_zone_t *);
-       
+
        Consolidate on disk copy of zone.
index 698f630de8f629c4be88804d79588ad1573e7a44..c765b4c2b0c3e2a2ecd38af6f717259a5839861d 100644 (file)
@@ -1,10 +1,10 @@
 <!--
  - Copyright (C) 1999, 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: coding.html,v 1.12 2000/07/27 09:42:06 tale Exp $ -->
+<!-- $Id: coding.html,v 1.13 2000/08/01 01:18:21 tale Exp $ -->
 
 <H2>C Language</H2>
 
@@ -109,11 +109,11 @@ declare any functions.<P>
 <PRE><CODE>
 /*
  * Copyright (C) 1998  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
  * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
@@ -430,7 +430,7 @@ Bad:
 
 <H4>The Ternary Operator</H4>
 The ?: operator should mostly be avoided.  It is tolerated when
-deciding what value to pass as a parameter to a function, such as 
+deciding what value to pass as a parameter to a function, such as
 frequently happens with printf, and also when a simple (non-compound)
 value is being used in assignment or as part of a calculation.
 In particular, using the ternary operator to specify a return value is
@@ -539,7 +539,7 @@ unquoted.  E.g., <CODE>isc_log_write(... "open: %s: %s", filename,
 isc_result_totext(result));</CODE><P>
 
 Function names, line numbers, memory addresses, and other references
-to program internals may be used in debugging messages and in 
+to program internals may be used in debugging messages and in
 messages to report programming errors detected at runtime.
 They may not be used in messages that indicate errors in the
 program's inputs or operation.<P>
index e2c0eb5dc38fc72f1bb0b0173f64c56c5d135d17..251797771316d6054101471dacdb097c3d5070cf 100644 (file)
@@ -27,7 +27,7 @@ Renaming files by respository copy
 
 
 When you need to rename or move a file that is under CVS control, use
-the "repository copy" method as described in the following text 
+the "repository copy" method as described in the following text
 borrowed from an ancient CVS FAQ:
 
         2C.4   How do I rename a file?
@@ -85,4 +85,4 @@ In a mainline working tree, do something like this:
   cvs tag -b -r v9_0_base v9_0 file
 
 
-$Id: cvs,v 1.3 2000/07/10 16:16:06 gson Exp $
+$Id: cvs,v 1.4 2000/08/01 01:18:22 tale Exp $
index 19849bb5dbaa3ccda05495f6475ad1b47e31fe50..9c433da16ff376ae51c2604f58b27e22514c2ac3 100644 (file)
@@ -27,7 +27,7 @@ Renaming files by respository copy
 
 
 When you need to rename or move a file that is under CVS control, use
-the "repository copy" method as described in the following text 
+the "repository copy" method as described in the following text
 borrowed from an ancient CVS FAQ:
 
         2C.4   How do I rename a file?
@@ -85,4 +85,4 @@ In a mainline working tree, do something like this:
   cvs tag -b -r v9_0_base v9_0 file
 
 
-$Id: cvs-usage,v 1.3 2000/07/10 16:16:06 gson Exp $
+$Id: cvs-usage,v 1.4 2000/08/01 01:18:22 tale Exp $
index 4a9284873be86ffddd6b37c1103bc8ea8f2e83ed..3ee335784b253fa46739c47e950b37a73bde812a 100644 (file)
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <!--
  - Copyright (C) 1999, 2000  Internet Software Consortium.
- - 
+ -
  - Permission to use, copy, modify, and distribute this software for any
  - purpose with or without fee is hereby granted, provided that the above
  - copyright notice and this permission notice appear in all copies.
- - 
+ -
  - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: rdata.html,v 1.10 2000/07/27 09:42:07 tale Exp $ -->
+<!-- $Id: rdata.html,v 1.11 2000/08/01 01:18:23 tale Exp $ -->
 
 <HTML>
 <HEAD>
@@ -27,7 +27,7 @@
 The dns rdata routines (<CODE>dns_rdata_fromtext()</CODE>,
 <CODE>dns_rdata_totext()</CODE>, <CODE>dns_rdata_fromwire()</CODE>,
 <CODE>dns_rdata_towire()</CODE> <CODE>dns_rdata_fromstruct()</CODE>,
-<CODE>dns_rdata_tostruct()</CODE> and <CODE>dns_rdata_compare()</CODE>) 
+<CODE>dns_rdata_tostruct()</CODE> and <CODE>dns_rdata_compare()</CODE>)
 are designed to provide a single set of routines
 for encoding, decoding and comparing dns data preventing the problems that
 occurred in BIND 8.x and earlier where there were multiple places in the
@@ -245,7 +245,7 @@ decompression methods if there is a domain name in the rdata.
 else
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);</CODE>
 </PRE>
-       
+
 <DL>
 <DT><CODE>class</CODE></DT>
 <DD>
@@ -264,7 +264,7 @@ containing a RR record in wire format.
 <DD>
 This is the decompression context and is passed to
 <CODE>dns_name_fromwire()</CODE>,
-along with <CODE>downcase</CODE>, to enable a compressed domain name 
+along with <CODE>downcase</CODE>, to enable a compressed domain name
 to be extracted from the source.
 <DT><CODE>downcase</CODE></DT>
 <DD>
@@ -279,7 +279,7 @@ RR record is written.
 as it reads external data and should take extreme care to ensure that
 the input data matches its description.
 <P>
-If the <CODE>active</CODE> buffer is not empty at completion and 
+If the <CODE>active</CODE> buffer is not empty at completion and
 <CODE>fromwire_<I>typename</I>()</CODE> was otherwise successful
 <CODE>dns_rdata_fromwire()</CODE> will return <CODE>DNS_R_EXTRADATA</CODE>.
 <H2>Convert from internal format to wire format</H2>
@@ -295,7 +295,7 @@ towire_<I>classname_typename</I>(dns_rdata_t *rdata, dns_compress_t *cctx,
 </PRE>
 <P>
 <CODE>towire_<I>classname_typename</I>()</CODE> is required to set the
-allowed name compression methods based on EDNS version if there is a 
+allowed name compression methods based on EDNS version if there is a
 domain name in the rdata.
 <PRE>
 <CODE>if (dns_compress_getedns(cctx) >= #)
index d6be7e965b137c75277df231b454b5592bd29a77..88bc1271ac697d760d810effeb7f40e24dea44f8 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: release,v 1.11 2000/07/19 20:34:40 gson Exp $
+$Id: release,v 1.12 2000/08/01 01:18:24 tale Exp $
 
 Preparing a bind9 release
 
@@ -20,7 +20,7 @@ release.
    lib/*/api files as needed.  See the libtool info file
    for information about what the various numbers mean.
 
- - Check that http://status.isc.org/bind9/bind9.html shows 
+ - Check that http://status.isc.org/bind9/bind9.html shows
    a clean build and test status for all supported systems.
 
  - Check that "make all_tests" does not produce compile errors.
@@ -100,7 +100,7 @@ release.
  - If problems are found at this stage, fix them, move the
    release tag up using "rtag -F", and respin the kit.
 
- - Take the resulting distribution files to a secure system 
+ - Take the resulting distribution files to a secure system
    and sign them with the ISC signing PGP key:
    "pgp -sba bind-9.0.0b3.tar.gz -u 0x51BAB2ED"
 
@@ -120,7 +120,7 @@ release.
 
      ssh isrv4.pa.vix.com "mkdir /udir/ftp/isc/bind9/9.0.0b4"
      scp bind-9.0.0b4.tar.gz bind-9.0.0b4.tar.gz.asc \
-       isrv4.pa.vix.com:/udir/ftp/isc/bind9/9.0.0b4   
+       isrv4.pa.vix.com:/udir/ftp/isc/bind9/9.0.0b4
 
  - Download using FTP (or Netscape) and verify the PGP signature again
 
index 464802e866951ae62361fdc67840062f38e14c75..009076615b7c9ffceb821abaa06c656d2b2c889f 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 1999, 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: results,v 1.3 2000/06/22 21:54:07 tale Exp $
+$Id: results,v 1.4 2000/08/01 01:18:25 tale Exp $
 
 Result Codes
 
@@ -19,7 +19,7 @@ seems more promising, e.g.
 
 If 's' is shared however this approach doesn't work unless the locking is
 done by the caller, e.g.
-       
+
        sometype_lock();
        sometype_dosomething(s, buffer);
        if (sometype_error(s)) {
index a9921aed69d0cefa389a0200d74ab42bc07c90ca..aa067cb5a4f01a9a7f03ef1dbba3d5b10a17a78b 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: tests,v 1.6 2000/06/28 19:01:52 gson Exp $
+$Id: tests,v 1.7 2000/08/01 01:18:26 tale Exp $
 
 We do hourly test builds of the bind9 tree.  This is an attempt to
 document how they work.
@@ -11,7 +11,7 @@ document how they work.
 
 The scripts driving the build system are in ~wpk/b9t.  They are not
 under CVS control.  The builds are driven by cron jobs separately
-installed on each build system, running as user wpk. 
+installed on each build system, running as user wpk.
 
 The sources are checked out, and the web reports are generated,
 on bb, as driven by the following cron jobs:
@@ -78,7 +78,7 @@ On some, it's on NFS; in this case the location is defined in
 The output from the make process is in
 ~wpk/b9t/hosts/$PLATFORM/b9t-status, and the output from
 The output from the later stages of the process is under
-/proj/build-reports/bind9/hosts/$PLATFORM.  To make the files 
+/proj/build-reports/bind9/hosts/$PLATFORM.  To make the files
 harder to find (?), they have names starting with a period:
 
   .populate
index c7a526a86401f3245692729568b6e591a5478e81..b080a88999dc51f38134187970b1655af2ed11ab 100644 (file)
@@ -69,10 +69,10 @@ EXPIRES IN SIX MONTHS                                             June 2000
    to local domain administrators.
 
    This document resolves the problem of relating host information within
-   the DNS to geographical locations. This definition has been designed to 
-   be easy for the person who administrates DNS for a domain. The author 
-   hopes that the lack of requiring longitude, latitude and elevation 
-   information and merely being able to enter address information, as you 
+   the DNS to geographical locations. This definition has been designed to
+   be easy for the person who administrates DNS for a domain. The author
+   hopes that the lack of requiring longitude, latitude and elevation
+   information and merely being able to enter address information, as you
    would address a postal letter, will mean broad acceptance and use of the
    GL resource record.
 
@@ -86,7 +86,7 @@ EXPIRES IN SIX MONTHS                                             June 2000
 
    Although several other attempts by various authors have attempted to
    created resource records that would allow location information on host to
-   be stored and distributed, none, to the authors knowledge, have either 
+   be stored and distributed, none, to the authors knowledge, have either
    gained acceptance on a wide scale or made allowance for location information
    that is not within the confines of the planet Earth.
 
@@ -104,7 +104,7 @@ EXPIRES IN SIX MONTHS                                             June 2000
    <string> <string>
 
    The format of the RDATA field is two varying length strings separated by
-   a space character. The first, the hierarchical locator, then an address 
+   a space character. The first, the hierarchical locator, then an address
    string. Each is quoted (like all strings) only when it has spaces in it,
    which will never be true for the first string, and almost always for the
    second.
@@ -128,7 +128,7 @@ by a period "."):
 
   Astronomical Location -                          (Required)
            A coded field defining the heavenly body within
-           the known Universe, where the machine resides.  The most common 
+           the known Universe, where the machine resides.  The most common
            entry, "S3" is the planet Earth and is the only currently
            defined location.
 
@@ -141,10 +141,10 @@ by a period "."):
   Country Code -                                    (Required)
 
           The country code specifies the country the host computer resides
-          in. The code is a two character fixed length string and may only 
+          in. The code is a two character fixed length string and may only
           be included within the Astronimical Location 'S3'.  These codes
           are defined in document ISO 3166-1 and are listed in Appendix A
-          for easy reference. 
+          for easy reference.
 
    Postal Zone -                                    (Optional)
 
@@ -156,8 +156,8 @@ by a period "."):
           This field may be omitted only if the country in which the host
           machine resides does not use a postal coding system.
 
-          When all three Hierarchical Locator components exist for an DNS 
-          entry, the position being defined is considered to be a "precise 
+          When all three Hierarchical Locator components exist for an DNS
+          entry, the position being defined is considered to be a "precise
           position".
 
 
@@ -263,9 +263,9 @@ Parimaribo"
 
    New Astronomical Locations (ALs)  MUST be registered with the Internet
    Assigned Numbers Authority (IANA).  IANA acts as a central registry for
-   these values. IANA may reject or modify the Astronomical Location 
-   registration request if it does not meet the criteria as specified in 
-   section 4.1.1.  
+   these values. IANA may reject or modify the Astronomical Location
+   registration request if it does not meet the criteria as specified in
+   section 4.1.1.
 
    Registration requests should be sent via electronic mail to IANA as
    follows:
@@ -273,7 +273,7 @@ Parimaribo"
              To:  IANA@iana.org
              Subject:  Registration of a new Astronomical Location
 
-   The mail message must specify the proposed AL. Documentation defining 
+   The mail message must specify the proposed AL. Documentation defining
    the AL and its proposed purpose must be included.  The documentation must
    either reference an external non-Internet standards document or an existing
    or soon to be RFC.  If applicable, the documentation should contain a
@@ -281,8 +281,8 @@ Parimaribo"
    RFC according to the normal procedure within a reasonable amount of
    time after the AL registration has been approved.
 
-   IANA will not register a new Astronmical Location until an actual 
-   computer requiring GL data in the DNS resides or will soon reside on a 
+   IANA will not register a new Astronmical Location until an actual
+   computer requiring GL data in the DNS resides or will soon reside on a
    heavenly body other than Earth.
 
 
@@ -305,8 +305,8 @@ EXPIRES IN SIX MONTHS                                              May 2000
 7.1 Defining New Astronimical Locations
 
   The astronomical location 'S3' is intended to be Sol-Three (i.e. the Earth).
-  The Earth is the 3rd large planet in the solar system. The Sun would be S0 
-  (not that we'd have a computer there), but a solar observatory in orbit might 
+  The Earth is the 3rd large planet in the solar system. The Sun would be S0
+  (not that we'd have a computer there), but a solar observatory in orbit might
   be S0-001. Our moon would be S3-1. Other letters and such for catalogued
   objects. Additionally, the ISS and Mir space stations could use S3-001 (Mir),
   S3-002 (ISS) now,   if they get connected on IP.
@@ -318,12 +318,12 @@ EXPIRES IN SIX MONTHS                                              May 2000
 7.2 Other possible uses for GL
 
   The use of postal codes also is exactly what is needed for credit card address
-  authentication. Sites could (quietly) compare GL info provided on entries from 
+  authentication. Sites could (quietly) compare GL info provided on entries from
   ISPs to what someone enters for additional verification purposes.
 
 
 
-  
+
 
 
 
index c97ba6253029385752fdbc9a8959d9e8bcc4d9da..d2424d073ea7c823d439c3d97d41e0cf3a19f4c8 100644 (file)
@@ -128,7 +128,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    and PTR. The A RR contains mapping from a FQDN to an IP address; the
    PTR RR contains mapping from an IP address to a FQDN.  The Dynamic
    DNS Updates specification (RFC2136[5]) describes a mechanism that
-   enables DNS information to be updated over a network. 
+   enables DNS information to be updated over a network.
 
    DHCP RFC2131[3] provides a mechanism by which a host (a DHCP client)
    can acquire certain configuration information, along with its IP
@@ -180,7 +180,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    The only difference between these two cases is whether the FQDN to
    IP address mapping is updated by a DHCP client or by a DHCP server.
    The IP address to FQDN mapping is updated by a DHCP server in both
-   cases. 
+   cases.
 
    The reason these two are important, while others are unlikely, has
    to do with authority over the respective DNS domain names. A DHCP
@@ -202,13 +202,13 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    to modify its own domain name. Compliant implementations MAY support
    some or all of these possibilities. Furthermore, this specification
    applies only to DHCP client and server processes: it does not apply
-   to other processes which initiate dynamic DNS updates. 
+   to other processes which initiate dynamic DNS updates.
 
    This document describes a new DHCP option which a client can use to
    convey all or part of its domain name to a DHCP server.
    Site-specific policy determines whether DHCP servers use the names
    that clients offer or not, and what DHCP servers may do in cases
-   where clients do not supply domain names. 
+   where clients do not supply domain names.
 
 4. Issues with DDNS in DHCP Environments
 
@@ -245,7 +245,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    would have its original A RR replaced by the new record. Either of
    these effects may be considered undesirable by some sites. Different
    authority and credential models have different levels of exposure to
-   name collisions. 
+   name collisions.
 
    1.  Client updates A RR, uses Secure DNS Update with credentials
        that are associated with the client's FQDN, and exclusive to the
@@ -356,7 +356,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    is used when the client's link-layer address is being used to
    identify it, and one that is used when some DHCP option that the
    DHCP client has sent is being used to identify it.
-      
+
 
       DISCUSSION:
       Implementors should note that the actual identifying data is
@@ -444,7 +444,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    allow the client to convey its FQDN to the server this document
    defines a new DHCP option, called "Client FQDN". The FQDN Option
    also contains Flags and RCode fields which DHCP servers can use to
-   convey information about DNS updates to clients. 
+   convey information about DNS updates to clients.
 
    Clients MAY send the FQDN option, setting appropriate Flags values,
    in both their DISCOVER and REQUEST messages. If a client sends the
@@ -456,7 +456,7 @@ Stapp & Rekhter          Expires September 2000                 [Page 8]
 Internet-Draft      Interaction between DHCP and DNS          March 2000
 
 
-   subsequent REQUEST messages. 
+   subsequent REQUEST messages.
 
    The code for this option is 81. Its minimum length is 4.
 
@@ -481,12 +481,12 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    indicate that it will not perform any Dynamic DNS updates, and that
    it expects the DHCP server to perform any FQDN-to-IP (the A RR) DNS
    update on its behalf. If this bit is clear, the client indicates
-   that it intends to maintain its own FQDN-to-IP mapping update. 
+   that it intends to maintain its own FQDN-to-IP mapping update.
 
    If a DHCP server intends to take responsibility for the A RR update
    whether or not the client sending the FQDN option has set the "S"
    bit, it sets both the "O" bit and the "S" bit, and sends the FQDN
-   option in its DHCPOFFER and/or DHCPACK messages. 
+   option in its DHCPOFFER and/or DHCPACK messages.
 
    The data in the Domain Name field may appear in one of two formats:
    ASCII, or DNS-style binary encoding (without compression, of
@@ -497,12 +497,12 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    reply, it MUST use the same encoding that the client used. The DNS
    encoding is recommended. The use of ASCII-encoded domain-names is
    fragile, and the use of ASCII encoding in this option should be
-   considered deprecated. 
+   considered deprecated.
 
    The remaining bits in the Flags field are reserved for future
    assignment. DHCP clients and servers which send the FQDN option MUST
    set the MBZ bits to 0, and they MUST ignore values in the part of
-   the field labelled "MBZ". 
+   the field labelled "MBZ".
 
 
 
@@ -670,7 +670,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
    described in Section 8. The server MAY originate the update before
    the server sends the DHCPACK message to the client. In this case the
    RCODE from the update [RFC2136] MUST be carried to the client in the
-   RCODE2 field of the Client FQDN option in the DHCPACK message. 
+   RCODE2 field of the Client FQDN option in the DHCPACK message.
    Alternatively the server MAY send the DHCPACK message to the client
    without waiting for the update to be completed. In this case the
 
@@ -794,7 +794,7 @@ Internet-Draft      Interaction between DHCP and DNS          March 2000
 
    existing A RR and the existing DHCID RR, adding A and DHCID RRs that
    represent the IP address and client-identity of the new client.
-      
+
 
       DISCUSSION:
       The updating entity may be configured to allow the existing DNS
index dc0836b1137f5026eaac2f95ca2127baf7f85ec8..6cb4128760cdc72ef692ace4d349cb34088e8ace 100644 (file)
@@ -36,10 +36,10 @@ Copyright (C) The Internet Society (1999, 2000).  All rights reserved.
 
 Abstract
 
-The definition of a secured zone is presented, updating RFC 2535. 
+The definition of a secured zone is presented, updating RFC 2535.
 After discussion on the mailing list and other working group
 consideration, removed from earlier editions of this draft are a new
-interpretation of the NXT record and a proposal to obsolete NULL 
+interpretation of the NXT record and a proposal to obsolete NULL
 keys.  Deprecation of "experimentally secure" remains.
 
 1 Introduction
@@ -93,9 +93,9 @@ secured.
 1.2 Islands of Security
 
 The goal of DNSSEC is to have each zone secured, from the root zone
-and the top-level domains down the hierarchy to the leaf zones. 
+and the top-level domains down the hierarchy to the leaf zones.
 Transitioning from an unsecured DNS, as we have now, to a fully
-secured - or "as much as will be secured" - tree will take some time. 
+secured - or "as much as will be secured" - tree will take some time.
 During this time, DNSSEC will be applied in various locations in the
 tree, not necessarily "top down."
 
@@ -313,7 +313,7 @@ migration from an unsecured zone to a secured zone.  This distinction
 is dropped.
 
 The objective of facilitating the migration can be achieved without a
-special designation of an experimentally secure status. 
+special designation of an experimentally secure status.
 Experimentally secured is a special case of privately secured.  A zone
 administrator can achieve this by publishing a zone with signatures
 and configuring a set of test resolvers with the corresponding public
index ce6f235830a27e4007b39a0fd1a90e238292f982..ad453c4f21ed952f035e7d331c1c694d3328cda5 100644 (file)
 Telephone Number Mapping                                       A. Brown
 Internet Draft                                          Nortel Networks
 Document: <draft-ietf-enum-rqmts-01.txt>                      June 2000
-Category: Informational 
-                           ENUM Requirements 
-Status of this Memo 
-    
-   This document is an Internet-Draft and is in full conformance with 
-   all provisions of Section 10 of RFC2026 [1].  
-    
-   Internet-Drafts are working documents of the Internet Engineering 
-   Task Force (IETF), its areas, and its working groups.  Note that 
+Category: Informational
+
+
+                           ENUM Requirements
+
+
+Status of this Memo
+
+   This document is an Internet-Draft and is in full conformance with
+   all provisions of Section 10 of RFC2026 [1].
+
+   Internet-Drafts are working documents of the Internet Engineering
+   Task Force (IETF), its areas, and its working groups.  Note that
    other groups may also distribute working documents as Internet-
-   Drafts.  Internet-Drafts are draft documents valid for a maximum of 
-   six months and may be updated, replaced, or obsoleted by other 
-   documents at any time.  It is inappropriate to use Internet- Drafts 
-   as reference material or to cite them other than as "work in 
-   progress."  
-    
-   The list of current Internet-Drafts can be accessed at 
-   http://www.ietf.org/ietf/1id-abstracts.txt  
-   The list of Internet-Draft Shadow Directories can be accessed at 
-   http://www.ietf.org/shadow.html. 
-    
-1.      Abstract 
-    
-   This paper defines the requirements for a DNS-based architecture and 
-   protocols for mapping a telephone number to a set of attributes 
-   (e.g., URLs) that can be used to contact a resource associated with 
-   that number.  There are many possible protocols that can be 
-   considered for a telephone number mapping service.  The purpose of 
-   this document is to focus discussion on a DNS-based solution.  The 
-   intention is to enumerate the expectations of such a solution and to 
-   clarify the scope. 
-    
-2.      Conventions used in this document 
-    
-   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 
-   "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in 
-   this document are to be interpreted as described in RFC-2119 [2]. 
-    
-3.      Requirements 
-    
-3.1     Endpoint Address Lookup 
-    
-   The system SHALL provide a service for the retrieval of service 
-   specific endpoint addresses (e.g., email address, IP address, SIP 
-   address, URL, etc.) or the retrieval of the addresses of servers, if 
-   available, which may contain this endpoint information. 
-    
-  
-\f                          ENUM Requirements                  June 2000 
-3.2     Capabilities Retrieval/Negotiation 
-    
-   The retrieval or negotiation of capabilities is beyond the scope of 
-   the system.   
-    
-3.3     Retrieval of Additional Information and Capabilities 
-    
-   The retrieval of additional, application-specific information (e.g., 
-   spoken name for verification purposes) is beyond the scope of the 
-   system.  The system MUST provide a service for the retrieval of 
-   protocol and service information if available. 
-    
-   The system SHOULD provide access to capabilities relevant to the 
-   telephone number in question.  The retrieval or negotiation of 
-   capabilities will depend on the outcome of the rescap work or work 
-   done in other groups. 
-    
-3.4     Qualification of the Request 
-    
-   The system is not required to enable the qualification of a request 
-   by a user, for the purposes of filtering for reducing returned 
-   information or for traffic reduction.  
-    
-3.5     Provisioning 
-    
-   The architecture and protocol MAY support at least the existing 
-   administrative model as the current E.164 telephone number 
-   delegation system.  The protocol SHOULD also provide the ability to 
-   support corporate numbering plan or competitive directory service 
-   providers under separate root domains.  It SHOULD NOT require an 
-   additional centralized administrator beyond that required for the 
-   existing telephone number system. 
-    
-   The distribution of telephone numbers is a national affair by ITU 
-   treaty and different telephone number distribution schemes may 
-   require different delegation models.  How nations choose to 
-   administer the ENUM space within their borders is a national issue.  
-   In any case, the subscriber or enterprise is the ultimate authority 
-   for service provisioning. 
-    
-   Further, it must be possible for the authority to which a telephone 
-   number has been delegated to redirect the query to a different 
-   entity that provides service-specific information for that number. 
-    
-3.6     Propagation of Changes 
-    
-   Propagation of Changes If multiple copies of the data are 
-   distributed in different areas, their update should be incorporated 
-   almost simultaneously depending on the application of DNS to 
-   services. 
-    
-
-
-  
-\f                          ENUM Requirements                  June 2000 
-   When a numbering plan change is made in a country or network, the 
-   update of relevant E.164 number data in DNS needs to be coordinated 
-   with the change. 
-    
-3.7     Response Timeout 
-    
-   The system SHALL have a defined timeout mechanism. 
-    
-3.8     Global Number Portability 
-    
-   The system MUST support existing local number portability 
-   mechanisms, where applicable.  It is RECOMMENDED that the system not 
-   be designed in such as way as to impede future global number 
-   portability.  
-    
-3.9     Scalability 
-    
-   The system MUST scale to handle quantities of telephone numbers and 
-   queries comparable to current and expected future PSTN usage.   
-    
-   It must be possible to operate the system based on telephone number 
+   Drafts.  Internet-Drafts are draft documents valid for a maximum of
+   six months and may be updated, replaced, or obsoleted by other
+   documents at any time.  It is inappropriate to use Internet- Drafts
+   as reference material or to cite them other than as "work in
+   progress."
+
+   The list of current Internet-Drafts can be accessed at
+   http://www.ietf.org/ietf/1id-abstracts.txt
+   The list of Internet-Draft Shadow Directories can be accessed at
+   http://www.ietf.org/shadow.html.
+
+1.      Abstract
+
+   This paper defines the requirements for a DNS-based architecture and
+   protocols for mapping a telephone number to a set of attributes
+   (e.g., URLs) that can be used to contact a resource associated with
+   that number.  There are many possible protocols that can be
+   considered for a telephone number mapping service.  The purpose of
+   this document is to focus discussion on a DNS-based solution.  The
+   intention is to enumerate the expectations of such a solution and to
+   clarify the scope.
+
+2.      Conventions used in this document
+
+   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
+   "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in
+   this document are to be interpreted as described in RFC-2119 [2].
+
+3.      Requirements
+
+3.1     Endpoint Address Lookup
+
+   The system SHALL provide a service for the retrieval of service
+   specific endpoint addresses (e.g., email address, IP address, SIP
+   address, URL, etc.) or the retrieval of the addresses of servers, if
+   available, which may contain this endpoint information.
+
+
+\f                          ENUM Requirements                  June 2000
+
+
+3.2     Capabilities Retrieval/Negotiation
+
+   The retrieval or negotiation of capabilities is beyond the scope of
+   the system.
+
+3.3     Retrieval of Additional Information and Capabilities
+
+   The retrieval of additional, application-specific information (e.g.,
+   spoken name for verification purposes) is beyond the scope of the
+   system.  The system MUST provide a service for the retrieval of
+   protocol and service information if available.
+
+   The system SHOULD provide access to capabilities relevant to the
+   telephone number in question.  The retrieval or negotiation of
+   capabilities will depend on the outcome of the rescap work or work
+   done in other groups.
+
+3.4     Qualification of the Request
+
+   The system is not required to enable the qualification of a request
+   by a user, for the purposes of filtering for reducing returned
+   information or for traffic reduction.
+
+3.5     Provisioning
+
+   The architecture and protocol MAY support at least the existing
+   administrative model as the current E.164 telephone number
+   delegation system.  The protocol SHOULD also provide the ability to
+   support corporate numbering plan or competitive directory service
+   providers under separate root domains.  It SHOULD NOT require an
+   additional centralized administrator beyond that required for the
+   existing telephone number system.
+
+   The distribution of telephone numbers is a national affair by ITU
+   treaty and different telephone number distribution schemes may
+   require different delegation models.  How nations choose to
+   administer the ENUM space within their borders is a national issue.
+   In any case, the subscriber or enterprise is the ultimate authority
+   for service provisioning.
+
+   Further, it must be possible for the authority to which a telephone
+   number has been delegated to redirect the query to a different
+   entity that provides service-specific information for that number.
+
+3.6     Propagation of Changes
+
+   Propagation of Changes If multiple copies of the data are
+   distributed in different areas, their update should be incorporated
+   almost simultaneously depending on the application of DNS to
+   services.
+
+
+
+
+\f                          ENUM Requirements                  June 2000
+
+
+   When a numbering plan change is made in a country or network, the
+   update of relevant E.164 number data in DNS needs to be coordinated
+   with the change.
+
+3.7     Response Timeout
+
+   The system SHALL have a defined timeout mechanism.
+
+3.8     Global Number Portability
+
+   The system MUST support existing local number portability
+   mechanisms, where applicable.  It is RECOMMENDED that the system not
+   be designed in such as way as to impede future global number
+   portability.
+
+3.9     Scalability
+
+   The system MUST scale to handle quantities of telephone numbers and
+   queries comparable to current and expected future PSTN usage.
+
+   It must be possible to operate the system based on telephone number
    blocks defined at the digit boundaries as well as explicit per-
-   number configuration. 
-    
-3.10    Query Performance 
-    
-   It SHOULD be possible to administer the ENUM service using the 
-   selected protocols and structures such that the current user 
-   expectations for latency in telecommunications services can be met.  
-   In particular, it SHOULD be possible to operate the system in such a 
-   manner that an ENUM query for a service-specific record can be 
-   satisfied within one second 95% of the time and that within two 
-   seconds, the query can be satisfied 99% of the time. 
-    
-3.11    Other PSTN Numbering Services 
-    
-   E.164 numbers, short codes, service codes and prefixes are 
-   categorized in dialing plans.  A prefix is an indicator consisting 
-   of one or more digits that allows the selection of different types 
-   of number formats, networks and/or services.  Prefixes are not part 
-   of the number and are part of a dialing plan.  The uses and the 
-   formats of prefixes are a national matter.  Short codes, e.g. 
-   emergency, or service codes may be used based on the national 
-   numbering plan.  Those codes are not universal and typically valid 
-   only within a numbering domain identified with the same country code 
-   or country code + network identification code. 
-    
-   PSTN type numbering services such as Emergency 911, directory 
-   assistance 411, and other carrier codes for services accessible via 
-   non-E164 (or subset) telephone number service access codes are 
-   outside the scope of ENUM. 
-    
-3.12    Privacy 
-  
-\f                          ENUM Requirements                  June 2000 
-    
-   The system MUST allow the owner of the telephone number to control 
-   the information which prospective callers may receive. 
-    
-3.13    Competition 
-    
-   The solution MUST permit competing service providers to offer 
-   telecommunications service for a given number.  Competing 
-   telecommunications services MUST be enabled where the ENUM entry is 
-   administered by the single entity to which the number is delegated.  
-   Who that single entity is, is beyond the scope of ENUM. 
-    
-3.14    Authorization of Requests and Responses 
-    
-   The system SHALL enable the authorization of requests and responses. 
-    
-3.15    Privacy and Integrity of Requests and Responses 
-    
-   The system SHALL enable the privacy and integrity of requests and 
-   responses. 
-    
-3.16    Call Routing 
-    
-   The system is not required to provide a service for routing calls or 
-   locating gateways to a specific service. 
-    
-3.17    Service Logic 
-    
-   The system is not responsible for employing service logic for the 
-   intelligent retrieval of information. 
-    
-3.18    E.164 Numbers 
-    
-   The system is not responsible for returning information on private 
-   numbering plans and non-E.164 numbers.  The system is responsible 
-   for returning information on 1-800 and other legitimate E.164 
-   numbers.   
-    
-3.19    Application Specific Use of ENUM 
-    
-   The ENUM service MUST be application agnostic.  It is expected that 
-   various other IETF work groups will develop ENUM specific usage 
-   profiles for their specific application.  ENUM will not mandate the 
-   use of any specific DNS Resource Record for any particular 
-   application.  
-4.      Security Considerations 
-   This document specifies several security requirements including 
-   privacy of information, and authorization, privacy and integrity or 
-   requests and responses.  
-    
-
-  
-\f                          ENUM Requirements                  June 2000 
-   The system will be designed to retrieve information required to 
-   initiate an Internet telephony session.  Each of these session types 
-   will have their own security threats, which should be addressed in 
-   the groups responsible for those services. 
-5.      References 
-    
-   1  Bradner, S., "The Internet Standards Process -- Revision 3", BCP 
-      9, RFC 2026, October 1996. 
-    
-   2  Bradner, S., "Key words for use in RFCs to Indicate Requirement 
-      Levels", BCP 14, RFC 2119, March 1997 
-    
-6.      Acknowledgements         
-    
-   This document is based on discussions from the ENUM working group. 
-    
-7.      Author's Addresses 
-    
-   Anne Brown 
-   Nortel Networks 
-   P.O. Box 3511, Station C 
-   K1Y 4H7 
-   Phone: +1 613 765 5274 
-   Email: arbrown@nortelnetworks.com 
-    
-8.      Changes From draft-enum-rqmts-00.txt 
-    
-   Based on WG discussions and input documents from the SG2 workshop, 
-   the following changes have been made since the previous version of 
-   this draft: 
-    
-        3.1 Endpoint Address Lookup 
-                Major - URLs are not the only response 
-        3.3 Retrieval of Additional Information and Capabilities 
-                Renamed from "Retrieval of Additional Information" 
-                Minor - Added paragraph on capabilities 
-        3.5 Provisioning 
-                Major - New text involving change of ENUM scope 
-        3.6 Propagation of Changes 
-                New section 
-                Major - New section based on nnar-e164-dns-iw-info.txt 
-        3.9 Scalability 
-                Renumbered from 3.8 
-                Major - New paragraph on handling of both blocks and 
-                individual telephone numbers. 
-        3.10 Query Performance 
-                Renumbered from 3.9 
-                Major - Upgraded to support PSTN performance  
-                expectations 
-        3.11 Other PSTN Numbering Services 
-                Renumbered from 3.10 
-  
-\f                          ENUM Requirements                  June 2000 
-                Renamed from "Other PSTN Services" 
-                Minor - Changes for clarification based on WG  
-                discussions and nnar-e164-dns-iw-info.txt 
-    
-        3.13 Competition 
-                Renumbered from 3.12 
-                Major - Telephone number MUST be able to be  
-                administered by a single entity 
-                 
-        3.19 Application Specific Use of ENUM 
-                New Section 
-                Major - For clarification  
-    
-Full Copyright Statement 
-    
-   "Copyright (C) The Internet Society (date). All Rights Reserved. 
-   This document and translations of it may be copied and furnished to 
-   others, and derivative works that comment on or otherwise explain it 
-   or assist in its implmentation may be prepared, copied, published 
-   and distributed, in whole or in part, without restriction of any 
-   kind, provided that the above copyright notice and this paragraph 
-   are included on all such copies and derivative works. However, this 
-   document itself may not be modified in any way, such as by removing 
-   the copyright notice or references to the Internet Society or other 
-   Internet organizations, except as needed for the purpose of 
-   developing Internet standards in which case the procedures for 
-   copyrights defined in the Internet Standards process must be 
-   followed, or as required to translate it into 
-    
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  
+   number configuration.
+
+3.10    Query Performance
+
+   It SHOULD be possible to administer the ENUM service using the
+   selected protocols and structures such that the current user
+   expectations for latency in telecommunications services can be met.
+   In particular, it SHOULD be possible to operate the system in such a
+   manner that an ENUM query for a service-specific record can be
+   satisfied within one second 95% of the time and that within two
+   seconds, the query can be satisfied 99% of the time.
+
+3.11    Other PSTN Numbering Services
+
+   E.164 numbers, short codes, service codes and prefixes are
+   categorized in dialing plans.  A prefix is an indicator consisting
+   of one or more digits that allows the selection of different types
+   of number formats, networks and/or services.  Prefixes are not part
+   of the number and are part of a dialing plan.  The uses and the
+   formats of prefixes are a national matter.  Short codes, e.g.
+   emergency, or service codes may be used based on the national
+   numbering plan.  Those codes are not universal and typically valid
+   only within a numbering domain identified with the same country code
+   or country code + network identification code.
+
+   PSTN type numbering services such as Emergency 911, directory
+   assistance 411, and other carrier codes for services accessible via
+   non-E164 (or subset) telephone number service access codes are
+   outside the scope of ENUM.
+
+3.12    Privacy
+
+\f                          ENUM Requirements                  June 2000
+
+
+
+   The system MUST allow the owner of the telephone number to control
+   the information which prospective callers may receive.
+
+3.13    Competition
+
+   The solution MUST permit competing service providers to offer
+   telecommunications service for a given number.  Competing
+   telecommunications services MUST be enabled where the ENUM entry is
+   administered by the single entity to which the number is delegated.
+   Who that single entity is, is beyond the scope of ENUM.
+
+3.14    Authorization of Requests and Responses
+
+   The system SHALL enable the authorization of requests and responses.
+
+3.15    Privacy and Integrity of Requests and Responses
+
+   The system SHALL enable the privacy and integrity of requests and
+   responses.
+
+3.16    Call Routing
+
+   The system is not required to provide a service for routing calls or
+   locating gateways to a specific service.
+
+3.17    Service Logic
+
+   The system is not responsible for employing service logic for the
+   intelligent retrieval of information.
+
+3.18    E.164 Numbers
+
+   The system is not responsible for returning information on private
+   numbering plans and non-E.164 numbers.  The system is responsible
+   for returning information on 1-800 and other legitimate E.164
+   numbers.
+
+3.19    Application Specific Use of ENUM
+
+   The ENUM service MUST be application agnostic.  It is expected that
+   various other IETF work groups will develop ENUM specific usage
+   profiles for their specific application.  ENUM will not mandate the
+   use of any specific DNS Resource Record for any particular
+   application.
+
+4.      Security Considerations
+
+   This document specifies several security requirements including
+   privacy of information, and authorization, privacy and integrity or
+   requests and responses.
+
+
+
+\f                          ENUM Requirements                  June 2000
+
+
+   The system will be designed to retrieve information required to
+   initiate an Internet telephony session.  Each of these session types
+   will have their own security threats, which should be addressed in
+   the groups responsible for those services.
+
+5.      References
+
+
+   1  Bradner, S., "The Internet Standards Process -- Revision 3", BCP
+      9, RFC 2026, October 1996.
+
+   2  Bradner, S., "Key words for use in RFCs to Indicate Requirement
+      Levels", BCP 14, RFC 2119, March 1997
+
+6.      Acknowledgements
+
+   This document is based on discussions from the ENUM working group.
+
+7.      Author's Addresses
+
+   Anne Brown
+   Nortel Networks
+   P.O. Box 3511, Station C
+   K1Y 4H7
+   Phone: +1 613 765 5274
+   Email: arbrown@nortelnetworks.com
+
+8.      Changes From draft-enum-rqmts-00.txt
+
+   Based on WG discussions and input documents from the SG2 workshop,
+   the following changes have been made since the previous version of
+   this draft:
+
+        3.1 Endpoint Address Lookup
+                Major - URLs are not the only response
+        3.3 Retrieval of Additional Information and Capabilities
+                Renamed from "Retrieval of Additional Information"
+                Minor - Added paragraph on capabilities
+        3.5 Provisioning
+                Major - New text involving change of ENUM scope
+        3.6 Propagation of Changes
+                New section
+                Major - New section based on nnar-e164-dns-iw-info.txt
+        3.9 Scalability
+                Renumbered from 3.8
+                Major - New paragraph on handling of both blocks and
+                individual telephone numbers.
+        3.10 Query Performance
+                Renumbered from 3.9
+                Major - Upgraded to support PSTN performance
+                expectations
+        3.11 Other PSTN Numbering Services
+                Renumbered from 3.10
+
+\f                          ENUM Requirements                  June 2000
+
+
+                Renamed from "Other PSTN Services"
+                Minor - Changes for clarification based on WG
+                discussions and nnar-e164-dns-iw-info.txt
+
+        3.13 Competition
+                Renumbered from 3.12
+                Major - Telephone number MUST be able to be
+                administered by a single entity
+
+        3.19 Application Specific Use of ENUM
+                New Section
+                Major - For clarification
+
+Full Copyright Statement
+
+   "Copyright (C) The Internet Society (date). All Rights Reserved.
+   This document and translations of it may be copied and furnished to
+   others, and derivative works that comment on or otherwise explain it
+   or assist in its implmentation may be prepared, copied, published
+   and distributed, in whole or in part, without restriction of any
+   kind, provided that the above copyright notice and this paragraph
+   are included on all such copies and derivative works. However, this
+   document itself may not be modified in any way, such as by removing
+   the copyright notice or references to the Internet Society or other
+   Internet organizations, except as needed for the purpose of
+   developing Internet standards in which case the procedures for
+   copyrights defined in the Internet Standards process must be
+   followed, or as required to translate it into
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 \f
index f62bd8d558f6f6f163fea686ae7a30314e5bf36f..93d81bc63bb191bf6132af715a8f52962e10e81a 100644 (file)
-IPng Working Group                                               R. Draves 
-Internet Draft                                          Microsoft Research 
-Document: draft-ietf-ipngwg-default-addr-select-00.txt    October 22, 1999 
-Category: Standards Track                                               
-                   Default Address Selection for IPv6 
+IPng Working Group                                               R. Draves
+Internet Draft                                          Microsoft Research
+Document: draft-ietf-ipngwg-default-addr-select-00.txt    October 22, 1999
+Category: Standards Track
 
-Status of this Memo 
+                   Default Address Selection for IPv6
 
-   This document is an Internet-Draft and is in full conformance with 
-   all provisions of Section 10 of RFC 2026 [1]. 
+Status of this Memo
 
-   Internet-Drafts are working documents of the Internet Engineering 
-   Task Force (IETF), its areas, and its working groups. Note that 
+   This document is an Internet-Draft and is in full conformance with
+   all provisions of Section 10 of RFC 2026 [1].
+
+   Internet-Drafts are working documents of the Internet Engineering
+   Task Force (IETF), its areas, and its working groups. Note that
    other groups may also distribute working documents as Internet-
-   Drafts. 
-
-   Internet-Drafts are draft documents valid for a maximum of six 
-   months and may be updated, replaced, or obsoleted by other documents 
-   at any time. It is inappropriate to use Internet-Drafts as reference 
-   material or to cite them other than as "work in progress." 
-
-   The list of current Internet-Drafts can be accessed at 
-   http://www.ietf.org/ietf/1id-abstracts.txt. 
-
-   The list of Internet-Draft Shadow Directories can be accessed at 
-   http://www.ietf.org/shadow.html. 
-
-Abstract 
-
-   This document describes two algorithms, for destination address 
-   ordering and for source address selection. The algorithms specify 
-   default behavior for all IPv6 implementations. They do not override 
-   choices made by applications or upper-layer protocols, nor do they 
-   preclude the development of more advanced mechanisms for address 
-   selection. The two algorithms share a common framework, including an 
-   optional mechanism for allowing administrators to provide policy 
-   that can override the default behavior. 
-
-1. Introduction 
-
-   The IPv6 addressing architecture [2] allows multiple unicast 
-   addresses to be assigned to interfaces. These addresses may have 
-   different reachability scopes (link-local, site-local, or global). 
-   These addresses may be "preferred" or "deprecated" [3]. In addition, 
-   multi-homing situations will result in more addresses per node. For 
-   example, a node may have multiple interfaces, some of them tunnels 
-   or virtual interfaces, or a site may have multiple ISP attachments. 
-
-   The end result is that IPv6 implementations will very often be faced 
-   with multiple possible source and destination addresses when 
-   initiating communication. It is desirable to have simple default 
-   algorithms, common across all implementations, for selecting source 
-  
-Draves            Standards Track - Expires May 2000                 1 
+   Drafts.
+
+   Internet-Drafts are draft documents valid for a maximum of six
+   months and may be updated, replaced, or obsoleted by other documents
+   at any time. It is inappropriate to use Internet-Drafts as reference
+   material or to cite them other than as "work in progress."
+
+   The list of current Internet-Drafts can be accessed at
+   http://www.ietf.org/ietf/1id-abstracts.txt.
+
+   The list of Internet-Draft Shadow Directories can be accessed at
+   http://www.ietf.org/shadow.html.
+
+Abstract
+
+   This document describes two algorithms, for destination address
+   ordering and for source address selection. The algorithms specify
+   default behavior for all IPv6 implementations. They do not override
+   choices made by applications or upper-layer protocols, nor do they
+   preclude the development of more advanced mechanisms for address
+   selection. The two algorithms share a common framework, including an
+   optional mechanism for allowing administrators to provide policy
+   that can override the default behavior.
+
+1. Introduction
+
+   The IPv6 addressing architecture [2] allows multiple unicast
+   addresses to be assigned to interfaces. These addresses may have
+   different reachability scopes (link-local, site-local, or global).
+   These addresses may be "preferred" or "deprecated" [3]. In addition,
+   multi-homing situations will result in more addresses per node. For
+   example, a node may have multiple interfaces, some of them tunnels
+   or virtual interfaces, or a site may have multiple ISP attachments.
+
+   The end result is that IPv6 implementations will very often be faced
+   with multiple possible source and destination addresses when
+   initiating communication. It is desirable to have simple default
+   algorithms, common across all implementations, for selecting source
+
+Draves            Standards Track - Expires May 2000                 1
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-   and destination addresses so that developers and administrators can 
-   reason about and predict the behavior of their systems. 
-
-   This document specifies source address selection and destination 
-   address selection separately, but using a common framework so that 
-   together the two algorithms yield useful results. The algorithms 
-   attempt to choose source and destination addresses of appropriate 
-   scope and configuration status (preferred or deprecated). 
-   Furthermore, this document suggests a preferred method, longest 
-   matching prefix, for choosing among otherwise equivalent addresses 
-   in the absence of better information. 
-
-   The framework also has policy hooks to allow administrative override 
-   of the default behavior. For example, using these hooks an 
-   administrator can specify a preferred source prefix for use with a 
-   destination prefix, or prefer destination addresses with one prefix 
-   over addresses with another prefix. These hooks give an 
-   administrator flexibility in dealing with some multi-homing and 
-   transition scenarios, but they are certainly not a panacea. 
-
-   The rules specified in this document MUST NOT be construed to 
-   override an application or upper-layer's explicit choice of 
-   destination or source address. 
-
-1.1. Conventions used in this document 
-
-   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 
-   "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in 
-   this document are to be interpreted as described in RFC-2119 [4]. 
-
-2. Framework 
-
-   Our framework for address selection derives from the most common 
-   implementation architecture, which separates the choice of 
-   destination address from the choice of source address. Consequently, 
-   the framework specifies two separate algorithms for these tasks. The 
-   algorithms are designed to work well together and they share a 
-   mechanism for administrative policy override. 
-
-   In this implementation architecture, applications use APIs [5] like 
-   getipnodebyname() and getaddrinfo() that return a list of addresses 
-   to the application. The application then passes a destination 
-   address to the IPv6 layer with connect() or sendto(). The 
-   application might just use the first address in the list, or it 
-   might loop over the list of addresses to find a working address. In 
-   any case, the IPv6 network layer is never in a position where it 
-   needs to choose a destination address from several alternatives. The 
-   application might also specify a source address with bind(), but 
-   often the source address is left unspecified. Therefore the IPv6 
-   layer does often choose a source address from several alternatives. 
-
-   As a consequence, we intend that implementations of 
-   getipnodebyname() and getaddrinfo() will use the destination address 
-  
-Draves            Standards Track - Expires May 2000                 2 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+   and destination addresses so that developers and administrators can
+   reason about and predict the behavior of their systems.
+
+   This document specifies source address selection and destination
+   address selection separately, but using a common framework so that
+   together the two algorithms yield useful results. The algorithms
+   attempt to choose source and destination addresses of appropriate
+   scope and configuration status (preferred or deprecated).
+   Furthermore, this document suggests a preferred method, longest
+   matching prefix, for choosing among otherwise equivalent addresses
+   in the absence of better information.
+
+   The framework also has policy hooks to allow administrative override
+   of the default behavior. For example, using these hooks an
+   administrator can specify a preferred source prefix for use with a
+   destination prefix, or prefer destination addresses with one prefix
+   over addresses with another prefix. These hooks give an
+   administrator flexibility in dealing with some multi-homing and
+   transition scenarios, but they are certainly not a panacea.
+
+   The rules specified in this document MUST NOT be construed to
+   override an application or upper-layer's explicit choice of
+   destination or source address.
+
+1.1. Conventions used in this document
+
+   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
+   "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in
+   this document are to be interpreted as described in RFC-2119 [4].
+
+2. Framework
+
+   Our framework for address selection derives from the most common
+   implementation architecture, which separates the choice of
+   destination address from the choice of source address. Consequently,
+   the framework specifies two separate algorithms for these tasks. The
+   algorithms are designed to work well together and they share a
+   mechanism for administrative policy override.
+
+   In this implementation architecture, applications use APIs [5] like
+   getipnodebyname() and getaddrinfo() that return a list of addresses
+   to the application. The application then passes a destination
+   address to the IPv6 layer with connect() or sendto(). The
+   application might just use the first address in the list, or it
+   might loop over the list of addresses to find a working address. In
+   any case, the IPv6 network layer is never in a position where it
+   needs to choose a destination address from several alternatives. The
+   application might also specify a source address with bind(), but
+   often the source address is left unspecified. Therefore the IPv6
+   layer does often choose a source address from several alternatives.
+
+   As a consequence, we intend that implementations of
+   getipnodebyname() and getaddrinfo() will use the destination address
+
+Draves            Standards Track - Expires May 2000                 2
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-   ordering algorithm specified here to sort the list of addresses that 
-   they return. Separately, the IPv6 network layer will use the source 
-   address selection algorithm when an application or upper-layer has 
-   not specified a source address. 
-
-   The algorithms use several criteria in making their decisions. The 
-   combined effect is to prefer destination/source address pairs for 
-   which the two addresses are of equal scope or type, prefer smaller 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+   ordering algorithm specified here to sort the list of addresses that
+   they return. Separately, the IPv6 network layer will use the source
+   address selection algorithm when an application or upper-layer has
+   not specified a source address.
+
+   The algorithms use several criteria in making their decisions. The
+   combined effect is to prefer destination/source address pairs for
+   which the two addresses are of equal scope or type, prefer smaller
    scopes over larger scopes for the destination address, prefer non-
-   deprecated source addresses of sufficient scope to reach the 
-   destination, avoid the use of transitional addresses when native 
-   addresses are available, and all else being equal prefer address 
-   pairs having the longest possible common prefix. 
-
-   The framework optionally allows for the possibility of 
-   administrative configuration of policy that can override the default 
-   behavior of the algorithms. The policy override takes the form of a 
-   configurable table that provides precedence values and preferred 
-   source prefixes for destination prefixes. If an implementation is 
-   not configurable, or if an implementation has not been configured, 
-   then the default policy table specified in this document MUST be 
-   used. 
-
-2.1. Scope Comparisons 
-
-   Multicast destination addresses have a 4-bit scope field that 
-   controls the propagation of the multicast packet. The IPv6 
-   addressing architecture defines scope field values for node-local 
-   (0x1), link-local (0x2), site-local (0x5), organization-local (0x8), 
-   and global (0xE) scopes. 
-
-   Application of the address selection algorithms in the presence of 
-   multicast destination addresses requires the comparison of a unicast 
+   deprecated source addresses of sufficient scope to reach the
+   destination, avoid the use of transitional addresses when native
+   addresses are available, and all else being equal prefer address
+   pairs having the longest possible common prefix.
+
+   The framework optionally allows for the possibility of
+   administrative configuration of policy that can override the default
+   behavior of the algorithms. The policy override takes the form of a
+   configurable table that provides precedence values and preferred
+   source prefixes for destination prefixes. If an implementation is
+   not configurable, or if an implementation has not been configured,
+   then the default policy table specified in this document MUST be
+   used.
+
+2.1. Scope Comparisons
+
+   Multicast destination addresses have a 4-bit scope field that
+   controls the propagation of the multicast packet. The IPv6
+   addressing architecture defines scope field values for node-local
+   (0x1), link-local (0x2), site-local (0x5), organization-local (0x8),
+   and global (0xE) scopes.
+
+   Application of the address selection algorithms in the presence of
+   multicast destination addresses requires the comparison of a unicast
    address scope with a multicast address scope. We map unicast link-
    local to multicast link-local, unicast site-local to multicast site-
-   local, and unicast global scope to multicast global scope. For 
-   example, unicast site-local is equal to multicast site-local, which 
-   is smaller than multicast organization-local, which is smaller than 
-   unicast global, which is equal to multicast global. 
+   local, and unicast global scope to multicast global scope. For
+   example, unicast site-local is equal to multicast site-local, which
+   is smaller than multicast organization-local, which is smaller than
+   unicast global, which is equal to multicast global.
+
+   We write Scope(A) to mean the scope of address A. For example, if A
+   is a link-local unicast address and B is a site-local multicast
+   address, then Scope(A) < Scope(B).
 
-   We write Scope(A) to mean the scope of address A. For example, if A 
-   is a link-local unicast address and B is a site-local multicast 
-   address, then Scope(A) < Scope(B). 
+   This mapping implicitly conflates unicast site boundaries and
+   multicast site boundaries.
 
-   This mapping implicitly conflates unicast site boundaries and 
-   multicast site boundaries. 
+2.2. IPv4-Compatible Addresses and Other Format Prefixes
 
-2.2. IPv4-Compatible Addresses and Other Format Prefixes 
+   For the purposes of this document, IPv4-compatible addresses have
+   global scope and "preferred" configuration status.
 
-   For the purposes of this document, IPv4-compatible addresses have 
-   global scope and "preferred" configuration status. 
 
 
-  
-Draves            Standards Track - Expires May 2000                 3 
+Draves            Standards Track - Expires May 2000                 3
 \f
-Default Address Selection for IPv6                    October 22, 1999 
+Default Address Selection for IPv6                    October 22, 1999
+
+
    Similarly, NSAP addresses, IPX addresses, or addresses with as-yet-
-   undefined format prefixes should be treated as having global scope 
-   and "preferred" configuration status. Later standards may supercede 
-   this treatment. 
-
-   The loopback address should be treated as having link-local scope 
-   and "preferred" configuration status. 
-
-2.3. Policy Table 
-
-   The policy table is a longest-matching-prefix lookup table, like a 
-   routing table. Given an address A, a lookup in the policy table 
-   produces three values: a precedence value Precedence(A), a 
-   classification or label Label(A), and a second label 
-   MatchSrcLabel(A). 
-
-   The precedence value Precedence(A) is used for sorting destination 
-   addresses. If Precedence(A) > Precedence(B), we say that address A 
-   has higher precedence than address B, meaning that our algorithm 
-   will prefer to sort destination address A before destination address 
-   B. 
-
-   The labels Label(A) and MatchSrcLabel(A) allow for policies that 
-   prefer a particular source address prefix for use with a destination 
-   address prefix. The algorithms prefer to use a source address S with 
-   a destination address D if Label(S) = MatchSrcLabel(D). 
-
-   IPv6 implementations SHOULD support configurable address selection 
-   via a mechanism at least as powerful as the policy tables defined 
-   here. If an implementation is not configurable or has not been 
-   configured, then it MUST operate according to the algorithms 
-   specified here in conjunction with the following default policy 
-   table: 
-
-                Prefix    Precedence Label MatchSrcLabel 
-                fe80::/10     40       1         1 
-                fec0::/10     30       2         2 
-                ::/0          20       3         3 
-                2002::/16     10       4         4 
-                ::/96         10       5         5 
-   One effect of the default policy table is to prefer using native 
-   source addresses with native destination addresses, 6to4 source 
-   addresses with 6to4 destination addresses, and v4-compatible source 
-   addresses with v4-compatible destination addresses. Another effect 
-   of the default policy table is to prefer communication using native 
-   addresses to communication using either 6to4 or v4-compatible 
-   addresses, but not to express a preference for 6to4 addresses over 
-   v4-compatible addresses or vice-versa. 
-
-
-
-
-  
-Draves            Standards Track - Expires May 2000                 4 
+   undefined format prefixes should be treated as having global scope
+   and "preferred" configuration status. Later standards may supercede
+   this treatment.
+
+   The loopback address should be treated as having link-local scope
+   and "preferred" configuration status.
+
+2.3. Policy Table
+
+   The policy table is a longest-matching-prefix lookup table, like a
+   routing table. Given an address A, a lookup in the policy table
+   produces three values: a precedence value Precedence(A), a
+   classification or label Label(A), and a second label
+   MatchSrcLabel(A).
+
+   The precedence value Precedence(A) is used for sorting destination
+   addresses. If Precedence(A) > Precedence(B), we say that address A
+   has higher precedence than address B, meaning that our algorithm
+   will prefer to sort destination address A before destination address
+   B.
+
+   The labels Label(A) and MatchSrcLabel(A) allow for policies that
+   prefer a particular source address prefix for use with a destination
+   address prefix. The algorithms prefer to use a source address S with
+   a destination address D if Label(S) = MatchSrcLabel(D).
+
+   IPv6 implementations SHOULD support configurable address selection
+   via a mechanism at least as powerful as the policy tables defined
+   here. If an implementation is not configurable or has not been
+   configured, then it MUST operate according to the algorithms
+   specified here in conjunction with the following default policy
+   table:
+
+                Prefix    Precedence Label MatchSrcLabel
+                fe80::/10     40       1         1
+                fec0::/10     30       2         2
+                ::/0          20       3         3
+                2002::/16     10       4         4
+                ::/96         10       5         5
+
+   One effect of the default policy table is to prefer using native
+   source addresses with native destination addresses, 6to4 source
+   addresses with 6to4 destination addresses, and v4-compatible source
+   addresses with v4-compatible destination addresses. Another effect
+   of the default policy table is to prefer communication using native
+   addresses to communication using either 6to4 or v4-compatible
+   addresses, but not to express a preference for 6to4 addresses over
+   v4-compatible addresses or vice-versa.
+
+
+
+
+
+Draves            Standards Track - Expires May 2000                 4
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-2.4. Candidate Source Addresses 
-
-   Both the destination address ordering algorithm and the source 
-   address selection algorithm use the concept of a "candidate set" of 
-   potential source addresses for a given destination address. 
-
-   We write CandidateSrc(A) to denote the candidate set for the address 
-   A. In some cases the destination address A may be qualified with a 
-   scope-id or other information that will constrain the candidate set. 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+2.4. Candidate Source Addresses
+
+   Both the destination address ordering algorithm and the source
+   address selection algorithm use the concept of a "candidate set" of
+   potential source addresses for a given destination address.
+
+   We write CandidateSrc(A) to denote the candidate set for the address
+   A. In some cases the destination address A may be qualified with a
+   scope-id or other information that will constrain the candidate set.
    We write PreferSrc(A) to denote the subset of preferred (non-
-   deprecated) addresses in CandidateSrc(A)  We write MatchSrc(A) to 
-   denote the subset of addresses S in PreferSrc(A) for which Label(S) 
-   = MatchSrcLabel(A). 
-
-   The destination address ordering algorithm and the source address 
-   selection algorithm specify somewhat different definitions for 
-   CandidateSrc(A). This is because the two algorithms operate in 
-   different environments. The source address selection algorithm 
-   assumes that an outgoing interface for a packet has already been 
-   selected, while the destination address ordering algorithm does not 
-   assume that knowledge. Therefore the destination address ordering 
-   algorithm uses a broader or more-inclusive definition of 
-   CandidateSrc(A). 
-
-   In any case, anycast addresses, multicast addresses, and the 
-   unspecified address MUST NOT be included in a candidate set. 
-
-2.5. Common Prefix Length 
-
-   We define the common prefix length CommonPrefixLen(A, B) of two 
-   addresses A and B as the length of the longest prefix that the two 
-   addresses have in common. It ranges from 0 to 128. 
-
-   We define the maximum common prefix length MaxCommonPrefixLen(A, X) 
-   of an address A and a non-empty set of addresses X as the maximum of 
-   CommonPrefixLen(A, B) for addresses B in the set X. 
-
-3. Destination Address Ordering 
-
-   The destination address ordering algorithm takes a list of 
-   destination addresses and sorts the addresses to produce a new list. 
-   It is specified here in terms of the pair-wise comparison of 
-   addresses DA and DB, where DA appears before DB in the original 
-   list. 
-
-   The pair-wise comparison consists of four rules, which MUST be 
-   applied in order. If a rule determines a result, then the remaining 
-   rules are not relevant and MUST be ignored. Subsequent rules act as 
-   tie-breakers for earlier rules. 
-
-   Rule 1: If MatchSrc(DA) is non-empty and MatchSrc(DB) is empty, then 
-   sort DA before DB. Similarly, if MatchSrc(DA) is empty and 
-   MatchSrc(DB) is non-empty, then sort DB before DA. 
-  
-Draves            Standards Track - Expires May 2000                 5 
+   deprecated) addresses in CandidateSrc(A)  We write MatchSrc(A) to
+   denote the subset of addresses S in PreferSrc(A) for which Label(S)
+   = MatchSrcLabel(A).
+
+   The destination address ordering algorithm and the source address
+   selection algorithm specify somewhat different definitions for
+   CandidateSrc(A). This is because the two algorithms operate in
+   different environments. The source address selection algorithm
+   assumes that an outgoing interface for a packet has already been
+   selected, while the destination address ordering algorithm does not
+   assume that knowledge. Therefore the destination address ordering
+   algorithm uses a broader or more-inclusive definition of
+   CandidateSrc(A).
+
+   In any case, anycast addresses, multicast addresses, and the
+   unspecified address MUST NOT be included in a candidate set.
+
+2.5. Common Prefix Length
+
+   We define the common prefix length CommonPrefixLen(A, B) of two
+   addresses A and B as the length of the longest prefix that the two
+   addresses have in common. It ranges from 0 to 128.
+
+   We define the maximum common prefix length MaxCommonPrefixLen(A, X)
+   of an address A and a non-empty set of addresses X as the maximum of
+   CommonPrefixLen(A, B) for addresses B in the set X.
+
+3. Destination Address Ordering
+
+   The destination address ordering algorithm takes a list of
+   destination addresses and sorts the addresses to produce a new list.
+   It is specified here in terms of the pair-wise comparison of
+   addresses DA and DB, where DA appears before DB in the original
+   list.
+
+   The pair-wise comparison consists of four rules, which MUST be
+   applied in order. If a rule determines a result, then the remaining
+   rules are not relevant and MUST be ignored. Subsequent rules act as
+   tie-breakers for earlier rules.
+
+   Rule 1: If MatchSrc(DA) is non-empty and MatchSrc(DB) is empty, then
+   sort DA before DB. Similarly, if MatchSrc(DA) is empty and
+   MatchSrc(DB) is non-empty, then sort DB before DA.
+
+Draves            Standards Track - Expires May 2000                 5
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-   Rule 2: If Precedence(A) > Precedence(B), then sort DA before DB. 
-   Similarly, if Precedence(B) > Precedence(A), then sort DB before DA. 
-
-   Rule 3: If MatchSrc(DA) and MatchSrc(DB) are both non-empty. If 
-   MaxCommonPrefixLen(DA, MatchSrc(DA)) > MaxCommonPrefixLen(DB, 
-   MatchSrc(DB)), then sort DA before DB. Similarly, if 
-   MaxCommonPrefixLen(DB, MatchSrc(DB)) > MaxCommonPrefixLen(DA, 
-   MatchSrc(DA)), then sort DB before DA. 
-
-   Rule 4: Sort DA before DB. 
-
-   The third and fourth rules MAY be superceded if the implementation 
-   has other means of sorting destination addresses. For example, if 
-   the implementation somehow knows which destination addresses will 
-   result in the "best" communications performance. 
-
-3.1. Candidate Source Addresses 
-
-   For the purposes of destination address ordering, the candidate set 
-   of source addresses CandidateSrc(D) for a destination address D 
-   SHOULD contain all and only the unicast addresses assigned to 
-   interfaces that might be used to send to the destination D. 
-
-   For example, if the address D is a link-local unicast address that 
-   is qualified with a scope-id value specifying a particular 
-   interface, then CandidateSrc(D) SHOULD contain all and only the 
-   unicast addresses assigned to that interface. 
-
-   For example, if the address D is a global scope unicast address, 
-   then CandidateSrc(D) MAY contain every unicast address assigned to 
-   all interfaces. However if the implementation wishes to consult a 
-   routing table and determine a likely outgoing interface, then 
-   CandidateSrc(D) MAY contain only unicast addresses assigned to that 
-   outgoing interface. 
-
-4. Source Address Selection 
-
-   The source address selection algorithm chooses a source address for 
-   use with a destination address D. It is specified here in terms of 
-   the pair-wise comparison of addresses SA and SB. The pair-wise 
-   comparison can be used to select an address from the set 
-   CandidateSrc(D). 
-
-   The pair-wise comparison consists of six rules, which MUST be 
-   applied in order. If a rule chooses an address, then the remaining 
-   rules are not relevant and MUST be ignored. Subsequent rules act as 
-   tie-breakers for earlier rules. If the six rules fail to choose an 
-   address, some unspecified tie-breaker MUST be used. 
-
-   Rule 1: If SA is in MatchSrc(D) and SB is not, then choose SA. 
-   Similarly, if SB is in MatchSrc(D) and SA is not, then choose SB. 
-
-
-  
-Draves            Standards Track - Expires May 2000                 6 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+   Rule 2: If Precedence(A) > Precedence(B), then sort DA before DB.
+   Similarly, if Precedence(B) > Precedence(A), then sort DB before DA.
+
+   Rule 3: If MatchSrc(DA) and MatchSrc(DB) are both non-empty. If
+   MaxCommonPrefixLen(DA, MatchSrc(DA)) > MaxCommonPrefixLen(DB,
+   MatchSrc(DB)), then sort DA before DB. Similarly, if
+   MaxCommonPrefixLen(DB, MatchSrc(DB)) > MaxCommonPrefixLen(DA,
+   MatchSrc(DA)), then sort DB before DA.
+
+   Rule 4: Sort DA before DB.
+
+   The third and fourth rules MAY be superceded if the implementation
+   has other means of sorting destination addresses. For example, if
+   the implementation somehow knows which destination addresses will
+   result in the "best" communications performance.
+
+3.1. Candidate Source Addresses
+
+   For the purposes of destination address ordering, the candidate set
+   of source addresses CandidateSrc(D) for a destination address D
+   SHOULD contain all and only the unicast addresses assigned to
+   interfaces that might be used to send to the destination D.
+
+   For example, if the address D is a link-local unicast address that
+   is qualified with a scope-id value specifying a particular
+   interface, then CandidateSrc(D) SHOULD contain all and only the
+   unicast addresses assigned to that interface.
+
+   For example, if the address D is a global scope unicast address,
+   then CandidateSrc(D) MAY contain every unicast address assigned to
+   all interfaces. However if the implementation wishes to consult a
+   routing table and determine a likely outgoing interface, then
+   CandidateSrc(D) MAY contain only unicast addresses assigned to that
+   outgoing interface.
+
+4. Source Address Selection
+
+   The source address selection algorithm chooses a source address for
+   use with a destination address D. It is specified here in terms of
+   the pair-wise comparison of addresses SA and SB. The pair-wise
+   comparison can be used to select an address from the set
+   CandidateSrc(D).
+
+   The pair-wise comparison consists of six rules, which MUST be
+   applied in order. If a rule chooses an address, then the remaining
+   rules are not relevant and MUST be ignored. Subsequent rules act as
+   tie-breakers for earlier rules. If the six rules fail to choose an
+   address, some unspecified tie-breaker MUST be used.
+
+   Rule 1: If SA is in MatchSrc(D) and SB is not, then choose SA.
+   Similarly, if SB is in MatchSrc(D) and SA is not, then choose SB.
+
+
+
+Draves            Standards Track - Expires May 2000                 6
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-   Rule 2: If SA is equal to D, then choose SA. Similarly, if SB is 
-   equal to D, then choose SB. 
-
-   Rule 3a: If Scope(SA) < Scope(SB). If Scope(SA) < Scope(D), then 
-   choose SB. Otherwise, if one of the source addresses is "preferred" 
-   and one of them is "deprecated", then choose the "preferred" 
-   address. Otherwise, choose SA. 
-
-   Rule 3b: Similarly, if Scope(SB) < Scope(SA). If Scope(SB) < 
-   Scope(D), then choose SA. Otherwise, if one of the source addresses 
-   is "preferred" and one of them is "deprecated", then choose the 
-   "preferred" address. Otherwise, choose SB. 
-
-   Rule 4: The addresses SA and SB have the same scope. If one of the 
-   source addresses is "preferred" and one of them is "deprecated", an 
-   implementation MUST choose the one that is preferred. 
-
-   Rule 5: If Label(SA) = MatchSrcLabel(D) and Label(SB) <> 
-   MatchSrcLabel(D), then choose SA. Similarly, if Label(SA) <> 
-   MatchSrcLabel(D) and Label(SB) = MatchSrcLabel(D), then choose SB. 
-   (Note that this rule will apply only when both SA and SB are 
-   deprecated.) 
-
-   Rule 6: If CommonPrefixLen(SA, D) > CommonPrefixLen(SB, D), then 
-   choose SA. Similarly, if CommonPrefixLen(SB, D) > 
-   CommonPrefixLen(SA, D), then choose SB. 
-
-   The sixth rule MAY be superceded if the implementation has other 
-   means of choosing among source addresses. For example, if the 
-   implementation somehow knows which source address will result in the 
-   "best" communications performance. 
-
-4.1. Candidate Source Addresses 
-
-   For the purposes of source address selection, the candidate set of 
-   source addresses CandidateSrc(D) for a destination address D MUST 
-   contain all and only the unicast addresses assigned to the interface 
-   that will be used to send to the destination D. 
-
-5. Interactions with Routing 
-
-   All IPv6 nodes, including both hosts and routers, MUST conform to 
-   this specification. 
-
-   This specification of source address selection implies that routing 
-   (more precisely, selecting an outgoing interface on a node with 
-   multiple interfaces) is done before source address selection. 
-   However, implementations MAY use source address considerations as a 
-   tiebreaker when choosing among otherwise equivalent routes. 
-
-   For example, suppose a node has interfaces on two different links, 
-   with both links having a working default router. One of the 
-   interfaces has a preferred global address and the other interface 
-  
-Draves            Standards Track - Expires May 2000                 7 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+   Rule 2: If SA is equal to D, then choose SA. Similarly, if SB is
+   equal to D, then choose SB.
+
+   Rule 3a: If Scope(SA) < Scope(SB). If Scope(SA) < Scope(D), then
+   choose SB. Otherwise, if one of the source addresses is "preferred"
+   and one of them is "deprecated", then choose the "preferred"
+   address. Otherwise, choose SA.
+
+   Rule 3b: Similarly, if Scope(SB) < Scope(SA). If Scope(SB) <
+   Scope(D), then choose SA. Otherwise, if one of the source addresses
+   is "preferred" and one of them is "deprecated", then choose the
+   "preferred" address. Otherwise, choose SB.
+
+   Rule 4: The addresses SA and SB have the same scope. If one of the
+   source addresses is "preferred" and one of them is "deprecated", an
+   implementation MUST choose the one that is preferred.
+
+   Rule 5: If Label(SA) = MatchSrcLabel(D) and Label(SB) <>
+   MatchSrcLabel(D), then choose SA. Similarly, if Label(SA) <>
+   MatchSrcLabel(D) and Label(SB) = MatchSrcLabel(D), then choose SB.
+   (Note that this rule will apply only when both SA and SB are
+   deprecated.)
+
+   Rule 6: If CommonPrefixLen(SA, D) > CommonPrefixLen(SB, D), then
+   choose SA. Similarly, if CommonPrefixLen(SB, D) >
+   CommonPrefixLen(SA, D), then choose SB.
+
+   The sixth rule MAY be superceded if the implementation has other
+   means of choosing among source addresses. For example, if the
+   implementation somehow knows which source address will result in the
+   "best" communications performance.
+
+4.1. Candidate Source Addresses
+
+   For the purposes of source address selection, the candidate set of
+   source addresses CandidateSrc(D) for a destination address D MUST
+   contain all and only the unicast addresses assigned to the interface
+   that will be used to send to the destination D.
+
+5. Interactions with Routing
+
+   All IPv6 nodes, including both hosts and routers, MUST conform to
+   this specification.
+
+   This specification of source address selection implies that routing
+   (more precisely, selecting an outgoing interface on a node with
+   multiple interfaces) is done before source address selection.
+   However, implementations MAY use source address considerations as a
+   tiebreaker when choosing among otherwise equivalent routes.
+
+   For example, suppose a node has interfaces on two different links,
+   with both links having a working default router. One of the
+   interfaces has a preferred global address and the other interface
+
+Draves            Standards Track - Expires May 2000                 7
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-   only has a deprecated global address. When sending to a global 
-   destination address, if there's no routing reason to prefer one 
-   interface over the other, then an implementation MAY preferentially 
-   choose the outgoing interface that will allow it to use the 
-   preferred global source address. 
-
-6. Interactions with Mobility 
-
-   TBD 
-
-7. Implementation Considerations 
-
-   The destination address ordering algorithm needs information about 
-   potential source addresses. One possible implementation strategy is 
-   for getipnodebyname() and getaddrinfo() to call down to the IPv6 
-   network layer with a list of destination addresses, sort the list in 
-   the network layer with full current knowledge of available source 
-   addresses, and return the sorted list to getipnodebyname() or 
-   getaddrinfo(). This is simple but it introduces overhead. 
-
-   Another implementation strategy is to call down to the network layer 
-   to retrieve source address information and then sort the list of 
-   addresses directly in the context of getipnodebyname() or 
-   getaddrinfo(). To reduce overhead in this approach, the source 
-   address information SHOULD be cached, amortizing the overhead of 
-   retrieving it across multiple calls to getipnodebyname() and 
-   getaddrinfo(). If an implementation uses cached and possibly stale 
-   source address information in its implementation of destination 
-   address ordering, then it MUST ensure that the source address 
-   information is no more than one second out of date. 
-
-8. Security Considerations 
-
-   This document has no direct impact on Internet infrastructure 
-   security. 
-
-References 
-   1  S. Bradner, "The Internet Standards Process -- Revision 3", BCP 
-      9, RFC 2026, October 1996. 
-
-   2  R. Hinden, S. Deering, "IP Version 6 Addressing Architecture", 
-      RFC 2373, July 1998. 
-
-   3  S. Thompson, T. Narten, "IPv6 Stateless Address 
-      Autoconfiguration", RFC 2462 , December 1998. 
-
-   4  S. Bradner, "Key words for use in RFCs to Indicate Requirement 
-      Levels", BCP 14, RFC 2119, March 1997. 
-
-   5  R. Gilligan, S. Thomson, J. Bound, W. Stevens, "Basic Socket 
-      Interface Extensions for IPv6", RFC 2553, March 1999. 
-
-  
-Draves            Standards Track - Expires May 2000                 8 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+   only has a deprecated global address. When sending to a global
+   destination address, if there's no routing reason to prefer one
+   interface over the other, then an implementation MAY preferentially
+   choose the outgoing interface that will allow it to use the
+   preferred global source address.
+
+6. Interactions with Mobility
+
+   TBD
+
+7. Implementation Considerations
+
+   The destination address ordering algorithm needs information about
+   potential source addresses. One possible implementation strategy is
+   for getipnodebyname() and getaddrinfo() to call down to the IPv6
+   network layer with a list of destination addresses, sort the list in
+   the network layer with full current knowledge of available source
+   addresses, and return the sorted list to getipnodebyname() or
+   getaddrinfo(). This is simple but it introduces overhead.
+
+   Another implementation strategy is to call down to the network layer
+   to retrieve source address information and then sort the list of
+   addresses directly in the context of getipnodebyname() or
+   getaddrinfo(). To reduce overhead in this approach, the source
+   address information SHOULD be cached, amortizing the overhead of
+   retrieving it across multiple calls to getipnodebyname() and
+   getaddrinfo(). If an implementation uses cached and possibly stale
+   source address information in its implementation of destination
+   address ordering, then it MUST ensure that the source address
+   information is no more than one second out of date.
+
+8. Security Considerations
+
+   This document has no direct impact on Internet infrastructure
+   security.
+
+References
+
+   1  S. Bradner, "The Internet Standards Process -- Revision 3", BCP
+      9, RFC 2026, October 1996.
+
+   2  R. Hinden, S. Deering, "IP Version 6 Addressing Architecture",
+      RFC 2373, July 1998.
+
+   3  S. Thompson, T. Narten, "IPv6 Stateless Address
+      Autoconfiguration", RFC 2462 , December 1998.
+
+   4  S. Bradner, "Key words for use in RFCs to Indicate Requirement
+      Levels", BCP 14, RFC 2119, March 1997.
+
+   5  R. Gilligan, S. Thomson, J. Bound, W. Stevens, "Basic Socket
+      Interface Extensions for IPv6", RFC 2553, March 1999.
+
+
+Draves            Standards Track - Expires May 2000                 8
 \f
 
 
-Acknowledgments 
+Acknowledgments
 
-   The author would like to acknowledge the contributions of the IPng 
-   Working Group. 
+   The author would like to acknowledge the contributions of the IPng
+   Working Group.
 
-Author's Address 
+Author's Address
 
-   Richard Draves 
-   Microsoft Research 
-   One Microsoft Way 
-   Redmond, WA 98052 
-   Email: richdr@microsoft.com 
+   Richard Draves
+   Microsoft Research
+   One Microsoft Way
+   Redmond, WA 98052
+   Email: richdr@microsoft.com
 
-Revision History 
+Revision History
 
-Changes from draft-draves-ipngw-simple-srcaddr-01 
+Changes from draft-draves-ipngw-simple-srcaddr-01
 
-   Added framework discussion. 
+   Added framework discussion.
 
-   Added algorithm for destination address ordering. 
+   Added algorithm for destination address ordering.
 
-   Added mechanism to allow the specification of administrative policy 
-   that can override the default behavior. 
+   Added mechanism to allow the specification of administrative policy
+   that can override the default behavior.
 
-   Added section on routing interactions and TBD section on mobility 
-   interactions. 
+   Added section on routing interactions and TBD section on mobility
+   interactions.
 
-   Changed the candidate set definition for source address selection, 
-   so that only addresses assigned to the outgoing interface are 
-   allowed. 
+   Changed the candidate set definition for source address selection,
+   so that only addresses assigned to the outgoing interface are
+   allowed.
 
-   Changed the loopback address treatment to link-local scope. 
+   Changed the loopback address treatment to link-local scope.
 
-Changes from draft-draves-ipngw-simple-srcaddr-00 
+Changes from draft-draves-ipngw-simple-srcaddr-00
 
-   Minor wording changes because DHCPv6 also supports "preferred" and 
-   "deprecated" addresses. 
+   Minor wording changes because DHCPv6 also supports "preferred" and
+   "deprecated" addresses.
 
-   Specified treatment of other format prefixes; now they are 
-   considered global scope, "preferred" addresses. 
+   Specified treatment of other format prefixes; now they are
+   considered global scope, "preferred" addresses.
 
-   Reiterated that anycast and multicast addresses are not allowed as 
-   source addresses. 
+   Reiterated that anycast and multicast addresses are not allowed as
+   source addresses.
 
-   Recommended that source addresses be taken from the outgoing 
-   interface. Required this for multicast destinations. Added analogous 
-   requirements for link-local and site-local destinations. 
+   Recommended that source addresses be taken from the outgoing
+   interface. Required this for multicast destinations. Added analogous
+   requirements for link-local and site-local destinations.
 
-   Specified treatment of the loopback address. 
+   Specified treatment of the loopback address.
 
-   Changed the second selection rule so that if both candidate source 
-   addresses have scope greater or equal than the destination address 
-   and only of them is preferred, the preferred address is chosen. 
+   Changed the second selection rule so that if both candidate source
+   addresses have scope greater or equal than the destination address
+   and only of them is preferred, the preferred address is chosen.
 
-  
-Draves            Standards Track - Expires May 2000                 9 
+
+Draves            Standards Track - Expires May 2000                 9
 \f
-Default Address Selection for IPv6                    October 22, 1999 
-   Full Copyright Statement 
+Default Address Selection for IPv6                    October 22, 1999
+
+
+   Full Copyright Statement
+
+   Copyright (C) The Internet Society (1999).  All Rights Reserved.
 
-   Copyright (C) The Internet Society (1999).  All Rights Reserved. 
+   This document and translations of it may be copied and furnished to
+   others, and derivative works that comment on or otherwise explain it
+   or assist in its implementation may be prepared, copied, published
+   and distributed, in whole or in part, without restriction of any
+   kind, provided that the above copyright notice and this paragraph
+   are included on all such copies and derivative works.  However, this
+   document itself may not be modified in any way, such as by removing
+   the copyright notice or references to the Internet Society or other
+   Internet organizations, except as needed for the purpose of
+   developing Internet standards in which case the procedures for
+   copyrights defined in the Internet Standards process must be
+   followed, or as required to translate it into languages other than
+   English.
 
-   This document and translations of it may be copied and furnished to 
-   others, and derivative works that comment on or otherwise explain it 
-   or assist in its implementation may be prepared, copied, published 
-   and distributed, in whole or in part, without restriction of any 
-   kind, provided that the above copyright notice and this paragraph 
-   are included on all such copies and derivative works.  However, this 
-   document itself may not be modified in any way, such as by removing 
-   the copyright notice or references to the Internet Society or other 
-   Internet organizations, except as needed for the purpose of 
-   developing Internet standards in which case the procedures for 
-   copyrights defined in the Internet Standards process must be 
-   followed, or as required to translate it into languages other than 
-   English. 
+   The limited permissions granted above are perpetual and will not be
+   revoked by the Internet Society or its successors or assigns.
 
-   The limited permissions granted above are perpetual and will not be 
-   revoked by the Internet Society or its successors or assigns. 
+   This document and the information contained herein is provided on an
+   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
+   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
+   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
+   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
+   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 
-   This document and the information contained herein is provided on an 
-   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING 
-   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING 
-   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION 
-   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF 
-   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 
 
 
 
@@ -582,6 +583,5 @@ Default Address Selection for IPv6                    October 22, 1999
 
 
 
-  
-Draves            Standards Track - Expires May 2000                10 
+Draves            Standards Track - Expires May 2000                10
 \f
index 8535e96fb8c2b40cb59d93653eb6df5051ebbdff..0dc51507ca18bb61f3645dc5607e865b0640e46f 100644 (file)
@@ -576,7 +576,7 @@ The procedure for sending a signature-protected message is specified
 in [TSIG].  The data to be passed to the signature routine includes
 the whole DNS message with specific TSIG variables appended.  For the
 exact format, see [TSIG].  For this protocol, use the following
-TSIG variable values: 
+TSIG variable values:
 
    TSIG Record
      NAME = key_name that identifies this context
index 3d7cdbc6b805306d808c1b53f89ee14f91eeca39..54378038a2b71a92621bdd1134714fbe3b4ad1e2 100644 (file)
@@ -34,8 +34,8 @@ http://www.ietf.org/shadow.html.
 
 Abstract
 
-The Domain Name System standard specifies that names are represented 
-using the ASCII character encoding.  This document expands that 
+The Domain Name System standard specifies that names are represented
+using the ASCII character encoding.  This document expands that
 specification to allow the use of the UTF-8 character encoding, a
 superset of ASCII and a translation of the UCS-2 character encoding.
 
@@ -152,7 +152,7 @@ containing UTF-8 names to a non-UTF-8-aware DNS server.
 4. Security Considerations
 
 The choice of character encoding for names does not impact the
-security of the DNS protocol. 
+security of the DNS protocol.
 
 
 5. Acknowledgements
@@ -174,7 +174,7 @@ INTERNET-DRAFT                  UTF-8 DNS                February 2000
 [RFC1035]     P.V. Mockapetris, "Domain Names - Implementation and
               Specification," RFC 1035, ISI, Nov 1987.
 
-[RFC2044]     F. Yergeau, "UTF-8, a transformation format of Unicode 
+[RFC2044]     F. Yergeau, "UTF-8, a transformation format of Unicode
               and ISO 10646," RFC 2044, Alis Technologies, Oct 1996.
 
 [RFC1958]     B. Carpenter, "Architectural Principles of the
@@ -183,11 +183,11 @@ INTERNET-DRAFT                  UTF-8 DNS                February 2000
 [RFC1123]     R. Braden, "Requirements for Internet Hosts -
               Application and Support," STD 3, RFC 1123, January 1989.
 
-[RFC2130]     C. Weider et. al., "The Report of the IAB Character 
+[RFC2130]     C. Weider et. al., "The Report of the IAB Character
               Set Workshop held 29 February - 1 March 1996",
               RFC 2130, Apr 1997.
 
-[RFC2181]     R. Elz and R. Bush, "Clarifications to the DNS 
+[RFC2181]     R. Elz and R. Bush, "Clarifications to the DNS
               Specification," RFC 2181, University of Melbourne and
               RGnet Inc, July 1997.
 
index 8d941bee47d2e4d47e8c2dfde13c74e80ccdef42..6833196c3d5d3638074eab48f6975891886ea482 100644 (file)
@@ -20,7 +20,7 @@ Status of this Memo
    Drafts.
 
    Internet-Drafts are draft documents valid for a maximum of six
-   months and may be updated, replaced, or obsoleted by other 
+   months and may be updated, replaced, or obsoleted by other
    documents at any time.  It is inappropriate to use Internet-Drafts
    as reference material or to cite them other than as ``work in
    progress.''
@@ -55,8 +55,8 @@ INTERNET-DRAFT    Secure Online DNS Dynamic Update            June 2000
 
    to enable a DNS zone to provide online dynamic update and at the
    same time, maintain the zone's security including role separation
-   and intrusion tolerance against insider and outsider attacks. 
-   Threshold digital signature is used to implement the proposed 
+   and intrusion tolerance against insider and outsider attacks.
+   Threshold digital signature is used to implement the proposed
    architecture.
 
 1 - Introduction
@@ -67,7 +67,7 @@ INTERNET-DRAFT    Secure Online DNS Dynamic Update            June 2000
    distinguishes itself in that it provides high security
    for a zone when allowing it support online dynamic update.
 
-   Familiarity with the DNS system [RFC1034, RFC1035], DNS 
+   Familiarity with the DNS system [RFC1034, RFC1035], DNS
    Security Extension [RFC2535], dynamic update [RFC2136] and
    secure dynamic update [RFC2137] is helpful and is assumed by
    this document.
@@ -110,7 +110,7 @@ INTERNET-DRAFT    Secure Online DNS Dynamic Update            June 2000
       has been pointed out that DNS dynamic updates, which enable
       real-time changes (that is, add, delete, or update) in
       name/address bindings, are useful under many circumstances
-      [Liu99,RFC2136]. (For example, such an update allows a 
+      [Liu99,RFC2136]. (For example, such an update allows a
 
 Wang, Huang & Rine                                        [Page 2]
 \f
@@ -124,7 +124,7 @@ INTERNET-DRAFT                                        June 2000
       be computed online. It is worthwhile to note that although
       a DNS dynamic update requestor is communicating with a name
       server, the name server itself has no rights to update the
-      zone data. Instead, it is the zone private key, instead of 
+      zone data. Instead, it is the zone private key, instead of
       the name server's private key, that is needed in the dynamic
       update.
 
@@ -135,7 +135,7 @@ INTERNET-DRAFT                                        June 2000
       private key is not kept online,  zone transfer security is
       not automatically provided for dynamically added RRs, where
       they could be omitted, and authorization is not provided for
-      the server denial of the existence of a dynamically added 
+      the server denial of the existence of a dynamically added
       type [RFC2137]. In this sense, this mode is not a genuine
       DNS dynamic update. In mode B, on the other hand, the zone
       private key is kept online at the zone primary name server;
@@ -156,13 +156,13 @@ INTERNET-DRAFT                                              June 2000
       principle and making it possible for the name server
       administrator to abuse his/her power. (The importance of fending
       off insider attacks has been emphasized by the security
-      community [RFC2196].) 
+      community [RFC2196].)
 
 2 - The Secure On-line DNS Dynamic Update Architecture
 
    2.1 - Background: Threshold Cryptography
 
-      Threshold cryptography is a branch of cryptography that 
+      Threshold cryptography is a branch of cryptography that
       enables a group of n members, 1,2, ..., n, to act as a single
       communication party, using one pair of public and private keys
       [Des87,Des94,Des97]. Similar to the traditional public key
@@ -178,7 +178,7 @@ Wang, Huang & Rine                                     [Page 3]
 INTERNET-DRAFT                                           June 2000
 
 
-      a corresponding key sharing mechanism must be devised.) To 
+      a corresponding key sharing mechanism must be devised.) To
       perform a cryptographic computation (such as decryption, signing,
       identification, etc.) on message m with key K_private, b,
       b <= n , group members will be required. Each member will compute
@@ -186,7 +186,7 @@ INTERNET-DRAFT                                        June 2000
       to produce the final result. The combiner is not necessarily to
       be trusted. Note that during this whole process the shared
       private key, K_private, is never reconstructed.  Further,
-      threshold cryptography requires that the shared private key 
+      threshold cryptography requires that the shared private key
       cannot be reconstructed from any t < b group members.
 
       Practical threshold cryptography for RSA and DSS have been
@@ -219,19 +219,19 @@ INTERNET-DRAFT                                              June 2000
                  |   Name Server   |
                  +-----------------+
 
-      In the above proposed architecture, we assume that there exist 
-      (n-1), n >= 2, machines in a given DNS zone that are under the 
-      control of the zone manager, but not under the control of the 
-      name server administrators. These machines are called the 
+      In the above proposed architecture, we assume that there exist
+      (n-1), n >= 2, machines in a given DNS zone that are under the
+      control of the zone manager, but not under the control of the
+      name server administrators. These machines are called the
       zone-security servers.
 
       Using a threshold cryptography scheme with n > t >= 1, the
       zone private key is shared among the (n-1) zone-security servers
       and the primary name server.  To update zone's data dynamically,
       some of the servers will be needed. Let b > t be the number of
-      zone private key shares needed in the computation of the 
+      zone private key shares needed in the computation of the
       signature of an RR. Since b >= 2, any change to the zone data
-      will need the cooperation of at least one zone-security server; 
+      will need the cooperation of at least one zone-security server;
 
 
 Wang, Huang & Rine                                        [Page 4]
@@ -239,54 +239,54 @@ Wang, Huang & Rine                                           [Page 4]
 INTERNET-DRAFT                                           June 2000
 
 
-      the name server administrator will have no way to modify the 
+      the name server administrator will have no way to modify the
       digitally signed zone data. Thus, the role separation principle
       holds. Moreover, the above architecture enhances intrusion
       tolerance of DNS.
 
       A DNS system is said to be k-intrusion-tolerant against an
-      entity, E, if breaking into k servers (including the 
-      zone-security servers and the DNS name servers, if applicable) 
-      that are outside E's control will not help E gain any knowledge 
-      of the zone private key. A DNS system is said to be intrusion 
-      tolerant against an outsider (insider) if it is at least 
-      1-intrusion-tolerant against the outsider (insider). The 
-      architecture proposed in this document can be configured to be 
+      entity, E, if breaking into k servers (including the
+      zone-security servers and the DNS name servers, if applicable)
+      that are outside E's control will not help E gain any knowledge
+      of the zone private key. A DNS system is said to be intrusion
+      tolerant against an outsider (insider) if it is at least
+      1-intrusion-tolerant against the outsider (insider). The
+      architecture proposed in this document can be configured to be
       intrusion tolerant against outside and inside attackers.
 
         Intrusion tolerance against outsider attacks. In the
            architecture, the zone private key cannot be recovered from
-           any single location, thus, making the system intrusion 
+           any single location, thus, making the system intrusion
            tolerant against an outside attacker. That is, even when an
            outside attacker manages to corrupt l, l <= t, of relevant
            servers (including the name servers and the zone-security
-           servers), secrecy of the zone private key is still 
+           servers), secrecy of the zone private key is still
            maintained.
 
         Intrusion tolerance against insider attacks.  The presence of
            zone security servers and the necessity of their involvement
-           in signature computations constitute a defense line 
-           against insider attacks, in particular, attacks from name 
-           server administrators. Clearly, a hostile name server 
-           administrator must break into at least t zone security 
-           servers (to get access to the respective key shares) in 
+           in signature computations constitute a defense line
+           against insider attacks, in particular, attacks from name
+           server administrators. Clearly, a hostile name server
+           administrator must break into at least t zone security
+           servers (to get access to the respective key shares) in
            order to perform unauthorized RR signature computations.
 
 3 - Implementation Details
 
    [RFC2535] defines two types of SIG records, the DSA SIG and
-   the RSA/MD5 SIG. The important configuration and implementation 
-   aspects of our proposed architecture with respect to these two types 
+   the RSA/MD5 SIG. The important configuration and implementation
+   aspects of our proposed architecture with respect to these two types
    of SIGs are given next.  In the following statement,
    the primary name server will be referred to as server 0 and the
-   (n-1) zone-security servers will be referred to as servers 
+   (n-1) zone-security servers will be referred to as servers
    1, 2, ... , (n-1).
 
    3.1 - Example Configurations
 
-      The following table gives some representative configurations, in 
-      terms of t and n, to achieve the above security levels in 
-      different application cases. 
+      The following table gives some representative configurations, in
+      terms of t and n, to achieve the above security levels in
+      different application cases.
 
 
 Wang, Huang & Rine                                        [Page 5]
@@ -296,7 +296,7 @@ INTERNET-DRAFT                                        June 2000
 
       +----------------------------+----------------------------+
       |                            | RSA/MD5 SIG |  DSA SIG     |
-      |   SECURITY LEVEL           +-------------+--------------+ 
+      |   SECURITY LEVEL           +-------------+--------------+
       |                            | 1-2 |  2-4  |  1-3  | 2-5  |
       +----------------------------+-----+-------+-------+------+
       |Intrusion tolerant against  |     |       |       |      |
@@ -310,9 +310,9 @@ INTERNET-DRAFT                                        June 2000
 
       Assume that, in RSA, the zone's private key is d and its
       public key is (e, N). Phi(N) is the Euler function of N, i.e.,
-      phi(N) = (p-1)(q-1) where N = p * q. We use the threshold 
+      phi(N) = (p-1)(q-1) where N = p * q. We use the threshold
       digital signature scheme given in [DDB94] and now give
-      how the zone private key is shared and how to generate a 
+      how the zone private key is shared and how to generate a
       RSA/MD5 SIG RR online.
 
       The 1-2 case. In this case, the zone manager generates a random,
@@ -355,11 +355,11 @@ INTERNET-DRAFT                                              June 2000
 
 
         To generate a RSA/MD5 SIG, any 3 of the 4 servers will be
-        needed. For example, if the primary name server and the 
+        needed. For example, if the primary name server and the
         zone-security servers 1 and 2 are present (the (0,1,2) case in
-        the above table), the three servers will compute m^d1 mod N, 
+        the above table), the three servers will compute m^d1 mod N,
         m^d2 mod N, and m^d3 mod N respectively. After that any one of
-        them can combine the partial results to produce 
+        them can combine the partial results to produce
         m^d1 * m^d2 * m^d3 mod N = m^d mod N, the digital signature of
         m by the zone private key.  Other possibilities of computing
         the signature of m are summarized in the above table.
@@ -375,7 +375,7 @@ INTERNET-DRAFT                                        June 2000
 
 5 - Security considerations
 
-   This document proposes an architecture to allow a DNS zone to 
+   This document proposes an architecture to allow a DNS zone to
    provide secure online DNS dynamic update. It uses threshold
    digital signature to maintain the role separation principle and can
    also provide intrusion tolerance against both outside attackers
@@ -393,18 +393,18 @@ INTERNET-DRAFT                                              June 2000
 
 7 - References
 
-   [DDB94]   Y. Desmedt, G. Di Crescenzo, and M. Burmester. 
+   [DDB94]   Y. Desmedt, G. Di Crescenzo, and M. Burmester.
             ``Multiplicative nonabelian sharing schemes and their
-            application to threshold cryptography''. In J. Pieprzyk 
+            application to threshold cryptography''. In J. Pieprzyk
             and R. SafaviNaini, editors, Advances in Cryptology -
-            Asiacrypt '94, volume 917 of Lecture Notes in Computer 
-            Science, pages 21--32, Wollongong, Australia, 
-            November/December 1994. Springer-Verlag. 
+            Asiacrypt '94, volume 917 of Lecture Notes in Computer
+            Science, pages 21--32, Wollongong, Australia,
+            November/December 1994. Springer-Verlag.
 
-   [Des87]   Y. Desmedt. ``Society and group oriented cryptography: 
+   [Des87]   Y. Desmedt. ``Society and group oriented cryptography:
             a new concept''. In C. Pomerance, editor, Advances in
-            Cryptology, Proc. of Crypto '87, volume 293 of Lecture 
-            Notes in Computer Science, pages 120--127, Santa Barbara, 
+            Cryptology, Proc. of Crypto '87, volume 293 of Lecture
+            Notes in Computer Science, pages 120--127, Santa Barbara,
             California, U.S.A., August 16--20, 1988. Springer-Verlag.
 
 
@@ -416,55 +416,55 @@ INTERNET-DRAFT                                              June 2000
    [Des94]   Y. Desmedt. ``Threshold cryptography''. European Trans.
              on Telecommunications, 5(4):449--457, July-August 1994.
 
-   [Des97]   Y. Desmedt. ``Some recent research aspects of threshold 
-            cryptography''. In E. Okamoto, G. Davida, and M. Mambo, 
-            editors, Information Security, volume 1396 of Lecture 
-            Notes in Computer Science, pages 158--173, Tatsunokuchi, 
-            Ishikawa, Japan, September 1997. Springer-Verlag. 
+   [Des97]   Y. Desmedt. ``Some recent research aspects of threshold
+            cryptography''. In E. Okamoto, G. Davida, and M. Mambo,
+            editors, Information Security, volume 1396 of Lecture
+            Notes in Computer Science, pages 158--173, Tatsunokuchi,
+            Ishikawa, Japan, September 1997. Springer-Verlag.
 
-   [DSA2]    National Institute for Standards and Technology. 
-             ``Digital signature standard (DSS)'', February 2000. 
+   [DSA2]    National Institute for Standards and Technology.
+             ``Digital signature standard (DSS)'', February 2000.
 
-   [GJKR96b] R. Gennaro, S. Jarecki, H. Krawczyk, and T. Rabin. 
+   [GJKR96b] R. Gennaro, S. Jarecki, H. Krawczyk, and T. Rabin.
              ``Robust threshold DSS signatures''. In U. Maurer,
-             editor, Advances in Cryptology - Eurocrypt '96, 
-             volume 1070 of Lecture Notes in Computer Science, 
-             pages 354-371, Zaragoza, Spain, May 12--16 1996. 
-             Springer-Verlag. 
+             editor, Advances in Cryptology - Eurocrypt '96,
+             volume 1070 of Lecture Notes in Computer Science,
+             pages 354-371, Zaragoza, Spain, May 12--16 1996.
+             Springer-Verlag.
 
-   [GMP]     T. Granlund. ``GNU MP''. Source code available from 
-            http://www.gnu.org/manual/gmp/index.html. 
+   [GMP]     T. Granlund. ``GNU MP''. Source code available from
+            http://www.gnu.org/manual/gmp/index.html.
 
-   [Liu99]   C. Liu. ``Securing an Internet name server''. 
-             Presentation, 1999. Available at 
+   [Liu99]   C. Liu. ``Securing an Internet name server''.
+             Presentation, 1999. Available at
             http://www.acmebw.com/papers/securing.pdf.
 
-   [RFC1034]  P. Mockapetris, ``Domain Names - Concepts and 
+   [RFC1034]  P. Mockapetris, ``Domain Names - Concepts and
              Facilities,'' RFC 1034, ISI, November 1987.
 
    [RFC1035]  P. Mockapetris, ``Domain Names - Implementation and
           Specification,'' RFC 1035, ISI, November 1987.
 
    [RFC2136]  P. Vixie (Ed.), S. Thomson, Y. Rekhter, J. Bound ``Dynamic
-             Updates in the Domain Name System,'' RFC 2136, ISC & 
+             Updates in the Domain Name System,'' RFC 2136, ISC &
              Bellcore & Cisco & DEC, April 1997.
 
-   [RFC2137]  D. Eastlake ``Secure Domain Name System Dynamic Update,'' 
+   [RFC2137]  D. Eastlake ``Secure Domain Name System Dynamic Update,''
              RFC 2137, CyberCash, April 1997.
 
    [RFC2196] B. Fraser. ``Site Security Handbook,'' RFC2196, September
             1997.
 
-   [RFC2535]  D. Eastlake, ``Domain Name System Security Extensions,'' 
+   [RFC2535]  D. Eastlake, ``Domain Name System Security Extensions,''
              RFC 2535, IBM, March 1999.
 
-   [SBM99]   R. Sandhu, V. Bhamidipati, and Q. Munawer. ``The ARBAC97 
-            model for role-based administration of roles''. ACM 
+   [SBM99]   R. Sandhu, V. Bhamidipati, and Q. Munawer. ``The ARBAC97
+            model for role-based administration of roles''. ACM
             Transactions on Information System Security, 2(1):105-
             135, February 1999.
 
-   [Sha79]   A. Shamir. ``How to share a secret''. Commun. ACM, 
-             22:612-613, November 1979. 
+   [Sha79]   A. Shamir. ``How to share a secret''. Commun. ACM,
+             22:612-613, November 1979.
 
 
 Wang, Huang & Rine                                        [Page 8]
@@ -473,7 +473,7 @@ INTERNET-DRAFT                                        June 2000
 
 
 8 - Author's Address
-   
+
    A postscript of this document is available from
        http://www.cs.gmu.edu/~xwang4/dnssecureonline.ps
 
@@ -489,7 +489,7 @@ INTERNET-DRAFT                                        June 2000
        Fax:   +1-703-993-1710
        EMail: xwang4@cs.gmu.edu
 
-   Yih Huang 
+   Yih Huang
        Department of Computer Science
        George Mason University
        Fairfax, VA 22030-4444
@@ -499,7 +499,7 @@ INTERNET-DRAFT                                        June 2000
        Fax:   +1-703-993-1710
        EMail: hyangyih@cs.gmu.edu
 
-   David Rine 
+   David Rine
        Department of Computer Science
        George Mason University
        Fairfax, VA 22030-4444
@@ -516,12 +516,12 @@ INTERNET-DRAFT                                              June 2000
 
    This document and translations of it may be copied and furnished to
    others, and derivative works that comment on or otherwise explain
-   it or assist in its implementation may be prepared, copied, 
+   it or assist in its implementation may be prepared, copied,
    published and distributed, in whole or in part, without restriction
    of any kind, provided that the above copyright notice and this
-   paragraph are included on all such copies and derivative works. 
-   However, this document itself may not be modified in any way, 
-   such as by removing the copyright notice or references to the 
+   paragraph are included on all such copies and derivative works.
+   However, this document itself may not be modified in any way,
+   such as by removing the copyright notice or references to the
 
 
 Wang, Huang & Rine                                        [Page 9]
index b95dfb6244e8d93801fbfdc931c415fe2543ab2f..93a8de5b7ffa63577cd39c707481665ac224a358 100644 (file)
@@ -26,7 +26,7 @@ Status of this Memo
     The list of Internet-Draft Shadow Directories can be accessed at
     http://www.ietf.org/shadow.html.
 
-   
+
 
 1.  Introduction and Terminology
 
index 8d8cef1cfc53b5c21507577ab122b6245baf681d..fb2e231c01f12f22142140bd585705d6010ee50e 100644 (file)
@@ -30,7 +30,7 @@ Status of This Document
    other documents at any time.  It is not appropriate to use Internet-
    Drafts as reference material or to cite them other than as a
    ``working draft'' or ``work in progress.''
-   
+
    The list of current Internet-Drafts can be accessed at
    http://www.ietf.org/ietf/1id-abstracts.txt
 
index 487d37ed52883dbd4a5293de8befc8f72b43ad49..c9f2477575f7d0af603150c4d94fb9686499f850 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: host.1,v 1.2 2000/07/27 09:42:26 tale Exp $
-.\" 
+.\"
+.\" $Id: host.1,v 1.3 2000/08/01 01:18:42 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt HOST 1
 .Os BIND9 9
@@ -42,7 +42,7 @@ prints a short summary of its command line arguments and options.
 .Pp
 .Ar name
 is the domain name that is to be looked up.
-It can also be a dotted-decimal string representing an IPv4 address, 
+It can also be a dotted-decimal string representing an IPv4 address,
 in which case
 .Nm host
 will by default perform a reverse lookup for that address.
@@ -57,7 +57,7 @@ The
 .Fl a
 (all) option is equivalent to setting the
 .Fl v
-option and asking 
+option and asking
 .Nm host
 to make a query of type ANY.
 .Pp
@@ -96,7 +96,7 @@ enabled verbose output.
 List mode is selected by the
 .Fl l
 option.
-This makes 
+This makes
 .Nm host
 perform a zone transfer for zone
 .Ar name .
@@ -115,7 +115,7 @@ the BIND9 implementation does not append domain names from the
 .Dv domain
 or
 .Dv search
-directives in 
+directives in
 .Pa /etc/resolv.conf .
 Therefore
 .Ar name
@@ -166,7 +166,7 @@ The
 option is used to select the query type.
 .Ar type
 can be any recognised query type: CNAME, NS, SOA, SIG, KEY, AXFR, etc.
-When no query type is specified, 
+When no query type is specified,
 .Nm host
 automatically selects an appropriate query type.
 By default it looks for A records unless the
@@ -187,7 +187,7 @@ The
 .Fl W
 option makes
 .Nm host
-wait for 
+wait for
 .Ar wait
 seconds.
 If
index 0da2cb857de7758d66cf5050aecba9e6f6ab5982..c1f69472d5cdbf4ae6d0239980e2f24446c44997 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwresd.8,v 1.5 2000/07/27 09:42:28 tale Exp $
-.\" 
+.\"
+.\" $Id: lwresd.8,v 1.6 2000/08/01 01:18:43 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRESD 8
 .Os BIND9 9
 is the daemon providing name lookup services to clients that use
 the BIND 9 lightweight resolver library.
 It is essentially a stripped-down, caching-only name server that
-answers queries using the BIND 9 lightweight resolver protocol 
+answers queries using the BIND 9 lightweight resolver protocol
 rather than the DNS protocol.
 .Pp
 .Nm lwresd
-listens for resolver queries on a UDP port on the IPv4 loopback 
+listens for resolver queries on a UDP port on the IPv4 loopback
 interface, 127.0.0.1.
 This means that
 .Nm lwresd
@@ -71,8 +71,8 @@ server.  If no
 .Sy nameserver
 entries are  present, or if forwarding fails,
 .Nm lwresd
-resolves the queries autonomously starting at the 
-root name servers, using a compiled-in list of root 
+resolves the queries autonomously starting at the
+root name servers, using a compiled-in list of root
 servers hints.
 .Pp
 The options to
@@ -104,7 +104,7 @@ write the daemon's process id to
 .Ar pid-file
 instead of the default pathname.
 .It Fl n
-create 
+create
 .Ar #cpus
 worker threads to take advantage of multiple CPUs.
 If no option is given,
index 0e42a5f600d3ce44bd4502a5c5df6d61ee4d34b1..de9b38744952cca06c05f48aa8f7a5efaaf6cf2e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: named.8,v 1.4 2000/07/27 09:42:29 tale Exp $
-.\" 
+.\"
+.\" $Id: named.8,v 1.5 2000/08/01 01:18:44 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt NAMED 8
 .Os BIND9 9
@@ -55,12 +55,12 @@ However when operating as a lightweight resolver server,
 .Nm named
 is functionally and logically distinct from a
 conventional name server.
-More information can be found in 
+More information can be found in
 .Xr lwresd 8 .
 .Pp
 Although some command-line options can be used with
 .Nm named ,
-the name server's behaviour is mainly controlled by its configuration file, 
+the name server's behaviour is mainly controlled by its configuration file,
 .Pa /etc/named.conf .
 Refer to the BIND9 Administrator Reference Manual for further details.
 .Pp
@@ -89,7 +89,7 @@ run
 in the foreground and force all logging to
 .Dv stderr .
 .It Fl n
-create 
+create
 .Ar #cpus
 worker threads to take advantage of multiple CPUs.
 If no option is given,
@@ -122,7 +122,7 @@ as UID
 .Ar user-id .
 .Nm named
 will change its UID after it has
-carried out any privileged operations, such as 
+carried out any privileged operations, such as
 creating sockets that listen on privileged ports.
 .It Fl x
 load data from
index fc953806b88d6d12563b033afa17bf250221b76e..5c37905de00a2cf36ab766626d86c4a59e6431cb 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: nsupdate.8,v 1.3 2000/07/27 09:42:30 tale Exp $
-.\" 
+.\"
+.\" $Id: nsupdate.8,v 1.4 2000/08/01 01:18:45 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt NSUPDATE 8
 .Os BIND9 9
@@ -67,7 +67,7 @@ These use the TSIG resource record type described in RFC2845.
 The signatures rely on a shared secret that should only be known to
 .Nm nsupdate
 and the name server.
-Currently, the only supported encryption algorithm for TSIG is 
+Currently, the only supported encryption algorithm for TSIG is
 HMAC-MD5, which is defined in RFC 2104.
 Once other algorithms are defined for TSIG, applications will need to
 ensure they select the appropriate algorithm as well as the key when
@@ -141,7 +141,7 @@ Updates will be rejected if the tests for the prerequisite conditions fail.
 Every update request consists of zero or more prerequisites
 and one or more updates.
 This allows a suitably authenticated update request to proceed if some
-specified resource records are present or missing from the zone. 
+specified resource records are present or missing from the zone.
 A blank input line causes the accumulated commands to be sent as one Dynamic
 DNS update request to the name server.
 .Pp
@@ -259,7 +259,7 @@ could be used to insert and delete resource records from the
 zone.
 Notice that the input in each example contains a trailing blank line so that
 a group of commands are sent as one dynamic update request to the
-master name server for 
+master name server for
 .Dv example.com .
 .Bd -literal -offset indent
 # nsupdate
@@ -272,10 +272,10 @@ Any A records for
 .Dv oldhost.example.com
 are deleted.
 and an A record for
-.Dv newhost.example.com 
+.Dv newhost.example.com
 it IP address 172.16.1.1 is added.
 The newly-added record has a 1 day TTL (86400 seconds)
-.Bd -literal -offset indent 
+.Bd -literal -offset indent
 # nsupdate
 > prereq nxdomain nickname.example.com
 > update add nickname.example.com CNAME somehost.example.com
@@ -312,7 +312,7 @@ name server configuration file
 .It Pa K{name}.+157.+{random}.key
 base-64 encoding of HMAC-MD5 key created by
 .Xr dnssec-keygen 8 .
-.It Pa K{name}.+157.+{random}.private 
+.It Pa K{name}.+157.+{random}.private
 base-64 encoding of HMAC-MD5 key created by
 .Xr dnssec-keygen 8 .
 .El
@@ -325,7 +325,7 @@ base-64 encoding of HMAC-MD5 key created by
 .Xr RFC2535 ,
 .Xr named 8 ,
 .Xr dnssec-keygen 8 .
-.Sh BUGS 
+.Sh BUGS
 The
 .Fl D
 and
@@ -333,4 +333,4 @@ and
 options are not documented apart from this self-referential paragraph.
 They provide additional debugging information which is primarily of interest
 to the BIND9 developers.
-These options might be changed or removed in future releases. 
+These options might be changed or removed in future releases.
index 80b0c771b572934556d40b54ebd2b64f95600b77..a8c53815051f5bf34d2d65e0d052da74e3a7dac7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: rndc.8,v 1.7 2000/07/27 23:49:40 tale Exp $
-.\" 
+.\"
+.\" $Id: rndc.8,v 1.8 2000/08/01 01:18:46 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt RDNC 8
 .Os BIND9 9
@@ -31,7 +31,7 @@
 .Op Fl s Ar server
 .Op Fl v
 .Op Fl y Ar key_id
-.Ar command .... 
+.Ar command ....
 .Sh DESCRIPTION
 This command allows the system administrator to control the operation
 of a name server.
@@ -45,16 +45,16 @@ prints a short summary of the supported commands and the available
 options and their arguments.
 .Pp
 .Nm rndc
-communicates with the name server over a TCP connection, 
-sending commands authenticated with digital signatures. 
+communicates with the name server over a TCP connection,
+sending commands authenticated with digital signatures.
 In the current versions of
 .Nm rndc
-and 
+and
 .Xr named 8
 the only supported encryption algorithm is HMAC-MD5, which uses a
 shared secret on each end of the connection.
 This provides TSIG-style authentication for the command request
-and the name server's response. 
+and the name server's response.
 All commands sent over the channel
 must be signed by a key_id known to the server.
 .Pp
@@ -86,7 +86,7 @@ option can be used to make
 .Nm rndc
 send commands to TCP port number
 .Ar port#
-on the system running the name server instead of BIND 9's 
+on the system running the name server instead of BIND 9's
 default control channel port of 953.
 .Pp
 The
@@ -103,7 +103,7 @@ If no
 .Fl y
 option is provided,
 .Nm rndc
-will first look for a 
+will first look for a
 .Dv key
 clause in the
 .Dv server{}
@@ -148,7 +148,7 @@ offers at least as many management capabilities as the old
 .Xr ndc
 utility.
 .Pp
-There is currently no way to provide the shared secret for a key_id 
+There is currently no way to provide the shared secret for a key_id
 without using the configuration file.
 .Pp
 Several error messages could be clearer.
index 93066a59d02cf34adfa2283aa050179d93bd1609..dcf25eae1a03abe6c2ea934a5a15dd538f341e60 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: rndc.conf.5,v 1.5 2000/07/27 09:42:31 tale Exp $
-.\" 
+.\"
+.\" $Id: rndc.conf.5,v 1.6 2000/08/01 01:18:48 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt RDNC.CONF 5
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd rdnc configuration file
 .Sh SYNOPSIS
 .Nm rdnc.conf
-.Sh DESCRIPTION 
+.Sh DESCRIPTION
 The BIND9 utility for controlling the name server,
 .Nm rndc ,
 has its own configuration file
@@ -65,13 +65,13 @@ be used when no name server is given as an argument to
 The
 .Dv default-key
 clause
-is followed by the name of a key which is identified by a 
+is followed by the name of a key which is identified by a
 .Dv key{}
 statement.
-If no 
+If no
 .Fl y
 option is provided on the
-.Xr rndc 
+.Xr rndc
 command line, and no
 .Dv key
 clause is found in a a matching
@@ -81,7 +81,7 @@ commands and responses.
 .Pp
 After the keyword
 .Dv server ,
-the 
+the
 .Dv server{}
 statement is followed by a string which is the hostname or address for a
 name server.
@@ -99,7 +99,7 @@ The statement has two clauses.
 identifies the encryption algorithm for
 .Nm rndc
 to use; currently only HMAC-MD5 is supported.
-This is followed by a 
+This is followed by a
 .Dv secret
 clause which contains the base-64 encoding of the
 algorithm's encryption key.
@@ -161,9 +161,9 @@ To generate a random secret with
 $ dnssec-keygen -a hmac-md5 -b 128 -n user rndc
 .Ed
 .Pp
-The base-64 string will appear in two files, 
+The base-64 string will appear in two files,
 .Pa Krndc.+157.+{random}.key
-and 
+and
 .Pa Krndc.+157.+{random}.private .
 After extracting the key to be
 placed in the
index e4fa8fae45cd95643363e86355b5ecedee899450..44b24dae338f8ce7ef9f4111f1c5301e91945331 100755 (executable)
@@ -1,11 +1,11 @@
 #!/usr/bin/gawk -f
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-#      $Id: ctoman,v 1.4 2000/07/27 09:42:25 tale Exp $
+#      $Id: ctoman,v 1.5 2000/08/01 01:18:40 tale Exp $
 #
 #      ctoman - an awk program that makes a passable job of
 #               converting ISC BIND9 C files into template
@@ -67,7 +67,7 @@ END {
        print ".Nd XXX"
        print ".Sh SYNOPSIS"
        for (i = 1; i < inc; i++)
-               print ".Fd", inclist[i] 
+               print ".Fd", inclist[i]
        for (i = 1; i < fnc; i++ ) {
                print ".Ft", functypes[i]
                print ".Fo", funclist[i]
index b151d80b8475e8b8040a42903d274566eb253449..d8d8cd52e3e700139a92e00b12a38478b63fcbd5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-keygen.8,v 1.6 2000/07/27 09:42:32 tale Exp $
-.\" 
+.\"
+.\" $Id: dnssec-keygen.8,v 1.7 2000/08/01 01:18:49 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-KEYGEN 8
 .Os BIND9 9
@@ -96,7 +96,7 @@ option specifies how the generated key will be used.
 .Ar nametype
 can be either
 .Dv ZONE ,
-.Dv HOST , 
+.Dv HOST ,
 .Dv ENTITY ,
 or
 .Dv USER
@@ -124,7 +124,7 @@ that is to be used.
 The only supported values value of
 .Ar generator
 are 2 and 5.
-If no Diffie-Hellman generator is supplied, a known prime 
+If no Diffie-Hellman generator is supplied, a known prime
 from RFC2539 will be used if possible; otherwise 2 will be used as the
 generator.
 .Pp
@@ -133,7 +133,7 @@ The
 option sets the protocol value for the generated key to
 .Ar protocol-value .
 The default is 2 (email) for keys of type
-.Dv USER 
+.Dv USER
 and 3 (DNSSEC) for all other key types.
 Other possible values for this argument are listed in RFC2535 and its
 successors.
@@ -149,7 +149,7 @@ will prompt for keyboard input and use the time intervals between
 keystrokes to provide randomness.
 The
 .Fl r
-option overrides this behaviour, making 
+option overrides this behaviour, making
 .Nm dnssec-keygen
 use
 .Ar randomdev
@@ -173,16 +173,16 @@ confidentiality.
 can be one of
 .Dv AUTHCONF ,
 .Dv NOAUTHCONF ,
-.Dv NOAUTH 
+.Dv NOAUTH
 or
 .Dv NOCONF .
 The default is
 .Dv AUTHCONF .
 If type is
-.Dv AUTHCONF 
+.Dv AUTHCONF
 the key can be used for authentication and confidentialty.
 Setting
-.Ar type 
+.Ar type
 to
 .Dv NOAUTHCONF
 indicates that the key cannot be used for authentication or confidentialty.
@@ -195,14 +195,14 @@ Similarly,
 defines that the key cannot be used for confidentiality though it can
 be used for authentication.
 .Pp
-The 
+The
 .Fl v
 option can be used to make
 .Nm dnssec-keygen
 more verbose.
 As the debugging/tracing level
 .Ar level
-increases, 
+increases,
 .Nm dnssec-keygen
 generates increasingly detailed reports about what it is doing.
 The default level is zero.
@@ -245,7 +245,7 @@ key(s) for generating or validating signatures.
 The
 .Ar .key
 file contains a KEY resource record that can be inserted into a zone file
-with a 
+with a
 .Dv $INCLUDE
 statement.
 The private part of the key is in the
@@ -259,7 +259,7 @@ The private part of the key is used by
 .Xr dnssec-signzone 8
 to generate signatures and the public part is used to verify the
 signatures.
-Both 
+Both
 .Ar .key
 and
 .Ar .private
@@ -278,13 +278,13 @@ has printed the key identification string
 .Dv Kexample.com.+003+26160 ,
 indicating a DSA key with identifier 26160.
 It will also have created the files
-.Pa Kexample.com.+003+26160.key 
+.Pa Kexample.com.+003+26160.key
 and
 .Pa Kexample.com.+003+26160.private
 containing respectively the public and private keys for the generated
 DSA key.
 .Sh FILES
-.Pa /dev/random 
+.Pa /dev/random
 .Sh SEE ALSO
 .Xr RFC2535,
 .Xr RFC2845,
@@ -296,7 +296,7 @@ DSA key.
 The naming convention for the public and private key files is a little
 clumsy.
 It won't work for domain names that are longer than 236 characters
-because of the 
+because of the
 .Ar .+aaa+iiiii.private
 suffix results in filenames that are too long for most
 .Ux
index c24de1706f6440cf621bdcd028230d48d938ed7e..081e036cee7f5f2ebf049eec140c8178d4bec77c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-makekeyset.8,v 1.7 2000/07/31 19:39:38 bwelling Exp $
-.\" 
+.\"
+.\" $Id: dnssec-makekeyset.8,v 1.8 2000/08/01 01:18:50 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-MAKEKEYSET 8
 .Os BIND9 9
@@ -70,7 +70,7 @@ A relative start time is supplied when
 .Ar start-time
 is given as +N: N seconds from the current time.
 If no
-.Fl s 
+.Fl s
 option is supplied, the current date and time is used for the start
 time of the SIG records.
 .Pp
@@ -145,7 +145,7 @@ As the debugging/tracing level
 increases,
 .Nm dnssec-makekeyset
 generates increasingly detailed reports about what it is doing.
-The default level is zero. 
+The default level is zero.
 .Pp
 The
 .Fl h
@@ -177,7 +177,7 @@ The backslash is for typographic reasons and would not be provided on
 the command line when running
 .Nm dnssec-makekeyset .
 .nf
-.Dl # dnssec-makekeyset -t 86400 -s 20000701120000 \e\p 
+.Dl # dnssec-makekeyset -t 86400 -s 20000701120000 \e\p
 .Dl -e +2592000 Kexample.com.+003+26160
 .fi
 .Pp
@@ -198,7 +198,7 @@ to the DNS administrator for
 .Dv .com
 so that they could sign the resource records in the file.
 This assumes that the
-.Dv .com 
+.Dv .com
 zone is DNSSEC-aware and the administrators of the two zones have some
 mechanism for authenticating each other and exchanging the keys and
 signatures securely.
index 676b121eea863dcb8e778131f8ec179e95956b07..2723aeae7bd7d2aa2656dbcea28df27f941af72f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-signkey.8,v 1.8 2000/07/31 19:39:39 bwelling Exp $
-.\" 
+.\"
+.\" $Id: dnssec-signkey.8,v 1.9 2000/08/01 01:18:51 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-SIGNKEY 8
 .Os BIND9 9
@@ -33,7 +33,7 @@
 .Sh DESCRIPTION
 .Nm dnssec-signkey
 is used to sign a key set for a child zone.
-Typically this would be provided by a 
+Typically this would be provided by a
 .Ar keyset
 file generated by
 .Xr dnssec-makekeyset 8 .
@@ -50,7 +50,7 @@ Each
 argument will be a key identification string as reported by
 .Xr dnssec-keygen 8
 for the parent zone.
-This allows the child's keys to be signed by more than one 
+This allows the child's keys to be signed by more than one
 parent zone key.
 .Pp
 The
index e274494af46b13d11d6cacaa2d0861a8c0ceec8f..6898596462c92f3d52d44966b65a59a46a4765d5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: dnssec-signzone.8,v 1.10 2000/07/31 19:39:42 bwelling Exp $
-.\" 
+.\"
+.\" $Id: dnssec-signzone.8,v 1.11 2000/08/01 01:18:52 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt DNSSEC-SIGNZONE 8
 .Os BIND9 9
@@ -77,7 +77,7 @@ If there is a
 .Ar signedkey
 file from the zone's parent, the parent's signatures will be
 incorporated into the generated signed zone file.
-The security status of delegations from the the signed zone 
+The security status of delegations from the the signed zone
 - i.e. whether the child zones are DNSSEC-aware or not - is
 set according to the presence or absence of a
 .Ar signedkey
@@ -112,7 +112,7 @@ A relative start time is supplied when
 .Ar start-time
 is given as +N: N seconds from the current time.
 If no
-.Fl s 
+.Fl s
 option is supplied, the current date and time is used for the start
 time of the SIG records.
 .Pp
@@ -152,9 +152,9 @@ Otherwise, it is considered to be expiring soon, and
 will remove it and generate a new SIG record to replace it.
 .Pp
 The default cycle period is one quarter of the difference between the
-specified signature end and start dates.  So if the 
+specified signature end and start dates.  So if the
 .Fl e
-and 
+and
 .Fl s
 options are not specified,
 .Nm dnssec-signzone
@@ -223,12 +223,12 @@ which is the same as the origin, so there is no need to use the
 .Fl o
 option to set the origin.
 The zone's keys were either appended to the zone file or
-incorporated using a 
-.Dv $INCLUDE 
+incorporated using a
+.Dv $INCLUDE
 statement.
 If there was a
 .Ar signedkey
-file from the parent zone - i.e. 
+file from the parent zone - i.e.
 .Dv signedkey-example.com.
 - it should be present in the current directory.
 This allows the parent zone's signature to be included in the signed
index af9cc5af6d6a8f1ac2bde42301b8d47c40691134..d6c8a943ee163e681a6c94af0495067cc9c127b9 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc__errno2result.3,v 1.2 2000/07/27 09:42:37 tale Exp $
-.\" 
+.\"
+.\" $Id: isc__errno2result.3,v 1.3 2000/08/01 01:18:54 tale Exp $
+.\"
 .so isc_error.3
index b2e056212b84c6760fb353982ed312966e420074..9f7d114d97edec60f464601f6ab4780aa8a3076b 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app.3,v 1.3 2000/07/27 09:42:38 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app.3,v 1.4 2000/08/01 01:18:55 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_APP 3
 .Os BIND9 9
 .Nm isc_app_run ,
 .Nm isc_app_shutdown ,
 .Nm isc_app_reload ,
-.Nm isc_app_finish 
+.Nm isc_app_finish
 .Nd application management functions
 .Sh SYNOPSIS
 .Fd #include <config.h>
+
 .Fd #include <pthread.h>
+
 .Fd #include <sys/types.h>
+
 .Fd #include <stddef.h>
 .Fd #include <errno.h>
 .Fd #include <unistd.h>
 .fd #include <signal.h>
+
 .Fd #include <isc/app.h>
 .Fd #include <isc/boolean.h>
 .Fd #include <isc/mutex.h>
@@ -46,7 +46,7 @@
 .Fd #include <isc/string.h>
 .Fd #include <isc/task.h>
 .Fd #include <isc/util.h>
+
 .Ft isc_result_t
 .Fo isc_app_start
 .Fa void
@@ -82,10 +82,10 @@ Applications which use the BIND9 library should begin by calling
 .Fn isc_app_start .
 It sets up a signal handler to ignore
 .Dv SIGPIPE .
-.Fn isc_app_start 
+.Fn isc_app_start
 blocks signals
 .Dv SIGHUP ,
-.Dv SIGINT 
+.Dv SIGINT
 and
 .Dv SIGTERM
 This ensures that all subsequent threads will have these signals blocked by
@@ -96,15 +96,15 @@ arrange its own signal handlers for them.
 then initialises a queue of runnable tasks for the application.
 Calls to
 .Fn isc_app_start
-should be made before any other BIND9 library call, ideally as 
+should be made before any other BIND9 library call, ideally as
 close to the beginning of the application as possible.
-.Pp 
+.Pp
 .Fn isc_app_onrun
 arranges for delivery of an event to an application when it is executing.
 This function should only be invoked after
 .Fn isc_app_start
 has been called.
-It creates an 
+It creates an
 .Ft isc_event_t
 structure from memory context
 .Fa mctx
@@ -113,7 +113,7 @@ for task
 .Fa arg
 is a pointer to some structure that can be referenced by the event
 handler
-.Fa action 
+.Fa action
 which is invoked when the application takes delivery of a shutdown
 event
 .Dv ISC_APPEVENT_SHUTDOWN .
@@ -143,7 +143,7 @@ It can only be invoked after
 has been called.
 .Fn isc_app_shutdown
 sends a
-.Dv SIGTERM 
+.Dv SIGTERM
 signal to the current process.
 Multiple calls to
 .Fn isc_app_shutdown
@@ -152,7 +152,7 @@ Only one shutdown attempt will be carried out.
 .Pp
 The reload signal
 .Dv SIGHUP
-is sent to the process by 
+is sent to the process by
 .Fn isc_app_reload .
 The function returns
 .Er ISC_R_SUCCESS
@@ -176,7 +176,7 @@ was called earlier in the application.
 .Sh RETURN VALUES
 A successful call to
 .Fn handle_signal
-returns 
+returns
 .Er ISC_R_SUCCESS
 and
 .Er ISC_R_UNEXPECTED
@@ -194,7 +194,7 @@ or not.
 returns
 .Er ISC_R_SUCCESS
 unless it was not possible to create the event structure
-.Ft isc_event_t 
+.Ft isc_event_t
 in which case it returns
 .Er ISC_R_NOMEMORY .
 .Pp
@@ -210,7 +210,7 @@ is returned by
 when attempts to set or reset signal handlers fail.
 .Pp
 .Er ISC_R_UNEXPECTED
-is returned by 
+is returned by
 .Fn isc_app_shutdown
 if the signal was not sent successfully.
 Otherwise
index c6d6bf53791ceac4e127bbd79cbc51f1c1895be5..8dfb6fec3cfe372836d1b1eb9ddeb09f926740d9 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app_finish.3,v 1.2 2000/07/27 09:42:39 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app_finish.3,v 1.3 2000/08/01 01:18:56 tale Exp $
+.\"
 .so isc_app.3
index a9103a995bf7d6b4d4d6404e17e008bdca2b8306..2ec0900dbb9a52e71bbd33635e6b7b42124a3aed 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app_onrun.3,v 1.2 2000/07/27 09:42:40 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app_onrun.3,v 1.3 2000/08/01 01:18:57 tale Exp $
+.\"
 .so isc_app.3
index 2f86cec99b21ccf60e17c459f2b7c8d49ce70435..bf164addda2bdd43201b116c48b695ba27d03731 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app_reload.3,v 1.2 2000/07/27 09:42:41 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app_reload.3,v 1.3 2000/08/01 01:18:58 tale Exp $
+.\"
 .so isc_app.3
index c4efee26d44a825663b699f4a98a2fd3298c94f9..649c5ad26d9ff828b0da9679f0cc023cd5de8012 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app_run.3,v 1.2 2000/07/27 09:42:42 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app_run.3,v 1.3 2000/08/01 01:18:59 tale Exp $
+.\"
 .so isc_app.3
index d8b9cd99aeeba2afc7c887098463e0235d00fe92..8cdf642492546079ccf11a743a49a0f114841729 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app_shutdown.3,v 1.2 2000/07/27 09:42:43 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app_shutdown.3,v 1.3 2000/08/01 01:19:01 tale Exp $
+.\"
 .so isc_app.3
index 33b5b2534ab02fa46080cbae2f98846f3d72c005..a2bdfddbfc5fb20b0beda67a5ad52f814618ea70 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_app_start.3,v 1.2 2000/07/27 09:42:44 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_app_start.3,v 1.3 2000/08/01 01:19:02 tale Exp $
+.\"
 .so isc_app.3
index efc2066c1eb87b5fa77f977d863f6c2fc4d765de..5f1befc0fce764692c83bb9378a930d185166ca7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir.3,v 1.2 2000/07/27 09:42:45 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir.3,v 1.3 2000/08/01 01:19:03 tale Exp $
+.\"
 .Dd Jun 30, 2000
-.Dt ISC_DIR 3 
+.Dt ISC_DIR 3
 .Os BIND9 9
 .ds vT BIND9 Programmer's Manual
 .Sh NAME
 .Nm isc_dir_init ,
 .Nm isc_dir_open ,
 .Nm isc_dir_read ,
-.Nm isc_dir_close , 
+.Nm isc_dir_close ,
 .Nm isc_dir_reset ,
-.Nm isc_dir_chdir 
+.Nm isc_dir_chdir
 .Nd file system directory operations
 .Sh SYNOPSIS
 .Fd #include <config.h>
 .Fd #include <errno.h>
 .Fd #include <unistd.h>
+
 .Fd #include <isc/dir.h>
 .Fd #include <isc/magic.h>
 .Fd #include <isc/string.h>
 .Fd #include <isc/util.h>
+
 .Fd #include \*qerrno2result.h\*q
 .Ft void
 .Fo isc_dir_init
@@ -65,11 +65,11 @@ directories by the name server.
 They are intended to isolate BIND9 from the semantics of the underlying
 directory access routines provided by the operating system,
 BIND9 uses an internal structure of type
-.Fa isc_dir_t 
+.Fa isc_dir_t
 to reference a directory.
 The contents of this structure are OS-specific.
 .Fn isc_dir_init
-initialises the directory structure pointed at 
+initialises the directory structure pointed at
 .Fa dir .
 All functions taking a
 .Fa dir
@@ -79,11 +79,11 @@ this parameter points at a valid
 structure.
 .Pp
 .Fn isc_dir_open
-opens the directory named by 
+opens the directory named by
 .Fa dirname .
 .Pp
 .Fn isc_dir_read
-retrieves the next entry from the file descriptor associated with directory 
+retrieves the next entry from the file descriptor associated with directory
 .Fa dir .
 The name of that entry and the length of its name are copied to
 .Fa dir .
@@ -101,21 +101,21 @@ closes the file descriptor associated with
 .Fa dir .
 .Pp
 .Fn isc_dir_reset
-repositions 
+repositions
 .Fa dir
 to the start of the directory.
 .Pp
 The name server's current directory is changed to
 .Fa dirname
 by
-.Fn isc_dir_chdir . 
+.Fn isc_dir_chdir .
 .Pp
 .Sh RETURN VALUES
 Successful calls to
 .Fn isc_dir_open ,
 .Fn isc_dir_read ,
 .Fn isc_dir_reset ,
-.Fn isc_dir_read 
+.Fn isc_dir_read
 and
 .Fn isc_dir_chdir
 return
@@ -129,18 +129,18 @@ is returned if the name of the next directory entry is too big
 to fit in the
 .Fa isc_dir_t
 structure.
-If 
+If
 .Fn isc_dir_chdir
-fails, 
+fails,
 .Er ISC_R_INVALIDFILE
 is returned if
 .Fa dirname
-is not a directory, or 
+is not a directory, or
 .Er ISC_R_NOPERM
 if access permission is denied or
 .Er ISC_R_IOERROR
 if an I/O error occurs.
-The WinNT version of 
+The WinNT version of
 .Fn isc_dir_chdir
 returns
 .Er ISC_R_NOTIMPLEMENTED
@@ -156,8 +156,8 @@ can be returned in the WinNT versions of
 and
 .Fn isc_dir_reset .
 .Sh SEE ALSO
-.Xr opendir 3 , 
+.Xr opendir 3 ,
 .Xr readdir 3 ,
-.Xr closedir 3 , 
+.Xr closedir 3 ,
 .Xr rewinddir 3 ,
 .Xr chdir 2
index 5e38718a06f6ce47a2460313e4333be0d55755dc..53a9efd3497fece8f0ae9f6e3a61ceec9cfebae6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir_chdir.3,v 1.2 2000/07/27 09:42:47 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir_chdir.3,v 1.3 2000/08/01 01:19:04 tale Exp $
+.\"
 .so isc_dir.3
index fa0a08910dd0f3473dc7de85c9b12747d8c2ed0a..0c0ddaca4d0c90a7de8529bca58ca49f657a551e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir_close.3,v 1.2 2000/07/27 09:42:48 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir_close.3,v 1.3 2000/08/01 01:19:05 tale Exp $
+.\"
 .so isc_dir.3
index 743b59d2697a8517d0b8eb1f55773051bf2e7f03..c082a457de228bc34ed686965375f8e41bbad5e4 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir_init.3,v 1.2 2000/07/27 09:42:49 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir_init.3,v 1.3 2000/08/01 01:19:06 tale Exp $
+.\"
 .so isc_dir.3
index 730cfa1e9d9a3c4806d59d8274bb9b84be742aa3..c6e941751f59eff18e73fca87ffbfa1144e10d29 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir_open.3,v 1.2 2000/07/27 09:42:50 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir_open.3,v 1.3 2000/08/01 01:19:07 tale Exp $
+.\"
 .so isc_dir.3
index e7a95d04825c2ec4c2569317d00cbafc052dd688..6351dabde4ee0b19e315af4cbfb3c332103c7acc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir_read.3,v 1.2 2000/07/27 09:42:51 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir_read.3,v 1.3 2000/08/01 01:19:09 tale Exp $
+.\"
 .so isc_dir.3
index 8a699a8a71a6e2a46e72c8eafec201d949825d8c..c937e1f6f1435231eb8fe820f9dee94058f8c47e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_dir_reset.3,v 1.2 2000/07/27 09:42:52 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_dir_reset.3,v 1.3 2000/08/01 01:19:10 tale Exp $
+.\"
 .so isc_dir.3
index e524847a3ba2f5acd34ac7aa152bbc79ef147033..1d64ad60dd3adc9c4a5ea357070b3ca802e580ae 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_error.3,v 1.2 2000/07/27 09:42:53 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_error.3,v 1.3 2000/08/01 01:19:11 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt error 3
 .Os BIND9 9
 .Nd map POSIX error codes to BIND9 error codes
 .Sh SYNOPSIS
 .Fd #include <config.h>
+
 .Fd #include <errno.h>
+
 .Fd #include <isc/result.h>
+
 .Fd #include "errno2result.h"
 .Ft isc_result_t
 .Fo isc__errno2result
@@ -45,8 +45,8 @@ The function is documented here to indicate how POSIX error codes
 are mapped to their ISC equivalents.
 .Pp
 .Sh RETURN VALUES
-When 
-.Fa posixerrno 
+When
+.Fa posixerrno
 is set to the POSIX error codes
 .Er ENOTDIR ,
 .Er ELOOP ,
@@ -54,12 +54,12 @@ is set to the POSIX error codes
 .Er ENAMETOOLONG ,
 and
 .Er EBADF ,
-.Fn isc__errno2result 
+.Fn isc__errno2result
 returns
 .Er ISC_R_INVALIDFILE .
 .Er ISC_R_FILENOTFOUND
 is returned when
-.Fa posixerrno 
+.Fa posixerrno
 is set to
 .Er ENOENT .
 A retun value of
@@ -72,19 +72,19 @@ is set to
 .Er EIO
 .Fn isc__errno2result
 returns
-.Er ISC_R_IOERROR 
+.Er ISC_R_IOERROR
 and if the error code is
 .Er ENOMEM ,
-.Er ISC_R_NOMEMORY 
+.Er ISC_R_NOMEMORY
 is returned.
 For all other values of
 .Fa posixerrno ,
 .Fn isc__errno2result
-returns 
+returns
 .Er ISC_R_UNEXPECTED .
 .Sh SEE ALSO
 .Xr errno 2 ,
-.Xr perror 3 
+.Xr perror 3
 .Sh BUGS
 Returning
 .Er ISC_R_UNEXPECTED
index 3502abbc1d6c2ab8f76706e3b7cbbee76798627f..6d44723b93fcbe9d58411173bd9d83d5b81f93fb 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_file.3,v 1.3 2000/07/27 09:42:54 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_file.3,v 1.4 2000/08/01 01:19:12 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_FILE 3
 .Os BIND9 9
 .Fd #include <limits.h>
 .Fd #include <stdlib.h>
 .Fd #include <unistd.h>
+
 .Fd #include <sys/stat.h>
 .Fd #include <sys/time.h>
+
 .Fd #include <isc/file.h>
 .Fd #include <isc/string.h>
 .Fd #include <isc/time.h>
 .Fd #include <isc/util.h>
+
 .Fd #include \*qerrno2result.h\*q
 
 .Ft isc_result_t
@@ -81,23 +81,23 @@ is a pointer to an
 structure which contains the file's modification date.
 .Pp
 .Fn isc_file_settime
-sets the access and modification times of the file named 
+sets the access and modification times of the file named
 .Fa file
 to the value of the timestamp supplied in
 .Fa time .
 .Pp
 Pathnames for temporary files are created with
 .Fn isc_file_mktemplate .
-It copies the pathname in 
+It copies the pathname in
 .Fa path
 up to the last \*q/\*q character, if any, in
 .Fa buf .
 The 14-character string \*qtmp-XXXXXXXXXX\*q is then appended to that
 buffer.
 .Fa buflen
-indicates the size of buffer 
+indicates the size of buffer
 .Fa buf .
-Calls to 
+Calls to
 .Fn isc_file_mktemplate
 fail if the buffer is too small to hold for the newly-created pathname.
 .Pp
@@ -106,27 +106,27 @@ creates a unique file name with access permissions 0600 and opens the
 file for reading and writing.
 The name of the unique file is returned in
 .Fa templet
-and a pointer to a pointer to a 
+and a pointer to a pointer to a
 .Dv stdio stream
 associated with the opened file is returned in
 .Fa fp .
 The file name template
 .Fa templet
-should be generated by calling 
+should be generated by calling
 .Fn isc_file_mktemplate .
 This ensures the last 10 characters of the template are the letter \*qX\*q
-so that these can be overwritten by 
+so that these can be overwritten by
 .Fn mkstemp
 to generate a unique file name.
 .Pp
 Files are deleted with
 .Fn isc_file_remove .
-It unlinks the file named 
+It unlinks the file named
 .Fa filename .
 .Sh RETURN VALUES
 Successful calls to these functions all return
 .Er ISC_R_SUCCESS .
-Apart from the exceptions listed below, failed calls return 
+Apart from the exceptions listed below, failed calls return
 a BIND9 error code by mapping the corresponding POSIX error code using\p
 .Fn isc__errno2result .
 .Fn file_stats ,
index a695b8f63edb3a2be0125a3f0c387675d55afd1f..132660df69cde481347a92895c7b6e97246d3817 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_file_getmodtime.3,v 1.2 2000/07/27 09:42:55 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_file_getmodtime.3,v 1.3 2000/08/01 01:19:14 tale Exp $
+.\"
 .so isc_file.3
index 1fd96a1fc8b4d81dd02c0243f6ab62b9c085045b..296b2a51f76a59f70cac595fc4ffb995193be2bf 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_file_mktemplate.3,v 1.2 2000/07/27 09:42:56 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_file_mktemplate.3,v 1.3 2000/08/01 01:19:15 tale Exp $
+.\"
 .so isc_file.3
index 8037bbb46b62fe14384ad78fdd9e4702fbfe5ce6..2333656e6cc98eed4602cede37b762626466436e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_file_openunique.3,v 1.2 2000/07/27 09:42:58 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_file_openunique.3,v 1.3 2000/08/01 01:19:16 tale Exp $
+.\"
 .so isc_file.3
index abe335908057f335dda4441dac0ae1dc7e1e730d..5da1566397d0857792affd2d4eb669800f01d11d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_file_remove.3,v 1.2 2000/07/27 09:42:59 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_file_remove.3,v 1.3 2000/08/01 01:19:17 tale Exp $
+.\"
 .so isc_file.3
index 11c01372bb3b27f778d09a4023396cb03cfb9955..a29f8b75ab1326043bf7f93e53c0361fdbc4e472 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_file_settime.3,v 1.2 2000/07/27 09:43:00 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_file_settime.3,v 1.3 2000/08/01 01:19:18 tale Exp $
+.\"
 .so isc_file.3
index 431c089bccc112009a7e2753de4743d13e57c0b3..fc32f9c486ba05954475dc093e8307a0ea0d0688 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_interfaceiter_create.3,v 1.2 2000/07/27 09:43:01 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_interfaceiter_create.3,v 1.3 2000/08/01 01:19:19 tale Exp $
+.\"
 .so isc_netif.3
index de395cab9cd735114bedec36fd222faffb9cdccf..f75fc247fa6b027c11c0c5dd2f906b949ce58519 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_interfaceiter_current.3,v 1.2 2000/07/27 09:43:02 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_interfaceiter_current.3,v 1.3 2000/08/01 01:19:20 tale Exp $
+.\"
 .so isc_netif.3
index 8370398616fad9fcd877e571f085d40ddfc4e3ef..c415dee2d5df669d732c3cb77f029897637a4416 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_interfaceiter_destroy.3,v 1.2 2000/07/27 09:43:03 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_interfaceiter_destroy.3,v 1.3 2000/08/01 01:19:22 tale Exp $
+.\"
 .so isc_netif.3
index e83a85ca5aef355180064e9946165485eee3535d..c6912c06994947fed120396149df45b5263abd69 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_interfaceiter_first.3,v 1.2 2000/07/27 09:43:04 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_interfaceiter_first.3,v 1.3 2000/08/01 01:19:23 tale Exp $
+.\"
 .so isc_netif.3
index 2dddb9884924c3739d2b88ca458c738d61b11f35..07d29143f1fa1192759d3858b5ced6eed564e0b4 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_interfaceiter_next.3,v 1.2 2000/07/27 09:43:05 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_interfaceiter_next.3,v 1.3 2000/08/01 01:19:24 tale Exp $
+.\"
 .so isc_netif.3
index 819edee76fdfbc59ed615a66266652f7e77d13b0..5cf65c7ba828cb5b1b90659118d47facfaade300 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_interval_iszero.3,v 1.2 2000/07/27 09:43:06 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_interval_iszero.3,v 1.3 2000/08/01 01:19:25 tale Exp $
+.\"
 .so isc_time.3
index 5ee0fec049ce6c114910273e5e40039aa2250c55..a8caf83543c47fa5b60d68421a9e24f5c5ae31cc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_ipproto.3,v 1.3 2000/07/27 09:43:07 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_ipproto.3,v 1.4 2000/08/01 01:19:26 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_IPPROTO 3
 .Os BIND9 9
 .Nd protocol probe functions
 .Sh SYNOPSIS
 .Fd #include  <config.h>
+
 .Fd #include <errno.h>
 .Fd #include <unistd.h>
+
 .Fd #include <isc/net.h>
 .Fd #include <isc/once.h>
 .Fd #include <isc/string.h>
-.Fd #include <isc/util.h> 
+.Fd #include <isc/util.h>
 
 .Fo isc_net_probeipv4
 .Fa void
@@ -49,12 +49,12 @@ check that the operating system support the IPv4 and IPv6 protocols
 respectively.
 .Sh RETURN VALUES
 .Fn isc_net_probeipv4
-returns 
+returns
 .Er ISC_R_SUCCESS
 if the IPv4 protocol is supported by the kernel and
 .Fn isc_net_probeipv6
 returns
-.Er ISC_R_SUCCESS 
+.Er ISC_R_SUCCESS
 if the operating system supports IPv6.
 .Fn try_proto
 returns
index ca3c37688112da4bace30bc605a688d5e0758413..19417e00d5376f1f8819d53358330fe4a7c170c7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_net_probeipv4.3,v 1.2 2000/07/27 09:43:08 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_net_probeipv4.3,v 1.3 2000/08/01 01:19:28 tale Exp $
+.\"
 .so isc_ipproto.3
index 1aed85155a29106d89fb1298f28d92d1b51ef201..28da28bebe54b81599caac86806d2c0a54ddee14 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_net_probeipv6.3,v 1.2 2000/07/27 09:43:09 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_net_probeipv6.3,v 1.3 2000/08/01 01:19:29 tale Exp $
+.\"
 .so isc_ipproto.3
index 8f8c50fc7560ab4d7f32ca226591d39cb9efe6f1..e577f05d97c28f8e4dca0d4f03b3aa7ca580661a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_netif.3,v 1.2 2000/07/27 09:43:11 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_netif.3,v 1.3 2000/08/01 01:19:30 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_NETIF 3
 .Os BIND9 9
 .Nd network interface management
 .Sh SYNOPSIS
 .Fd #include <config.h>
+
 .Fd #include <sys/types.h>
 .Fd #include <sys/ioctl.h>
 .Fd #ifdef HAVE_SYS_SOCKIO_H
 .Fd #include <sys/sockio.h>         /* Required for ifiter_ioctl.c. */
 .Fd #endif
+
 .Fd #include <stdio.h>
 .Fd #include <stdlib.h>
 .Fd #include <unistd.h>
 .Fd #include <errno.h>
+
 .Fd #include <isc/mem.h>
 .Fd #include <isc/net.h>
 .Fd #include <isc/result.h>
@@ -51,7 +51,7 @@
 .Fd #include <isc/types.h>
 .Fd #include <isc/interfaceiter.h>
 .Fd #include <isc/util.h>
+
 .Fd #include <net/if.h>            /* Must follow <isc/net.h>. */
 
 .Ft isc_result_t
@@ -69,7 +69,7 @@
 .\" .Fo internal_destroy
 .\" .Fc
 .\" .Ft static void
-.\" .Fo get_addr 
+.\" .Fo get_addr
 .\" .Fa "unsigned int family"
 .\" .Fa "isc_netaddr_t *dst"
 .\" .Fa "struct sockaddr *src"
 Details of the system's network interfaces can be retrieved with
 .Fn isc_interfaceiter_create .
 It uses
-.Xr sysctl 3 
+.Xr sysctl 3
 or an
 .Dv SIOCGLIFCONF
 .Xr ioctl 2
 to get the information from the kernel.
 Configuration details of the system's network interfaces - IP addresses, network
 mask, status, MAC address, etc. - is stored in a buffer which is
-accessed through 
+accessed through
 .Fa iterp .
 Memory is allocated from the memory context
 .Fa mctx
@@ -126,7 +126,7 @@ Information from the
 .Dv isc_interfaceiter_t
 can be accessed using
 .Fn isc_interfaceiter_current ,
-.Fn isc_interfaceiter_first 
+.Fn isc_interfaceiter_first
 and
 .Fn isc_interfaceiter_next .
 .\" which use the internal functions
@@ -136,7 +136,7 @@ and
 .\" .Pp
 .\" .Fn internal_current
 .\" gets information for the current network interface from
-.\" .Fa iter .  
+.\" .Fa iter .
 .\" .Fn internal_current
 .\" sets
 .\" .Dv iter->current
@@ -159,7 +159,7 @@ and
 .\" .Xr isc_interfaceiter_destroy 3 .
 .\" .Pp
 .\" .Fn get_addr
-.\" extracts the network address part of the 
+.\" extracts the network address part of the
 .\" .Dv sockaddr
 .\" struct referenced by
 .\" .Fa src
@@ -168,7 +168,7 @@ and
 .\" .Fa family
 .\" indicates the address family \*-
 .\" .Dv AF_INET
-.\" or 
+.\" or
 .\" .Dv AF_INET6 .
 .\" The address family is given explicitly because the network address might
 .\" contain a netmask obtained by an
@@ -178,7 +178,7 @@ and
 .\" .Dv src->sa_family .
 .Pp
 .Fn isc_interfaceiter_current
-copies the configuration details of 
+copies the configuration details of
 .Fa iter 's
 current network interface to
 .Fa ifdata .
@@ -190,7 +190,7 @@ which has an address in a supported address family: i.e. an IPv4 or
 IPv6 address.
 .Fn isc_interfaceiter_next
 find the next network interface in the list referenced by
-.Fa iter 
+.Fa iter
 that has an IPv4 or IPv6 address.
 .Pp
 The
@@ -199,7 +199,7 @@ structure referenced by
 .Fa iterp
 is discarded by calling
 .Fn isc_interfaceiter_destroy .
-Any memory associated with 
+Any memory associated with
 .Fa iterp is freed.
 .Sh RETURN VALUES
 Successful calls to
@@ -236,9 +236,9 @@ if  it was not possible to obtain a list of network interfaces.
 .Fn isc_interfaceiter_current
 always returns
 .Er ISC_R_SUCCESS
-if 
+if
 .Fa iter
-points to a valid 
+points to a valid
 .Dv isc_interfaceiter_t
 structure.
 .Pp
index 6a268c94f6345a8ebbc73e4591c595e4fdf5e70a..6dc986fc023d58b5a6805315d18d4ab5cccd3c1e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket.3,v 1.2 2000/07/27 09:43:12 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket.3,v 1.3 2000/08/01 01:19:31 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_SOCKET 3
 .Os BIND9 9
 .Nd name server network I/O
 .Sh SYNOPSIS
 .Fd #include <config.h>
-.Fd 
+.Fd
 .Fd #include <sys/param.h>
 .Fd #include <sys/types.h>
 .Fd #include <sys/socket.h>
 .Fd #include <sys/time.h>
 .Fd #include <sys/uio.h>
-.Fd 
+.Fd
 .Fd #include <errno.h>
 .Fd #include <stddef.h>
 .Fd #include <stdlib.h>
 .Fd #include <string.h>
 .Fd #include <unistd.h>
 .Fd #include <fcntl.h>
-.Fd 
+.Fd
 .Fd #include <isc/buffer.h>
 .Fd #include <isc/bufferlist.h>
 .Fd #include <isc/condition.h>
@@ -72,7 +72,7 @@
 .Fd #include <isc/task.h>
 .Fd #include <isc/thread.h>
 .Fd #include <isc/util.h>
-.Fd 
+.Fd
 .Ft isc_result_t
 .Fo isc_socket_create
 .Fa "isc_socketmgr_t *manager"
@@ -85,7 +85,7 @@
 .Fa "isc_socket_t *sock"
 .Fa "isc_socket_t **socketp"
 .Fc
-.Ft void 
+.Ft void
 .Fo isc_socket_detach
 .Fa "isc_socket_t **socketp"
 .Fc
@@ -234,18 +234,18 @@ struct isc_socket {
         isc_socketmgr_t        *manager;
         isc_mutex_t             lock;
         isc_sockettype_t        type;
+
         /* Locked by socket lock. */
         unsigned int            references;
         int                     fd;
         isc_result_t            recv_result;
         isc_result_t            send_result;
+
         ISC_LIST(isc_socketevent_t)             send_list;
         ISC_LIST(isc_socketevent_t)             recv_list;
         ISC_LIST(isc_socket_newconnev_t)        accept_list;
         isc_socket_connev_t                    *connect_ev;
+
         /*
          * Internal events.  Posted when a descriptor is readable or
          * writable.  These are statically allocated and never freed.
@@ -253,9 +253,9 @@ struct isc_socket {
          */
         intev_t                 readable_ev;
         intev_t                 writable_ev;
+
         isc_sockaddr_t          address;  /* remote address */
+
         unsigned int            pending_recv : 1,
                                 pending_send : 1,
                                 pending_accept : 1,
@@ -263,7 +263,7 @@ struct isc_socket {
                                 connected : 1,
                                 connecting : 1, /* connect pending */
                                 bound : 1; /* bound to local addr */
+
 #ifdef ISC_NET_RECVOVERFLOW
         unsigned char           overflow; /* used for MSG_TRUNC fake */
 #endif
@@ -298,7 +298,7 @@ typedef struct isc_socketmgr isc_socketmgr_t;
 .Pp
 .Fn isc_socket_create
 creates a new socket of protocol family
-.Fa pf 
+.Fa pf
 which is either
 .Dv PF_INET
 or
@@ -359,7 +359,7 @@ by
 If the caller uses this manager to hold any socket references, it will
 deadlock itself.
 Therefore those sockets should be detached by calling
-.Xr isc_socket_detach 3 
+.Xr isc_socket_detach 3
 before invoking
 .Fn isc_socketmgr_destroy .
 .Pp
@@ -413,7 +413,7 @@ or any data they refer to
 should not be modified by the caller until the completion event has
 been received.
 When a successful call to
-.Fn isc_socket_recvv 
+.Fn isc_socket_recvv
 completes,
 .Fa *buflist
 will be empty.
@@ -450,7 +450,7 @@ The functions
 .Fn isc_socket_send ,
 .Fn isc_socket_sendto ,
 .Fn isc_socket_sendv
-and 
+and
 .Fn isc_socket_sendtov
 are used to send data to the peer for socket
 .Fa sock .
@@ -476,7 +476,7 @@ when the data have been sent.
 If
 .Fa action
 is NULL, no completion event is posted.
-.Pp 
+.Pp
 For
 .Fn isc_socket_sendto
 and
@@ -578,7 +578,7 @@ is zero, a reasonable system default is used, typically
 .Dv SOMAXCONN .
 The value of
 .Fa backlog
-may be ignored on other operating systems. 
+may be ignored on other operating systems.
 .Pp
 .Fn isc_socket_accept
 is used to queue an accept event when an incoming connection request
@@ -636,7 +636,7 @@ gets the name of socket
 and copies it to
 .Fa addressp .
 Both functions have assertion checks to ensure that
-.Fa sock 
+.Fa sock
 is a valid socket
 and that
 .Fa *addressp
@@ -648,14 +648,14 @@ Socket events that hav been queued for some task can be cancelled using
 and
 .Fa task
 are a valid socket and task pointers respectively.
-.Fa how 
+.Fa how
 is a bitmask of the events that are to be cancelled.
 Possible values for
 .Fa how
 are any combination of
 .Dv ISC_SOCKCANCEL_RECV ,
 .Dv ISC_SOCKCANCEL_SEND ,
-.Dv ISC_SOCKCANCEL_ACCEPT 
+.Dv ISC_SOCKCANCEL_ACCEPT
 and
 .Dv ISC_SOCKCANCEL_CONNECT .
 When the events are cancelled,
@@ -686,7 +686,7 @@ are a valid socket, task and action respectively.
 .Pp
 When the event handler returns, its
 .Dv result
-member can sometimes contain useful information. 
+member can sometimes contain useful information.
 Depending on the marker type, the event's
 .Dv result member
 will contain the same error that the last
@@ -751,7 +751,7 @@ socket event handler.
 The handler that is invoked for
 the
 .Dv ISC_SOCKEVENT_RECVDONE
-when the socket read 
+when the socket read
 completes will return
 .Er ISC_R_SUCCESS
 on success or
@@ -761,14 +761,14 @@ if it encounters an error.
 The functions
 .Fn isc_socket_sendto ,
 .Fn isc_socket_sendtov ,
-.Fn isc_socket_send 
+.Fn isc_socket_send
 and
-.Fn isc_socket_sendv 
+.Fn isc_socket_sendv
 all return
 .Er ISC_R_SUCCESS
 on success.
 If these four functions are unable to allocate memory when setting up
-an event handler, they return 
+an event handler, they return
 .Er ISC_R_NOMEMORY .
 The event handler that is invoked when a
 .Dv ISC_SOCKEVENT_SENDDONE
@@ -791,7 +791,7 @@ does no have sufficient permission to access it.
 .Er ISC_R_ADDRNOTAVAIL
 is returned if the specified address is not available.
 .Fn isc_socket_bind
-returns 
+returns
 .Er ISC_R_ADDRINUSE
 if the address is already in use and
 .Er ISC_R_BOUND
@@ -799,12 +799,12 @@ if
 .Fa sock had already been bound to an address.
 .Er ISC_R_UNEXPECTED
 is returned for any other error conditions that are reported by
-.Xr bind 2 
+.Xr bind 2
 and an error message printed on
 .Dv stderr .
 .Pp
 .Fn isc_socket_listen
-returns 
+returns
 .Er ISC_R_SUCCESS
 on success.
 .Er ISC_R_UNEXPECTED
@@ -837,10 +837,10 @@ The event handler returns
 .Er ISC_R_SUCCESS
 when the connection attempt completes successfully.
 It returns
-.Er ISC_R_TIMEDOUT 
+.Er ISC_R_TIMEDOUT
 when the connection attempt times out or
 .Er ISC_R_CONNREFUSED
-if the peer 
+if the peer
 .Fa addr
 refused the connection.
 An error of
index 9a366280a65a41a3eb852f5578d39ee2676f1edc..3872da33d0d5cf9f413e8c70f85d56d593912b46 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_accept.3,v 1.2 2000/07/27 09:43:13 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_accept.3,v 1.3 2000/08/01 01:19:33 tale Exp $
+.\"
 .so isc_socket.3
index ed5f742803eaf9aa8b064161258f4d865b78c13a..8ed92ab64043bed8f165e3e61351e834b39111cd 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_attach.3,v 1.2 2000/07/27 09:43:14 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_attach.3,v 1.3 2000/08/01 01:19:34 tale Exp $
+.\"
 .so isc_socket.3
index 306c2b27d436d6814dc7332f80940ef6cd95728e..440df7a0e85ae2cf5238aceb789d17561f250db8 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_bind.3,v 1.2 2000/07/27 09:43:15 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_bind.3,v 1.3 2000/08/01 01:19:35 tale Exp $
+.\"
 .so isc_socket.3
index 3c53b6659f0fb6efce3c0aaa7ccd1e19757adff5..4bb99e12e9a067dfe6d074c2fa748d765bb49042 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_cancel.3,v 1.2 2000/07/27 09:43:16 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_cancel.3,v 1.3 2000/08/01 01:19:36 tale Exp $
+.\"
 .so isc_socket.3
index 493c483e03bca14f54358382bc46c4835b1cb14c..5f190dbca4e841ce7c15aff0a8ecd98e3f0f810e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_connect.3,v 1.2 2000/07/27 09:43:17 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_connect.3,v 1.3 2000/08/01 01:19:37 tale Exp $
+.\"
 .so isc_socket.3
index ca9cce469fee17bbac3b4c0aa8dbd8acf2a5f279..c4cfa18edea83102ef9c0788db7785d4050b8bdb 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_create.3,v 1.2 2000/07/27 09:43:18 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_create.3,v 1.3 2000/08/01 01:19:38 tale Exp $
+.\"
 .so isc_socket.3
index c197cbce3b2bb45451baa074c41b59de2338e1ab..6da84e5b23aa73fc6debab9a944539a53625fa81 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_detach.3,v 1.2 2000/07/27 09:43:19 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_detach.3,v 1.3 2000/08/01 01:19:40 tale Exp $
+.\"
 .so isc_socket.3
index 028d737e839bc2b4b4188f2eeeca0810b8baba3d..f5bfd8662ba1ad25443713f59dfce304b55ddb6d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_getpeername.3,v 1.2 2000/07/27 09:43:20 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_getpeername.3,v 1.3 2000/08/01 01:19:41 tale Exp $
+.\"
 .so isc_socket.3
index 474e7032a5fabcb74005ef2e233f97d768a6ebfc..d263cfcd2e2d5b615d6a79a8c6533dd111c31242 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_getsockname.3,v 1.2 2000/07/27 09:43:21 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_getsockname.3,v 1.3 2000/08/01 01:19:42 tale Exp $
+.\"
 .so isc_socket.3
index cb30dd90557e94c93910d77a3380e116cc6f4d6c..7f0cbfd9739b79ac43e918f6dda6ba9caaa65504 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_gettype.3,v 1.2 2000/07/27 09:43:23 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_gettype.3,v 1.3 2000/08/01 01:19:43 tale Exp $
+.\"
 .so isc_socket.3
index 6813ae2963fef4f498aa244ffe2c654393a89910..bd73fb111af50ce23456405aa725169066ba796d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_isbound.3,v 1.2 2000/07/27 09:43:24 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_isbound.3,v 1.3 2000/08/01 01:19:44 tale Exp $
+.\"
 .so isc_socket.3
index 1189ab70d70065ec38a59f97755838e008c77071..eff2a3f47965bf1b56f7510cf42c19c8ddd525cb 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_listen.3,v 1.2 2000/07/27 09:43:25 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_listen.3,v 1.3 2000/08/01 01:19:45 tale Exp $
+.\"
 .so isc_socket.3
index 0e0e48ed35f572a2f45db4366bb7460460862fca..6e786af3ea9bfe049ca98c9231bf6ccbb3c0816a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_recv.3,v 1.2 2000/07/27 09:43:26 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_recv.3,v 1.3 2000/08/01 01:19:46 tale Exp $
+.\"
 .so isc_socket.3
index 09224cb7127ffc1c3cf9e5aab74b8414306e38e3..dd8f7eb38621c3d51e430d97455a07c315c9d5b3 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_recvmark.3,v 1.2 2000/07/27 09:43:27 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_recvmark.3,v 1.3 2000/08/01 01:19:47 tale Exp $
+.\"
 .so isc_socket.3
index d9a267e8523e3e5d9566b2af3758e23849158f02..609650efb2bb1324695b9b0d885343a712c587c4 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_recvv.3,v 1.2 2000/07/27 09:43:28 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_recvv.3,v 1.3 2000/08/01 01:19:48 tale Exp $
+.\"
 .so isc_socket.3
index 064533f7ed90c2874e1d09160cc50b78d47ed69f..7119799cfe05a77a31890141952ef6223fcf816b 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_send.3,v 1.2 2000/07/27 09:43:29 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_send.3,v 1.3 2000/08/01 01:19:50 tale Exp $
+.\"
 .so isc_socket.3
index d0fb12a24130b5504d5a5f6df36888f774446b91..9f9db404a6d11947601f32388da1a8713159e614 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_sendmark.3,v 1.2 2000/07/27 09:43:30 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_sendmark.3,v 1.3 2000/08/01 01:19:51 tale Exp $
+.\"
 .so isc_socket.3
index 3a1cd5cfa62c5e6c44651d2eb2b2638a4c80492b..f2cf071240bff9660e01eefdcd048ec975ec017c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_sendto.3,v 1.2 2000/07/27 09:43:31 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_sendto.3,v 1.3 2000/08/01 01:19:52 tale Exp $
+.\"
 .so isc_socket.3
index e0f36bede8f8c688c2b77f237aa92be7663c58cc..ebcd9f31eedc7429bd37e957a019e7bae55286f3 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_sendtov.3,v 1.2 2000/07/27 09:43:32 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_sendtov.3,v 1.3 2000/08/01 01:19:53 tale Exp $
+.\"
 .so isc_socket.3
index e239351cd3f9d08f2ef08abcb59da86bab5decff..dd5e728bb467562df94aa678b28ff38270de9849 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socket_sendv.3,v 1.2 2000/07/27 09:43:33 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socket_sendv.3,v 1.3 2000/08/01 01:19:54 tale Exp $
+.\"
 .so isc_socket.3
index ea5767a169e813077892d6298479f795fb1848c5..3aa300fc513e45ae2578298fc6b968a2b7272ab7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socketmgr_create.3,v 1.2 2000/07/27 09:43:34 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socketmgr_create.3,v 1.3 2000/08/01 01:19:55 tale Exp $
+.\"
 .so isc_socket.3
index a60ee3d189a8e40ee93e26e8a2c00626014d69e0..a0f4f65a94922deecfde2284a1b5a10697eda52c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_socketmgr_destroy.3,v 1.2 2000/07/27 09:43:35 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_socketmgr_destroy.3,v 1.3 2000/08/01 01:19:57 tale Exp $
+.\"
 .so isc_socket.3
index 5518e65d1076090f9809a6a9865c9f2a18308f12..0638ba3a2265000ff7e9039fcf759f633eaf3a6d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio.3,v 1.2 2000/07/27 09:43:37 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio.3,v 1.3 2000/08/01 01:19:58 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_STDIO 3
 .Os BIND9 9
@@ -115,13 +115,13 @@ is the
 .Dv FILE
 pointer and
 .Fa offset
-and 
+and
 .Fa whence
 have the usual meanings.
 The new position is found by adding
 .Fa offset
 bytes to the position specified by
-.Fa whence 
+.Fa whence
 which is set to the values
 .Dv SEEK_SET ,
 .Dv SEEK_CUR ,
@@ -147,7 +147,7 @@ bytes long, from the stream pointed to by
 The objects are stored at the location given by
 .Fa ptr .
 .Fa isc_stdio_write
-writes 
+writes
 .Fa nmemb
 objects, each
 .Fa size
index 0efa43f6f4dfa3c620807b8126177a0979cf9430..abea711735499b7ad6044f3efaa675d9dab89bc1 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_close.3,v 1.2 2000/07/27 09:43:38 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_close.3,v 1.3 2000/08/01 01:19:59 tale Exp $
+.\"
 .so isc_stdio.3
index 5b29c685cec61400fbcfe0ab750f82ba4ed6ce68..ab642d4076fdfbb895f6645ea7bde8d98ab3837d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_flush.3,v 1.2 2000/07/27 09:43:39 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_flush.3,v 1.3 2000/08/01 01:20:00 tale Exp $
+.\"
 .so isc_stdio.3
index b9be1da8af6b11bbdeb2499471dab840cbf4b2c7..bc49e6499583ba25403504c13c99f386538481fb 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_open.3,v 1.2 2000/07/27 09:43:40 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_open.3,v 1.3 2000/08/01 01:20:01 tale Exp $
+.\"
 .so isc_stdio.3
index 819a74a15c3dc588fbcc4616ba7ca6d16b26c1b3..6e2ada0a252233b9cded1f7e1f7db97458c12355 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_read.3,v 1.2 2000/07/27 09:43:41 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_read.3,v 1.3 2000/08/01 01:20:03 tale Exp $
+.\"
 .so isc_stdio.3
index d4de7812948f188b5db8ea8699f8e9084c79a5ee..7032272b2ab178f0f5b6778610c0b046b1e7f5bd 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_seek.3,v 1.2 2000/07/27 09:43:42 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_seek.3,v 1.3 2000/08/01 01:20:04 tale Exp $
+.\"
 .so isc_stdio.3
index 38a83ae01fbc8dabc637813cad30dba6509d43b2..bbc55184375316bac54f1240595eb62504af5c6a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_sync.3,v 1.2 2000/07/27 09:43:43 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_sync.3,v 1.3 2000/08/01 01:20:05 tale Exp $
+.\"
 .so isc_stdio.3
index 727561e46a7bad8b03063d95c2d9420a60c366e7..508a6822b78d3bfdfc5129d21ceb6dd6b9c39318 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdio_write.3,v 1.2 2000/07/27 09:43:44 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdio_write.3,v 1.3 2000/08/01 01:20:06 tale Exp $
+.\"
 .so isc_stdio.3
index 6c006faa1be5027a8900611052091ab3c3335039..37d54da214332398225ebb2491994a1d6d0127db 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdtime.3,v 1.2 2000/07/27 09:43:45 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdtime.3,v 1.3 2000/08/01 01:20:07 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_STDTIME 3
 .Os BIND9 9
@@ -26,9 +26,9 @@
 .Fd #include <config.h>
 
 .Fd #include <sys/time.h>
+
 .Fd #include <isc/stdtime.h>
-.Fd #include <isc/util.h>  
+.Fd #include <isc/util.h>
 
 .Ft void
 .Fo isc_stdtime_get
@@ -39,7 +39,7 @@
 sets
 .Fa t
 to the number of seconds since the UNIX epoch, 00:00:00 UTC, January
-1, 1970.                                   
+1, 1970.
 .Sh SEE ALSO
 .Xr gettimeofday 2 ,
 .Xr isc_time_now 3 .
@@ -52,7 +52,7 @@ the UNIX epoch will overflow a 32-bit signed integer.
 This may cause unpredictable behaviour on systems which treat these
 timestamps as 32-bit signed quantities.
 .Dv isc_stdtime_t
-is defined as a 32-bit unsigned quantity, which means 
+is defined as a 32-bit unsigned quantity, which means
 .Fn isc_stdtime_get
 should be safe until some time in 2106.
 Applications that
index a16bb6e3f485822c6e16c02ccb03cdaf024ba659..6ee737e652a0a71c6af4a8ff84cf282ee4d2f60a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_stdtime_get.3,v 1.2 2000/07/27 09:43:46 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_stdtime_get.3,v 1.3 2000/08/01 01:20:08 tale Exp $
+.\"
 .so isc_stdtime.3
index ac427789ab48e9b315cfe942baac958d2c7a1cb1..3ba9ca71daab1128b01936f25074940486fdc232 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time.3,v 1.4 2000/07/27 09:43:47 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time.3,v 1.5 2000/08/01 01:20:09 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt ISC_TIME 3
 .Os BIND9 9
 .Nm isc_time_microdiff ,
 .Nm isc_time_seconds ,
 .Nm isc_time_secondsastimet ,
-.Nm isc_time_nanoseconds 
+.Nm isc_time_nanoseconds
 .Nd time-related operations
 .Sh SYNOPSIS
 .Fd #include <config.h>
+
 .Fd #include <errno.h>
 .Fd #include <limits.h>
 .Fd #include <time.h>
+
 .Fd #include <sys/time.h>
+
 .Fd #include <isc/string.h>
 .Fd #include <isc/time.h>
 .Fd #include <isc/util.h>
@@ -133,7 +133,7 @@ struct isc_time {
         unsigned int nanoseconds;
 };
 
-typedef struct isc_time isc_time_t; 
+typedef struct isc_time isc_time_t;
 .Ed
 The contents of these structures are private
 and MUST NOT be accessed by callers directly.
@@ -165,12 +165,12 @@ if
 .Fa *i
 is the zero interval.
 This condition should hold when the desired amount of time until an
-event associated with interval 
+event associated with interval
 .Fa *i
 has elapsed.
 .Pp
 .Fn isc_time_settoepoch
-sets 
+sets
 .Fa *t
 to the time of the epoch.
 On
@@ -195,7 +195,7 @@ On a successful call to this function, the structure pointed at by
 is set to the number of seconds and nanoseconds since the epoch.
 .Pp
 .Fn isc_time_nowplusinterval
-sets 
+sets
 .Fa *t
 to the current time plus the interval specified in
 .Fa *i .
@@ -206,7 +206,7 @@ compares the times referenced by
 and
 .Fa *t2 .
 It returns 0 if the two times are equal.
-A value of 1 is returned when 
+A value of 1 is returned when
 .Fa *t1
 is greater than
 .Fa *t2 .
@@ -288,7 +288,7 @@ is returned when the functions are successful.
 .Pp
 Calls to
 .Fn isc_time_add ,
-.Fn isc_time_subtract 
+.Fn isc_time_subtract
 and
 .Fn isc_time_secondsastimet
 normally return
@@ -301,7 +301,7 @@ if the addition of the time values represented by
 and
 .Fa i
 result in a number of seconds that are too big to fit in a
-.Dv "unsigned int" 
+.Dv "unsigned int"
 quantity.
 If the time value given by
 .Fa i
index b021921a57b83f08a8e480235214ad89264b0449..18b7c44171475ca4ca5247966687dd7239ef353f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_add.3,v 1.2 2000/07/27 09:43:49 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_add.3,v 1.3 2000/08/01 01:20:10 tale Exp $
+.\"
 .so isc_time.3
index 27f77cdfa2442c5ad5c4bc08c6d6f3364300b5d8..f63a76c3e1d4dba8b4d817800274ff3b61e546d6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_compare.3,v 1.2 2000/07/27 09:43:50 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_compare.3,v 1.3 2000/08/01 01:20:11 tale Exp $
+.\"
 .so isc_time.3
index 720f9f46f92f7907b48d947c847e170dc2512854..40bed93e898255224046b94315d22d7fc3448b27 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_isepoch.3,v 1.2 2000/07/27 09:43:51 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_isepoch.3,v 1.3 2000/08/01 01:20:12 tale Exp $
+.\"
 .so isc_time.3
index edc765810b9a7bc6721f75ceaf2b997a38129bf0..e104d37c3d26a6abf85f99eab0875a1dd389f9bc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_microdiff.3,v 1.2 2000/07/27 09:43:52 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_microdiff.3,v 1.3 2000/08/01 01:20:14 tale Exp $
+.\"
 .so isc_time.3
index ca49ab645d9e144e00b79af9f3f8802b9003720c..644b3e8df12b31ea64d5fa38809f04c4c745e1f0 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_nanoseconds.3,v 1.2 2000/07/27 09:43:53 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_nanoseconds.3,v 1.3 2000/08/01 01:20:15 tale Exp $
+.\"
 .so isc_time.3
index 2a11a3553a65041726f4b93577a0a3dc5020cdcb..f0b511b377f24a33553940c5653831887f98a1cf 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_now.3,v 1.2 2000/07/27 09:43:54 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_now.3,v 1.3 2000/08/01 01:20:16 tale Exp $
+.\"
 .so isc_time.3
index 2a04609fab2c57487ec292f10a780009d070ebc2..871d978ee36679232bbce40a8524d2c83284d5b5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_nowplusinterval.3,v 1.2 2000/07/27 09:43:55 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_nowplusinterval.3,v 1.3 2000/08/01 01:20:17 tale Exp $
+.\"
 .so isc_time.3
index 9d432a596e729fbc680ac337b3dffebd4df9569c..b3e911399f2b306b414ff18ab599f4be0bc6996d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_seconds.3,v 1.2 2000/07/27 09:43:56 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_seconds.3,v 1.3 2000/08/01 01:20:18 tale Exp $
+.\"
 .so isc_time.3
index 8cc8b4b0794a05a2059685142fcf1e401dfe98ff..7a0fecf3d2450a4db36ac2f2489217740d9021ca 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_secondsastimet.3,v 1.2 2000/07/27 09:43:57 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_secondsastimet.3,v 1.3 2000/08/01 01:20:19 tale Exp $
+.\"
 .so isc_time.3
index 880b56a18b6613715f351d54755c85f2194902d6..9112c853b9c8fbc22e9c8e6b34ef3ac9c126912f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_set.3,v 1.2 2000/07/27 09:43:58 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_set.3,v 1.3 2000/08/01 01:20:20 tale Exp $
+.\"
 .so isc_time.3
index 97a8b0e2da671f35ebf4c37a55ff876cd8504166..09c27b9e75d9335999d1e11c8c8057ddc4a4617c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_settoepoch.3,v 1.2 2000/07/27 09:43:59 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_settoepoch.3,v 1.3 2000/08/01 01:20:21 tale Exp $
+.\"
 .so isc_time.3
index febe6eb925162ed3b1887a5a96958c8689636b4c..0f5d84d5c56aa1d9b09e64cefcb35bf63cfa8b31 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: isc_time_subtract.3,v 1.2 2000/07/27 09:44:00 tale Exp $
-.\" 
+.\"
+.\" $Id: isc_time_subtract.3,v 1.3 2000/08/01 01:20:22 tale Exp $
+.\"
 .so isc_time.3
index 9f22585a4f93357da3ee3921e15c143eb9954fa0..31577c3d2d0c67dd2bab6156d9bd7a569192bd1a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres.3,v 1.2 2000/07/27 09:44:02 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres.3,v 1.3 2000/08/01 01:20:24 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES 3
 .Os BIND9 9
@@ -42,9 +42,9 @@ Clients use the functions provided by the lightweight resolver library
 to encode requests and decode responses.
 The server for the lightweight resolver is
 .Nm lwresd .
-In reality this is implemented by the name server, 
+In reality this is implemented by the name server,
 .Nm named ,
-though when operating as the lightweight resolver server, 
+though when operating as the lightweight resolver server,
 .Nm lwresd
 is functionally and logically distinct from the actual name server.
 The protocol consists of a number of opcodes, each of which has a
@@ -97,7 +97,7 @@ character.
 This simplifies structure handling and parsing for both the server
 receiving a request and the client receiving a reply.
 It also eliminates data copying by enabling a mapping structure to
-directly point at data in the actual receive buffer. 
+directly point at data in the actual receive buffer.
 .Sh OPCODES
 .Pp
 Every lightweight resolver operation uses a unique opcode.
@@ -105,12 +105,12 @@ Each opcode is assigned a number.
 Opcodes in the range 0x00000000 and 0x03ffffff are reserved for use by
 the lightweight resolver library.
 Opcodes between 0x04000000 and 0xffffffff have been set aside for use by
-applications. 
+applications.
 .Pp
 Three opcodes are currently defined:
 .Bl -tag -width LWRES_OPCODE_GETADDRSBYNAME
 .It Li LWRES_OPCODE_NOOP
-The no-op opcode is essentially an echo operation, comparable to 
+The no-op opcode is essentially an echo operation, comparable to
 .Xr ping 1 .
 The server simply returns the entire data region that had been sent by
 the client.
@@ -165,24 +165,24 @@ function translates from the canonical form to the op-code specific
 structure.
 Memory allocated to the opcode's request or reply structures is
 discarded using the
-.Ar free 
+.Ar free
 function.
 Clients will typically use the op-code specific
 .Ar xxx_request_render ,
-.Ar xxx_response_parse 
+.Ar xxx_response_parse
 and
 .Ar xxx_response_free
 functions.
 The name server will use the
 .Ar xxx_request_parse ,
 .Ar xxx_response_render
-and 
+and
 .Ar xxx_request_free
 functions.
 .Pp
 For example, the no-op opcode -
 .Dv LWRES_OPCODE_NOOP
-- uses 
+- uses
 .Dv lwres_nooprequest_t
 and
 .Dv lwres_noopresponse_t
@@ -214,7 +214,7 @@ releases the memory allocated to the
 and
 .Dv lwres_noopresponse_t
 structures respectively.
-.\" 
+.\"
 .\"    XXXJR
 .\"    NOT YET.
 .\"    This is just a placeholder to indicate where the section on the
@@ -251,9 +251,9 @@ primitives on that context structure or else create a context for each
 thread.
 See
 .Xr lwres_context 3 .
-Once the context has been created, 
+Once the context has been created,
 .Fn lwres_conf_init
-is called to read 
+is called to read
 .Pa /etc/resolv.conf
 so that various options such as sort lists, search lists and so on can
 be applied.
@@ -285,6 +285,6 @@ described above.
 .Xr lwres_context 3 ,
 .Xr lwres_config 3 ,
 .Xr resolver 5 ,
-.Xr lwres_getipnode 3 
+.Xr lwres_getipnode 3
 .Xr lwresd 8 ,
 .Xr named 8 .
index 6bab942584359dd4d3c4d355fc48d856626d47d5..11345fbe250969ff47b543eae0cd7a70f98c277a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_addr_parse.3,v 1.2 2000/07/27 09:44:03 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_addr_parse.3,v 1.3 2000/08/01 01:20:25 tale Exp $
+.\"
 .so lwres_resutil.3
index 401aebe76f591d0fdd5e490c3d865e914336b734..ec69ae6c87fd5255fe02d8b3d01055acfa51252e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer.3,v 1.2 2000/07/27 09:44:04 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer.3,v 1.3 2000/08/01 01:20:26 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_BUFFER 3
 .Os BIND9 9
@@ -39,7 +39,7 @@
 .Nd lightweight resolver buffer management
 .Sh SYNOPSIS
 .Fd #include <lwres/lwbuffer.h>
-.Fd 
+.Fd
 .Ft void
 .Fo lwres_buffer_init
 .Fa "lwres_buffer_t *b"
@@ -132,7 +132,7 @@ struct lwres_buffer {
        unsigned int            active;
 };
 .Ed
-The main reason for making the buffer structure public is so that 
+The main reason for making the buffer structure public is so that
 buffer operations can be implemented using macros.
 Applications should not manipulate this structure directly.
 They should use the functions listed below.
@@ -166,7 +166,7 @@ It extends from the current offset to an offset in the
 remaining region.
 Initially, the active region is empty.
 If the current offset advances beyond the chosen offset,
-the active region will also be empty.   
+the active region will also be empty.
 .Pp
 Except for
 .Fn lwres_buffer_init ,
@@ -193,7 +193,7 @@ The
 .Fa *b
 is invalidated by
 .Fn lwres_buffer_invalidate .
-.Fa *b 
+.Fa *b
 must be a valid lightweight resolver buffer.
 .Pp
 The functions
@@ -206,7 +206,7 @@ buffer
 by
 .Fa n
 bytes.
-.Fa *b 
+.Fa *b
 .Fn lwres_buffer_add
 checks for buffer overflow and
 .Fn lwres_buffer_subtract
@@ -219,9 +219,9 @@ A lightweight resolver buffer is re-initialised by
 .Fn lwres_buffer_clear .
 The function sets
 .Li b->used ,
-.Li b->current 
+.Li b->current
 and
-.Li b->active 
+.Li b->active
 to zero.
 .Pp
 .Fn lwres_buffer_first
@@ -289,11 +289,11 @@ respectively.
 .Fn lwres_buffer_putmem
 copies
 .Fa length
-bytes of memory at 
+bytes of memory at
 .Fa base
 to
 .Fa b.
-Conversely, 
+Conversely,
 .Fn lwres_buffer_getmem
 copies
 .Fa length
index 00bd2561f114096ff746588b4c9058807bc8042c..3694e497cad136c17b419402e4d91185f0a89b56 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_add.3,v 1.2 2000/07/27 09:44:05 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_add.3,v 1.3 2000/08/01 01:20:27 tale Exp $
+.\"
 .so lwres_buffer.3
index 811657e69a780b7dfc089e83c8d61b81603770bb..552b635cfe47f89d8858451903dba88d94e7e8f3 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_back.3,v 1.2 2000/07/27 09:44:06 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_back.3,v 1.3 2000/08/01 01:20:28 tale Exp $
+.\"
 .so lwres_buffer.3
index 2737e2475ca93a9afd8a50fda5997c75a3d71515..6b78222349b57d0bbb991f1ec8f165ea2edb1a4b 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_clear.3,v 1.2 2000/07/27 09:44:07 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_clear.3,v 1.3 2000/08/01 01:20:29 tale Exp $
+.\"
 .so lwres_buffer.3
index 99f3a466f777e889d877e8cd380f389171f7634d..57373d02b4adecad0cecdd323e5a86cd3d6094fc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_first.3,v 1.2 2000/07/27 09:44:08 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_first.3,v 1.3 2000/08/01 01:20:30 tale Exp $
+.\"
 .so lwres_buffer.3
index fcebbeb7c8c8122697c625adf178e9460fc04d1d..04bcfe3b9812299d7bb7b824c9c4d2a1d4225004 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_forward.3,v 1.2 2000/07/27 09:44:09 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_forward.3,v 1.3 2000/08/01 01:20:31 tale Exp $
+.\"
 .so lwres_buffer.3
index 09e50498c86ad33faab4fe8e527cccf3f38588a3..c057924444bdd5795842ceef0258f1b707d3b5df 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getmem.3,v 1.2 2000/07/27 09:44:10 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getmem.3,v 1.3 2000/08/01 01:20:33 tale Exp $
+.\"
 .so lwres_buffer.3
index c3a5873a21a4da2e5561b612140a75fa6633f0cb..b7142d6eb3ce7796526fb04addd969485bea736d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getuint16.3,v 1.2 2000/07/27 09:44:12 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getuint16.3,v 1.3 2000/08/01 01:20:34 tale Exp $
+.\"
 .so lwres_buffer.3
index eeed1336b3ed87dee7be456e270989f65d8e6777..1cc7564e9992b44e3fdde4e8dded7dbdf4980cef 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getuint32.3,v 1.2 2000/07/27 09:44:13 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getuint32.3,v 1.3 2000/08/01 01:20:35 tale Exp $
+.\"
 .so lwres_buffer.3
index e7633793ad611a7390137412067463e8d3652845..63f50650ae209428b1baf5181eb7e28c03a64ec7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getuint8.3,v 1.2 2000/07/27 09:44:14 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getuint8.3,v 1.3 2000/08/01 01:20:36 tale Exp $
+.\"
 .so lwres_buffer.3
index ffc200e917bd46d52ce1340a0fabd50db07cfd18..35601e65c76db73d6976bbf53a47f8d8edb476b9 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_init.3,v 1.2 2000/07/27 09:44:15 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_init.3,v 1.3 2000/08/01 01:20:37 tale Exp $
+.\"
 .so lwres_buffer.3
index f281800361af0567f95643d4a11c415329e66695..d149f42c58c99a1b77d001d9b74b933aa1b9ceb6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_invalidate.3,v 1.2 2000/07/27 09:44:16 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_invalidate.3,v 1.3 2000/08/01 01:20:38 tale Exp $
+.\"
 .so lwres_buffer.3
index c092c0e9986f324d149dafafc57c25cf7ab26e52..7fabb0f1e5a3da44002113b1ed05ae64aeb4be61 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putmem.3,v 1.2 2000/07/27 09:44:17 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putmem.3,v 1.3 2000/08/01 01:20:39 tale Exp $
+.\"
 .so lwres_buffer.3
index 435a12f82d876c48495366b674f405e5519acc4b..c54379c6a415b21f6b346ef2553aa4d50942e973 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putuint16.3,v 1.2 2000/07/27 09:44:18 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putuint16.3,v 1.3 2000/08/01 01:20:40 tale Exp $
+.\"
 .so lwres_buffer.3
index 5fb450a0d3a2e19ba44566deb388458e3060d183..01312598e059e982fdf617d7d99f8d4259f13647 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putuint32.3,v 1.2 2000/07/27 09:44:19 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putuint32.3,v 1.3 2000/08/01 01:20:41 tale Exp $
+.\"
 .so lwres_buffer.3
index 25afe81a252ff1445bba6d59932cf53078fcd934..f6e8c07920e136c53b2b1b2558975db9b6ed00d0 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putuint8.3,v 1.2 2000/07/27 09:44:20 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putuint8.3,v 1.3 2000/08/01 01:20:42 tale Exp $
+.\"
 .so lwres_buffer.3
index f0e2c6df9e11352f226dc9933036227202ae2077..dc4f74d1e878f00d319c46f0185d145c51787863 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_subtract.3,v 1.2 2000/07/27 09:44:21 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_subtract.3,v 1.3 2000/08/01 01:20:43 tale Exp $
+.\"
 .so lwres_buffer.3
index debb6f0a58a14de32cd2ed76df9f4685f211c515..98cb907f3f1249b8ddedab306e4d708874349ddf 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_clear.3,v 1.2 2000/07/27 09:44:22 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_clear.3,v 1.3 2000/08/01 01:20:45 tale Exp $
+.\"
 .so lwres_config.3
index eec9ddcf471c931de2e534729b82586b467302e0..92b1431bb094ffabf448463da4a348e4a5dd1a49 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_get.3,v 1.2 2000/07/27 09:44:23 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_get.3,v 1.3 2000/08/01 01:20:46 tale Exp $
+.\"
 .so lwres_config.3
index 61c3864e7b6c71bba0e0131afef1f2cfd1cfddd7..06eba65af27b0e2ef349d49c42d34aa5e4e45ea6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_init.3,v 1.2 2000/07/27 09:44:25 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_init.3,v 1.3 2000/08/01 01:20:47 tale Exp $
+.\"
 .so lwres_config.3
index 432efb5de41fc6e84ca89ac92b54892a126dc788..c5d31959073eefb3c5d8032f0a5d431aa3af70f7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_parse.3,v 1.2 2000/07/27 09:44:26 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_parse.3,v 1.3 2000/08/01 01:20:48 tale Exp $
+.\"
 .so lwres_config.3
index eddce357861067ba92654c9ced971a34662150f8..06a3249329d7c7e57bc9b8e189e6fded4c437b3c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_print.3,v 1.2 2000/07/27 09:44:27 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_print.3,v 1.3 2000/08/01 01:20:50 tale Exp $
+.\"
 .so lwres_config.3
index be18178f3fff962a7845e0143edf3ba1461f60ac..dfd89fe70544e81c2326e07187904842d06f747e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_config.3,v 1.2 2000/07/27 09:44:28 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_config.3,v 1.3 2000/08/01 01:20:51 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_CONFIG 3
 .Os BIND9 9
@@ -59,7 +59,7 @@ structure for lightweight resolver context
 .Fa ctx .
 .Pp
 .Fn lwres_conf_clear
-frees up all the internal memory used by 
+frees up all the internal memory used by
 that
 .Dv lwres_conf_t
 structure in resolver context
@@ -83,7 +83,7 @@ to the
 .Fa fp.
 .Sh RETURN VALUES
 .Fn lwres_conf_parse
-returns 
+returns
 .Er LWRES_R_SUCCESS
 if it successfully read and parsed
 .Fa filename .
@@ -91,7 +91,7 @@ It returns
 .Er LWRES_R_FAILURE
 if
 .Fa filename
-could not be opened or contained incorrect 
+could not be opened or contained incorrect
 resolver statements.
 .Pp
 .Fn lwres_conf_print
index e2437a66624efe67ead0a8f32c834c800b8ee2e9..2ae8205992c5a1158d7708db0be93268f5cbfeff 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context.3,v 1.2 2000/07/27 09:44:29 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context.3,v 1.3 2000/08/01 01:20:52 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_CONTEXT 3
 .Os BIND9 9
 .Nd lightweight resolver memory allocation routines
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_context_create
 .Fa "lwres_context_t **contextp"
 .Fa "void *arg"
 .Fa "lwres_malloc_t malloc_function"
 .Fa "lwres_free_t free_function"
-.Fc 
+.Fc
 .Ft lwres_result_t
 .Fo lwres_context_destroy
 .Fa "lwres_context_t **contextp"
@@ -155,7 +155,7 @@ is not NULL.
 .Fn lwres_context_initserial
 sets the serial number for context
 .Fa *ctx
-to 
+to
 .Fa serial .
 .Fn lwres_context_nextserial
 returns the current serial number for the context and increments
@@ -219,7 +219,7 @@ returned in
 .Fa *recvd_len .
 .Sh RETURN VALUES
 .Fn lwres_context_create
-returns 
+returns
 .Er LWRES_R_NOMEMORY
 if memory for the
 .Dv "struct lwres_context"
@@ -240,7 +240,7 @@ completes successfully.
 is returned if an I/O error occurs and
 .Er LWRES_R_TIMEOUT
 is returned if the
-.Xr recvfrom 2 
+.Xr recvfrom 2
 call times out.
 .Sh SEE ALSO
 .Xr lwres_conf_init 3 ,
index f139cbaadb086ab286260e416883d507719ae850..6d4aa2bdfd5ec226b30d37a765d5d1b61a580c71 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_allocmem.3,v 1.2 2000/07/27 09:44:30 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_allocmem.3,v 1.3 2000/08/01 01:20:53 tale Exp $
+.\"
 .so lwres_context.3
index 3d19c22703ef4b6e8483540dedc1acd3798b227f..617ff64f37650103407e3043149a6f28548b42ec 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_create.3,v 1.2 2000/07/27 09:44:31 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_create.3,v 1.3 2000/08/01 01:20:54 tale Exp $
+.\"
 .so lwres_context.3
index 42f53ef23e774114c01e0155aa1cabc2ed4f9e66..f47ccbcd4b8a27bbdb10d2fbe0228d612b3c2361 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_destroy.3,v 1.2 2000/07/27 09:44:32 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_destroy.3,v 1.3 2000/08/01 01:20:55 tale Exp $
+.\"
 .so lwres_context.3
index 52e3e99d9f6617e8f64e191e1550a1ac234c4383..1cd987a4e904543923ecbc3d76599e0acd4a1466 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_freemem.3,v 1.2 2000/07/27 09:44:33 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_freemem.3,v 1.3 2000/08/01 01:20:56 tale Exp $
+.\"
 .so lwres_context.3
index ae30577aec979ecc1df834282a4374adc3084632..9de6c3edb01333d11cfde2a255542a25ff91b1c6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_initserial.3,v 1.2 2000/07/27 09:44:34 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_initserial.3,v 1.3 2000/08/01 01:20:57 tale Exp $
+.\"
 .so lwres_context.3
index 78f751cb4a073c0db9b86f619019459d7761f47a..82867c3dbc68bb4b14fb5bacef539e2142e1fb36 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_nextserial.3,v 1.2 2000/07/27 09:44:35 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_nextserial.3,v 1.3 2000/08/01 01:20:58 tale Exp $
+.\"
 .so lwres_context.3
index 8d2cfb7066ec010b7f02ec2b6e135259f2bd54d8..7b94ab584caac6369e5788ab7cfbfcb526f8195d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_sendrecv.3,v 1.2 2000/07/27 09:44:36 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_sendrecv.3,v 1.3 2000/08/01 01:20:59 tale Exp $
+.\"
 .so lwres_context.3
index 231ab21487e0b23bda35361deb148137ac2e6137..62f7a61defbd104110a7557f5902db530a8e757a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_endhostent.3,v 1.2 2000/07/27 09:44:38 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_endhostent.3,v 1.3 2000/08/01 01:21:00 tale Exp $
+.\"
 .so lwres_gethostent.3
index 4c5a898e496333c58d02e77661f7e8c9bb98ac98..a5f651ea21a2de0144e9bd39a64b47af1f3ad276 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_endhostent_r.3,v 1.2 2000/07/27 09:44:39 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_endhostent_r.3,v 1.3 2000/08/01 01:21:01 tale Exp $
+.\"
 .so lwres_gethostent.3
index 4fd640c5db455c77ee45eb6138beb62c1764585e..5583a99cc3d0182a9e6479c5dc78babff5f8eda5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_freeaddrinfo.3,v 1.2 2000/07/27 09:44:40 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_freeaddrinfo.3,v 1.3 2000/08/01 01:21:02 tale Exp $
+.\"
 .so lwres_getaddrinfo.3
index 2bfd986665c2445b27a74eccaa9b581f10a83f30..3b3d8511d2a34849d0108955ca07257ef3985ab7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_freehostent.3,v 1.2 2000/07/27 09:44:41 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_freehostent.3,v 1.3 2000/08/01 01:21:04 tale Exp $
+.\"
 .so lwres_getipnode.3
index 57ddc1f15838d57241dc134e5565bc413b55cf9a..4e0b35385408e61cce7292435bbaa669f9e3bd4e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabn.3,v 1.2 2000/07/27 09:44:42 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabn.3,v 1.3 2000/08/01 01:21:05 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GABN 3
 .Os BIND9 9
@@ -29,7 +29,7 @@
 .Nd lightweight resolver getaddrbyname functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_gabnrequest_render
 .Fa "lwres_context_t *ctx"
@@ -91,9 +91,9 @@ These structures are defined in
 They are shown below.
 .Bd -literal -offset indent
 #define LWRES_OPCODE_GETADDRSBYNAME    0x00010001U
+
 typedef struct lwres_addr lwres_addr_t;
-typedef LWRES_LIST(lwres_addr_t) lwres_addrlist_t; 
+typedef LWRES_LIST(lwres_addr_t) lwres_addrlist_t;
 
 typedef struct {
        lwres_uint32_t  flags;
@@ -140,7 +140,7 @@ uses context
 .Fa ctx
 to convert the contents of packet
 .Fa pkt
-to a 
+to a
 .Dv lwres_gabnrequest_t
 structure.
 Buffer
@@ -187,7 +187,7 @@ if memory allocation fails.
 is returned if the available space in the buffer
 .Fa b
 is too small to accommodate the packet header or the
-.Dv lwres_gabnrequest_t 
+.Dv lwres_gabnrequest_t
 and
 .Dv lwres_gabnresponse_t
 structures.
@@ -205,4 +205,4 @@ in the packet header structure
 .Dv lwres_lwpacket_t
 indicate that the packet is not a response to an earlier query.
 .Sh SEE ALSO
-.Xr lwres_packet 3 
+.Xr lwres_packet 3
index 4767669a770148faab281d21dee252fd8af5acf6..749c5ab1d23f8c8094bf8dd41dbcc1cb5cad038f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnrequest_free.3,v 1.2 2000/07/27 09:44:43 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnrequest_free.3,v 1.3 2000/08/01 01:21:06 tale Exp $
+.\"
 .so lwres_gabn.3
index bac556421f262cf24f93f3b48590a22bac5cc247..537c99b70cf9ce98b7d8aeb0cac32ce77944254f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnrequest_parse.3,v 1.2 2000/07/27 09:44:44 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnrequest_parse.3,v 1.3 2000/08/01 01:21:07 tale Exp $
+.\"
 .so lwres_gabn.3
index bdbbd586682c39e8840c306604d806abcf49583e..15eee1fa06c21fa7c78c5f4e4823af4ced9937f4 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnrequest_render.3,v 1.2 2000/07/27 09:44:45 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnrequest_render.3,v 1.3 2000/08/01 01:21:08 tale Exp $
+.\"
 .so lwres_gabn.3
index ce1e7a56b2a101557c7966bd4b795c281bded2c4..59039418d7d276bac0af82077957a05a789f495e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnresponse_free.3,v 1.2 2000/07/27 09:44:46 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnresponse_free.3,v 1.3 2000/08/01 01:21:09 tale Exp $
+.\"
 .so lwres_gabn.3
index cc935353ff6d372bf037e2d8e2ef4c7dfa3972a7..001bdb772407c80755019a033d6682dd32679880 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnresponse_parse.3,v 1.2 2000/07/27 09:44:47 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnresponse_parse.3,v 1.3 2000/08/01 01:21:10 tale Exp $
+.\"
 .so lwres_gabn.3
index ecb88418cf9bcd01695e2b6914dfd2fb63c21e4b..45e34be2255cf6840d673ad2b5faa294f74d086f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnresponse_render.3,v 1.2 2000/07/27 09:44:48 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnresponse_render.3,v 1.3 2000/08/01 01:21:11 tale Exp $
+.\"
 .so lwres_gabn.3
index 8db5b5528d77d1233011e1db43760b79b58fb35b..d36140f3c0fa1128e2a0da924f3e7a9e4be4df54 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gai_strerror.3,v 1.2 2000/07/27 09:44:49 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gai_strerror.3,v 1.3 2000/08/01 01:21:12 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GAI_STRERROR 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd print suitable error string
 .Sh SYNOPSIS
 .Fd #include <lwres/netdb.h>
-.Fd 
+.Fd
 .Ft char *
 .Fo gai_strerror
 .Fa "int ecode"
index 090b7ef6f27ca8befb3268d89571440bf1e8014c..6039a1ff07d1425492e041ee50deeac2bea29c74 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getaddrinfo.3,v 1.2 2000/07/27 09:44:50 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getaddrinfo.3,v 1.3 2000/08/01 01:21:13 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETADDRINFO 3
 .Os BIND9 9
@@ -25,7 +25,7 @@
 .Nd socket address structure to host and service name
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft int
 .Fo lwres_getaddrinfo
 .Fa "const char *hostname"
@@ -88,14 +88,14 @@ The caller can supply the following structure elements in
 the protocol family that should be used.
 When
 .Li ai_family
-is set to 
+is set to
 .Dv PF_UNSPEC ,
 it means the caller will accept any protocol family supported by the
 operating system.
 .It Dv ai_socktype
 denotes the type of socket -
 .Dv SOCK_STREAM ,
-.Dv SOCK_DGRAM 
+.Dv SOCK_DGRAM
 or
 .Dv SOCK_RAW
 - that is wanted.
@@ -139,9 +139,9 @@ does not set the
 .Dv AI_PASSIVE
 bit, the returned socket address structure will be ready
 for use in a call to
-.Xr connect 2 
+.Xr connect 2
 for a connection-oriented protocol or
-.Xr connect 2 , 
+.Xr connect 2 ,
 .Xr sendto 2 ,
 or
 .Xr sendmsg 2
@@ -153,7 +153,7 @@ is a
 .Dv NULL
 pointer and
 .Dv AI_PASSIVE
-is not set in 
+is not set in
 .Li ai_flags .
 .Pp
 If
@@ -161,7 +161,7 @@ If
 is set to
 .Dv AI_NUMERICHOST
 it indicates that
-the 
+the
 .Dv non-NuLL
 .Fa hostname
 should be treated as a numeric string defining an IPv4 or IPv6 address.
@@ -177,7 +177,7 @@ passed via
 .Fa arg
 must be zero.
 .Pp
-If 
+If
 .Fa arg
 is not supplied, a
 .Dv NULL
@@ -200,7 +200,7 @@ the
 .Li ai_next
 pointer, until a
 .Dv NULL
-pointer is encountered. 
+pointer is encountered.
 The three members
 .Li ai_family ,
 ai_socktype,
@@ -237,7 +237,7 @@ is a pointer to a
 returns zero on success or one of the error codes listed in
 .Xr gai_strerror 3
 if an error occurs.
-If both 
+If both
 .Fa hostname
 and
 .Fa servname
@@ -253,8 +253,8 @@ returns
 .Xr RFC2133 ,
 .Xr getservbyname 3 ,
 .Xr bind 2
-.Xr connect 2 
-.Xr connect 2 , 
+.Xr connect 2
+.Xr connect 2 ,
 .Xr sendto 2 ,
 .Xr sendmsg 2 ,
 .Xr socket 2 .
index d24868795403953dbf8d2d787c0edf57949a33de..6e6a88f83d40c6a95fc9831f1ce566439b09b5ac 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getaddrsbyname.3,v 1.2 2000/07/27 09:44:52 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getaddrsbyname.3,v 1.3 2000/08/01 01:21:15 tale Exp $
+.\"
 .so lwres_resutil.3
index f5c9ae936c6ffc2206e0e5bb534c8910eb19a9ee..721d18e1574a7df9086ccd48ed83e4e2c9bee749 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyaddr.3,v 1.2 2000/07/27 09:44:53 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyaddr.3,v 1.3 2000/08/01 01:21:16 tale Exp $
+.\"
 .so lwres_gethostent.3
index 93a93f7504487b06763f6ae085a9ccb364498539..1d36c82e8bb1b089a66625f2a7fcc0c9db3b4b06 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyaddr_r.3,v 1.2 2000/07/27 09:44:54 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyaddr_r.3,v 1.3 2000/08/01 01:21:17 tale Exp $
+.\"
 .so lwres_gethostent.3
index 8b457e3fd0aed1620361a48e88e909e5415685c2..f8e60eddae4b70b0ff6b52351a76a8cab6683504 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyname.3,v 1.2 2000/07/27 09:44:55 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyname.3,v 1.3 2000/08/01 01:21:18 tale Exp $
+.\"
 .so lwres_gethostent.3
index c198c01f95914d311680e80bbbd2414c1ed542af..9c8c7b5be8c6e3d056f23d9b12706eae8ada1448 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyname2.3,v 1.2 2000/07/27 09:44:56 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyname2.3,v 1.3 2000/08/01 01:21:19 tale Exp $
+.\"
 .so lwres_gethostent.3
index beeb795a94bb9a1f0c5bc1f6932ac899763fa639..6433a236e0e4fa5e5b4c1fa02539349563bf0230 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyname_r.3,v 1.2 2000/07/27 09:44:57 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyname_r.3,v 1.3 2000/08/01 01:21:20 tale Exp $
+.\"
 .so lwres_gethostent.3
index 288296bf9629be880304b3def05fb2ab75038351..c997d6f2e6aacd6825ddc92284a0a8ffda6ffccc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostent.3,v 1.2 2000/07/27 09:44:58 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostent.3,v 1.3 2000/08/01 01:21:21 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETHOSTENT 3
 .Os BIND9 9
@@ -34,7 +34,7 @@
 .Nd lightweight resolver get network host entry
 .Sh SYNOPSIS
 .Fd #include <lwres/netdb.h>
-.Fd 
+.Fd
 .Ft struct hostent *
 .Fo lwres_gethostbyname
 .Fa "const char *name"
@@ -100,7 +100,7 @@ These functions define the interface to the lightweight resolver
 daemon \fPNOT IF IT IS GOING AWAY\fP
 for looking up hostnames and addresses. They are similar to the
 standard
-.Xr gethostent 3 
+.Xr gethostent 3
 functions provided by as part of the standard system software.
 They use a
 .Dv "struct hostent"
@@ -125,7 +125,7 @@ The official (canonical) name of the host.
 A NULL-terminated array of alternate names (nicknames) for the host.
 .It Li h_addrtype
 The type of address being returned -
-.Dv PF_INET 
+.Dv PF_INET
 or
 .Dv PF_INET6 .
 .It Li h_length
@@ -137,7 +137,7 @@ terminated array of network addresses for the host.
 Host addresses are returned in network byte order.
 .El
 .Pp
-For backward compatibility with very old software, 
+For backward compatibility with very old software,
 .Li h_addr
 is the first address in
 .Li h_addr_list.
@@ -168,10 +168,10 @@ always looks for an IPv4 address while
 .Fn lwres_gethostbyname2
 looks for an address of protocol family
 .Fa af :
-either 
+either
 .Dv PF_INET
 or
-.Dv PF_INET6 
+.Dv PF_INET6
 - IPv4 or IPV6 addresses respectively.
 Both functions call
 .Fn lwres_getipnodebyname
@@ -206,15 +206,15 @@ It also calls
 .Fn lwres_getipnodebyname
 to lookup the hostname
 .Fa name .
-If 
+If
 .Fn lwres_getipnodebyname
 encounters an error, the error code is returned in
-.Fa *error . 
+.Fa *error .
 .Fa resbuf
 is a pointer to a
 .Dv "struct hostent"
 which is initialised by a successful call to
-.Fn lwres_gethostbyname_r . 
+.Fn lwres_gethostbyname_r .
 .Fa buf
 is a buffer of length
 .Fa len
@@ -259,7 +259,7 @@ The other function parameters are identical to those in
 is a pointer to a
 .Dv "struct hostent"
 which is initialised by a successful call to
-.Fn lwres_gethostbyaddr_r . 
+.Fn lwres_gethostbyaddr_r .
 .Fa buf
 is a buffer of length
 .Fa len
@@ -281,11 +281,11 @@ which is a pointer to the
 it created.
 .Sh RETURN VALUES
 .Pp
-The functions 
+The functions
 .Fn lwres_gethostbyname ,
 .Fn lwres_gethostbyname2 ,
 .Fn lwres_gethostbyaddr ,
-and 
+and
 .Fn lwres_gethostent
 are not thread-safe because they free any memory that had been allocated
 in a previous call to those functions before they perform a lookup.
@@ -348,7 +348,7 @@ and
 .Li h_addr_list
 elements of the
 .Dv "struct hostent" .
-If 
+If
 .Fa buf
 was too small, both
 .Fn lwres_gethostbyname_r
@@ -366,7 +366,7 @@ to
 Although
 .Fn lwres_gethostbyname ,
 .Fn lwres_gethostbyname2 ,
-.Fn lwres_gethostbyaddr 
+.Fn lwres_gethostbyaddr
 and
 .Fn lwres_endhostent
 call thread-safe functions to perform lookups, these 3 functions
@@ -386,7 +386,7 @@ calls to those routines.
 Thread-safe versions for name and address lookup are provided by
 .Fn lwres_gethostbyname_r ,
 and
-.Fn lwres_gethostbyaddr_r 
+.Fn lwres_gethostbyaddr_r
 respectively.
 .Pp
 Although the above functions can be considered as drop-in replacements
@@ -400,6 +400,6 @@ or in
 .Dv NIS/YP
 or
 .Dv NIS+
-maps which could be supported by the operating system's 
+maps which could be supported by the operating system's
 .Xr gethostent 3
 functions.
index f9f4719dab7d36c11dc3213c0941ae1d162be353..76a45bbc571214ccac3965b327e81007a36866a6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostent_r.3,v 1.2 2000/07/27 09:44:59 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostent_r.3,v 1.3 2000/08/01 01:21:23 tale Exp $
+.\"
 .so lwres_gethostent.3
index be7b2fdf4643d5ddd860c18e42986530b5a5c29a..ff4b80c9020f894626cf38a7c0b733dd33f51e71 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getipnode.3,v 1.2 2000/07/27 09:45:00 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getipnode.3,v 1.3 2000/08/01 01:21:24 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETIPNODE 3
 .Os BIND9 9
@@ -26,7 +26,7 @@
 .Nd lookup functions for the lightweight resolver
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft struct hostent *
 .Fo lwres_getipnodebyname
 .Fa "const char *name"
@@ -69,7 +69,7 @@ The official (canonical) name of the host.
 A NULL-terminated array of alternate names (nicknames) for the host.
 .It Li h_addrtype
 The type of address being returned -
-.Dv PF_INET 
+.Dv PF_INET
 or
 .Dv PF_INET6 .
 .It Li h_length
@@ -81,7 +81,7 @@ terminated array of network addresses for the host.
 Host addresses are returned in network byte order.
 .El
 .Pp
-For backward compatibility with very old software, 
+For backward compatibility with very old software,
 .Li h_addr
 is the first address in
 .Li h_addr_list.
@@ -170,7 +170,7 @@ gets discarded.
 .Pp
 .Fn lwres_freehostent
 releases all the memory associated with
-the 
+the
 .Dv "struct hostent"
 pointer
 .Fa he .
index 9edc2ca4b1dac12f25aa96d368dec6879d73bd0d..9dd965c37d915a88cfdff965262bf7f4259fd1a3 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getipnodebyaddr.3,v 1.2 2000/07/27 09:45:02 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getipnodebyaddr.3,v 1.3 2000/08/01 01:21:25 tale Exp $
+.\"
 .so lwres_getipnode.3
index c044391730df7c08552912911ff96d483accb443..52a9749e656578156dbbd72fee3b6f103a7b94da 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getipnodebyname.3,v 1.2 2000/07/27 09:45:03 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getipnodebyname.3,v 1.3 2000/08/01 01:21:26 tale Exp $
+.\"
 .so lwres_getipnode.3
index 53ba12ece6ae5866c57cd2acd4ab46f72b9b99ff..efea2d004231c9b038ca77eb77c37adff291472c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getnamebyaddr.3,v 1.2 2000/07/27 09:45:04 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getnamebyaddr.3,v 1.3 2000/08/01 01:21:27 tale Exp $
+.\"
 .so lwres_resutil.3
index 4d8dde7bf7b342b2401a08aea8f2e78c6f032330..c7e8986735dd1d53a68b07e72b2e388cf58b8203 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getnameinfo.3,v 1.3 2000/07/27 09:45:05 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getnameinfo.3,v 1.4 2000/08/01 01:21:28 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETNAMEINFO 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd lightweight resolver socket address structure to hostname and service name
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft int
 .Fo lwres_getnameinfo
 .Fa "const struct sockaddr *sa"
@@ -109,7 +109,7 @@ is called immediately before
 .Fn lwres_getnameinfo
 returns so that the created resolver context gets discarded.
 .Sh RETURN VALUES
-.Fn lwres_getnameinfo 
+.Fn lwres_getnameinfo
 returns 0 on success or a non-zero error code if an error occurs.
 .\"
 .\"    The error codes below were invented by the ISC/Nominum. They
index dc92cf5d56d7f5ae572367a15cca4295409ddbcd..d25661261b3c50fff681a4ee0b3b397acd7d1bd2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnba.3,v 1.2 2000/07/27 09:45:06 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnba.3,v 1.3 2000/08/01 01:21:29 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GNBA 3
 .Os BIND9 9
@@ -29,7 +29,7 @@
 .Nd lightweight resolver getnamebyaddress functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_gnbarequest_render
 .Fa "lwres_context_t *ctx"
@@ -133,7 +133,7 @@ uses context
 .Fa ctx
 to convert the contents of packet
 .Fa pkt
-to a 
+to a
 .Dv lwres_gnbarequest_t
 structure.
 Buffer
@@ -180,7 +180,7 @@ if memory allocation fails.
 is returned if the available space in the buffer
 .Fa b
 is too small to accommodate the packet header or the
-.Dv lwres_gnbarequest_t 
+.Dv lwres_gnbarequest_t
 and
 .Dv lwres_gnbaresponse_t
 structures.
@@ -198,4 +198,4 @@ in the packet header structure
 .Dv lwres_lwpacket_t
 indicate that the packet is not a response to an earlier query.
 .Sh SEE ALSO
-.Xr lwres_packet 3 
+.Xr lwres_packet 3
index 5212f560d40c7b4acfda3a8c24ef27103aa1384f..6557e2e039dca59e8282fe870c981e3c6ec40abc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbarequest_free.3,v 1.2 2000/07/27 09:45:08 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbarequest_free.3,v 1.3 2000/08/01 01:21:30 tale Exp $
+.\"
 .so lwres_gnba.3
index 1c3bf275f06250b918e6b2a74efd9948701aa541..288581aa70e4010c51ac2d4569dbc3b35ecdb092 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbarequest_parse.3,v 1.2 2000/07/27 09:45:09 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbarequest_parse.3,v 1.3 2000/08/01 01:21:31 tale Exp $
+.\"
 .so lwres_gnba.3
index 980a8dea1a7815ede1eca007ea70f84ed24074c0..fbfed7f15695191ed534908a265bd9afaf75b3af 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbarequest_render.3,v 1.2 2000/07/27 09:45:10 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbarequest_render.3,v 1.3 2000/08/01 01:21:33 tale Exp $
+.\"
 .so lwres_gnba.3
index e5d76319b227ce6583f9f5b05cad79719669fb8a..682aa01c71fad1bea0bf243a6535d85f7c1e3d43 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbaresponse_free.3,v 1.2 2000/07/27 09:45:11 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbaresponse_free.3,v 1.3 2000/08/01 01:21:34 tale Exp $
+.\"
 .so lwres_gnba.3
index bd18d82a90c96a624c87f6e11681f610fabbedd8..f713f0d4ddd7d7ce6b231e4f6362bee503957861 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbaresponse_parse.3,v 1.2 2000/07/27 09:45:13 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbaresponse_parse.3,v 1.3 2000/08/01 01:21:35 tale Exp $
+.\"
 .so lwres_gnba.3
index 0befce742f7413e7f636e71ed54f19d076771812..133808779e7efec9feb9f6f71081012980d9a098 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbaresponse_render.3,v 1.2 2000/07/27 09:45:14 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbaresponse_render.3,v 1.3 2000/08/01 01:21:36 tale Exp $
+.\"
 .so lwres_gnba.3
index 2c6ff76502f17afa36216d841c21ddabd9d6168f..644c5e6f4b80cc762d36cc0ff68b4f319b444754 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_herror.3,v 1.2 2000/07/27 09:45:15 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_herror.3,v 1.3 2000/08/01 01:21:37 tale Exp $
+.\"
 .so lwres_hstrerror.3
index 9833b8caee7b410c17deb797f16f9483cdb39120..8e922c84421385181ba448ee56dc22f32c2639d9 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_hstrerror.3,v 1.2 2000/07/27 09:45:16 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_hstrerror.3,v 1.3 2000/08/01 01:21:38 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_ERROR 3
 .Os BIND9 9
@@ -25,7 +25,7 @@
 .Nd lightweight resolver error message generation
 .Sh SYNOPSIS
 .Fd #include <lwres/netdb.h>
-.Fd 
+.Fd
 .Ft void
 .Fo lwres_herror
 .Fa "const char *s"
@@ -63,7 +63,7 @@ The values of the error codes and messages are as follows:
 .Sh RETURN VALUES
 The string \*qUnknown resolver error\*q is returned by
 .Fn lwres_hstrerror
-when the value of 
+when the value of
 .Li lwres_h_errno
 is not a valid error code.
 .Sh SEE ALSO
index 268548a6dc68df4d48d9fd59a88c22b45e4d6182..75658a149aedab8a2ea6c8a9675be6f06c90a2c2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_inetaton.3,v 1.2 2000/07/27 09:45:18 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_inetaton.3,v 1.3 2000/08/01 01:21:39 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_INETATON 3
 .Os BIND9 9
@@ -25,7 +25,7 @@
 .Sh SYNOPSIS
 .Fd #include <lwres/int.h>
 .Fd #include <lwres/net.h>
-.Fd 
+.Fd
 .Ft int
 .Fo lwres_net_aton
 .Fa "const char *cp"
@@ -65,8 +65,8 @@ a leading 0x or 0X implies hex; a decimal number is assumed otherwise.
 .Pp
 If a one-part address is given, its value is placed in the network
 address without any byte rearrangement.
-When a two-part address - 
-.Li a.b - 
+When a two-part address -
+.Li a.b -
 is supplied, the last part is considered a 24-bit quantity and placed
 in the bottom 3 bytes of
 .Li addr->s_addr .
index b245ce50be9eab800893eb9d18d00adf98bf2bbd..c69fdfc75d2bdb937b354ddf26a199660ee48762 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_inetntop.3,v 1.2 2000/07/27 09:45:19 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_inetntop.3,v 1.3 2000/08/01 01:21:41 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_INETNTOP 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd lightweight resolver IP address presentation
 .Sh SYNOPSIS
 .Fd #include <lwres/net.h>
-.Fd 
+.Fd
 .Ft const char *
 .Fo lwres_net_ntop
 .Fa "int af"
@@ -35,7 +35,7 @@
 .Sh DESCRIPTION
 .Fn lwres_net_ntop
 converts an IP address of protocol family
-.Fa af 
+.Fa af
 - IPv4 or IPv6 - at location
 .Fa src
 from network format to its conventional representation as a string.
index b5fd8b586e37d019ccb972b68c7c4be047ed345d..d24625a1ef8e0a5aeed5dbc34316d5523bcfa4df 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_inetpton.3,v 1.2 2000/07/27 09:45:20 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_inetpton.3,v 1.3 2000/08/01 01:21:42 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_INETPTON 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd lightweight resolver IP address conversion
 .Sh SYNOPSIS
 .Fd #include <lwres/net.h>
-.Fd 
+.Fd
 .Ft int
 .Fo lwres_net_pton
 .Fa "int af"
@@ -37,7 +37,7 @@ converts the presentation format of an IP address
 .Fa src
 to its representation in network format.
 .Fa af
-indicates the protocol family for the address 
+indicates the protocol family for the address
 .Dv PF_INET
 or
 .Dv PF_INET6
index 45daafec995ac1bf94f77319def195770e377867..ebaada062e8e97f926ab20f40844da88bacc28d7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_lwpacket_parseheader.3,v 1.2 2000/07/27 09:45:22 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_lwpacket_parseheader.3,v 1.3 2000/08/01 01:21:43 tale Exp $
+.\"
 .so lwres_packet.3
index 735268ac8bf4be1fc14049e2b746fcbed4c87c95..b439d1f6c2ca1d6d693cd5c07368cb80c4509c09 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_lwpacket_renderheader.3,v 1.2 2000/07/27 09:45:23 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_lwpacket_renderheader.3,v 1.3 2000/08/01 01:21:44 tale Exp $
+.\"
 .so lwres_packet.3
index 6173183e0f838aaafc411b7e6064907ae157f660..c6c40ad45e7c917fc4e6f5211c02524093cd3e78 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_net_aton.3,v 1.2 2000/07/27 09:45:24 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_net_aton.3,v 1.3 2000/08/01 01:21:45 tale Exp $
+.\"
 .so lwres_inetaton.3
index ee38d8378fa719468add4ea39b0ba0bd4d44bc7d..8e14b35a256f5e3f1f8b6b6af045f1c174e08e97 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_net_ntop.3,v 1.2 2000/07/27 09:45:25 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_net_ntop.3,v 1.3 2000/08/01 01:21:46 tale Exp $
+.\"
 .so lwres_inetntop.3
index 40c988a2e640c78ccc943c57532e45cf2c1eb251..8d97eb974e249442b720eb30f471003eba2bc991 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_net_pton.3,v 1.2 2000/07/27 09:45:26 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_net_pton.3,v 1.3 2000/08/01 01:21:47 tale Exp $
+.\"
 .so lwres_inetpton.3
index 4272c9fb799123a81f9de02fe0789f0ee5418e5a..3846f41bd10a572a8591495579918d8beea0413b 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noop.3,v 1.2 2000/07/27 09:45:28 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noop.3,v 1.3 2000/08/01 01:21:48 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_NOOP 3
 .Os BIND9 9
@@ -29,7 +29,7 @@
 .Nd lightweight resolver no-op functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_nooprequest_render
 .Fa "lwres_context_t *ctx"
@@ -132,7 +132,7 @@ uses context
 .Fa ctx
 to convert the contents of packet
 .Fa pkt
-to a 
+to a
 .Dv lwres_nooprequest_t
 structure.
 Buffer
@@ -177,7 +177,7 @@ if memory allocation fails.
 is returned if the available space in the buffer
 .Fa b
 is too small to accommodate the packet header or the
-.Dv lwres_nooprequest_t 
+.Dv lwres_nooprequest_t
 and
 .Dv lwres_noopresponse_t
 structures.
@@ -195,4 +195,4 @@ in the packet header structure
 .Dv lwres_lwpacket_t
 indicate that the packet is not a response to an earlier query.
 .Sh SEE ALSO
-.Xr lwres_packet 3 
+.Xr lwres_packet 3
index e7e8ab38fc4cce719fea679115f8c17e0c94b726..5750ec73d10d8266a6f1c1cfe822c31f6140ab49 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_nooprequest_free.3,v 1.2 2000/07/27 09:45:29 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_nooprequest_free.3,v 1.3 2000/08/01 01:21:50 tale Exp $
+.\"
 .so lwres_noop.3
index 2759d8afe7a9662f2c2545b33761d21dc041a8fd..2cd32707c95ad11073449ee425bbd989248001f8 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_nooprequest_parse.3,v 1.2 2000/07/27 09:45:31 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_nooprequest_parse.3,v 1.3 2000/08/01 01:21:51 tale Exp $
+.\"
 .so lwres_noop.3
index 3c4dc593b377f5d631d3dafceafec146069777c5..57ea067f09177890ecb2aeab4dee087b9cc2f977 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_nooprequest_render.3,v 1.2 2000/07/27 09:45:32 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_nooprequest_render.3,v 1.3 2000/08/01 01:21:52 tale Exp $
+.\"
 .so lwres_noop.3
index 7cb18fb2007dd796c9b6521a10a0a1e7cdde74f8..201c9702af3320996130a79358c0116fbef72a81 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noopresponse_free.3,v 1.2 2000/07/27 09:45:33 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noopresponse_free.3,v 1.3 2000/08/01 01:21:53 tale Exp $
+.\"
 .so lwres_noop.3
index 12fc9797237fc27d0e49faf9efaa8f1622bf89cd..5f6c4371507eaf2b7b1ebcbf958fb449bc510697 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noopresponse_parse.3,v 1.2 2000/07/27 09:45:34 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noopresponse_parse.3,v 1.3 2000/08/01 01:21:54 tale Exp $
+.\"
 .so lwres_noop.3
index 4b7545eb9fe9f5bc869153507f4ab61aa776a9ba..b5e25864a09900c80d63d9d5e9df7670867331f0 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noopresponse_render.3,v 1.2 2000/07/27 09:45:35 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noopresponse_render.3,v 1.3 2000/08/01 01:21:55 tale Exp $
+.\"
 .so lwres_noop.3
index 18c3a3dda266eaefd7270601c8681d35f4d8cfe3..ddab3c659043b252d8d848c58de2736313087a39 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_packet.3,v 1.2 2000/07/27 09:45:38 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_packet.3,v 1.3 2000/08/01 01:21:56 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_PACKET 3
 .Os BIND9 9
@@ -27,7 +27,7 @@
 .Fd #include <lwres/lwbuffer.h>
 .Fd #include <lwres/lwpacket.h>
 .Fd #include <lwres/result.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_lwpacket_renderheader
 .Fa "lwres_buffer_t *b"
@@ -72,7 +72,7 @@ is a request or a reply. Flag values can be set, but not defined by
 the caller.
 .It Li serial
 is set by the requestor and is returned in all replies. If two or more
-packets from the same source have the same serial number and are from 
+packets from the same source have the same serial number and are from
 the same source, they are assumed to be duplicates and the latter ones
 may be dropped.
 .It Li opcode
@@ -82,7 +82,7 @@ reserved for use by the lightweight resolver library. Opcodes between
 0x04000000 and 0xffffffff are application defined.
 .It Li result
 is only valid for replies.
-Results between 0x04000000 and 0xffffffff are application defined. 
+Results between 0x04000000 and 0xffffffff are application defined.
 Results between 0x00000000 and 0x03ffffff are reserved for library use.
 .It Li recvlength
 is the maximum buffer size that the receiver can handle on requests
@@ -140,6 +140,6 @@ return
 If there is insufficient space to copy data between the buffer
 .Fa *b
 and lightweight resolver packet
-.Fa *pkt 
+.Fa *pkt
 both functions return
 .Er LWRES_R_UNEXPECTEDEND .
index 3fb330dfb9ed6f60256ed5984c3a66b4f7c0b996..94f1262fbd4f18fb8148347c3d6320c5315370fa 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_resutil.3,v 1.2 2000/07/27 09:45:39 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_resutil.3,v 1.3 2000/08/01 01:21:57 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_RESUTIL 3
 .Os BIND9 9
@@ -27,7 +27,7 @@
 .Nd lightweight resolver utility functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_string_parse
 .Fa "lwres_buffer_t *b"
@@ -68,7 +68,7 @@ and the length of that string is given by
 .Fa *len .
 The buffer's current pointer is advanced to point at the character
 following the string length, the encoded string, and the trailing
-.Dv NULL 
+.Dv NULL
 character.
 .Fn lwres_string_parse
 has an assertion check that
@@ -117,7 +117,7 @@ typedef struct {
 .Ed
 The contents of this structure are not manipulated directly but
 they are controlled through the
-.Xr lwres_gabn 3 
+.Xr lwres_gabn 3
 functions.
 .Pp
 The lightweight resolver uses
@@ -139,7 +139,7 @@ Results of the lookup are returned in
 .Fa *structp .
 .Fn lwres_getaddrsbyname
 checks that its pointer arguments are not
-.Dv NULL 
+.Dv NULL
 and that
 .Fa addrtypes
 is non-zero.
@@ -165,8 +165,8 @@ Like
 .Fn lwres_getaddrsbyname ,
 .Fn lwres_getnamebyaddr
 uses assertion checking to ensure its pointer arguments are not
-.Dv NULL 
-and 
+.Dv NULL
+and
 .Fa addrtype
 is not zero.
 .Fn lwres_getaddrsbyname
index 69f0ee5a0893ac882799ee475c17a41749998832..08f1beebd63d1f0cebdc56746c3c079f37bb4edf 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_sethostent.3,v 1.2 2000/07/27 09:45:40 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_sethostent.3,v 1.3 2000/08/01 01:21:58 tale Exp $
+.\"
 .so lwres_gethostent.3
index 1dc1f12662bdc7ccbf6c1566c4df5f1c64d7662d..b728e84626585f5b075de649f77ee2a8cd49dff2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_sethostent_r.3,v 1.2 2000/07/27 09:45:41 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_sethostent_r.3,v 1.3 2000/08/01 01:21:59 tale Exp $
+.\"
 .so lwres_gethostent.3
index da30657d0544aec549f4f9b54ea0727919328805..57e97edb6386a94f267de9282aa89b03eb7dc6a2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_string_parse.3,v 1.2 2000/07/27 09:45:43 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_string_parse.3,v 1.3 2000/08/01 01:22:01 tale Exp $
+.\"
 .so lwres_resutil.3
index dfe3b8a633a381d89b93cfa1fd73e6cc087dd77c..9b762fcb58a30f4216e77dfedfb0d49544a12799 100644 (file)
@@ -1,7 +1,7 @@
 Copyright (C) 2000  Internet Software Consortium.
 See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
 
-$Id: options,v 1.31 2000/07/12 15:55:10 gson Exp $
+$Id: options,v 1.32 2000/08/01 01:22:02 tale Exp $
 
 This is a summary of the implementation status of the various named.conf
 options in BIND 9.
@@ -12,7 +12,7 @@ Legend:
 
   No       Not implemented, may be implemented in a later release.
 
-  Obsolete  Obsolete, not applicable to BIND 9, or just evil.  
+  Obsolete  Obsolete, not applicable to BIND 9, or just evil.
            Will not be implemented.
 
   *        New in BIND 9.
@@ -24,9 +24,9 @@ Legend:
   %        The default value has changed since BIND 8.
 
   @        Semantics of certain pathological address match lists, in
-           particular those involving double negation, have changed.  
+           particular those involving double negation, have changed.
            The new semantics are generally safer.  IPv6 addresses
-           are supported, but the predefined ACLs "localhost" and 
+           are supported, but the predefined ACLs "localhost" and
            "localnets" match IPv4 addresses only.
 
   #        BIND 9 accepts both LF and CRLF as end-of-line markers.
@@ -128,7 +128,7 @@ server ip_addr {
 
 trusted-keys                                               Yes
 
-zone "domain_name" [ ( in | hs | hesiod | chaos ) ] { 
+zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {
   type master;                                             Yes
   file path_name;                                          Yes
   [ forward ( only | first ); ]                                    No
@@ -146,11 +146,11 @@ zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {
   [ pubkey number number number string; ]                  No
 };
 
-zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {      
+zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {
   type stub;                                               No
 };
 
-zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {      
+zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {
   type slave;                                              Yes
   [ file path_name; ]                                      Yes
   [ ixfr-base  path_name; ]                                Obsolete
@@ -174,11 +174,11 @@ zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {
   [ pubkey number number number string; ]                  No
 };
 
-zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {      
+zone "domain_name" [ ( in | hs | hesiod | chaos ) ] {
   type forward;                                                    No
 };
 
-zone "." [ ( in | hs | hesiod | chaos ) ] {                
+zone "." [ ( in | hs | hesiod | chaos ) ] {
   type hint;                                               Yes
   file path_name;                                          Yes
   [ check-names ( warn | fail | ignore ); ]                No
index ebc66913e94018bd82ce82789525e7f67ff340b8..058b26c82d24335834ad0472109d0cbc1c829084 100755 (executable)
@@ -115,7 +115,7 @@ fi
 if [ x"$dir_arg" != x ]; then
        dst=$src
        src=""
-       
+
        if [ -d $dst ]; then
                instcmd=:
        else
@@ -124,7 +124,7 @@ if [ x"$dir_arg" != x ]; then
 else
 
 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad 
+# might cause directories to be created, which would be especially bad
 # if $src (and thus $dsttmp) contains '*'.
 
        if [ -f $src -o -d $src ]
@@ -134,7 +134,7 @@ else
                echo "install:  $src does not exist"
                exit 1
        fi
-       
+
        if [ x"$dst" = x ]
        then
                echo "install:  no destination specified"
@@ -162,7 +162,7 @@ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
 
 # Skip lots of stat calls in the usual case.
 if [ ! -d "$dstdir" ]; then
-defaultIFS='   
+defaultIFS='
 '
 IFS="${IFS-${defaultIFS}}"
 
@@ -201,17 +201,17 @@ else
 
 # If we're going to rename the final executable, determine the name now.
 
-       if [ x"$transformarg" = x ] 
+       if [ x"$transformarg" = x ]
        then
                dstfile=`basename $dst`
        else
-               dstfile=`basename $dst $transformbasename | 
+               dstfile=`basename $dst $transformbasename |
                        sed $transformarg`$transformbasename
        fi
 
 # don't allow the sed command to completely eliminate the filename
 
-       if [ x"$dstfile" = x ] 
+       if [ x"$dstfile" = x ]
        then
                dstfile=`basename $dst`
        else
@@ -242,7 +242,7 @@ else
 # Now rename the file to the real destination.
 
        $doit $rmcmd -f $dstdir/$dstfile &&
-       $doit $mvcmd $dsttmp $dstdir/$dstfile 
+       $doit $mvcmd $dsttmp $dstdir/$dstfile
 
 fi &&
 
index 2e1b45f28d17fd379d1c5197e1e6bcdc0e41b9a9..2bee1abdb96b28d2f211ec218f53032f2100c254 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: isc-config.sh.in,v 1.5 2000/07/27 09:36:22 tale Exp $
+# $Id: isc-config.sh.in,v 1.6 2000/08/01 01:11:05 tale Exp $
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
index 24867522954cd981821cd16332a2ac529befb88a..07c3ec152814339d428bf39c4ca0d7e2042b9dc0 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.10 2000/07/27 09:45:44 tale Exp $
+# $Id: Makefile.in,v 1.11 2000/08/01 01:22:03 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index a939f54648edf9f88099fa46ff2ff3f4060ff07a..052fade1f58a8666c5df91d53993b3503652b900 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.95 2000/07/31 19:44:12 bwelling Exp $
+# $Id: Makefile.in,v 1.96 2000/08/01 01:22:05 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 239f4418849a5bcd916ffcaa8d49060bdfa70d0f..b1907d97bffd8b21b149894f523cf0230fd6c4b7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: a6.c,v 1.15 2000/07/27 09:45:48 tale Exp $ */
+/* $Id: a6.c,v 1.16 2000/08/01 01:22:06 tale Exp $ */
 
 #include <config.h>
 
@@ -55,7 +55,7 @@ foreach(dns_a6context_t *a6ctx, dns_rdataset_t *parent, unsigned int depth,
        expiration = a6ctx->now + parent->ttl;
        if (expiration < a6ctx->expiration || a6ctx->expiration == 0)
                a6ctx->expiration = expiration;
-       
+
        depth++;
        result = dns_rdataset_first(parent);
        while (result == ISC_R_SUCCESS) {
index 3242645b8abeab3b652d67f7128aba3e5eb11855..5215974a7f696e01669dccead8082d50bed31f64 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: acl.c,v 1.12 2000/07/27 09:45:49 tale Exp $ */
+/* $Id: acl.c,v 1.13 2000/08/01 01:22:07 tale Exp $ */
 
 #include <config.h>
 
@@ -35,7 +35,7 @@ dns_acl_create(isc_mem_t *mctx, int n, dns_acl_t **target) {
         */
        if (n == 0)
                n = 1;
-       
+
        acl = isc_mem_get(mctx, sizeof(*acl));
        if (acl == NULL)
                return (ISC_R_NOMEMORY);
@@ -45,12 +45,12 @@ dns_acl_create(isc_mem_t *mctx, int n, dns_acl_t **target) {
        acl->elements = NULL;
        acl->alloc = 0;
        acl->length = 0;
-       
+
        ISC_LINK_INIT(acl, nextincache);
        /*
         * Must set magic early because we use dns_acl_detach() to clean up.
         */
-       acl->magic = DNS_ACL_MAGIC; 
+       acl->magic = DNS_ACL_MAGIC;
 
        acl->elements = isc_mem_get(mctx, n * sizeof(dns_aclelement_t));
        if (acl->elements == NULL) {
@@ -94,10 +94,10 @@ dns_acl_appendelement(dns_acl_t *acl, dns_aclelement_t *elt) {
         * Append the new element.
         */
        acl->elements[acl->length++] = *elt;
-       
+
        return (ISC_R_SUCCESS);
 }
-                      
+
 static isc_result_t
 dns_acl_anyornone(isc_mem_t *mctx, isc_boolean_t neg, dns_acl_t **target) {
        isc_result_t result;
@@ -136,25 +136,25 @@ dns_acl_match(isc_netaddr_t *reqaddr,
 
        REQUIRE(reqaddr != NULL);
        REQUIRE(matchelt == NULL || *matchelt == NULL);
-       
+
        for (i = 0; i < acl->length; i++) {
                dns_aclelement_t *e = &acl->elements[i];
                dns_acl_t *inner = NULL;
-               
+
                switch (e->type) {
                case dns_aclelementtype_ipprefix:
                        if (isc_netaddr_eqprefix(reqaddr,
-                                                &e->u.ip_prefix.address, 
+                                                &e->u.ip_prefix.address,
                                                 e->u.ip_prefix.prefixlen))
                                goto matched;
                        break;
-                       
+
                case dns_aclelementtype_keyname:
                        if (reqsigner != NULL &&
                            dns_name_equal(reqsigner, &e->u.keyname))
                            goto matched;
                        break;
-               
+
                case dns_aclelementtype_nestedacl:
                        inner = e->u.nestedacl;
                nested:
@@ -167,7 +167,7 @@ dns_acl_match(isc_netaddr_t *reqaddr,
                        /*
                         * Treat negative matches in indirect ACLs as
                         * "no match".
-                        * That way, a negated indirect ACL will never become 
+                        * That way, a negated indirect ACL will never become
                         * a surprise positive match through double negation.
                         * XXXDCL this should be documented.
                         */
@@ -196,7 +196,7 @@ dns_acl_match(isc_netaddr_t *reqaddr,
                        } else {
                                break;
                        }
-                       
+
                case dns_aclelementtype_localnets:
                        if (env != NULL && env->localnets != NULL) {
                                inner = env->localnets;
@@ -204,7 +204,7 @@ dns_acl_match(isc_netaddr_t *reqaddr,
                        } else {
                                break;
                        }
-                       
+
                default:
                        INSIST(0);
                        break;
index a489d69999cb28eb95d6521df8add604ec0b6399..b00826a7ea70a192fbb10b4c00b7be2492666739 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: aclconf.c,v 1.19 2000/07/27 09:45:50 tale Exp $ */
+/* $Id: aclconf.c,v 1.20 2000/08/01 01:22:08 tale Exp $ */
 
 #include <config.h>
 
@@ -34,7 +34,7 @@ dns_aclconfctx_init(dns_aclconfctx_t *ctx) {
 
 void
 dns_aclconfctx_destroy(dns_aclconfctx_t *ctx) {
-       dns_acl_t *dacl, *next; 
+       dns_acl_t *dacl, *next;
        for (dacl = ISC_LIST_HEAD(ctx->named_acl_cache);
             dacl != NULL;
             dacl = next)
@@ -103,7 +103,7 @@ convert_keyname(char *txtname, isc_mem_t *mctx, dns_name_t *dnsname) {
        }
        return (dns_name_dup(dns_fixedname_name(&fixname), mctx, dnsname));
 }
-              
+
 isc_result_t
 dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
                   dns_c_ctx_t *cctx,
@@ -118,7 +118,7 @@ dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
        dns_c_ipmatchelement_t *ce;
 
        REQUIRE(target != NULL && *target == NULL);
-       
+
        count = 0;
        for (ce = ISC_LIST_HEAD(caml->elements);
             ce != NULL;
@@ -128,7 +128,7 @@ dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
        result = dns_acl_create(mctx, count, &dacl);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        de = dacl->elements;
        for (ce = ISC_LIST_HEAD(caml->elements);
             ce != NULL;
@@ -192,7 +192,7 @@ dns_acl_fromconfig(dns_c_ipmatchlist_t *caml,
 
        *target = dacl;
        return (ISC_R_SUCCESS);
-       
+
  cleanup:
        dns_acl_detach(&dacl);
        return (result);
index 3d4499ae4e70eaf364eb39ec8638e7d549f7d0b9..93bdd29ca642109e2d2e5ff7292132c5cd816898 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb.c,v 1.143 2000/07/27 09:45:52 tale Exp $ */
+/* $Id: adb.c,v 1.144 2000/08/01 01:22:09 tale Exp $ */
 
 /*
  * Implementation notes
@@ -578,7 +578,7 @@ import_a6(dns_a6context_t *a6ctx) {
        addr_bucket = DNS_ADB_INVALIDBUCKET;
 
        DP(ENTER_LEVEL, "ENTER: import_a6() name %p", name);
-       
+
        nh = new_adbnamehook(adb, NULL);
        if (nh == NULL) {
                name->partial_result |= DNS_ADBFIND_INET6; /* clear for AAAA */
@@ -873,11 +873,11 @@ cancel_fetches_at_name(dns_adbname_t *name) {
 
        if (NAME_FETCH_A(name))
            dns_resolver_cancelfetch(name->fetch_a->fetch);
-                                    
+
 
        if (NAME_FETCH_AAAA(name))
            dns_resolver_cancelfetch(name->fetch_aaaa->fetch);
-                                    
+
 
        fetch6 = ISC_LIST_HEAD(name->fetches_a6);
        while (fetch6 != NULL) {
@@ -1522,7 +1522,7 @@ a6find(void *arg, dns_name_t *a6name, dns_rdatatype_t type, isc_stdtime_t now,
        INSIST(DNS_ADBNAME_VALID(name));
        adb = name->adb;
        INSIST(DNS_ADB_VALID(adb));
-       
+
        return (dns_view_simplefind(adb->view, a6name, type, now,
                                    DNS_DBFIND_GLUEOK, ISC_FALSE,
                                    rdataset, sigrdataset));
@@ -1537,7 +1537,7 @@ a6missing(dns_a6context_t *a6ctx, dns_name_t *a6name) {
        dns_adb_t *adb;
        dns_adbfetch6_t *fetch;
        isc_result_t result;
-       
+
        name = a6ctx->arg;
        INSIST(DNS_ADBNAME_VALID(name));
        adb = name->adb;
@@ -1803,7 +1803,7 @@ entry_is_bad_for_zone(dns_adb_t *adb, dns_adbentry_t *entry, dns_name_t *zone,
 
                zi = next_zi;
        }
-       
+
        return (is_bad);
 }
 
@@ -1964,7 +1964,7 @@ check_expire_entry(dns_adb_t *adb, dns_adbentry_t **entryp, isc_stdtime_t now)
                return;
        if (entry->expires == 0 || entry->expires > now)
                return;
-       
+
        /*
         * The entry is not in use.  Delete it.
         */
@@ -2238,7 +2238,7 @@ dns_adb_create(isc_mem_t *mem, dns_view_t *view, isc_timermgr_t *timermgr,
        isc_task_setname(adb->task, "ADB", adb);
        /*
         * XXXMLG When this is changed to be a config file option,
-        */ 
+        */
        isc_interval_set(&adb->tick_interval, CLEAN_SECONDS, 0);
        result = isc_timer_create(adb->timermgr, isc_timertype_once,
                                  NULL, &adb->tick_interval, adb->task,
@@ -2351,7 +2351,7 @@ dns_adb_whenshutdown(dns_adb_t *adb, isc_task_t *task, isc_event_t **eventp) {
        else
                zeroirefcnt = ISC_FALSE;
        UNLOCK(&adb->ilock);
-       
+
        if (adb->shutting_down && zeroirefcnt &&
            isc_mempool_getallocated(adb->ahmp) == 0) {
                /*
@@ -2365,7 +2365,7 @@ dns_adb_whenshutdown(dns_adb_t *adb, isc_task_t *task, isc_event_t **eventp) {
                event->ev_sender = clone;
                ISC_LIST_APPEND(adb->whenshutdown, event, ev_link);
        }
-       
+
        UNLOCK(&adb->lock);
 }
 
@@ -3441,7 +3441,7 @@ fetch_callback_a6(isc_task_t *task, isc_event_t *ev) {
        ISC_LIST_UNLINK(name->fetches_a6, fetch, plink);
 
        DP(ENTER_LEVEL, "ENTER: fetch_callback_a6() name %p", name);
-       
+
        dns_resolver_destroyfetch(&fetch->fetch);
        dev->fetch = NULL;
 
@@ -3615,7 +3615,7 @@ fetch_name_v4(dns_adbname_t *adbname, isc_boolean_t start_at_root) {
        name = NULL;
        nameservers = NULL;
        dns_rdataset_init(&rdataset);
-       
+
        if (start_at_root) {
                DP(50, "fetch_name_v4: starting at DNS root for name %p",
                   adbname);
@@ -3952,7 +3952,7 @@ dns_adb_freeaddrinfo(dns_adb_t *adb, dns_adbaddrinfo_t **addrp) {
        isc_stdtime_get(&now);
 
        *addrp = NULL;
-       
+
        bucket = addr->entry->lock_bucket;
        LOCK(&adb->entrylocks[bucket]);
 
index b25e0bd1213725113c2c277adfd6a07942c6a2c9..19b4736ce55eead8c3073960069fe3fee92622be 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: byaddr.c,v 1.17 2000/07/27 09:45:53 tale Exp $ */
+/* $Id: byaddr.c,v 1.18 2000/08/01 01:22:11 tale Exp $ */
 
 #include <config.h>
 
@@ -64,7 +64,7 @@ struct dns_byaddr {
 static void byaddr_find(dns_byaddr_t *byaddr, dns_fetchevent_t *event);
 
 static char hex_digits[] = {
-       '0', '1', '2', '3', '4', '5', '6', '7', 
+       '0', '1', '2', '3', '4', '5', '6', '7',
        '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
 };
 
@@ -139,7 +139,7 @@ copy_ptr_targets(dns_byaddr_t *byaddr) {
        /*
         * The caller must be holding the byaddr's lock.
         */
-       
+
        result = dns_rdataset_first(&byaddr->rdataset);
        while (result == ISC_R_SUCCESS) {
                dns_rdataset_current(&byaddr->rdataset, &rdata);
@@ -161,7 +161,7 @@ copy_ptr_targets(dns_byaddr_t *byaddr) {
        }
        if (result == ISC_R_NOMORE)
                result = ISC_R_SUCCESS;
-       
+
        return (result);
 }
 
@@ -420,7 +420,7 @@ dns_byaddr_create(isc_mem_t *mctx, isc_netaddr_t *address, dns_view_t *view,
        byaddr->canceled = ISC_FALSE;
        dns_rdataset_init(&byaddr->rdataset);
        byaddr->magic = BYADDR_MAGIC;
-       
+
        *byaddrp = byaddr;
 
        byaddr_find(byaddr, NULL);
index f261535099555e83202298bd8cfcd6895d3efb0c..aa8c859d31ce87343a6316f573c296b645dc84d0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cache.c,v 1.25 2000/07/27 09:45:54 tale Exp $ */
+/* $Id: cache.c,v 1.26 2000/08/01 01:22:12 tale Exp $ */
 
 #include <config.h>
 
@@ -41,7 +41,7 @@
 
 /*
  * A cache_cleaner_t encapsulsates the state of the periodic
- * cache cleaning. 
+ * cache cleaning.
  */
 
 typedef struct cache_cleaner cache_cleaner_t;
@@ -67,17 +67,17 @@ struct cache_cleaner {
        unsigned int    cleaning_interval; /* The cleaning-interval from
                                              named.conf, in seconds. */
        isc_timer_t     *cleaning_timer;
-       isc_event_t     *resched_event; /* Sent by cleaner task to 
+       isc_event_t     *resched_event; /* Sent by cleaner task to
                                           itself to reschedule */
 
        dns_dbiterator_t *iterator;
-       int              increment;     /* Number of names to 
+       int              increment;     /* Number of names to
                                           clean in one increment */
        cleaner_state_t  state;         /* Idle/Busy. */
 };
 
 /*
- * The actual cache object. 
+ * The actual cache object.
  */
 
 struct dns_cache {
@@ -89,12 +89,12 @@ struct dns_cache {
 
        /* Locked by 'lock'. */
        int                     references;
-       int                     live_tasks;     
+       int                     live_tasks;
        dns_rdataclass_t        rdclass;
        dns_db_t                *db;
        cache_cleaner_t         cleaner;
 
-       /* Locked by 'filelock'. */     
+       /* Locked by 'filelock'. */
        char *                  filename;
        /* Access to the on-disk cache file is also locked by 'filelock'. */
 };
@@ -117,7 +117,7 @@ incremental_cleaning_action(isc_task_t *task, isc_event_t *event);
 static void
 cleaner_shutdown_action(isc_task_t *task, isc_event_t *event);
 
-isc_result_t 
+isc_result_t
 dns_cache_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
                 isc_timermgr_t *timermgr, dns_rdataclass_t rdclass,
                 const char *db_type, unsigned int db_argc, char **db_argv,
@@ -157,8 +157,8 @@ dns_cache_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        if (result != ISC_R_SUCCESS)
                goto cleanup_mutex;
 
-       cache->filename = NULL; 
-       
+       cache->filename = NULL;
+
        cache->magic = CACHE_MAGIC;
 
        result = cache_cleaner_init(cache, taskmgr, timermgr,
@@ -179,7 +179,7 @@ dns_cache_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        return (result);
 }
 
-static void 
+static void
 cache_free(dns_cache_t *cache) {
        isc_mem_t *mctx;
 
@@ -204,11 +204,11 @@ cache_free(dns_cache_t *cache) {
                dns_db_detach(&cache->db);
 
        isc_mutex_destroy(&cache->lock);
-       cache->magic = 0;       
+       cache->magic = 0;
        mctx = cache->mctx;
-       isc_mem_put(cache->mctx, cache, sizeof *cache); 
+       isc_mem_put(cache->mctx, cache, sizeof *cache);
        isc_mem_detach(&mctx);
-}      
+}
 
 
 void
@@ -267,11 +267,11 @@ dns_cache_setfilename(dns_cache_t *cahce, char *filename) {
        char *newname = isc_mem_strdup(filename);
        if (newname == NULL)
                return (ISC_R_NOMEMORY);
-       LOCK(&cache->filelock); 
+       LOCK(&cache->filelock);
        if (cache->filename)
                isc_mem_free(cache->mctx, cache->filename);
        cache->filename = newname;
-       UNLOCK(&cache->filelock);       
+       UNLOCK(&cache->filelock);
        return (ISC_R_SUCCESS);
 }
 
@@ -283,7 +283,7 @@ dns_cache_load(dns_cache_t *cache) {
        LOCK(&cache->filelock);
        /* XXX handle TTLs in a way appropriate for the cache */
        result = dns_db_load(cache->db, cache->filename);
-       UNLOCK(&cache->filelock);       
+       UNLOCK(&cache->filelock);
        return (result);
 }
 
@@ -310,16 +310,16 @@ dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int t) {
                                isc_timertype_ticker,
                                NULL, &interval, ISC_FALSE);
        }
-       UNLOCK(&cache->lock);   
+       UNLOCK(&cache->lock);
 }
 
 /*
- * Initialize the cache cleaner object at *cleaner.  
+ * Initialize the cache cleaner object at *cleaner.
  * Space for the object must be allocated by the caller.
  */
 
 static isc_result_t
-cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr, 
+cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr,
                   isc_timermgr_t *timermgr, cache_cleaner_t *cleaner)
 {
         isc_result_t result;
@@ -328,11 +328,11 @@ cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr,
        cleaner->state = cleaner_s_idle;
        cleaner->cache = cache;
        cleaner->iterator = NULL;
-       
+
        cleaner->task = NULL;
        cleaner->cleaning_timer = NULL;
        cleaner->resched_event = NULL;
-       
+
        if (taskmgr != NULL && timermgr != NULL) {
                result = isc_task_create(taskmgr, 1, &cleaner->task);
                if (result != ISC_R_SUCCESS) {
@@ -354,7 +354,7 @@ cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr,
                                         dns_result_totext(result));
                        goto cleanup;
                }
-                       
+
                cleaner->cleaning_interval = 0; /* Initially turned off. */
                result = isc_timer_create(timermgr, isc_timertype_inactive,
                                           NULL, NULL,
@@ -368,7 +368,7 @@ cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr,
                        result = ISC_R_UNEXPECTED;
                        goto cleanup;
                }
-               
+
                cleaner->resched_event =
                        isc_event_allocate(cache->mctx, cleaner,
                                           DNS_EVENT_CACHECLEAN,
@@ -379,9 +379,9 @@ cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr,
                        goto cleanup;
                }
        }
-               
+
        return (ISC_R_SUCCESS);
-       
+
  cleanup:
        if (cleaner->cleaning_timer != NULL)
                isc_timer_detach(&cleaner->cleaning_timer);
@@ -430,7 +430,7 @@ begin_cleaning(cache_cleaner_t *cleaner) {
        return;
 
  destroyiter:
-       dns_dbiterator_destroy(&cleaner->iterator);     
+       dns_dbiterator_destroy(&cleaner->iterator);
  idle:
        ENSURE(CLEANER_IDLE(cleaner));
        return;
@@ -516,9 +516,9 @@ incremental_cleaning_action(isc_task_t *task, isc_event_t *event) {
 
                /*
                 * This is where the actual freeing takes place.
-                */ 
+                */
                dns_db_detachnode(cleaner->cache->db, &node);
-               
+
                /*
                 * Step to the next node.
                 */
@@ -562,12 +562,12 @@ incremental_cleaning_action(isc_task_t *task, isc_event_t *event) {
         * No longer busy; save the event for later use.
         */
        end_cleaning(cleaner, event);
-       INSIST(CLEANER_IDLE(cleaner));  
+       INSIST(CLEANER_IDLE(cleaner));
        return;
 }
 
 /*
- * Do immediate cleaning. 
+ * Do immediate cleaning.
  */
 isc_result_t
 dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) {
@@ -577,7 +577,7 @@ dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) {
        result = dns_db_createiterator(cache->db, ISC_FALSE, &iterator);
        if (result != ISC_R_SUCCESS)
                return result;
-       
+
        result = dns_dbiterator_first(iterator);
 
        while (result == ISC_R_SUCCESS) {
@@ -603,7 +603,7 @@ dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) {
 
                /*
                 * This is where the actual freeing takes place.
-                */ 
+                */
                dns_db_detachnode(cache->db, &node);
 
                result = dns_dbiterator_next(iterator);
@@ -613,7 +613,7 @@ dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) {
 
        if (result == ISC_R_NOMORE)
                result = ISC_R_SUCCESS;
-       
+
        return result;
 }
 
@@ -623,7 +623,7 @@ dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) {
 static void
 cleaner_shutdown_action(isc_task_t *task, isc_event_t *event) {
        dns_cache_t *cache = event->ev_arg;
-       isc_boolean_t should_free = ISC_FALSE;  
+       isc_boolean_t should_free = ISC_FALSE;
 
        UNUSED(task);
 
@@ -631,12 +631,12 @@ cleaner_shutdown_action(isc_task_t *task, isc_event_t *event) {
 
        INSIST(event->ev_type == ISC_TASKEVENT_SHUTDOWN);
        isc_event_free(&event);
-       
+
        cache->live_tasks--;
        INSIST(cache->live_tasks == 0);
 
        if (cache->references == 0)
-               should_free = ISC_TRUE;         
+               should_free = ISC_TRUE;
 
        /*
         * By detaching the timer in the context of its task,
@@ -648,7 +648,7 @@ cleaner_shutdown_action(isc_task_t *task, isc_event_t *event) {
 
        /* Make sure we don't reschedule anymore. */
        isc_task_purge(task, NULL, DNS_EVENT_CACHECLEAN, NULL);
-       
+
        UNLOCK(&cache->lock);
 
        if (should_free)
index 8abd93ba26563fbd3be139432e17a66be259ad1d..31ab74ecd7c4f1ad80eeb8c33d81cefb01b0906b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: callbacks.c,v 1.9 2000/07/27 09:45:55 tale Exp $ */
+/* $Id: callbacks.c,v 1.10 2000/08/01 01:22:13 tale Exp $ */
 
 #include <config.h>
 
@@ -50,7 +50,7 @@ isclog_error_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...) {
        va_list ap;
 
        UNUSED(callbacks);
-       
+
        va_start(ap, fmt);
        isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_GENERAL,
                       DNS_LOGMODULE_MASTER, /* XXX */
index 1502bac4eb6a689abd06cfd225be4fabe6be272d..76ebb094c477bd3f4445286415f87a8cc8f0c7f8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: compress.c,v 1.34 2000/07/27 09:45:56 tale Exp $ */
+/* $Id: compress.c,v 1.35 2000/08/01 01:22:14 tale Exp $ */
 
 #define DNS_NAME_USEINLINE 1
 
@@ -230,7 +230,7 @@ unsigned int
 dns_decompress_getmethods(dns_decompress_t *dctx) {
 
        REQUIRE(VALID_DCTX(dctx));
-       
+
        return (dctx->allowed);
 }
 
@@ -238,7 +238,7 @@ int
 dns_decompress_edns(dns_decompress_t *dctx) {
 
        REQUIRE(VALID_DCTX(dctx));
-       
+
        return (dctx->edns);
 }
 
index 43a8bd214745f4f2db1021c85cf12516505860ee..06193dd2a59dfc76481271fa107d7250e23ced2a 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.16 2000/07/27 09:46:55 tale Exp $
+# $Id: Makefile.in,v 1.17 2000/08/01 01:23:13 tale Exp $
 
 srcdir         = @srcdir@
 VPATH          = @srcdir@
@@ -45,7 +45,7 @@ SRCS          = confparser.c confcommon.c confacl.c confcache.c \
                  conflsn.c confndc.c confresolv.c confrrset.c \
                  confview.c confzone.c
 
-SUBDIRS                =       
+SUBDIRS                =
 TARGETS                = ${OBJS}
 
 @BIND9_MAKE_RULES@
@@ -56,7 +56,7 @@ TARGETS               = ${OBJS}
 ##     mv y.tab.c confparser.c
 ##     mv y.tab.h confparser_p.h
 
-## This rule is here during development to help debugging. 
+## This rule is here during development to help debugging.
 ## Remove and uncomment the rule above before release.
 confparser.c: confparser.y
        ${YACC} -d ${srcdir}/confparser.y
index 1929f604a80d77ab7dd18780402822566916421d..5c8aecf3d936ce567e3c3a65de6c8d22f4ed4192 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confacl.c,v 1.19 2000/07/27 09:46:56 tale Exp $ */
+/* $Id: confacl.c,v 1.20 2000/08/01 01:23:14 tale Exp $ */
 
 #include <config.h>
 
@@ -32,7 +32,7 @@ acl_delete(dns_c_acl_t **aclptr);
 isc_result_t
 dns_c_acltable_new(isc_mem_t *mem, dns_c_acltable_t **newtable) {
        dns_c_acltable_t *table;
-       
+
        REQUIRE(mem != NULL);
        REQUIRE(newtable != NULL);
 
@@ -61,7 +61,7 @@ dns_c_acltable_delete(dns_c_acltable_t **table) {
 
        REQUIRE(table != NULL);
        REQUIRE(*table != NULL);
-       
+
        acltable = *table;
 
        REQUIRE(DNS_C_CONFACLTABLE_VALID(acltable));
@@ -69,11 +69,11 @@ dns_c_acltable_delete(dns_c_acltable_t **table) {
        dns_c_acltable_clear(acltable);
 
        mem = acltable->mem;
-       
+
        acltable->magic = 0;
        acltable->mem = NULL;
-       
-       
+
+
        isc_mem_put(mem, acltable, sizeof *acltable);
 
        return (ISC_R_SUCCESS);
@@ -90,13 +90,13 @@ dns_c_acltable_print(FILE *fp, int indent, dns_c_acltable_t *table) {
        if (table == NULL) {
                return;
        }
-               
+
        REQUIRE(DNS_C_CONFACLTABLE_VALID(table));
-                       
+
        acl = ISC_LIST_HEAD(table->acl_list);
        while (acl != NULL) {
                acltmp = ISC_LIST_NEXT(acl, next);
-               
+
                if (!acl->is_special) { /* don't print specials */
                        dns_c_acl_print(fp, indent, acl);
                        fprintf(fp, "\n");
@@ -111,14 +111,14 @@ dns_c_acltable_clear(dns_c_acltable_t *table) {
        dns_c_acl_t *elem;
        dns_c_acl_t *tmpelem;
        isc_result_t r;
-       
+
        REQUIRE(DNS_C_CONFACLTABLE_VALID(table));
-                       
+
        elem = ISC_LIST_HEAD(table->acl_list);
        while (elem != NULL) {
                tmpelem = ISC_LIST_NEXT(elem, next);
                ISC_LIST_UNLINK(table->acl_list, elem, next);
-               
+
                r = acl_delete(&elem);
                if (r != ISC_R_SUCCESS) {
                        isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
@@ -154,7 +154,7 @@ dns_c_acltable_getacl(dns_c_acltable_t *table,
 
                elem = ISC_LIST_NEXT(elem, next);
        }
-       
+
        if (elem != NULL) {
                REQUIRE(DNS_C_CONFACL_VALID(elem));
                *retval = elem;
@@ -171,7 +171,7 @@ dns_c_acltable_removeacl(dns_c_acltable_t *table, const char *aclname) {
 
        REQUIRE(DNS_C_CONFACLTABLE_VALID(table));
        REQUIRE(aclname != NULL);
-       
+
        acl = ISC_LIST_HEAD(table->acl_list);
        while (acl != NULL) {
                tmpacl = ISC_LIST_NEXT(acl, next);
@@ -193,7 +193,7 @@ dns_c_acl_new(dns_c_acltable_t *table, const char *aclname,
              isc_boolean_t isspecial, dns_c_acl_t **newacl)
 {
        dns_c_acl_t *acl;
-       
+
        REQUIRE(DNS_C_CONFACLTABLE_VALID(table));
        REQUIRE(aclname != NULL);
        REQUIRE(*aclname != '\0');
@@ -223,7 +223,7 @@ dns_c_acl_new(dns_c_acltable_t *table, const char *aclname,
        }
 
        ISC_LIST_APPEND(table->acl_list, acl, next);
-       
+
        *newacl = acl;
 
        return (ISC_R_SUCCESS);
@@ -233,7 +233,7 @@ dns_c_acl_new(dns_c_acltable_t *table, const char *aclname,
 void
 dns_c_acl_print(FILE *fp, int indent, dns_c_acl_t *acl) {
        REQUIRE(DNS_C_CONFACL_VALID(acl));
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "acl ");
        if (acl->name == NULL) {
@@ -258,7 +258,7 @@ dns_c_acl_setipml(dns_c_acl_t *acl,
                  dns_c_ipmatchlist_t *ipml, isc_boolean_t deepcopy)
 {
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFACL_VALID(acl));
        REQUIRE(ipml != NULL);
 
@@ -286,7 +286,7 @@ dns_c_acl_getipmlexpanded(isc_mem_t *mem, dns_c_acl_t *acl,
        isc_result_t r;
 
        REQUIRE(DNS_C_CONFACL_VALID(acl));
-       
+
        if (acl->ipml == NULL) {
                newlist = NULL;
                r = ISC_R_SUCCESS;
@@ -300,7 +300,7 @@ dns_c_acl_getipmlexpanded(isc_mem_t *mem, dns_c_acl_t *acl,
        }
 
        *retval = newlist;
-       
+
        return (r);
 }
 
@@ -317,7 +317,7 @@ dns_c_acl_expandacls(dns_c_acltable_t *table, dns_c_ipmatchlist_t *list) {
        isc_boolean_t isneg;
 
        REQUIRE(DNS_C_CONFACLTABLE_VALID(table));
-       
+
        if (list == NULL) {
                return (ISC_R_SUCCESS);
        }
@@ -340,7 +340,7 @@ dns_c_acl_expandacls(dns_c_acltable_t *table, dns_c_ipmatchlist_t *list) {
                        if (acl->ipml != NULL) {
                                isneg = dns_c_ipmatchelement_isneg(elem);
 
-                               /* XXX I this should be inserted in place and 
+                               /* XXX I this should be inserted in place and
                                 *   not appended
                                 */
                                dns_c_ipmatchlist_append(list,
@@ -350,7 +350,7 @@ dns_c_acl_expandacls(dns_c_acltable_t *table, dns_c_ipmatchlist_t *list) {
                default:
                        ; /* Do nothing */
                }
-                       
+
                tmpelem = ISC_LIST_NEXT(elem, next);
 
                if (elem->type == dns_c_ipmatch_acl) {
@@ -372,7 +372,7 @@ acl_delete(dns_c_acl_t **aclptr) {
 
        REQUIRE(aclptr != NULL);
        REQUIRE(*aclptr != NULL);
-       
+
        acl = *aclptr;
 
        REQUIRE(DNS_C_CONFACL_VALID(acl));
@@ -380,18 +380,18 @@ acl_delete(dns_c_acl_t **aclptr) {
        mem = acl->mytable->mem;
 
        acl->mytable = NULL;
-       
+
        isc_mem_free(mem, acl->name);
 
        if (acl->ipml != NULL)
                res = dns_c_ipmatchlist_detach(&acl->ipml);
        else
                res = ISC_R_SUCCESS;
-       
+
        acl->magic = 0;
-       
+
        isc_mem_put(mem, acl, sizeof *acl);
-       
+
        return (res);
 }
 
index 432dc38ebe3149fbbc679b6601b48f5ff44e8db5..8ce9fda1ef63930a05b14cbe137b8dff5edcef01 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confcache.c,v 1.7 2000/07/27 09:46:57 tale Exp $ */
+/* $Id: confcache.c,v 1.8 2000/08/01 01:23:15 tale Exp $ */
 
 #include <config.h>
 
@@ -30,7 +30,7 @@ dns_c_cache_new(isc_mem_t *mem, dns_c_cache_t **cfgcache) {
        (void) mem ; (void) cfgcache; /* lint */
 
        /* XXX nothing yet */
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -43,5 +43,5 @@ dns_c_cache_delete(dns_c_cache_t **cfgcache) {
        return (ISC_R_SUCCESS);
 }
 
-               
+
 
index 3e72a9e552666660d3893ba4a8faad1f2bb37305..920a59e1e0331b5d54837966fa9651d0c7986a08 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confcommon.c,v 1.33 2000/07/27 09:46:59 tale Exp $ */
+/* $Id: confcommon.c,v 1.34 2000/08/01 01:23:16 tale Exp $ */
 
 #include <config.h>
 
@@ -38,7 +38,7 @@
 /***
  *** TYPES
  ***/
+
 #define ordering_nametable_size \
        (sizeof (ordering_nametable) / sizeof (struct dns_c_pvt_ont))
 static struct dns_c_pvt_ont {
@@ -66,7 +66,7 @@ static struct dns_c_pvt_lsnt {
        { dns_c_log_dynamic,            "dynamic" }
 };
 
-       
+
 static struct dsn_c_pvt_sfnt {
        int val;
        const char *strval;
@@ -93,14 +93,14 @@ static struct dsn_c_pvt_sfnt {
 #ifdef LOG_FTP
        { LOG_FTP,                      "ftp" },
 #endif
-       { LOG_LOCAL0,                   "local0"}, 
-       { LOG_LOCAL1,                   "local1"}, 
-       { LOG_LOCAL2,                   "local2"}, 
-       { LOG_LOCAL3,                   "local3"}, 
-       { LOG_LOCAL4,                   "local4"}, 
-       { LOG_LOCAL5,                   "local5"}, 
-       { LOG_LOCAL6,                   "local6"}, 
-       { LOG_LOCAL7,                   "local7"}, 
+       { LOG_LOCAL0,                   "local0"},
+       { LOG_LOCAL1,                   "local1"},
+       { LOG_LOCAL2,                   "local2"},
+       { LOG_LOCAL3,                   "local3"},
+       { LOG_LOCAL4,                   "local4"},
+       { LOG_LOCAL5,                   "local5"},
+       { LOG_LOCAL6,                   "local6"},
+       { LOG_LOCAL7,                   "local7"},
        { 0,                            NULL }
 };
 
@@ -148,7 +148,7 @@ static const char *category_nametable[] = {
        "xfer-in",
        "xfer-out",
 #endif
-       
+
        NULL
 };
 
@@ -179,7 +179,7 @@ dns_c_printinunits(FILE *fp, isc_uint32_t val) {
        /* XXXJAB These format strings may break if isc_offset_t is a large
           enough type and val has a value greater than MAX_ULONG. I know
           of no portablt solution to this. */
-       
+
        if (val == DNS_C_SIZE_SPEC_DEFAULT)
                fprintf(fp, "default");
        else if (val == 0)
@@ -203,7 +203,7 @@ dns_c_dataclass_tostream(FILE *fp, dns_rdataclass_t rclass) {
        isc_buffer_t sourceb;
 
        isc_buffer_init(&sourceb, buffer, sizeof(buffer));
-       
+
        if (dns_rdataclass_totext(rclass, &sourceb) == ISC_R_SUCCESS) {
                INSIST(sourceb.used + 1 < sizeof(buffer));
                buffer[sourceb.used] = '\0';
@@ -254,7 +254,7 @@ dns_c_string2ordering(char *name, dns_c_ordering_t *ordering) {
                        break;
                }
        }
-       
+
        return (rval);
 }
 
@@ -303,7 +303,7 @@ dns_c_string2logseverity(const char *string,
        isc_result_t rval = ISC_R_FAILURE;
 
        REQUIRE(result != NULL);
-       
+
        for (i = 0 ; i < log_severity_nametable_size ; i++) {
                if (strcmp(log_severity_nametable[i].strval, string) == 0) {
                        *result = log_severity_nametable[i].val;
@@ -344,7 +344,7 @@ dns_c_string2category(const char *string,
        isc_result_t rval = ISC_R_FAILURE;
 
        REQUIRE (category != NULL);
-       
+
        for (i = 0 ; i < category_nametable_size ; i++) {
                if (strcmp(category_nametable[i].strval, string) == 0) {
                        *category = category_nametable[i].val;
@@ -370,7 +370,7 @@ dns_c_facility2string(int facility, isc_boolean_t printable) {
                        break;
                }
        }
-       
+
        return (rval == NULL && printable ? "UNKNOWN_FACILITY" : rval);
 }
 
@@ -424,7 +424,7 @@ dns_c_transport2string(dns_c_trans_t transport,
        case dns_trans_primary:
                rval = "master";
                break;
-               
+
        case dns_trans_secondary:
                rval = "slave";
                break;
@@ -533,9 +533,9 @@ dns_c_isanyaddr(isc_sockaddr_t *inaddr) {
 
        return (result);
 }
-       
 
-       
+
+
 void
 dns_c_print_ipaddr(FILE *fp, isc_sockaddr_t *inaddr) {
        const char *p;
@@ -553,7 +553,7 @@ dns_c_print_ipaddr(FILE *fp, isc_sockaddr_t *inaddr) {
                addr = (family == AF_INET ?
                        (void *)&inaddr->type.sin.sin_addr :
                        (void *)&inaddr->type.sin6.sin6_addr);
-               
+
                p = inet_ntop(family, addr, tmpaddrstr, sizeof tmpaddrstr);
                if (p == NULL) {
                        fprintf(fp, "BAD-IP-ADDRESS");
@@ -567,7 +567,7 @@ dns_c_print_ipaddr(FILE *fp, isc_sockaddr_t *inaddr) {
 isc_boolean_t
 dns_c_netaddrisanyaddr(isc_netaddr_t *inaddr) {
        isc_boolean_t result = ISC_FALSE;
-       
+
        if (inaddr->family == AF_INET) {
                if (inaddr->type.in.s_addr == htonl(INADDR_ANY)) {
                        result = ISC_TRUE;
@@ -602,7 +602,7 @@ dns_c_netaddrprint(FILE *fp, isc_netaddr_t *inaddr) {
                addr = (family == AF_INET ?
                        (void *)&inaddr->type.in :
                        (void *)&inaddr->type.in6);
-               
+
                p = inet_ntop(family, addr, tmpaddrstr, sizeof tmpaddrstr);
                if (p == NULL) {
                        fprintf(fp, "BAD-IP-ADDRESS");
@@ -630,16 +630,16 @@ dns_c_need_quote(const char *string) {
 }
 
 
-               
+
 void
 dns_c_peerlist_print(FILE *fp, int indent,
                     dns_peerlist_t *servers)
 {
        dns_peer_t *server;
-       
+
        REQUIRE(fp != NULL);
        REQUIRE(DNS_PEERLIST_VALID(servers));
-       
+
        server = ISC_LIST_HEAD(servers->elements);
        while (server != NULL) {
                dns_c_peer_print(fp, indent, server);
@@ -648,7 +648,7 @@ dns_c_peerlist_print(FILE *fp, int indent,
                        fprintf(fp, "\n");
                }
        }
-       
+
        return;
 }
 
@@ -660,15 +660,15 @@ dns_c_peer_print(FILE *fp, int indent, dns_peer_t *peer) {
        dns_transfer_format_t tval;
        isc_int32_t ival;
        dns_name_t *name = NULL;
-       
+
        REQUIRE(DNS_PEER_VALID(peer));
        REQUIRE(fp != NULL);
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "server ");
        dns_c_netaddrprint(fp, &peer->address);
        fprintf(fp, " {\n");
-       
+
        res = dns_peer_getbogus(peer, &bval);
        if (res == ISC_R_SUCCESS) {
                dns_c_printtabs(fp, indent + 1);
@@ -708,7 +708,7 @@ dns_c_peer_print(FILE *fp, int indent, dns_peer_t *peer) {
                dns_name_print(peer->key, fp);
                fprintf(fp, "\"; };\n");
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "};\n");
 }
@@ -729,16 +729,16 @@ dns_c_charptoname(isc_mem_t *mem, const char *keyval, dns_name_t **name) {
        REQUIRE(name != NULL);
 
        len = strlen(keyval);
-       
+
        dns_name_init(&newkey, NULL);
        res = isc_buffer_allocate(mem, &b1, len + 2);
        REQUIRE(res == ISC_R_SUCCESS);
-       
+
        dns_name_setbuffer(&newkey, b1);
-       
+
        isc_buffer_init(&b2, keyval, len);
        isc_buffer_add(&b2, len);
-       
+
        res = dns_name_fromtext(&newkey, &b2, dns_rootname, ISC_FALSE, NULL);
        if (res != ISC_R_SUCCESS) {
                return (res);
@@ -747,7 +747,7 @@ dns_c_charptoname(isc_mem_t *mem, const char *keyval, dns_name_t **name) {
        *name = isc_mem_get(mem, sizeof (dns_name_t));
        REQUIRE(*name != NULL);
        dns_name_init(*name, NULL);
-       
+
        dns_name_dup(&newkey, mem, *name);
        dns_name_invalidate(&newkey);
        isc_buffer_free(&b1);
@@ -763,7 +763,7 @@ dns_c_ssutable_print(FILE *fp, int indent, dns_ssutable_t *ssutable) {
        dns_rdatatype_t *types;
        unsigned int i;
        unsigned int tcount;
-       
+
        res = dns_ssutable_firstrule(ssutable, &rule);
        if (res != ISC_R_SUCCESS) {
                return;
@@ -772,13 +772,13 @@ dns_c_ssutable_print(FILE *fp, int indent, dns_ssutable_t *ssutable) {
        fputc('\n', fp);
        dns_c_printtabs(fp, indent);
        fprintf(fp, "update-policy {\n");
-       
+
        do {
                dns_c_printtabs(fp, indent + 1);
 
                fputs ((dns_ssurule_isgrant(rule) ? "grant" : "deny"), fp);
                fputc(' ', fp);
-               
+
                dns_name_print(dns_ssurule_identity(rule), fp);
                fputc(' ', fp);
 
@@ -845,4 +845,4 @@ dns_c_checkcategory(const char *name) {
 
        return (ISC_R_FAILURE);
 }
-       
+
index 887349b0ca557a66513b5d75a78103052ebe6954..bdb8499452d665a8441db0b7e4b7c3269b5fdd3b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confctl.c,v 1.28 2000/07/27 09:47:00 tale Exp $ */
+/* $Id: confctl.c,v 1.29 2000/08/01 01:23:17 tale Exp $ */
 
 #include <config.h>
 
@@ -28,7 +28,7 @@
 isc_result_t
 dns_c_ctrllist_new(isc_mem_t *mem, dns_c_ctrllist_t **newlist) {
        dns_c_ctrllist_t *newl;
-       
+
        REQUIRE(mem != NULL);
        REQUIRE (newlist != NULL);
 
@@ -40,7 +40,7 @@ dns_c_ctrllist_new(isc_mem_t *mem, dns_c_ctrllist_t **newlist) {
 
        newl->mem = mem;
        newl->magic = DNS_C_CONFCTLLIST_MAGIC;
-       
+
        ISC_LIST_INIT(newl->elements);
 
        *newlist = newl;
@@ -80,7 +80,7 @@ dns_c_ctrllist_print(FILE *fp, int indent, dns_c_ctrllist_t *cl) {
        }
 
        REQUIRE(DNS_C_CONFCTLLIST_VALID(cl));
-       
+
        fprintf(fp, "controls {\n");
 
        ctl = dns_c_ctrllist_head(cl);
@@ -94,7 +94,7 @@ dns_c_ctrllist_print(FILE *fp, int indent, dns_c_ctrllist_t *cl) {
                        ctl = dns_c_ctrl_next(ctl);
                }
        }
-               
+
        fprintf(fp, "};\n");
 }
 
@@ -106,11 +106,11 @@ dns_c_ctrllist_delete(dns_c_ctrllist_t **list) {
 
        REQUIRE(list != NULL);
        REQUIRE(*list != NULL);
-       
+
        clist = *list;
 
        REQUIRE(DNS_C_CONFCTLLIST_VALID(clist));
-       
+
        ctrl = ISC_LIST_HEAD(clist->elements);
        while (ctrl != NULL) {
                tmpctrl = ISC_LIST_NEXT(ctrl, next);
@@ -131,7 +131,7 @@ isc_result_t
 dns_c_ctrl_validate(dns_c_ctrl_t *ctrl)
 {
        isc_result_t result = ISC_R_SUCCESS;
-       
+
        REQUIRE(DNS_C_CONFCTL_VALID(ctrl));
 
        if (ctrl->control_type == dns_c_unix_control) {
@@ -154,7 +154,7 @@ dns_c_ctrl_validate(dns_c_ctrl_t *ctrl)
        return (result);
 }
 
-               
+
 
 isc_result_t
 dns_c_ctrlinet_new(isc_mem_t *mem, dns_c_ctrl_t **control,
@@ -164,7 +164,7 @@ dns_c_ctrlinet_new(isc_mem_t *mem, dns_c_ctrl_t **control,
 {
        dns_c_ctrl_t  *ctrl;
        isc_result_t    res;
-       
+
        REQUIRE(mem != NULL);
        REQUIRE(control != NULL);
 
@@ -200,7 +200,7 @@ dns_c_ctrlunix_new(isc_mem_t *mem, dns_c_ctrl_t **control,
                   const char *path, int perm, uid_t uid, gid_t gid)
 {
        dns_c_ctrl_t  *ctrl;
-       
+
        REQUIRE(mem != NULL);
        REQUIRE(control != NULL);
 
@@ -218,13 +218,13 @@ dns_c_ctrlunix_new(isc_mem_t *mem, dns_c_ctrl_t **control,
                                        /* XXXJAB logwrite */
                return (ISC_R_NOMEMORY);
        }
-       
+
        ctrl->u.unix_v.perm = perm;
        ctrl->u.unix_v.owner = uid;
        ctrl->u.unix_v.group = gid;
 
        ctrl->keyidlist = NULL;
-       
+
        *control = ctrl;
 
        return (ISC_R_SUCCESS);
@@ -235,7 +235,7 @@ dns_c_ctrl_delete(dns_c_ctrl_t **control) {
        isc_result_t res = ISC_R_SUCCESS;
        isc_mem_t *mem;
        dns_c_ctrl_t *ctrl;
-       
+
        REQUIRE(control != NULL);
        REQUIRE(*control != NULL);
 
@@ -266,7 +266,7 @@ dns_c_ctrl_delete(dns_c_ctrl_t **control) {
        }
 
        ctrl->magic = 0;
-       
+
        isc_mem_put(mem, ctrl, sizeof *ctrl);
 
        *control = NULL;
@@ -280,22 +280,22 @@ dns_c_ctrl_print(FILE *fp, int indent, dns_c_ctrl_t *ctl) {
        dns_c_ipmatchlist_t *iml;
 
        REQUIRE(DNS_C_CONFCTL_VALID(ctl));
-               
+
        (void) indent;
-       
+
        if (ctl->control_type == dns_c_inet_control) {
                port = isc_sockaddr_getport(&ctl->u.inet_v.addr);
                iml = ctl->u.inet_v.matchlist;
-               
+
                fprintf(fp, "inet ");
                dns_c_print_ipaddr(fp,  &ctl->u.inet_v.addr);
-               
+
                if (port == 0) {
                        fprintf(fp, " port *\n");
                } else {
                        fprintf(fp, " port %d\n", port);
                }
-               
+
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "allow ");
                dns_c_ipmatchlist_print(fp, indent + 2, iml);
@@ -326,7 +326,7 @@ dns_c_ctrllist_head (dns_c_ctrllist_t *list)
        return(ISC_LIST_HEAD(list->elements));
 }
 
-       
+
 dns_c_ctrl_t *
 dns_c_ctrl_next(dns_c_ctrl_t *ctl)
 {
@@ -334,5 +334,5 @@ dns_c_ctrl_next(dns_c_ctrl_t *ctl)
 
        return (ISC_LIST_NEXT(ctl, next));
 }
-               
-       
+
+
index 694f72a1b9ec7678591e365e2bc1bbc71507f042..3f8ed7de5d8a814f3680be7cef4fc36b6ab863e5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confctx.c,v 1.78 2000/07/31 21:07:00 explorer Exp $ */
+/* $Id: confctx.c,v 1.79 2000/08/01 01:23:19 tale Exp $ */
 
 #include <config.h>
 
@@ -236,28 +236,28 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
        dns_c_lstnlist_t       *listenlist;
        dns_c_ctrllist_t       *controls;
 
-       
+
        if (dns_c_ctx_getnamedxfer(cfg, &cpval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'named-xfer' is now obsolete");
        }
 
-       
+
        if (dns_c_ctx_getdumpfilename(cfg, &cpval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'dump-file' is not yet implemented");
        }
-       
-               
+
+
        if (dns_c_ctx_getmemstatsfilename(cfg, &cpval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'memstatistics-file' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getauthnxdomain(cfg, &bval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -273,14 +273,14 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'deallocate-on-exit' is obsolete");
        }
 
-       
+
        if (dns_c_ctx_getdialup(cfg, &bval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'dialup' is not yet implemented");
        }
 
-       
+
        if (dns_c_ctx_getfakeiquery(cfg, &bval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
@@ -309,7 +309,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "implemented");
        }
 
-       
+
        if (dns_c_ctx_getmultiplecnames(cfg, &bval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
@@ -348,7 +348,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'check-names' is not yet implemented");
        }
-       
+
 
        if (dns_c_ctx_getblackhole(cfg, &ipml) != ISC_R_NOTFOUND) {
                dns_c_ipmatchlist_detach(&ipml);
@@ -364,7 +364,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'lame-ttl' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getminroots(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -372,7 +372,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'min-roots' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getserialqueries(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -380,7 +380,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'serial-queries' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getmaxlogsizeixfr(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -388,7 +388,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'max-ixfr-log-size' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getcoresize(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -396,7 +396,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'coresize' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getdatasize(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -404,7 +404,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'datasize' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getfiles(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -413,14 +413,14 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "implemented");
        }
 
-       
+
        if (dns_c_ctx_getstacksize(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'stacksize' is not yet "
                              "implemented");
        }
-       
+
 
        if (dns_c_ctx_getheartbeatinterval(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -429,7 +429,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "implemented");
        }
 
-       
+
        if (dns_c_ctx_getstatsinterval(cfg, &uintval) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
@@ -437,7 +437,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "implemented");
        }
 
-       
+
        if (dns_c_ctx_gettopology(cfg, &ipml) != ISC_R_NOTFOUND) {
                dns_c_ipmatchlist_detach(&ipml);
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
@@ -453,13 +453,13 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                              "option 'sortlist' is not yet implemented");
        }
 
-       
+
        if (dns_c_ctx_getrrsetorderlist(cfg, &olist) != ISC_R_NOTFOUND) {
                isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                              "option 'rrset-order' is not yet implemented");
        }
-               
+
 
        if (dns_c_ctx_getallowupdateforwarding(cfg, &ipml) != ISC_R_NOTFOUND) {
                dns_c_ipmatchlist_detach(&ipml);
@@ -504,7 +504,7 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
                        result = tmpres;
                }
        }
-       
+
 
        return (result);
 }
@@ -517,7 +517,7 @@ dns_c_ctx_new(isc_mem_t *mem, dns_c_ctx_t **cfg)
 {
        dns_c_ctx_t *tmpcfg;
        isc_result_t r;
-       
+
        REQUIRE(mem != NULL);
 
        tmpcfg = isc_mem_get(mem, sizeof *tmpcfg);
@@ -543,7 +543,7 @@ dns_c_ctx_new(isc_mem_t *mem, dns_c_ctx_t **cfg)
 
        tmpcfg->currview = NULL;
        tmpcfg->currzone = NULL;
-       
+
        r = acl_init(tmpcfg);
        if (r != ISC_R_SUCCESS) {
                return (r);
@@ -553,17 +553,17 @@ dns_c_ctx_new(isc_mem_t *mem, dns_c_ctx_t **cfg)
        if (r != ISC_R_SUCCESS) {
                return (r);
        }
-       
-       
+
+
 #if 1                                  /* XXX brister */
        tmpcfg->controls = NULL;
-#else  
+#else
        r = dns_c_ctrllist_new(mem, &tmpcfg->controls);
        if (r != ISC_R_SUCCESS) {
                dns_c_ctx_delete(&tmpcfg);
                return r;
        }
-#endif 
+#endif
 
        *cfg = tmpcfg;
 
@@ -586,35 +586,35 @@ dns_c_ctx_delete(dns_c_ctx_t **cfg)
 
        if (c->options != NULL)
                dns_c_ctx_optionsdelete(&c->options);
-       
+
        if (c->controls != NULL)
                dns_c_ctrllist_delete(&c->controls);
-       
+
        if (c->peers != NULL)
                dns_peerlist_detach(&c->peers);
-       
+
        if (c->acls != NULL)
                dns_c_acltable_delete(&c->acls);
-       
+
        if (c->keydefs != NULL)
                dns_c_kdeflist_delete(&c->keydefs);
-       
+
        if (c->zlist != NULL)
                dns_c_zonelist_delete(&c->zlist);
-       
+
        if (c->trusted_keys != NULL)
                dns_c_tkeylist_delete(&c->trusted_keys);
-       
+
        if (c->logging != NULL)
                dns_c_logginglist_delete(&c->logging);
-       
+
        if (c->views != NULL)
                dns_c_viewtable_delete(&c->views);
 
        c->magic = 0;
        isc_mem_put(c->mem, c, sizeof *c);
        *cfg = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -623,7 +623,7 @@ isc_result_t
 dns_c_ctx_setcontrols(dns_c_ctx_t *cfg, dns_c_ctrllist_t *ctrls)
 {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
        REQUIRE(DNS_C_CONFCTLLIST_VALID(ctrls));
 
@@ -647,9 +647,9 @@ dns_c_ctx_getcontrols(dns_c_ctx_t *cfg, dns_c_ctrllist_t **ctrls)
        return (cfg->controls != NULL ? ISC_R_SUCCESS : ISC_R_NOTFOUND);
 }
 
-       
 
-                     
+
+
 isc_result_t
 dns_c_ctx_setcurrzone(dns_c_ctx_t *cfg, dns_c_zone_t *zone)
 {
@@ -672,7 +672,7 @@ dns_c_ctx_getcurrzone(dns_c_ctx_t *cfg)
        return (cfg->currzone);
 }
 
-       
+
 
 isc_result_t
 dns_c_ctx_setcurrview(dns_c_ctx_t *cfg,
@@ -704,7 +704,7 @@ dns_c_ctx_getpeerlist(dns_c_ctx_t *cfg, dns_peerlist_t **retval)
 {
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
        REQUIRE(retval != NULL);
-       
+
        if (cfg->peers == NULL) {
                *retval = NULL;
                return (ISC_R_NOTFOUND);
@@ -727,7 +727,7 @@ dns_c_ctx_unsetpeerlist(dns_c_ctx_t *cfg)
                return (ISC_R_FAILURE);
        }
 }
-       
+
 
 isc_result_t
 dns_c_ctx_setpeerlist(dns_c_ctx_t *cfg, dns_peerlist_t *newval)
@@ -757,38 +757,38 @@ dns_c_ctx_print(FILE *fp, int indent, dns_c_ctx_t *cfg)
                                        cfg->logging, ISC_FALSE);
                fprintf(fp,"\n");
        }
-       
-       
+
+
        if (cfg->keydefs != NULL) {
                dns_c_kdeflist_print(fp, indent, cfg->keydefs);
                fprintf(fp, "\n");
        }
-       
+
 
        if (cfg->trusted_keys != NULL) {
                dns_c_tkeylist_print(fp, indent, cfg->trusted_keys);
                fprintf(fp, "\n");
        }
-       
+
 
        if (cfg->acls != NULL) {
                dns_c_acltable_print(fp, indent, cfg->acls);
                fprintf(fp,"\n");
        }
-       
+
 
        if (cfg->options != NULL) {
                dns_c_ctx_optionsprint(fp, indent, cfg->options);
                fprintf(fp,"\n");
        }
-       
+
 
        if (cfg->views != NULL) {
                dns_c_viewtable_print(fp, indent, cfg->views);
                fprintf(fp, "\n");
        }
-       
-       
+
+
        if (cfg->zlist != NULL) {
                dns_c_zonelist_print(fp, indent, cfg->zlist, NULL);
                fprintf(fp, "\n");
@@ -798,7 +798,7 @@ dns_c_ctx_print(FILE *fp, int indent, dns_c_ctx_t *cfg)
                dns_c_ctrllist_print(fp, indent, cfg->controls);
                fprintf(fp, "\n");
        }
-       
+
 
        if (cfg->peers != NULL) {
                dns_c_peerlist_print(fp, indent, cfg->peers);
@@ -814,25 +814,25 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
        dns_severity_t nameseverity;
        in_port_t port;
        in_port_t defport = DNS_C_DEFAULTPORT;
-       
+
        REQUIRE(fp != NULL);
 
        if (options == NULL) {
                return;
        }
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(options));
 
        if (options->port != NULL) {
                defport = *options->port;
        }
-       
+
 #define PRINT_INTEGER(FIELD, NAME)                                     \
        if (options->FIELD != NULL) {                                   \
                dns_c_printtabs(fp, indent + 1);                        \
                fprintf(fp, "%s %d;\n",NAME,(int)*options->FIELD);      \
        }
-       
+
 #define PRINT_AS_MINUTES(FIELD, NAME)                          \
        if (options->FIELD != NULL) {                           \
                dns_c_printtabs(fp, indent + 1);                \
@@ -870,7 +870,7 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
                dns_c_printtabs(fp, indent + 1);                        \
                fprintf(fp, "%s \"%s\";\n", NAME, options->FIELD);      \
        }
-       
+
 #define PRINT_IPANDPORT(FIELD, NAME)                           \
        if (options->FIELD != NULL) {                           \
                port = isc_sockaddr_getport(options->FIELD);    \
@@ -904,7 +904,7 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
                        dns_c_transport2string(INDEX, ISC_TRUE),            \
                        dns_c_nameseverity2string(nameseverity, ISC_TRUE)); \
        }
-               
+
 
 #define PRINT_IPMLIST(FIELD, NAME)                                      \
        if (options->FIELD != NULL) {                                    \
@@ -929,13 +929,13 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
        PRINT_CHAR_P(random_seed_file, "random-seed-file");
 
        PRINT_INTEGER(port, "port");
-       
+
        PRINT_INTEGER(transfers_in, "transfers-in");
        PRINT_INTEGER(transfers_per_ns, "transfers-per-ns");
        PRINT_INTEGER(transfers_out, "transfers-out");
        PRINT_INTEGER(max_log_size_ixfr, "max-ixfr-log-size");
-       
-       
+
+
        PRINT_AS_MINUTES(clean_interval, "cleaning-interval");
        PRINT_AS_MINUTES(interface_interval, "interface-interval");
        PRINT_AS_MINUTES(stats_interval, "statistics-interval");
@@ -952,11 +952,11 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
        PRINT_INTEGER(min_roots, "min-roots");
        PRINT_INTEGER(serial_queries, "serial-queries");
        PRINT_INTEGER(sig_valid_interval, "sig-validity-interval");
-       PRINT_AS_SIZE_CLAUSE(max_cache_size, "max-cache-size"); 
-       
-       PRINT_AS_SIZE_CLAUSE(data_size, "datasize");    
-       PRINT_AS_SIZE_CLAUSE(stack_size, "stacksize");  
-       PRINT_AS_SIZE_CLAUSE(core_size, "coresize");    
+       PRINT_AS_SIZE_CLAUSE(max_cache_size, "max-cache-size");
+
+       PRINT_AS_SIZE_CLAUSE(data_size, "datasize");
+       PRINT_AS_SIZE_CLAUSE(stack_size, "stacksize");
+       PRINT_AS_SIZE_CLAUSE(core_size, "coresize");
        PRINT_AS_SIZE_CLAUSE(files, "files");
 
        PRINT_INTEGER(max_ncache_ttl, "max-ncache-ttl");
@@ -991,10 +991,10 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
                        dns_c_transformat2string(*options->transfer_format,
                                                 ISC_TRUE));
        }
-       
+
        PRINT_IP(transfer_source, "transfer-source");
        PRINT_IP(transfer_source_v6, "transfer-source-v6");
-       
+
        PRINT_IPANDPORT(query_source, "query-source");
        PRINT_IPANDPORT(query_source_v6, "query-source-v6");
 
@@ -1004,11 +1004,11 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
                        dns_c_addata2string(*options->additional_data,
                                            ISC_TRUE));
        }
-               
+
        PRINT_CHECKNAME(dns_trans_primary);
        PRINT_CHECKNAME(dns_trans_secondary);
        PRINT_CHECKNAME(dns_trans_response);
-       
+
        fprintf(fp, "\n");
 
        PRINT_IPMLIST(queryacl, "allow-query");
@@ -1018,19 +1018,19 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
        PRINT_IPMLIST(topology, "topology");
        PRINT_IPMLIST(sortlist, "sortlist");
        PRINT_IPMLIST(allowupdateforwarding, "allow-update-forwarding");
-       
+
        if (options->listens != NULL) {
                dns_c_lstnlist_print(fp, indent + 1,
                                     options->listens,
                                     defport);
        }
-       
+
        if (options->v6listens != NULL) {
                dns_c_lstnlistv6_print(fp, indent + 1,
                                       options->v6listens,
                                       defport);
        }
-       
+
        dns_c_ctx_forwarderprint(fp, indent + 1, options);
 
        if (options->ordering != NULL) {
@@ -1044,7 +1044,7 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
                                        options->also_notify);
                fprintf(fp, ";\n");
        }
-       
+
        PRINT_CHAR_P(tkeydomain, "tkey-domain");
 
        if (options->tkeydhkeycp != NULL) {
@@ -1052,7 +1052,7 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
                fprintf(fp, "tkey-dhkey \"%s\" %d ;\n",
                        options->tkeydhkeycp, options->tkeydhkeyi);
        }
-       
+
 
        dns_c_printtabs(fp, indent);
        fprintf(fp,"};\n");
@@ -1064,9 +1064,9 @@ dns_c_ctx_optionsprint(FILE *fp, int indent, dns_c_options_t *options)
 #undef PRINT_CHAR_P
 #undef PRINT_IPMLIST
 #undef PRINT_IPANDPORT
-#undef PRINT_IP        
+#undef PRINT_IP
 #undef PRINT_CHECKNAME
-       
+
 }
 
 void
@@ -1104,13 +1104,13 @@ dns_c_ctx_getoptions(dns_c_ctx_t *cfg, dns_c_options_t **options)
 {
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
        REQUIRE(options != NULL);
-       
+
        if (cfg->options != NULL) {
                REQUIRE(DNS_C_CONFOPT_VALID(cfg->options));
        }
-       
+
        *options = cfg->options;
-       
+
        return (cfg->options == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
 }
 
@@ -1124,7 +1124,7 @@ dns_c_ctx_unsetoptions(dns_c_ctx_t *cfg)
        }
 
        REQUIRE(DNS_C_CONFOPT_VALID(cfg->options));
-       
+
        dns_c_ctx_optionsdelete(&cfg->options);
 
        return (ISC_R_SUCCESS);
@@ -1151,11 +1151,11 @@ dns_c_ctx_setlogging(dns_c_ctx_t *cfg, dns_c_logginglist_t *newval,
        dns_c_logginglist_t *ll;
        isc_result_t res;
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        existed = ISC_TF(cfg->logging != NULL);
-       
+
        if (deepcopy) {
                res = dns_c_logginglist_copy(cfg->mem, &ll, newval);
                if (res != ISC_R_SUCCESS) {
@@ -1164,7 +1164,7 @@ dns_c_ctx_setlogging(dns_c_ctx_t *cfg, dns_c_logginglist_t *newval,
        } else {
                ll = newval;
        }
-       
+
        cfg->logging = ll;
 
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
@@ -1183,7 +1183,7 @@ dns_c_ctx_unsetlogging(dns_c_ctx_t *cfg)
        return (dns_c_logginglist_delete(&cfg->logging));
 }
 
-       
+
 
 isc_result_t
 dns_c_ctx_getkdeflist(dns_c_ctx_t *cfg,
@@ -1193,7 +1193,7 @@ dns_c_ctx_getkdeflist(dns_c_ctx_t *cfg,
         REQUIRE(retval != NULL);
 
        *retval = cfg->keydefs;
-       
+
         if (cfg->keydefs == NULL) {
                return (ISC_R_NOTFOUND);
        } else {
@@ -1207,13 +1207,13 @@ dns_c_ctx_setkdeflist(dns_c_ctx_t *cfg,
                      dns_c_kdeflist_t *newval, isc_boolean_t deepcopy)
 {
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        if (cfg->keydefs != NULL) {
                dns_c_kdeflist_delete(&cfg->keydefs);
        }
-       
+
        if (newval == NULL) {
                cfg->keydefs = NULL;
                res = ISC_R_SUCCESS;
@@ -1228,7 +1228,7 @@ dns_c_ctx_setkdeflist(dns_c_ctx_t *cfg,
        return (res);
 }
 
-       
+
 isc_result_t
 dns_c_ctx_addfile_channel(dns_c_ctx_t *cfg, const char *name,
                          dns_c_logchan_t **chan)
@@ -1278,7 +1278,7 @@ dns_c_ctx_addsyslogchannel(dns_c_ctx_t *cfg, const char *name,
                                           ISC_FALSE);
 
        *chan = newc;
-       
+
        return (res);
 }
 
@@ -1305,7 +1305,7 @@ dns_c_ctx_addnullchannel(dns_c_ctx_t *cfg, const char *name,
                                           ISC_FALSE);
 
        *chan = newc;
-       
+
        return (res);
 }
 
@@ -1330,7 +1330,7 @@ dns_c_ctx_addstderrchannel(dns_c_ctx_t *cfg, const char *name,
        res = dns_c_logginglist_addchannel(cfg->logging, newc, ISC_FALSE);
 
        *chan = newc;
-       
+
        return (res);
 }
 
@@ -1350,12 +1350,12 @@ dns_c_ctx_addcategory(dns_c_ctx_t *cfg, const char *catname,
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        res = dns_c_logginglist_addcategory(cfg->logging, newc,
                                            ISC_FALSE);
 
        *newcat = newc;
-       
+
        return (res);
 }
 
@@ -1372,7 +1372,7 @@ dns_c_ctx_currchannel(dns_c_ctx_t *cfg, dns_c_logchan_t **channel)
        newc = ISC_LIST_TAIL(cfg->logging->channels);
 
        *channel = newc;
-       
+
        return (newc == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
 }
 
@@ -1412,7 +1412,7 @@ dns_c_ctx_currcategory(dns_c_ctx_t *cfg, dns_c_logcat_t **category)
        newc = ISC_LIST_TAIL(llist->categories);
 
        *category = newc;
-       
+
        return (newc == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
 }
 
@@ -1432,7 +1432,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        REQUIRE(options != NULL);
 
        *options = NULL;
-       
+
        opts = isc_mem_get(mem, sizeof *opts);
        if (opts == NULL) {
                return (ISC_R_NOMEMORY);
@@ -1452,7 +1452,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->random_seed_file = NULL;
 
        opts->port = NULL;
-       
+
        opts->transfers_in = NULL;
        opts->transfers_per_ns = NULL;
        opts->transfers_out = NULL;
@@ -1461,7 +1461,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->interface_interval = NULL;
        opts->stats_interval = NULL;
        opts->heartbeat_interval = NULL;
-       
+
        opts->max_transfer_time_in = NULL;
        opts->max_transfer_time_out = NULL;
        opts->max_transfer_idle_in = NULL;
@@ -1472,7 +1472,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->min_roots = NULL;
        opts->serial_queries = NULL;
        opts->sig_valid_interval = NULL;
-       
+
        opts->data_size = NULL;
        opts->stack_size = NULL;
        opts->core_size = NULL;
@@ -1480,7 +1480,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->max_cache_size = NULL;
        opts->max_ncache_ttl = NULL;
        opts->max_cache_ttl = NULL;
-       
+
        opts->expert_mode = NULL;
        opts->fake_iquery = NULL;
        opts->recursion = NULL;
@@ -1513,7 +1513,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->tkeydhkeycp = NULL;
        opts->tkeydhkeyi = 0;
        opts->tkeydomain = NULL;
-       
+
        opts->also_notify = NULL;
 
        opts->check_names[dns_trans_primary] = NULL;
@@ -1521,7 +1521,7 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->check_names[dns_trans_response] = NULL;
 
        opts->transfer_format = NULL;
-       
+
        opts->queryacl = NULL;
        opts->transferacl = NULL;
        opts->recursionacl = NULL;
@@ -1529,16 +1529,16 @@ dns_c_ctx_optionsnew(isc_mem_t *mem, dns_c_options_t **options)
        opts->topology = NULL;
        opts->sortlist = NULL;
        opts->allowupdateforwarding = NULL;
-       
+
        opts->listens = NULL;
        opts->v6listens = NULL;
-       
+
        opts->ordering = NULL;
 
        opts->forwarders = NULL;
 
        *options = opts;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -1548,14 +1548,14 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
 {
        dns_c_options_t *options;
        isc_result_t r, result;
-       
+
        REQUIRE(opts != NULL);
 
        options = *opts;
        if (options == NULL) {
                return (ISC_R_SUCCESS);
        }
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(options));
 
 
@@ -1575,8 +1575,8 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
        do { if (options->FIELD != NULL) {                              \
                (void)dns_c_ipmatchlist_detach(&options->FIELD);        \
        } } while (0)
-       
-       
+
+
 
        FREESTRING(directory);
        FREESTRING(version);
@@ -1588,7 +1588,7 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
        FREESTRING(random_device);
        FREESTRING(random_seed_file);
 
-       
+
        FREEFIELD(expert_mode);
        FREEFIELD(fake_iquery);
        FREEFIELD(recursion);
@@ -1609,9 +1609,9 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
        FREEFIELD(treat_cr_as_space);
        FREEFIELD(additional_from_cache);
        FREEFIELD(additional_from_auth);
-       
+
        FREEFIELD(port);
-       
+
        FREEFIELD(transfers_in);
        FREEFIELD(transfers_per_ns);
        FREEFIELD(transfers_out);
@@ -1647,10 +1647,10 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
 
        FREEFIELD(additional_data);
        FREEFIELD(forward);
-       
+
        FREESTRING(tkeydomain);
        FREESTRING(tkeydhkeycp);
-       
+
        if (options->also_notify != NULL) {
                dns_c_iplist_detach(&options->also_notify);
        }
@@ -1668,7 +1668,7 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
        FREEIPMLIST(topology);
        FREEIPMLIST(sortlist);
        FREEIPMLIST(allowupdateforwarding);
-       
+
        result = ISC_R_SUCCESS;
 
        if (options->listens != NULL) {
@@ -1676,30 +1676,30 @@ dns_c_ctx_optionsdelete(dns_c_options_t **opts)
                if (r != ISC_R_SUCCESS)
                        result = r;
        }
-       
+
        if (options->v6listens != NULL) {
                r = dns_c_lstnlist_delete(&options->v6listens);
                if (r != ISC_R_SUCCESS)
                        result = r;
        }
-       
+
        if (options->ordering != NULL) {
                r = dns_c_rrsolist_delete(&options->ordering);
                if (r != ISC_R_SUCCESS)
                        result = r;
        }
-       
+
        if (options->forwarders != NULL) {
                r = dns_c_iplist_detach(&options->forwarders);
                if (r != ISC_R_SUCCESS)
                        result = r;
        }
-       
+
        *opts = NULL;
        options->magic = 0;
-       
+
        isc_mem_put(options->mem, options, sizeof *options);
-       
+
        return (result);
 
 #undef FREEFIELD
@@ -1979,12 +1979,12 @@ GETBOOL(additionalfromauth, additional_from_auth)
 SETBOOL(additionalfromauth, additional_from_auth)
 UNSETBOOL(additionalfromauth, additional_from_auth)
 
-       
+
 GETBOOL(additionalfromcache, additional_from_cache)
 SETBOOL(additionalfromcache, additional_from_cache)
 UNSETBOOL(additionalfromcache, additional_from_cache)
 
-       
+
 GETSOCKADDR(transfersource, transfer_source)
 SETSOCKADDR(transfersource, transfer_source)
 UNSETSOCKADDR(transfersource, transfer_source)
@@ -2021,7 +2021,7 @@ UNSETBYTYPE(dns_c_addata_t, additionaldata, additional_data)
 
 
 
-       
+
 
 
 /*
@@ -2035,14 +2035,14 @@ isc_result_t
 dns_c_ctx_settkeydomain(dns_c_ctx_t *cfg, const char *newval)
 {
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        res = make_options(cfg);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        return (cfg_set_string(cfg->options,
                               &cfg->options->tkeydomain,
                               newval));
@@ -2054,7 +2054,7 @@ dns_c_ctx_settkeydhkey(dns_c_ctx_t *cfg,
                       const char *charval, isc_uint32_t uintval)
 {
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        res = make_options(cfg);
@@ -2081,7 +2081,7 @@ dns_c_ctx_setchecknames(dns_c_ctx_t *cfg,
        isc_boolean_t existed = ISC_FALSE;
        isc_result_t res;
        dns_severity_t **ptr = NULL;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        res = make_options(cfg);
@@ -2110,7 +2110,7 @@ dns_c_ctx_setchecknames(dns_c_ctx_t *cfg,
        }
 
        **ptr = newval;
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -2121,13 +2121,13 @@ dns_c_ctx_getchecknames(dns_c_ctx_t *cfg,
                        dns_severity_t *retval)
 {
        isc_result_t result;
-       dns_severity_t **ptr = NULL;    
+       dns_severity_t **ptr = NULL;
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        if (cfg->options == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(retval != NULL);
 
        switch (transtype) {
@@ -2136,7 +2136,7 @@ dns_c_ctx_getchecknames(dns_c_ctx_t *cfg,
        case dns_trans_response:
                ptr = &cfg->options->check_names[transtype];
                break;
-               
+
        default:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2161,7 +2161,7 @@ dns_c_ctx_unsetchecknames(dns_c_ctx_t *cfg,
 {
        isc_result_t res;
        dns_severity_t **ptr = NULL;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        res = make_options(cfg);
@@ -2186,7 +2186,7 @@ dns_c_ctx_unsetchecknames(dns_c_ctx_t *cfg,
        if (*ptr == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        isc_mem_put(cfg->options->mem, *ptr, sizeof (**ptr));
 
        return (ISC_R_SUCCESS);
@@ -2265,7 +2265,7 @@ SETIPMLIST(allowquery, queryacl)
 UNSETIPMLIST(allowquery, queryacl)
 GETIPMLIST(allowquery, queryacl)
 
-       
+
 SETIPMLIST(allowtransfer, transferacl)
 UNSETIPMLIST(allowtransfer, transferacl)
 GETIPMLIST(allowtransfer, transferacl)
@@ -2275,12 +2275,12 @@ SETIPMLIST(allowrecursion, recursionacl)
 UNSETIPMLIST(allowrecursion, recursionacl)
 GETIPMLIST(allowrecursion, recursionacl)
 
-       
+
 SETIPMLIST(blackhole, blackhole)
 UNSETIPMLIST(blackhole, blackhole)
 GETIPMLIST(blackhole, blackhole)
 
-       
+
 SETIPMLIST(topology, topology)
 UNSETIPMLIST(topology, topology)
 GETIPMLIST(topology, topology)
@@ -2295,7 +2295,7 @@ SETIPMLIST(allowupdateforwarding, allowupdateforwarding)
 UNSETIPMLIST(allowupdateforwarding, allowupdateforwarding)
 GETIPMLIST(allowupdateforwarding, allowupdateforwarding)
 
-       
+
 
 
 isc_result_t
@@ -2312,11 +2312,11 @@ dns_c_ctx_setrrsetorderlist(dns_c_ctx_t *cfg, isc_boolean_t copy,
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        opts = cfg->options;
 
        existed = (opts->ordering == NULL ? ISC_FALSE : ISC_TRUE);
-       
+
        if (copy) {
                if (opts->ordering == NULL) {
                        res = dns_c_rrsolist_new(opts->mem,
@@ -2327,13 +2327,13 @@ dns_c_ctx_setrrsetorderlist(dns_c_ctx_t *cfg, isc_boolean_t copy,
                } else {
                        dns_c_rrsolist_clear(opts->ordering);
                }
-               
+
                res = dns_c_rrsolist_append(opts->ordering, olist);
        } else {
                if (opts->ordering != NULL) {
                        dns_c_rrsolist_delete(&opts->ordering);
                }
-               
+
                opts->ordering = olist;
                res = ISC_R_SUCCESS;
        }
@@ -2341,7 +2341,7 @@ dns_c_ctx_setrrsetorderlist(dns_c_ctx_t *cfg, isc_boolean_t copy,
        if (res == ISC_R_SUCCESS && existed) {
                res = ISC_R_EXISTS;
        }
-       
+
        return (res);
 }
 
@@ -2353,7 +2353,7 @@ dns_c_ctx_settrustedkeys(dns_c_ctx_t *cfg, dns_c_tkeylist_t *list,
        isc_boolean_t existed;
        dns_c_tkeylist_t *newl;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        existed = (cfg->trusted_keys == NULL ? ISC_FALSE : ISC_TRUE);
@@ -2364,7 +2364,7 @@ dns_c_ctx_settrustedkeys(dns_c_ctx_t *cfg, dns_c_tkeylist_t *list,
                        return (res);
                }
        }
-       
+
        if (copy) {
                res = dns_c_tkeylist_copy(cfg->mem, &newl, list);
                if (res != ISC_R_SUCCESS) {
@@ -2394,7 +2394,7 @@ dns_c_ctx_gettkeydomain(dns_c_ctx_t *cfg, char **retval)
        if (cfg->options == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(cfg->options));
 
        *retval = cfg->options->tkeydomain;
@@ -2416,7 +2416,7 @@ dns_c_ctx_gettkeydhkey(dns_c_ctx_t *cfg,
        if (cfg->options == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(cfg->options));
 
        if (cfg->options->tkeydhkeycp == NULL) {
@@ -2447,7 +2447,7 @@ dns_c_ctx_addlisten_on(dns_c_ctx_t *cfg, in_port_t port,
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        opts = cfg->options;
 
        if (opts->listens == NULL) {
@@ -2457,7 +2457,7 @@ dns_c_ctx_addlisten_on(dns_c_ctx_t *cfg, in_port_t port,
                }
        }
 
-#if 0  
+#if 0
        lo = ISC_LIST_HEAD(opts->listens->elements);
        while (lo != NULL) {
                /* XXX we should probably check that a listen on statement
@@ -2469,13 +2469,13 @@ dns_c_ctx_addlisten_on(dns_c_ctx_t *cfg, in_port_t port,
                }
                lo = ISC_LIST_NEXT(lo, next);
        }
-#endif 
+#endif
 
        res = dns_c_lstnon_new(cfg->mem, &lo);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        lo->port = port;
        res = dns_c_lstnon_setiml(lo, ml, copy);
 
@@ -2494,7 +2494,7 @@ dns_c_ctx_getlistenlist(dns_c_ctx_t *cfg, dns_c_lstnlist_t **ll)
        if (cfg->options == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(ll != NULL);
 
        *ll = NULL;
@@ -2523,7 +2523,7 @@ dns_c_ctx_addv6listen_on(dns_c_ctx_t *cfg, in_port_t port,
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        opts = cfg->options;
 
        if (opts->v6listens == NULL) {
@@ -2533,7 +2533,7 @@ dns_c_ctx_addv6listen_on(dns_c_ctx_t *cfg, in_port_t port,
                }
        }
 
-#if 0  
+#if 0
        lo = ISC_LIST_HEAD(opts->v6listens->elements);
        while (lo != NULL) {
                /* XXX we should probably check that a listen on statement
@@ -2545,13 +2545,13 @@ dns_c_ctx_addv6listen_on(dns_c_ctx_t *cfg, in_port_t port,
                }
                lo = ISC_LIST_NEXT(lo, next);
        }
-#endif 
+#endif
 
        res = dns_c_lstnon_new(cfg->mem, &lo);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        lo->port = port;
        res = dns_c_lstnon_setiml(lo, ml, copy);
 
@@ -2570,7 +2570,7 @@ dns_c_ctx_getv6listenlist(dns_c_ctx_t *cfg, dns_c_lstnlist_t **ll)
        if (cfg->options == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(ll != NULL);
 
        *ll = NULL;
@@ -2592,14 +2592,14 @@ dns_c_ctx_setforwarders(dns_c_ctx_t *cfg, isc_boolean_t copy,
                        dns_c_iplist_t *ipl)
 {
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        res = make_options(cfg);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        res = cfg_set_iplist(cfg->options, &cfg->options->forwarders,
                             ipl, copy);
 
@@ -2615,7 +2615,7 @@ dns_c_ctx_getforwarders(dns_c_ctx_t *cfg, dns_c_iplist_t **list)
        if (cfg->options == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(list != NULL);
 
        return (cfg_get_iplist(cfg->options,
@@ -2680,14 +2680,14 @@ dns_c_ctx_setalsonotify(dns_c_ctx_t *cfg,
                        dns_c_iplist_t *iml)
 {
        isc_result_t result;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
 
        result = make_options(cfg);
        if (result != ISC_R_SUCCESS) {
                return (result);
        }
-       
+
        REQUIRE(iml != NULL);
 
        if (cfg->options->also_notify != NULL)
@@ -2697,7 +2697,7 @@ dns_c_ctx_setalsonotify(dns_c_ctx_t *cfg,
 
        return (ISC_R_SUCCESS);
 }
-       
+
 
 isc_result_t
 dns_c_ctx_getalsonotify(dns_c_ctx_t *cfg, dns_c_iplist_t **ret)
@@ -2707,7 +2707,7 @@ dns_c_ctx_getalsonotify(dns_c_ctx_t *cfg, dns_c_iplist_t **ret)
        if (cfg->options == NULL || cfg->options->also_notify == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        REQUIRE(ret != NULL);
 
        dns_c_iplist_attach(cfg->options->also_notify, ret);
@@ -2727,7 +2727,7 @@ dns_c_ctx_unsetalsonotify(dns_c_ctx_t *cfg)
        }
 
        REQUIRE(DNS_C_CONFOPT_VALID(cfg->options));
-       
+
        if (cfg->options->also_notify != NULL) {
                dns_c_iplist_detach(&cfg->options->also_notify);
                return (ISC_R_SUCCESS);
@@ -2752,7 +2752,7 @@ dns_c_ctx_keydefinedp(dns_c_ctx_t *cfg, const char *keyname)
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
        REQUIRE(keyname != NULL);
        REQUIRE(*keyname != '\0');
-       
+
        if (cfg->keydefs != NULL) {
                res = dns_c_kdeflist_find(cfg->keydefs, keyname, &keyid);
                if (res == ISC_R_SUCCESS) {
@@ -2785,7 +2785,7 @@ cfg_set_string(dns_c_options_t *options, char **field, const char *newval)
        if (p != NULL) {
                existed = ISC_TRUE;
        }
-       
+
        if (newval == NULL) {
                if (p != NULL) {
                        isc_mem_free(options->mem, p);
@@ -2820,14 +2820,14 @@ cfg_set_iplist(dns_c_options_t *options,
 {
        isc_result_t res;
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(options));
        REQUIRE(fieldaddr != NULL);
 
        if (*fieldaddr != NULL) {
                existed = ISC_TRUE;
        }
-       
+
        if (newval == NULL) {
                res = dns_c_iplist_new(options->mem,
                                       newval->size,
@@ -2836,7 +2836,7 @@ cfg_set_iplist(dns_c_options_t *options,
                if (*fieldaddr != NULL) {
                        dns_c_iplist_detach(fieldaddr);
                }
-               
+
                res = dns_c_iplist_copy(options->mem, fieldaddr,
                                        newval);
        } else {
@@ -2845,17 +2845,17 @@ cfg_set_iplist(dns_c_options_t *options,
                        if (res != ISC_R_SUCCESS) {
                                return (res);
                        }
-               } 
+               }
 
                res = ISC_R_SUCCESS;
-               
+
                *fieldaddr = newval;
        }
 
        if (res == ISC_R_SUCCESS && existed) {
                res = ISC_R_EXISTS;
        }
-       
+
        return (res);
 }
 
@@ -2873,7 +2873,7 @@ cfg_get_iplist(dns_c_options_t *options,
        isc_result_t res;
 
        UNUSED(options);
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(options));
        REQUIRE(resval != NULL);
 
@@ -2909,7 +2909,7 @@ static isc_result_t
 logging_init (dns_c_ctx_t *cfg)
 {
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_CONFCTX_VALID(cfg));
        REQUIRE(cfg->logging == NULL);
 
@@ -2935,7 +2935,7 @@ make_options(dns_c_ctx_t *cfg)
                        return (res);
                }
        }
-       
+
        REQUIRE(DNS_C_CONFOPT_VALID(cfg->options));
 
        return (res);
index dceaf700b1d85202da0bd4558e06137821bcb811..bd07633927986b6c311011c35fa909e1c182e6cf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confip.c,v 1.31 2000/07/27 09:47:02 tale Exp $ */
+/* $Id: confip.c,v 1.32 2000/08/01 01:23:20 tale Exp $ */
 
 #include <config.h>
 
@@ -65,7 +65,7 @@ isc_boolean_t
 dns_c_ipmatchelement_isneg(dns_c_ipmatchelement_t *elem) {
 
        REQUIRE(DNS_C_IPMELEM_VALID(elem));
-       
+
        return (ISC_TF((elem->flags & DNS_C_IPMATCH_NEGATE) ==
                        DNS_C_IPMATCH_NEGATE));
 }
@@ -73,15 +73,15 @@ dns_c_ipmatchelement_isneg(dns_c_ipmatchelement_t *elem) {
 isc_result_t
 dns_c_ipmatchelement_delete(isc_mem_t *mem, dns_c_ipmatchelement_t **ipme) {
        dns_c_ipmatchelement_t *elem;
-       
+
        REQUIRE(mem != NULL);
        REQUIRE(ipme != NULL);
        REQUIRE(*ipme != NULL);
-       
+
        elem = *ipme;
 
        REQUIRE(DNS_C_IPMELEM_VALID(elem));
-       
+
        switch (elem->type) {
        case dns_c_ipmatch_localhost:
        case dns_c_ipmatch_localnets:
@@ -124,7 +124,7 @@ dns_c_ipmatchelement_delete(isc_mem_t *mem, dns_c_ipmatchelement_t **ipme) {
        isc_mem_put(mem, elem, sizeof *elem);
 
        *ipme = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -139,7 +139,7 @@ dns_c_ipmatchelement_copy(isc_mem_t *mem,
        REQUIRE(mem != NULL);
        REQUIRE(dest != NULL);
        REQUIRE(DNS_C_IPMELEM_VALID(src));
-               
+
        result = dns_c_ipmatchelement_new(mem, &newel);
        if (result != ISC_R_SUCCESS) {
                return (result);
@@ -147,7 +147,7 @@ dns_c_ipmatchelement_copy(isc_mem_t *mem,
 
        newel->type = src->type;
        newel->flags = src->flags;
-       
+
        switch(src->type) {
        case dns_c_ipmatch_pattern:
                newel->u.direct.address = src->u.direct.address;
@@ -158,7 +158,7 @@ dns_c_ipmatchelement_copy(isc_mem_t *mem,
                result = dns_c_ipmatchlist_copy(mem,
                                                &newel->u.indirect.list,
                                                src->u.indirect.list);
-               break;  
+               break;
 
        case dns_c_ipmatch_localhost:
                break;
@@ -173,7 +173,7 @@ dns_c_ipmatchelement_copy(isc_mem_t *mem,
        case dns_c_ipmatch_acl:
                newel->u.aclname = isc_mem_strdup(mem, src->u.aclname);
                break;
-               
+
        case dns_c_ipmatch_any:
                break;
 
@@ -185,7 +185,7 @@ dns_c_ipmatchelement_copy(isc_mem_t *mem,
        }
 
        *dest = newel;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -327,7 +327,7 @@ dns_c_ipmatchindirect_new(isc_mem_t *mem,
        } else {
                dns_c_ipmatchlist_detach(&iml_copy);
        }
-       
+
        *result = ime;
 
        return (res);
@@ -450,7 +450,7 @@ dns_c_ipmatchlist_new(isc_mem_t *mem, dns_c_ipmatchlist_t **ptr) {
        newlist->magic = DNS_C_IPMLIST_MAGIC;
        newlist->mem = mem;
        newlist->refcount = 1;
-       
+
        ISC_LIST_INIT(newlist->elements);
 
        *ptr = newlist;
@@ -467,7 +467,7 @@ dns_c_ipmatchlist_detach(dns_c_ipmatchlist_t **ml) {
 
        REQUIRE(ml != NULL);
        REQUIRE(*ml != NULL);
-       
+
        iml = *ml;
        *ml = NULL;
 
@@ -478,7 +478,7 @@ dns_c_ipmatchlist_detach(dns_c_ipmatchlist_t **ml) {
        if (iml->refcount > 0) {
                return (ISC_R_SUCCESS);
        }
-       
+
        mem = iml->mem;
        INSIST(mem != NULL);
 
@@ -486,7 +486,7 @@ dns_c_ipmatchlist_detach(dns_c_ipmatchlist_t **ml) {
        while (ime != NULL) {
                iptr = ISC_LIST_NEXT(ime, next);
                dns_c_ipmatchelement_delete(mem, &ime);
-               
+
                ime = iptr;
        }
 
@@ -501,7 +501,7 @@ dns_c_ipmatchlist_attach(dns_c_ipmatchlist_t *source,
 {
 
        REQUIRE(DNS_C_IPMLIST_VALID(source));
-       
+
        INSIST(source->refcount > 0);
 
        source->refcount++;
@@ -515,7 +515,7 @@ dns_c_ipmatchlist_empty(dns_c_ipmatchlist_t *ipml) {
        isc_result_t res = ISC_R_SUCCESS;
 
        REQUIRE(DNS_C_IPMLIST_VALID(ipml));
-       
+
        ime = ISC_LIST_HEAD(ipml->elements);
        while (ime != NULL) {
                imptmp = ISC_LIST_NEXT(ime, next);
@@ -525,7 +525,7 @@ dns_c_ipmatchlist_empty(dns_c_ipmatchlist_t *ipml) {
                }
                ime = imptmp;
        }
-       
+
        return (res);
 }
 
@@ -556,7 +556,7 @@ dns_c_ipmatchlist_copy(isc_mem_t *mem,
                        dns_c_ipmatchlist_detach(&newlist);
                        return (result);
                }
-               
+
                ISC_LIST_APPEND(newlist->elements, ptr, next);
 
                ime = ISC_LIST_NEXT(ime, next);
@@ -573,7 +573,7 @@ dns_c_ipmatchlist_equal(dns_c_ipmatchlist_t *l1, dns_c_ipmatchlist_t *l2) {
 
        REQUIRE(l1 == NULL || DNS_C_IPMLIST_VALID(l1));
        REQUIRE(l2 == NULL || DNS_C_IPMLIST_VALID(l2));
-       
+
        if (l1 == NULL && l2 == NULL)
                return (ISC_TRUE);
        if (l1 != NULL || l2 != NULL)
@@ -617,7 +617,7 @@ dns_c_ipmatchlist_append(dns_c_ipmatchlist_t *dest,
                if (negate) {
                        dns_c_ipmatch_negate(ime_copy);
                }
-               
+
                ISC_LIST_APPEND(dest->elements, ime_copy, next);
 
                ime = ISC_LIST_NEXT(ime, next);
@@ -645,7 +645,7 @@ dns_c_ipmatchelement_print(FILE *fp, int indent, dns_c_ipmatchelement_t *ipme)
        switch (ipme->type) {
        case dns_c_ipmatch_pattern:
                dns_c_print_ipaddr(fp, &ipme->u.direct.address);
-               
+
                bits = ipme->u.direct.mask;
                if (bits > 0) {
                        isc_uint32_t fam =
@@ -719,11 +719,11 @@ dns_c_ipmatchlist_print(FILE *fp, int indent, dns_c_ipmatchlist_t *ml) {
                        dns_c_printtabs(fp, indent);
                        dns_c_ipmatchelement_print(fp, indent + 1, ipme);
                        fprintf(fp, ";\n");
-                       
+
                        ipme = ISC_LIST_NEXT(ipme, next);
                }
        }
-       
+
        dns_c_printtabs(fp, indent - 1);
        fprintf(fp, "}");
 
@@ -764,7 +764,7 @@ dns_c_ipmatchlist_walk(dns_c_ipmatchlist_t *list, dns_c_ipmlwalker func)
 
                ipme = ISC_LIST_NEXT(ipme, next);
        }
-       
+
        return (retval);
 }
 
@@ -815,7 +815,7 @@ dns_c_iplist_new(isc_mem_t *mem, int length, dns_c_iplist_t **newlist) {
        list->refcount = 1;
 
        *newlist = list;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -825,11 +825,11 @@ dns_c_iplist_detach(dns_c_iplist_t **list) {
 #ifndef NOMINUM_PUBLIC
        unsigned int i;
 #endif /* NOMINUM_PUBLIC */
-       
+
 
        REQUIRE(list != NULL);
        REQUIRE(*list != NULL);
-       
+
        l = *list;
 
        REQUIRE(DNS_C_IPLIST_VALID(l));
@@ -867,7 +867,7 @@ dns_c_iplist_haskeys(dns_c_iplist_t *list)
        if (list->keys == NULL) {
                return (ISC_FALSE);
        }
-       
+
        for (i = 0 ; i < list->nextidx ; i++) {
                if (list->keys[i] != NULL) {
                        return (ISC_TRUE);
@@ -877,7 +877,7 @@ dns_c_iplist_haskeys(dns_c_iplist_t *list)
        return (ISC_FALSE);
 }
 #endif /* NOMINUM_PUBLIC */
-       
+
 void
 dns_c_iplist_attach(dns_c_iplist_t *source, dns_c_iplist_t **target) {
        REQUIRE(DNS_C_IPLIST_VALID(source));
@@ -920,7 +920,7 @@ dns_c_iplist_copy(isc_mem_t *mem, dns_c_iplist_t **dest, dns_c_iplist_t *src) {
                }
 #endif /* NOMINUM_PUBLIC */
        }
-       
+
        newl->nextidx = src->nextidx;
 
        *dest = newl;
@@ -966,18 +966,18 @@ dns_c_iplist_printfully(FILE *fp, int indent, isc_boolean_t porttoo,
        isc_boolean_t athead = ISC_TRUE;
 
        REQUIRE(DNS_C_IPLIST_VALID(list));
-               
+
        if (list->nextidx == 0) {
                fputc('{', fp);
                fputc('\n', fp);
                dns_c_printtabs(fp, indent);
                fprintf(fp, "/* no ip addresses defined */\n");
-               dns_c_printtabs(fp, indent - 1); 
+               dns_c_printtabs(fp, indent - 1);
                fputc('}', fp);
        } else {
                if (porttoo) {
                        port = isc_sockaddr_getport(&list->ips[0]);
-                       
+
                        for (i = 0 ; i < list->nextidx ; i++) {
                                tmpport = isc_sockaddr_getport(&list->ips[i]);
                                if (tmpport != port) {
@@ -1085,21 +1085,21 @@ dns_c_iplist_append(dns_c_iplist_t *list, isc_sockaddr_t newaddr) {
                list->size = newsize;
        }
 
-       
+
        list->ips[i] = newaddr;
        list->nextidx++;
 
        res = ISC_R_SUCCESS;
-       
+
 #ifndef NOMINUM_PUBLIC
        if (key != NULL) {
                if (list->keys[i] != NULL) {
                        dns_name_free(list->keys[i], list->mem);
-                       isc_mem_put(list->mem, list->keys, 
+                       isc_mem_put(list->mem, list->keys,
                                    sizeof (dns_name_t));
                        list->keys[i] = NULL;
                }
-               
+
                res = dns_c_charptoname(list->mem, key, &list->keys[i]);
        }
 #endif /* NOMINUM_PUBLIC */
@@ -1114,7 +1114,7 @@ dns_c_iplist_remove(dns_c_iplist_t *list, isc_sockaddr_t newaddr) {
        isc_uint32_t i;
 
        REQUIRE(DNS_C_IPLIST_VALID(list));
-       
+
        for (i = 0 ; i < list->nextidx ; i++) {
                if (memcmp(&list->ips[i], &newaddr, sizeof newaddr) == 0) {
                        break;
@@ -1153,13 +1153,13 @@ checkmask(isc_sockaddr_t *address, isc_uint32_t bits) {
        if (bits > 0) {
                if (address->type.sa.sa_family == AF_INET) {
                        isc_uint32_t mask;
-                       
+
                        if (bits > 32) {
                                return (ISC_R_FAILURE);
                        }
-                       
+
                        mask = ntohl(0xffffffffU << (32 - bits));
-                       
+
                        if ((mask & address->type.sin.sin_addr.s_addr) !=
                            address->type.sin.sin_addr.s_addr) {
                                return (ISC_R_FAILURE);
@@ -1169,15 +1169,15 @@ checkmask(isc_sockaddr_t *address, isc_uint32_t bits) {
                        unsigned char *maskp;
                        unsigned char *addrp;
                        int i;
-                       
+
                        if (bits > 128) {
                                return (ISC_R_FAILURE);
                        }
-                                       
+
                        if (bits2v6mask(&iaddr, bits) != ISC_R_SUCCESS) {
                                return (ISC_R_FAILURE);
                        }
-                       
+
                        addrp = (unsigned char *)&address->type.sin6.sin6_addr;
                        maskp = (unsigned char *)&iaddr;
                        for (i = 0 ; i < 16 ; i++) {
@@ -1187,7 +1187,7 @@ checkmask(isc_sockaddr_t *address, isc_uint32_t bits) {
                        }
                }
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -1203,10 +1203,10 @@ bits2v6mask(struct in6_addr *addr, isc_uint32_t bits) {
        char addrbuff [ sizeof "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" + 1 ];
 
        INSIST(bits <= 128);
-       
+
        /* Break the 128 bits up into 32-bit sections */
        bitmask[0] = bitmask[1] = bitmask[2] = bitmask[3] = 0U;
-       
+
        if (bits >= 32) {
                bitmask[0] = 0xffffffffU;
        } else if (bits > 0) {
@@ -1225,9 +1225,9 @@ bits2v6mask(struct in6_addr *addr, isc_uint32_t bits) {
        } else if (bits > 64) {
                bitmask[2] = 0xffffffffU << (96 - bits);
        }
-      
+
        memset(addr, 0x0, sizeof *addr);
-       
+
        sprintf(addrbuff, "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x",
                (((bitmask[0] & 0xffff0000U) >> 16) & 0xffffU),
                (bitmask[0] & 0xffff),
@@ -1243,5 +1243,5 @@ bits2v6mask(struct in6_addr *addr, isc_uint32_t bits) {
        return (i == 1 ? ISC_R_SUCCESS : ISC_R_FAILURE);
 }
 
-       
+
 
index e1d23ce137ba5935cd1bfe37413afffb252dcbb4..08aa10add1ff6aff123a484e107379aeb950dfcd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confkeys.c,v 1.26 2000/07/27 09:47:04 tale Exp $ */
+/* $Id: confkeys.c,v 1.27 2000/08/01 01:23:21 tale Exp $ */
 
 #include <config.h>
 
@@ -43,7 +43,7 @@ dns_c_kdeflist_new(isc_mem_t *mem, dns_c_kdeflist_t **list) {
 
        newlist->mem = mem;
        newlist->magic = DNS_C_KDEFLIST_MAGIC;
-       
+
        ISC_LIST_INIT(newlist->keydefs);
 
        *list = newlist;
@@ -59,7 +59,7 @@ dns_c_kdeflist_delete(dns_c_kdeflist_t **list)
        dns_c_kdef_t *kd;
        dns_c_kdef_t *tmpkd;
        isc_result_t res;
-       
+
        REQUIRE(list != NULL);
        REQUIRE(DNS_C_KDEFLIST_VALID(*list));
 
@@ -80,7 +80,7 @@ dns_c_kdeflist_delete(dns_c_kdeflist_t **list)
        isc_mem_put(l->mem, l, sizeof *l);
 
        *list = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -95,12 +95,12 @@ dns_c_kdeflist_copy(isc_mem_t *mem, dns_c_kdeflist_t **dest,
 
        REQUIRE(dest != NULL);
        REQUIRE(DNS_C_KDEFLIST_VALID(src));
-       
+
        res = dns_c_kdeflist_new(mem, &newlist);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        key = ISC_LIST_HEAD(src->keydefs);
        while (key != NULL) {
                res = dns_c_kdeflist_append(newlist, key, ISC_TRUE);
@@ -108,7 +108,7 @@ dns_c_kdeflist_copy(isc_mem_t *mem, dns_c_kdeflist_t **dest,
                        dns_c_kdeflist_delete(&newlist);
                        return (res);
                }
-               
+
                key = ISC_LIST_NEXT(key, next);
        }
 
@@ -124,7 +124,7 @@ dns_c_kdeflist_append(dns_c_kdeflist_t *list,
 {
        dns_c_kdef_t *newe;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_KDEFLIST_VALID(list));
        REQUIRE(DNS_C_KDEF_VALID(key));
 
@@ -217,7 +217,7 @@ dns_c_kdeflist_print(FILE *fp, int indent, dns_c_kdeflist_t *list)
        if (list == NULL) {
                return;
        }
-       
+
        kd = ISC_LIST_HEAD(list->keydefs);
        while (kd != NULL) {
                dns_c_kdef_print(fp, indent, kd);
@@ -235,7 +235,7 @@ dns_c_kdef_new(isc_mem_t *mem, const char *name, dns_c_kdef_t **keyid)
        REQUIRE(keyid != NULL);
        REQUIRE(name != NULL);
        REQUIRE(*name != '\0');
-       
+
        kd = isc_mem_get(mem, sizeof *kd);
        if (kd == NULL) {
                return (ISC_R_NOMEMORY);
@@ -248,12 +248,12 @@ dns_c_kdef_new(isc_mem_t *mem, const char *name, dns_c_kdef_t **keyid)
 
        kd->magic = DNS_C_KDEF_MAGIC;
        kd->mem = mem;
-       
+
        kd->algorithm = NULL;
        kd->secret = NULL;
 
        *keyid = kd;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -270,7 +270,7 @@ dns_c_kdef_delete(dns_c_kdef_t **keydef)
        kd = *keydef;
 
        mem = kd->mem;
-       
+
        isc_mem_free(mem, kd->keyid);
 
        if (kd->algorithm != NULL) {
@@ -304,26 +304,26 @@ dns_c_kdef_copy(isc_mem_t *mem,
 
        REQUIRE(dest != NULL);
        REQUIRE(DNS_C_KDEF_VALID(src));
-       
+
        newk = isc_mem_get(mem, sizeof *newk);
        if (newk == NULL) {
                return (ISC_R_NOMEMORY);
        }
        newk->magic = DNS_C_KDEF_MAGIC;
        newk->secret = newk->algorithm = newk->keyid = NULL;
-       
+
        newk->keyid = isc_mem_strdup(mem, src->keyid);
        if (newk->keyid == NULL) {
                dns_c_kdef_delete(&newk);
                return (ISC_R_NOMEMORY);
        }
-       
+
        newk->algorithm = isc_mem_strdup(mem, src->algorithm);
        if (newk->algorithm == NULL) {
                dns_c_kdef_delete(&newk);
                return (ISC_R_NOMEMORY);
        }
-               
+
        newk->secret = isc_mem_strdup(mem, src->secret);
        if (newk->secret == NULL) {
                dns_c_kdef_delete(&newk);
@@ -335,7 +335,7 @@ dns_c_kdef_copy(isc_mem_t *mem,
        return (ISC_R_SUCCESS);
 }
 
-               
+
 
 void
 dns_c_kdef_print(FILE *fp, int indent, dns_c_kdef_t *keydef)
@@ -367,7 +367,7 @@ dns_c_kdef_setalgorithm(dns_c_kdef_t *keydef, const char *algorithm)
        if (keydef->algorithm != NULL) {
                isc_mem_free(keydef->mem, keydef->algorithm);
        }
-       
+
        keydef->algorithm = isc_mem_strdup(keydef->mem, algorithm);
        if (keydef->algorithm == NULL) {
                return (ISC_R_NOMEMORY);
@@ -383,11 +383,11 @@ dns_c_kdef_setsecret(dns_c_kdef_t *keydef, const char *secret)
        REQUIRE(DNS_C_KDEF_VALID(keydef));
        REQUIRE(secret != NULL);
        REQUIRE(*secret != '\0');
-       
+
        if (keydef->secret != NULL) {
                isc_mem_free(keydef->mem, keydef->secret);
        }
-       
+
        keydef->secret = isc_mem_strdup(keydef->mem, secret);
        if (keydef->secret == NULL) {
                return (ISC_R_NOMEMORY);
@@ -411,7 +411,7 @@ dns_c_kidlist_new(isc_mem_t *mem, dns_c_kidlist_t **list)
        l->magic = DNS_C_KEYIDLIST_MAGIC;
        l->mem = mem;
        *list = l;
-       
+
        ISC_LIST_INIT(l->keyids);
 
        return (ISC_R_SUCCESS);
@@ -427,7 +427,7 @@ dns_c_kidlist_delete(dns_c_kidlist_t **list)
 
        REQUIRE(list != NULL);
        REQUIRE(DNS_C_KEYIDLIST_VALID(*list));
-       
+
        l = *list;
 
        ki = ISC_LIST_HEAD(l->keyids);
@@ -445,7 +445,7 @@ dns_c_kidlist_delete(dns_c_kidlist_t **list)
        isc_mem_put(l->mem, l, sizeof *l);
 
        *list = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -467,7 +467,7 @@ dns_c_kidlist_keycount(dns_c_kidlist_t *list)
        return (count);
 }
 
-       
+
 
 
 
@@ -478,7 +478,7 @@ keyid_delete(dns_c_kid_t **keyid)
 
        REQUIRE(keyid != NULL);
        REQUIRE(DNS_C_KEYID_VALID(*keyid));
-       
+
        ki = *keyid;
 
        isc_mem_free(ki->mem, ki->keyid);
@@ -487,7 +487,7 @@ keyid_delete(dns_c_kid_t **keyid)
        isc_mem_put(ki->mem, ki, sizeof *ki);
 
        *keyid = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -501,9 +501,9 @@ dns_c_kidlist_undef(dns_c_kidlist_t *list, const char *keyid)
        REQUIRE(DNS_C_KEYIDLIST_VALID(list));
        REQUIRE(keyid != NULL);
        REQUIRE(*keyid != '\0');
-       
+
        dns_c_kidlist_find(list, keyid, &ki);
-       
+
        if (ki != NULL) {
                ISC_LIST_UNLINK(list->keyids, ki, next);
                r = keyid_delete(&ki);
@@ -525,7 +525,7 @@ dns_c_kidlist_find(dns_c_kidlist_t *list, const char *keyid,
        REQUIRE(keyid != NULL);
        REQUIRE(*keyid != '\0');
        REQUIRE(retval != NULL);
-       
+
        iter = ISC_LIST_HEAD(list->keyids);
        while (iter != NULL) {
                if (strcmp(keyid, iter->keyid) == 0) {
@@ -577,7 +577,7 @@ dns_c_kidlist_print(FILE *fp, int indent,
                        iter = ISC_LIST_NEXT(iter, next);
                }
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "}");
 }
@@ -591,7 +591,7 @@ dns_c_kid_new(isc_mem_t *mem, const char *name, dns_c_kid_t **keyid)
        REQUIRE(name != NULL);
        REQUIRE(*name != '\0');
        REQUIRE(keyid != NULL);
-       
+
        ki = isc_mem_get(mem, sizeof *ki);
        if (ki == NULL) {
                return (ISC_R_NOMEMORY);
@@ -626,11 +626,11 @@ dns_c_pklist_new(isc_mem_t *mem, dns_c_pklist_t **pklist)
        ISC_LIST_INIT(newl->keylist);
 
        *pklist = newl;
-       
+
        return (ISC_R_SUCCESS);
 }
 
-       
+
 isc_result_t
 dns_c_pklist_delete(dns_c_pklist_t **list)
 {
@@ -677,7 +677,7 @@ dns_c_pklist_print(FILE *fp, int indent, dns_c_pklist_t *list)
        }
 
        REQUIRE(DNS_C_PKLIST_VALID(list));
-       
+
        pk = ISC_LIST_HEAD(list->keylist);
        while (pk != NULL) {
                dns_c_pubkey_print(fp, indent, pk);
@@ -796,7 +796,7 @@ dns_c_pubkey_new(isc_mem_t *mem, isc_uint32_t flags,
                isc_mem_put(mem, pkey, sizeof *pkey);
                return (ISC_R_NOMEMORY);
        }
-       
+
        *pubkey = pkey;
 
        return (ISC_R_SUCCESS);
@@ -832,7 +832,7 @@ dns_c_pubkey_copy(isc_mem_t *mem, dns_c_pubkey_t **dest, dns_c_pubkey_t *src)
 
        REQUIRE(DNS_C_PUBKEY_VALID(src));
        REQUIRE(dest != NULL);
-       
+
        res = dns_c_pubkey_new(mem, src->flags, src->protocol,
                               src->algorithm, src->key, &k);
        if (res != ISC_R_SUCCESS) {
@@ -902,7 +902,7 @@ dns_c_tkeylist_delete(dns_c_tkeylist_t **list)
        REQUIRE(DNS_C_TKEYLIST_VALID(*list));
 
        l = *list;
-               
+
        tkey = ISC_LIST_HEAD(l->tkeylist);
        while (tkey != NULL) {
                tmptkey = ISC_LIST_NEXT(tkey, next);
@@ -912,7 +912,7 @@ dns_c_tkeylist_delete(dns_c_tkeylist_t **list)
                if (res != ISC_R_SUCCESS) {
                        return (res);
                }
-               
+
                tkey = tmptkey;
        }
 
@@ -920,7 +920,7 @@ dns_c_tkeylist_delete(dns_c_tkeylist_t **list)
        isc_mem_put(l->mem, l, sizeof *l);
 
        *list = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -935,12 +935,12 @@ dns_c_tkeylist_copy(isc_mem_t *mem, dns_c_tkeylist_t **dest,
 
        REQUIRE(dest != NULL);
        REQUIRE(DNS_C_TKEYLIST_VALID(src));
-       
+
        res = dns_c_tkeylist_new(mem, &newlist);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        tkey = ISC_LIST_HEAD(src->tkeylist);
        while (tkey != NULL) {
                res = dns_c_tkey_copy(mem, &tmptkey, tkey);
@@ -955,7 +955,7 @@ dns_c_tkeylist_copy(isc_mem_t *mem, dns_c_tkeylist_t **dest,
                        dns_c_tkeylist_delete(&newlist);
                        return (res);
                }
-               
+
                tkey = ISC_LIST_NEXT(tkey, next);
        }
 
@@ -969,10 +969,10 @@ void
 dns_c_tkeylist_print(FILE *fp, int indent, dns_c_tkeylist_t *list)
 {
        dns_c_tkey_t *tkey;
-       
+
        REQUIRE(fp != NULL);
        REQUIRE(DNS_C_TKEYLIST_VALID(list));
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "trusted-keys {\n");
        tkey = ISC_LIST_HEAD(list->tkeylist);
@@ -996,7 +996,7 @@ dns_c_tkeylist_append(dns_c_tkeylist_t *list, dns_c_tkey_t *element,
 {
        dns_c_tkey_t *newe;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_TKEYLIST_VALID(list));
        REQUIRE(DNS_C_TKEY_VALID(element));
 
@@ -1052,7 +1052,7 @@ dns_c_tkey_new(isc_mem_t *mem, const char *domain, isc_uint32_t flags,
                isc_mem_put(mem, newk, sizeof *newk);
                return (ISC_R_NOMEMORY);
        }
-       
+
        newk->pubkey = pk;
 
        ISC_LINK_INIT(newk, next);
@@ -1083,9 +1083,9 @@ dns_c_tkey_delete(dns_c_tkey_t **tkey)
 
        tk->magic = 0;
        isc_mem_put(tk->mem, tk, sizeof *tk);
-       
+
        *tkey = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -1165,7 +1165,7 @@ dns_c_tkey_getkey(dns_c_tkey_t *tkey, const char **key)
 {
        REQUIRE(key != NULL);
        REQUIRE(DNS_C_TKEY_VALID(tkey));
-       
+
        *key = tkey->pubkey->key;
 
        return (ISC_R_SUCCESS);
index f4fe188f5182aa2afd2e1a5236610a5bed81e54f..45244db9ef2ce7239d9d72a0adf81206a01fa410 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: conflog.c,v 1.17 2000/07/27 09:47:05 tale Exp $ */
+/* $Id: conflog.c,v 1.18 2000/08/01 01:23:22 tale Exp $ */
 
 #include <config.h>
 
@@ -83,7 +83,7 @@ dns_c_logginglist_delete(dns_c_logginglist_t **list) {
 
        REQUIRE(list != NULL);
        REQUIRE(DNS_C_LOGLIST_VALID(*list));
-       
+
        l = *list;
 
        chan = ISC_LIST_HEAD(l->channels);
@@ -180,10 +180,10 @@ logginglist_empty(dns_c_logginglist_t *ll) {
                if (!logchan->predefined) {
                        return ISC_FALSE;
                }
-               
+
                logchan = ISC_LIST_NEXT(logchan, next);
        }
-       
+
        logcat = ISC_LIST_HEAD(ll->categories);
        while (logcat != NULL) {
                if (!logcat->predefined) {
@@ -195,7 +195,7 @@ logginglist_empty(dns_c_logginglist_t *ll) {
        return ISC_TRUE;
 }
 
-       
+
 void
 dns_c_logginglist_print(FILE *fp, int indent, dns_c_logginglist_t *ll,
                        isc_boolean_t if_predef_too)
@@ -212,21 +212,21 @@ dns_c_logginglist_print(FILE *fp, int indent, dns_c_logginglist_t *ll,
 
        dns_c_printtabs(fp, indent);
        fprintf(fp, "logging {\n");
-       
+
        logchan = ISC_LIST_HEAD(ll->channels);
        while (logchan != NULL) {
                dns_c_logchan_print(fp, indent + 1, logchan,
                                    if_predef_too);
                logchan = ISC_LIST_NEXT(logchan, next);
        }
-       
+
        logcat = ISC_LIST_HEAD(ll->categories);
        while (logcat != NULL) {
                dns_c_logcat_print(fp, indent + 1, logcat,
                                   if_predef_too);
                logcat = ISC_LIST_NEXT(logcat, next);
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "};\n");
 }
@@ -253,7 +253,7 @@ dns_c_logginglist_addchannel(dns_c_logginglist_t *list,
        } else {
                newc = newchan;
        }
-               
+
        tmpchan = ISC_LIST_HEAD(list->channels);
        while (tmpchan != NULL) {
                if (strcmp(newchan->name, tmpchan->name) == 0) {
@@ -293,7 +293,7 @@ dns_c_logginglist_addcategory(dns_c_logginglist_t *list,
 
        REQUIRE(DNS_C_LOGLIST_VALID(list));
        REQUIRE(DNS_C_LOGCAT_VALID(newcat));
-       
+
 
        if (deepcopy) {
                res = dns_c_logcat_copy(list->mem, &newc, newcat);
@@ -310,7 +310,7 @@ dns_c_logginglist_addcategory(dns_c_logginglist_t *list,
                if (strcmp(newcat->catname,tmpcat->catname) == 0) {
                        existed = ISC_TRUE;
                        predefined = tmpcat->predefined;
-                       
+
                        ISC_LIST_UNLINK(list->categories, tmpcat, next);
                        res = dns_c_logcat_delete(&tmpcat);
                        if (res != ISC_R_SUCCESS) {
@@ -501,13 +501,13 @@ dns_c_logchan_new(isc_mem_t *mem, const char *name,
        memset(&newc->setflags, 0x0, sizeof newc->setflags);
 
        ISC_LINK_INIT(newc, next);
-       
+
        newc->name = isc_mem_strdup(mem, name);
        if (newc->name == NULL) {
                isc_mem_put(mem, newc, sizeof *newc);
                return (ISC_R_NOMEMORY);
        }
-       
+
        switch (ctype) {
        case dns_c_logchan_file:
                newc->u.filec.path = NULL;
@@ -518,7 +518,7 @@ dns_c_logchan_new(isc_mem_t *mem, const char *name,
        case dns_c_logchan_stderr:
                break;
        }
-       
+
        *newchan = newc;
 
        return (ISC_R_SUCCESS);
@@ -579,7 +579,7 @@ dns_c_logchan_copy(isc_mem_t *mem, dns_c_logchan_t **dest,
        logc->print_severity = src->print_severity;
        logc->print_time = src->print_time;
        logc->setflags = src->setflags;
-       
+
        switch (logc->ctype) {
        case dns_c_logchan_file:
                logc->u.filec.path = isc_mem_strdup(mem, src->u.filec.path);
@@ -597,7 +597,7 @@ dns_c_logchan_copy(isc_mem_t *mem, dns_c_logchan_t **dest,
        }
 
        *dest = logc;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -612,7 +612,7 @@ dns_c_logchan_print(FILE *fp, int indent, dns_c_logchan_t *logchan,
        if (logchan->predefined && !if_predef_too) {
                return;
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "channel %s {\n", logchan->name) ;
 
@@ -669,13 +669,13 @@ dns_c_logchan_print(FILE *fp, int indent, dns_c_logchan_t *logchan,
                fprintf(fp, "print-severity %s;\n",
                        (logchan->print_severity ? "true" : "false"));
        }
-       
+
        if (DNS_C_CHECKBIT(CHAN_PCAT_BIT, &logchan->setflags)) {
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "print-category %s;\n",
                        (logchan->print_category ? "true" : "false"));
        }
-       
+
        if (DNS_C_CHECKBIT(CHAN_PTIME_BIT, &logchan->setflags)) {
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "print-time %s;\n",
@@ -777,7 +777,7 @@ dns_c_logchan_setfacility(dns_c_logchan_t *channel, int facility) {
                return (ISC_R_FAILURE);
        }
 
-       
+
        if (dns_c_facility2string(facility, ISC_FALSE) == NULL) {
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -785,7 +785,7 @@ dns_c_logchan_setfacility(dns_c_logchan_t *channel, int facility) {
                              facility);
                return (ISC_R_FAILURE);
        }
-       
+
 
        existed = DNS_C_CHECKBIT(CHAN_FACILITY_BIT, &channel->setflags);
 
@@ -822,10 +822,10 @@ dns_c_logchan_setdebuglevel(dns_c_logchan_t *channel, isc_int32_t level) {
        if (channel->severity == dns_c_log_debug) {
                existed = DNS_C_CHECKBIT(CHAN_DEBUG_LEVEL_BIT,
                                         &channel->setflags);
-               
+
                DNS_C_SETBIT(CHAN_DEBUG_LEVEL_BIT, &channel->setflags);
                channel->debug_level = level;
-               
+
                return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
        } else {
                return (ISC_R_FAILURE);
@@ -1181,14 +1181,14 @@ dns_c_logcat_print(FILE *fp, int indent, dns_c_logcat_t *logcat,
                   isc_boolean_t if_predef_too)
 {
        unsigned int i;
-       
+
        REQUIRE(fp != NULL);
        REQUIRE(DNS_C_LOGCAT_VALID(logcat));
 
        if (logcat->predefined && !if_predef_too) {
                return;
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "category %s {\n", logcat->catname);
 
@@ -1308,7 +1308,7 @@ dns_c_logcat_getpredef(dns_c_logcat_t *logcat, isc_boolean_t *retval) {
 static void
 print_log_facility(FILE *fp, int value) {
        REQUIRE(fp != NULL);
-       
+
        fputs(dns_c_facility2string(value, ISC_TRUE), fp);
 }
 
@@ -1316,7 +1316,7 @@ print_log_facility(FILE *fp, int value) {
 static void
 print_log_severity(FILE *fp, dns_c_logseverity_t severity) {
        REQUIRE(fp != NULL);
-       
+
        fputs(dns_c_logseverity2string(severity, ISC_TRUE), fp);
 }
 
index f976557699a61b9cfbe62f151864c748d62650f1..234b6ba5a75c985fdc3911e81987e5ef6d506709 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: conflsn.c,v 1.17 2000/07/27 09:47:06 tale Exp $ */
+/* $Id: conflsn.c,v 1.18 2000/08/01 01:23:24 tale Exp $ */
 
 #include <config.h>
 
@@ -35,7 +35,7 @@ dns_c_lstnon_new(isc_mem_t *mem, dns_c_lstnon_t **listen) {
        REQUIRE(listen != NULL);
 
        *listen = NULL;
-       
+
        ll = isc_mem_get(mem, sizeof *ll);
        ll->mem = mem;
        ll->port = 0;
@@ -46,11 +46,11 @@ dns_c_lstnon_new(isc_mem_t *mem, dns_c_lstnon_t **listen) {
                isc_mem_put(mem, ll, sizeof *ll);
                return (result);
        }
-       
+
        ISC_LINK_INIT(ll, next);
 
        *listen = ll;
-               
+
        return (ISC_R_SUCCESS);
 }
 
@@ -74,7 +74,7 @@ dns_c_lstnon_delete(dns_c_lstnon_t **listen) {
        isc_mem_put(lo->mem, lo, sizeof *lo);
 
        *listen = NULL;
-       
+
        return (r);
 }
 
@@ -95,7 +95,7 @@ dns_c_lstnon_setiml(dns_c_lstnon_t *listen,
        } else {
                result = ISC_R_SUCCESS;
        }
-       
+
 
        if (deepcopy) {
                result = dns_c_ipmatchlist_copy(listen->mem,
@@ -114,7 +114,7 @@ dns_c_lstnlist_new(isc_mem_t *mem, dns_c_lstnlist_t **llist) {
        REQUIRE(llist != NULL);
 
        *llist = NULL;
-       
+
        ll = isc_mem_get(mem, sizeof *ll);
        if (ll == NULL) {
                /* XXXJAB logwrite */
@@ -126,7 +126,7 @@ dns_c_lstnlist_new(isc_mem_t *mem, dns_c_lstnlist_t **llist) {
        ISC_LIST_INIT(ll->elements);
 
        *llist = ll;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -157,7 +157,7 @@ dns_c_lstnlist_delete(dns_c_lstnlist_t **llist) {
        isc_mem_put(ll->mem, ll, sizeof *ll);
 
        *llist = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -204,7 +204,7 @@ dns_c_lstnon_print(FILE *fp, int indent, dns_c_lstnon_t *lo,
                   in_port_t default_port) {
        REQUIRE(lo != NULL);
        REQUIRE(DNS_C_LISTEN_VALID(lo));
-       
+
        fprintf(fp, "listen-on ");
        if (lo->port != default_port) {
                fprintf(fp, "port %d ", lo->port);
@@ -222,7 +222,7 @@ dns_c_lstnonv6_print(FILE *fp, int indent, dns_c_lstnon_t *lo,
                   in_port_t default_port) {
        REQUIRE(lo != NULL);
        REQUIRE(DNS_C_LISTEN_VALID(lo));
-       
+
        fprintf(fp, "listen-on-v6 ");
        if (lo->port != default_port) {
                fprintf(fp, "port %d ", lo->port);
@@ -254,7 +254,7 @@ checklisten_element(dns_c_ipmatchelement_t *element)
        case dns_c_ipmatch_localnets:
                ok = ISC_FALSE;
                break;
-               
+
        case dns_c_ipmatch_any:
        case dns_c_ipmatch_none:
                ok = ISC_TRUE;
@@ -263,7 +263,7 @@ checklisten_element(dns_c_ipmatchelement_t *element)
        case dns_c_ipmatch_indirect:
                /* XXX shouldn't be reached */
                break;
-               
+
        case dns_c_ipmatch_acl:
                /* XXX handle this. */
                break;
@@ -277,11 +277,11 @@ checkv6listen_element(dns_c_ipmatchelement_t *element)
 {
        int pf;
        isc_boolean_t ok = ISC_FALSE;
-       
+
        switch (element->type) {
        case dns_c_ipmatch_pattern:
                pf = isc_sockaddr_pf(&element->u.direct.address);
-               
+
                ok = ISC_TF(pf == AF_INET6);
                break;
 
@@ -290,7 +290,7 @@ checkv6listen_element(dns_c_ipmatchelement_t *element)
        case dns_c_ipmatch_localnets:
                ok = ISC_FALSE;
                break;
-               
+
        case dns_c_ipmatch_any:
        case dns_c_ipmatch_none:
                ok = ISC_TRUE;
@@ -299,7 +299,7 @@ checkv6listen_element(dns_c_ipmatchelement_t *element)
        case dns_c_ipmatch_indirect:
                /* XXX shouldn't be reached */
                break;
-               
+
        case dns_c_ipmatch_acl:
                /* XXX handle this. */
                break;
@@ -317,7 +317,7 @@ isc_result_t
 dns_c_lstnlist_validate(dns_c_lstnlist_t *ll)
 {
 #if 0
-       
+
        dns_c_lstnon_t *lo;
        isc_boolean_t checkval;
 
@@ -334,18 +334,18 @@ dns_c_lstnlist_validate(dns_c_lstnlist_t *ll)
                                      "addresses only.");
                        return (ISC_R_FAILURE);
                }
-               
+
                lo = ISC_LIST_NEXT(lo, next);
        }
 
        return (ISC_R_SUCCESS);
 
-#else  
+#else
 
        UNUSED(ll);
        return (ISC_R_SUCCESS);
 
-#endif 
+#endif
 }
 
 
@@ -370,18 +370,18 @@ dns_c_lstnlistv6_validate(dns_c_lstnlist_t *ll)
                                      "addresses only.");
                        return (ISC_R_FAILURE);
                }
-               
+
                lo = ISC_LIST_NEXT(lo, next);
        }
 
        return (ISC_R_SUCCESS);
 
 #else
-       
+
        UNUSED(ll);
        return (ISC_R_SUCCESS);
-       
-#endif 
+
+#endif
 }
 
 
index 0dc849d5675548d7789a4deaaafe2bd52ef23bd4..f38453f4af6c7749d422815cbe3da5170dbb54da 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confndc.c,v 1.24 2000/07/28 19:33:29 gson Exp $ */
+/* $Id: confndc.c,v 1.25 2000/08/01 01:23:25 tale Exp $ */
 
 /*
 **     options {
 **       [ default-server server_name; ]
 **       [ default-key key_name; ]
 **     };
-**     
+**
 **     server server_name {
 **       key key_name;
 **       [ host name_or_addr; ]
 **     };
-**     
+**
 **     key key_name {
 **       algorithm string;
 **       secret  string;
 **     };
-**     
+**
 */
 
 
@@ -52,7 +52,7 @@
 
 #include <dns/confndc.h>
 #include <dns/log.h>
+
 /*
  * Type keys for symtab lookup.
  */
@@ -87,7 +87,7 @@ struct keywordtoken {
 };
 
 
-/* 
+/*
  * DATA
  */
 
@@ -192,7 +192,7 @@ dns_c_ndcctx_new(isc_mem_t *mem, dns_c_ndcctx_t **ctx) {
        newctx = isc_mem_get(mem, sizeof *newctx);
        if (newctx == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        newctx->mem = mem;
        newctx->magic = DNS_C_NDCCTX_MAGIC;
        newctx->opts = NULL;
@@ -207,11 +207,11 @@ void
 dns_c_ndcctx_destroy(dns_c_ndcctx_t **ndcctx) {
        dns_c_ndcctx_t *ctx;
        isc_mem_t *mem;
-       
+
        REQUIRE(ndcctx != NULL);
 
        ctx = *ndcctx;
-       
+
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
 
        mem = ctx->mem;
@@ -268,7 +268,7 @@ dns_c_ndcopts_print(FILE *fp, dns_c_ndcopts_t *opts) {
 void
 dns_c_ndcserverlist_print(FILE *fp, dns_c_ndcserverlist_t *servers) {
        dns_c_ndcserver_t *server;
-       
+
        REQUIRE(DNS_C_NDCSERVERLIST_VALID(servers));
        REQUIRE(fp != NULL);
 
@@ -296,12 +296,12 @@ dns_c_ndcserver_print(FILE *fp, dns_c_ndcserver_t *server) {
 isc_result_t
 dns_c_ndcctx_setoptions(dns_c_ndcctx_t *ctx, dns_c_ndcopts_t *opts) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(opts == NULL || DNS_C_NDCOPTIONS_VALID(opts));
 
        existed = ISC_TF(ctx->opts != NULL);
-       
+
        ctx->opts = opts;
 
        if (existed)
@@ -315,7 +315,7 @@ dns_c_ndcctx_getoptions(dns_c_ndcctx_t *ctx, dns_c_ndcopts_t **opts) {
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(opts != NULL);
        REQUIRE(*opts == NULL);
-       
+
        *opts = ctx->opts;
 
        if (ctx->opts == NULL)
@@ -332,7 +332,7 @@ dns_c_ndcctx_setservers(dns_c_ndcctx_t *ctx, dns_c_ndcserverlist_t *servers) {
        REQUIRE(servers == NULL || DNS_C_NDCSERVERLIST_VALID(servers));
 
        existed = ISC_TF(ctx->servers != NULL);
-       
+
        ctx->servers = servers;
 
        if (existed)
@@ -346,7 +346,7 @@ dns_c_ndcctx_getservers(dns_c_ndcctx_t *ctx, dns_c_ndcserverlist_t **servers) {
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(servers != NULL);
        REQUIRE(*servers == NULL);
-       
+
        *servers = ctx->servers;
 
        if (ctx->servers == NULL)
@@ -358,11 +358,11 @@ dns_c_ndcctx_getservers(dns_c_ndcctx_t *ctx, dns_c_ndcserverlist_t **servers) {
 isc_result_t
 dns_c_ndcctx_addserver(dns_c_ndcctx_t *ctx, dns_c_ndcserver_t **server) {
        isc_result_t result;
-       
+
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(server != NULL);
        REQUIRE(DNS_C_NDCSERVER_VALID(*server));
-       
+
        if (ctx->servers == NULL) {
                result = dns_c_ndcserverlist_new(ctx->mem, &ctx->servers);
                if (result != ISC_R_SUCCESS)
@@ -416,12 +416,12 @@ dns_c_ndcctx_getkeys(dns_c_ndcctx_t *ctx, dns_c_kdeflist_t **keys) {
 isc_result_t
 dns_c_ndcctx_setkeys(dns_c_ndcctx_t *ctx, dns_c_kdeflist_t *keys) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(DNS_C_KDEFLIST_VALID(keys));
 
        existed = ISC_TF(ctx->keys != NULL);
-       
+
        ctx->keys = keys;
 
        if (existed)
@@ -436,7 +436,7 @@ dns_c_ndcserverlist_new(isc_mem_t *mem, dns_c_ndcserverlist_t **servers) {
 
        REQUIRE(servers != NULL);
        REQUIRE(*servers == NULL);
-       
+
        newlist = isc_mem_get(mem, sizeof *newlist);
        if (newlist == NULL)
                return (ISC_R_NOMEMORY);
@@ -446,7 +446,7 @@ dns_c_ndcserverlist_new(isc_mem_t *mem, dns_c_ndcserverlist_t **servers) {
        ISC_LIST_INIT(newlist->list);
 
        *servers = newlist;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -482,7 +482,7 @@ dns_c_ndcserverlist_destroy(dns_c_ndcserverlist_t **servers) {
 dns_c_ndcserver_t *
 dns_c_ndcserverlist_first(dns_c_ndcserverlist_t *servers) {
        REQUIRE(DNS_C_NDCSERVERLIST_VALID(servers));
-       
+
        return (ISC_LIST_HEAD(servers->list));
 }
 
@@ -497,7 +497,7 @@ dns_c_ndcserverlist_next(dns_c_ndcserver_t *server) {
 isc_result_t
 dns_c_ndcopts_new(isc_mem_t *mem, dns_c_ndcopts_t **opts) {
        dns_c_ndcopts_t *newo;
-       
+
        REQUIRE(opts != NULL);
        REQUIRE(*opts == NULL);
 
@@ -511,7 +511,7 @@ dns_c_ndcopts_new(isc_mem_t *mem, dns_c_ndcopts_t **opts) {
        newo->defkey = NULL;
 
        *opts = newo;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -519,11 +519,11 @@ isc_result_t
 dns_c_ndcopts_destroy(dns_c_ndcopts_t **opts) {
        dns_c_ndcopts_t *o;
        isc_mem_t *mem;
-       
+
        REQUIRE(opts != NULL);
 
        o = *opts;
-       
+
        REQUIRE(DNS_C_NDCOPTIONS_VALID(o));
 
        if (o->defserver != NULL)
@@ -540,8 +540,8 @@ dns_c_ndcopts_destroy(dns_c_ndcopts_t **opts) {
 
        return (ISC_R_SUCCESS);
 }
-       
-               
+
+
 isc_result_t
 dns_c_ndcopts_getdefserver(dns_c_ndcopts_t *opts, const char **retval) {
        REQUIRE(DNS_C_NDCOPTIONS_VALID(opts));
@@ -601,7 +601,7 @@ dns_c_ndcopts_setdefkey(dns_c_ndcopts_t *opts, const char *newval) {
        REQUIRE(newval == NULL || *newval != '\0');
 
        existed = ISC_TF(opts->defkey != NULL);
-       
+
        if (newval != NULL) {
                opts->defkey = isc_mem_strdup(opts->mem, newval);
                if (opts->defkey == NULL)
@@ -621,7 +621,7 @@ dns_c_ndcopts_setdefkey(dns_c_ndcopts_t *opts, const char *newval) {
 isc_result_t
 dns_c_ndcserver_new(isc_mem_t *mem, dns_c_ndcserver_t **server) {
        dns_c_ndcserver_t *serv = NULL;
-       
+
        REQUIRE(server != NULL);
        REQUIRE(*server == NULL);
 
@@ -640,12 +640,12 @@ dns_c_ndcserver_new(isc_mem_t *mem, dns_c_ndcserver_t **server) {
 
        return (ISC_R_SUCCESS);
 }
-       
+
 isc_result_t
 dns_c_ndcserver_destroy(dns_c_ndcserver_t **server) {
        dns_c_ndcserver_t *serv;
        isc_mem_t *mem;
-       
+
        REQUIRE(server != NULL);
 
        serv = *server ;
@@ -653,10 +653,10 @@ dns_c_ndcserver_destroy(dns_c_ndcserver_t **server) {
 
        if (serv->name != NULL)
                isc_mem_free(serv->mem, serv->name);
-       
+
        if (serv->key != NULL)
                isc_mem_free(serv->mem, serv->key);
-       
+
        if (serv->host != NULL)
                isc_mem_free(serv->mem, serv->host);
 
@@ -669,11 +669,11 @@ dns_c_ndcserver_destroy(dns_c_ndcserver_t **server) {
        return (ISC_R_SUCCESS);
 }
 
-       
+
 isc_result_t
 dns_c_ndcserver_setkey(dns_c_ndcserver_t *server, const char *val) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_NDCSERVER_VALID(server));
 
        existed = ISC_TF(server->key != NULL);
@@ -695,7 +695,7 @@ dns_c_ndcserver_setkey(dns_c_ndcserver_t *server, const char *val) {
 isc_result_t
 dns_c_ndcserver_setname(dns_c_ndcserver_t *server, const char *val) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_NDCSERVER_VALID(server));
 
        existed = ISC_TF(server->name != NULL);
@@ -717,7 +717,7 @@ dns_c_ndcserver_setname(dns_c_ndcserver_t *server, const char *val) {
 isc_result_t
 dns_c_ndcserver_sethost(dns_c_ndcserver_t *server, const char *val) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_NDCSERVER_VALID(server));
 
        existed = ISC_TF(server->host != NULL);
@@ -735,7 +735,7 @@ dns_c_ndcserver_sethost(dns_c_ndcserver_t *server, const char *val) {
        else
                return (ISC_R_SUCCESS);
 }
-       
+
 isc_result_t
 dns_c_ndcserver_getkey(dns_c_ndcserver_t *server, const char **val) {
        REQUIRE(DNS_C_NDCSERVER_VALID(server));
@@ -790,11 +790,11 @@ dns_c_ndcparseconf(const char *filename, isc_mem_t *mem,
        ndcpcontext pctx;
        isc_result_t result;
        dns_c_ndcctx_t *aConfig = NULL;
-       
+
        result = parser_setup(&pctx, mem, filename);
        if (result != ISC_R_SUCCESS)
                goto done;
-       
+
        result = parse_file(&pctx, &aConfig);
        if (result != ISC_R_SUCCESS && aConfig != NULL)
                dns_c_ndcctx_destroy(&aConfig);
@@ -802,12 +802,12 @@ dns_c_ndcparseconf(const char *filename, isc_mem_t *mem,
  done:
        if (pctx.thelexer != NULL)
                isc_lex_destroy(&pctx.thelexer);
-       
+
        if (pctx.thekeywords != NULL)
                isc_symtab_destroy(&pctx.thekeywords);
 
        *ndcctx = aConfig;
-       
+
        return (result);
 }
 
@@ -828,7 +828,7 @@ parse_file(ndcpcontext *pctx, dns_c_ndcctx_t **context) {
 
        result = getnexttoken(pctx);
        done = ISC_TF(result != ISC_R_SUCCESS);
-       
+
        while (!done) {
                switch (pctx->currtok) {
                case L_END_INPUT:
@@ -856,7 +856,7 @@ parse_statement(ndcpcontext *pctx) {
        dns_c_ndcopts_t *tmpopts = NULL;
        dns_c_ndcserver_t  *server = NULL;
        dns_c_kdeflist_t *keys = NULL;
-       
+
        switch (pctx->currtok) {
        case L_OPTIONS:
                result = parse_options(pctx, &opts);
@@ -892,7 +892,7 @@ parse_statement(ndcpcontext *pctx) {
 
                result = parse_keystmt(pctx, keys);
                break;
-               
+
        default:
                syntax_error(pctx, pctx->currtok);
                result = ISC_R_FAILURE;
@@ -908,7 +908,7 @@ parse_statement(ndcpcontext *pctx) {
 
        if (opts != NULL)
                dns_c_ndcopts_destroy(&opts);
-                                                       
+
        return (result);
 }
 
@@ -920,21 +920,21 @@ parse_options(ndcpcontext *pctx, dns_c_ndcopts_t **opts) {
        dns_c_ndcctx_t *cfgctx = pctx->thecontext;
 
        REQUIRE(DNS_C_NDCCTX_VALID(cfgctx));
-       
+
        if (!eat(pctx, L_OPTIONS) || !eat_lbrace(pctx))
                return (ISC_R_FAILURE);
 
        result = dns_c_ndcopts_new(cfgctx->mem, &newopts);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        result = ISC_R_SUCCESS;
        while (result == ISC_R_SUCCESS && pctx->currtok != L_RBRACE) {
                option = pctx->currtok;
 
                if (!eat(pctx, pctx->currtok))
                        return (ISC_R_FAILURE);
-               
+
                switch (option) {
                case L_DEFAULT_SERVER:
                        if (!looking_at_stringoripaddr(pctx))
@@ -944,22 +944,22 @@ parse_options(ndcpcontext *pctx, dns_c_ndcopts_t **opts) {
                                                            pctx->tokstr);
                        if (result == ISC_R_SUCCESS)
                                result = getnexttoken(pctx);
-                       
+
                        if (result != ISC_R_SUCCESS)
                                return (result);
 
                        break;
-                               
+
                case L_DEFAULT_KEY:
                        if (!looking_at_anystring(pctx))
                                return (result);
-                       
+
                        result = dns_c_ndcopts_setdefkey(newopts,
                                                         pctx->tokstr);
 
                        if (result == ISC_R_SUCCESS)
                                result = getnexttoken(pctx);
-                       
+
                        if (result != ISC_R_SUCCESS)
                                return (result);
                        break;
@@ -986,7 +986,7 @@ parse_options(ndcpcontext *pctx, dns_c_ndcopts_t **opts) {
                *opts = newopts;
        else
                dns_c_ndcopts_destroy(&newopts);
-       
+
        return (result);
 }
 
@@ -998,7 +998,7 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
        char *keyname = NULL;
        char *hostname = NULL;
        dns_c_ndcserver_t *serv = NULL;
-               
+
        if (!eat(pctx, L_SERVER))
                return (ISC_R_FAILURE);
 
@@ -1030,7 +1030,7 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
                        result = ISC_R_FAILURE;
                        goto done;
                }
-               
+
                switch (field) {
                case L_KEY:
                        if (!looking_at_anystring(pctx)) {
@@ -1047,10 +1047,10 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
                        keyname = isc_mem_strdup(pctx->themem, pctx->tokstr);
                        if (keyname == NULL)
                                result = ISC_R_NOMEMORY;
-                       
+
                        if (result == ISC_R_SUCCESS)
                                result = getnexttoken(pctx);
-                       
+
                        break;
 
                case L_HOST:
@@ -1068,10 +1068,10 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
                        hostname = isc_mem_strdup(pctx->themem, pctx->tokstr);
                        if (hostname == NULL)
                                result = ISC_R_NOMEMORY;
-                       
+
                        if (result == ISC_R_SUCCESS)
                                result = getnexttoken(pctx);
-                       
+
                        break;
 
                default:
@@ -1082,7 +1082,7 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
 
                if (result != ISC_R_SUCCESS)
                        goto done;
-               
+
                if (!eat_eos(pctx)) {
                        result = ISC_R_FAILURE;
                        goto done;
@@ -1110,7 +1110,7 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
        result = dns_c_ndcserver_setname(serv, servername);
        if (result != ISC_R_SUCCESS)
                goto done;
-       
+
        result = dns_c_ndcserver_setkey(serv, keyname);
        if (result != ISC_R_SUCCESS)
                goto done;
@@ -1125,7 +1125,7 @@ parse_serverstmt(ndcpcontext *pctx, dns_c_ndcserver_t **server) {
 done:
        if (serv != NULL)
                dns_c_ndcserver_destroy(&serv);
-       
+
        if (servername != NULL)
                isc_mem_free(pctx->themem, servername);
 
@@ -1147,7 +1147,7 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) {
        char *keyname = NULL;
        char *algorithm = NULL;
        char *secret = NULL;
-       
+
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(DNS_C_KDEFLIST_VALID(keys));
 
@@ -1189,7 +1189,7 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) {
                                result = ISC_R_FAILURE;
                                goto done;
                        }
-                       
+
                        if (algorithm != NULL) {
                                parser_warn(pctx, ISC_FALSE,
                                            "multiple 'algorithm' values");
@@ -1208,7 +1208,7 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) {
                                result = ISC_R_FAILURE;
                                goto done;
                        }
-                       
+
                        if (secret != NULL) {
                                parser_warn(pctx, ISC_FALSE,
                                            "multiple 'secret' values");
@@ -1249,7 +1249,7 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) {
                parser_error(pctx, ISC_FALSE, "zero length 'algorithm'");
                result = ISC_R_FAILURE;
        }
-       
+
        if (secret == NULL) {
                parser_error(pctx, ISC_FALSE, "missing 'secret'");
                result = ISC_R_FAILURE;
@@ -1260,7 +1260,7 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) {
 
        if (result != ISC_R_SUCCESS)
                goto done;
-       
+
        result = dns_c_kdef_new(keys->mem, keyname, &key);
        if (result != ISC_R_SUCCESS)
                goto done;
@@ -1284,7 +1284,7 @@ done:
 
        return (result);
 }
-       
+
 static const char *
 keyword2str(isc_int32_t val) {
        int i;
@@ -1303,7 +1303,7 @@ keyword2str(isc_int32_t val) {
 static isc_boolean_t
 eat(ndcpcontext *pctx, isc_uint32_t token) {
        isc_boolean_t rval = ISC_FALSE;
-       
+
        if (looking_at(pctx, token))
                if (getnexttoken(pctx) == ISC_R_SUCCESS)
                        rval = ISC_TRUE;
@@ -1314,7 +1314,7 @@ eat(ndcpcontext *pctx, isc_uint32_t token) {
 static isc_boolean_t
 looking_at(ndcpcontext *pctx, isc_uint32_t token) {
        isc_boolean_t rval = ISC_TRUE;
-       
+
        if (pctx->currtok != token) {
                parser_error(pctx, ISC_TRUE, "expected a '%s'",
                             keyword2str(token));
@@ -1346,7 +1346,7 @@ looking_at_stringoripaddr(ndcpcontext *pctx) {
 
        return (ISC_TRUE);
 }
-               
+
 
 static isc_boolean_t
 eat_lbrace(ndcpcontext *pctx) {
@@ -1400,13 +1400,13 @@ parser_setup(ndcpcontext *pctx, isc_mem_t *mem, const char *filename) {
        }
 
        memset(specials, 0x0, sizeof specials);
-       
+
         specials['{'] = 1;
         specials['}'] = 1;
         specials[';'] = 1;
         specials['"'] = 1;
         isc_lex_setspecials(pctx->thelexer, specials);
-       
+
         isc_lex_setcomments(pctx->thelexer, (ISC_LEXCOMMENT_C |
                                             ISC_LEXCOMMENT_CPLUSPLUS |
                                             ISC_LEXCOMMENT_SHELL));
@@ -1582,7 +1582,7 @@ is_ip4addr(const char *string, struct in_addr *addr) {
 
         else
                 return (ISC_FALSE);
-        
+
         if (inet_pton(AF_INET, addrbuf, addr) != 1)
                 return (ISC_FALSE);
 
@@ -1601,7 +1601,7 @@ getnexttoken(ndcpcontext *pctx) {
 
        pctx->prevtok = pctx->currtok;
        strcpy(pctx->prevtokstr, pctx->tokstr);
-       
+
         result = isc_lex_gettoken(pctx->thelexer, options, &token);
 
         switch(result) {
@@ -1614,7 +1614,7 @@ getnexttoken(ndcpcontext *pctx) {
                case isc_tokentype_special:
                case isc_tokentype_string: {
                        char *tokstr = &pctx->tokstr[0];
-                       
+
                        if (token.type == isc_tokentype_special) {
                                tokstr[0] = token.value.as_char;
                                tokstr[1] = '\0';
@@ -1638,7 +1638,7 @@ getnexttoken(ndcpcontext *pctx) {
 
                        } else
                                pctx->currtok = keywordtok.as_integer;
-                               
+
                        result = ISC_R_SUCCESS;
                        break;
                }
@@ -1716,7 +1716,7 @@ getnexttoken(ndcpcontext *pctx) {
                result = ISC_R_FAILURE;
                break;
        }
-               
+
        return (result);
 }
 
index 8048b4e304828dedf1afb560de24a9363f3315d2..178348425d66c479699629cf2afb7e7990166433 100644 (file)
@@ -1,11 +1,11 @@
 %{
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confparser.y.dirty,v 1.5 2000/07/31 21:07:02 explorer Exp $ */
+/* $Id: confparser.y.dirty,v 1.6 2000/08/01 01:23:26 tale Exp $ */
 
 #include <config.h>
 
@@ -97,9 +97,9 @@ static isc_lexspecials_t      specials;
  * XXXJAB The #define for the default OMAPI port is not available
  * to us, so we make our own.
  */
+
 #define OMAPI_DEFAULT_PORT 953
+
 #define CONF_MAX_IDENT 1024
 
 /* This should be sufficient to permit multiple parsers and lexers if needed */
@@ -513,7 +513,7 @@ options_stmt: L_OPTIONS
                                     "zones and views");
                        YYABORT;
                }
-               
+
                tmpres = dns_c_ctx_getoptions(currcfg, &options);
                if (tmpres == ISC_R_SUCCESS) {
                        parser_error(ISC_FALSE, "cannot redefine options");
@@ -1561,8 +1561,8 @@ control_keys: /* nothing */
                $$ = $3;
        };
 
-               
-                       
+
+
 control_port: /* nothing */
        {
                $$ = OMAPI_DEFAULT_PORT;
@@ -1816,7 +1816,7 @@ ip_and_port_list: ip_and_port_element L_EOS
                        isc_mem_free(memctx, $2);
                }
 #endif /* NOMINUM_PUBLIC */
-               
+
                $$ = list;
        }
 #ifndef NOMINUM_PUBLIC
@@ -1966,7 +1966,7 @@ notify_setting: yea_or_nay
                        $$ = dns_notifytype_yes;
                else
                        $$ = dns_notifytype_no;
-                       
+
        }
        | L_EXPLICIT
        {
@@ -2074,7 +2074,7 @@ size_clause: L_DATASIZE size_spec
                                     "'max-cache-size'");
                        YYABORT;
                }
-               
+
                tmpres = dns_c_ctx_setmaxcachesize(currcfg, $2);
                if (tmpres == ISC_R_EXISTS) {
                        parser_error(ISC_FALSE,
@@ -2112,7 +2112,7 @@ size_spec: any_string
                                       isc_result_totext(tmpres));
                        $$ = DNS_C_SIZE_SPEC_DEFAULT;
                }
-                       
+
                isc_mem_free(memctx, $1);
        }
        | L_INTEGER
@@ -2973,11 +2973,11 @@ keyid_list: /* nothing */
                }
 
                isc_mem_free(memctx, $2);
-                       
+
                dns_c_kidlist_append($$, kid);
        };
 
-       
+
 /*
  * Address Matching
  */
@@ -4041,7 +4041,7 @@ view_option: L_FORWARD zone_forward_opt
                                     "'max-cache-size'");
                        YYABORT;
                }
-               
+
                tmpres = dns_c_view_setmaxcachesize(view, $2);
                if (tmpres == ISC_R_EXISTS) {
                        parser_error(ISC_FALSE,
@@ -4369,7 +4369,7 @@ zone_stmt: L_ZONE domain_name optional_class L_LBRACE L_TYPE zone_type L_EOS
                        if (tmpres != ISC_R_SUCCESS) {
                                YYABORT;
                        }
-                       
+
                        tmpres = callbacks->zonecbk(currcfg,
                                                    zone,
                                                    view,
@@ -5121,7 +5121,7 @@ trusted_keys_stmt: L_TRUSTED_KEYS
                } else {
                        tmpres = dns_c_view_gettrustedkeys(view, &newlist);
                }
-               
+
                if (tmpres == ISC_R_NOTFOUND) {
                        tmpres = dns_c_tkeylist_new(currcfg->mem, &newlist);
                        if (tmpres != ISC_R_SUCCESS) {
@@ -5142,7 +5142,7 @@ trusted_keys_stmt: L_TRUSTED_KEYS
                                                                   newlist,
                                                                   ISC_FALSE);
                        }
-                       
+
                        if (tmpres != ISC_R_SUCCESS) {
                                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                                              DNS_LOGMODULE_CONFIG,
@@ -5173,7 +5173,7 @@ trusted_key: any_string L_INTEGER L_INTEGER L_INTEGER L_QSTRING
                        tmpres = dns_c_view_gettrustedkeys(view, &list);
                        mem = view->mem;
                }
-               
+
                if (tmpres != ISC_R_SUCCESS) {
                        isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                                      DNS_LOGMODULE_CONFIG,
index 4e3d889af777c3a76c0534ba60e1cce678784e1d..12ee6945b7b6f9003370e07bd2bf75a63f9ea923 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confpvt.h,v 1.9 2000/07/27 09:47:10 tale Exp $ */
+/* $Id: confpvt.h,v 1.10 2000/08/01 01:23:27 tale Exp $ */
 
 #ifndef CONFIG_CONFPVT_H
 #define CONFIG_CONFPVT_H 1
index a4bb24e52e338d49267775b316da0ad7c1b347ff..1667cfd3e2589371e0c4b8898bcf4e7efe1f58dc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confresolv.c,v 1.8 2000/07/27 09:47:11 tale Exp $ */
+/* $Id: confresolv.c,v 1.9 2000/08/01 01:23:28 tale Exp $ */
 
 #include <config.h>
 
@@ -29,7 +29,7 @@ isc_result_t
 dns_c_resolv_new(isc_mem_t *mem, dns_c_resolv_t **cfgres) {
        UNUSED(mem);
        UNUSED(cfgres);
-       
+
        /* XXX nothing yet */
 
        return (ISC_R_SUCCESS);
@@ -45,5 +45,5 @@ dns_c_resolv_delete(dns_c_resolv_t **cfgres) {
        return (ISC_R_SUCCESS);
 }
 
-               
+
 
index 97c27ec7067cc9adf85c273809d88a4e18458be0..c511455c0cacc870558a573f442124fbbaa44dd5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confrrset.c,v 1.15 2000/07/27 09:47:12 tale Exp $ */
+/* $Id: confrrset.c,v 1.16 2000/08/01 01:23:29 tale Exp $ */
 
 #include <config.h>
 
@@ -27,7 +27,7 @@
 isc_result_t
 dns_c_rrsolist_clear(dns_c_rrsolist_t *olist) {
        dns_c_rrso_t *elem;
-       
+
        REQUIRE(DNS_C_RRSOLIST_VALID(olist));
 
        elem = ISC_LIST_HEAD(olist->elements);
@@ -71,13 +71,13 @@ dns_c_rrsolist_new(isc_mem_t *mem, dns_c_rrsolist_t **rval) {
        if (ro == NULL) {
                return (ISC_R_NOMEMORY);
        }
-       
+
        ISC_LIST_INIT(ro->elements);
        ro->mem = mem;
        ro->magic = DNS_C_RRSOLIST_MAGIC;
 
        *rval = ro;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -90,11 +90,11 @@ dns_c_rrso_new(isc_mem_t *mem, dns_c_rrso_t **res, dns_rdataclass_t oclass,
 
        REQUIRE(mem != NULL);
        REQUIRE(res != NULL);
-       
+
        if (name == NULL) {
                name = "*";
        }
-       
+
        newo = isc_mem_get(mem, sizeof *newo);
        if (newo == NULL) {
                return (ISC_R_NOMEMORY);
@@ -138,7 +138,7 @@ dns_c_rrsolist_delete(dns_c_rrsolist_t **list) {
                if (r != ISC_R_SUCCESS) {
                        return (r);
                }
-               
+
                elem = q;
        }
 
@@ -166,7 +166,7 @@ dns_c_rrso_delete(dns_c_rrso_t **order) {
        isc_mem_put(oldo->mem, oldo, sizeof *oldo);
 
        *order = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -186,7 +186,7 @@ dns_c_rrso_copy(isc_mem_t *mem, dns_c_rrso_t **dest, dns_c_rrso_t *source) {
        } else {
                *dest = NULL;
        }
-       
+
        return (res);
 }
 
@@ -202,12 +202,12 @@ dns_c_rrsolist_copy(isc_mem_t *mem, dns_c_rrsolist_t **dest,
 
        REQUIRE(DNS_C_RRSOLIST_VALID(source));
        REQUIRE(dest != NULL);
-       
+
        res = dns_c_rrsolist_new(mem, &nlist);
        if (res != ISC_R_SUCCESS) {
                return (res);
        }
-       
+
        elem = ISC_LIST_HEAD(source->elements);
        while (elem != NULL) {
                res = dns_c_rrso_copy(mem, &newe, elem);
@@ -217,7 +217,7 @@ dns_c_rrsolist_copy(isc_mem_t *mem, dns_c_rrsolist_t **dest,
                }
 
                ISC_LIST_APPEND(nlist->elements, newe, next);
-               
+
                elem = ISC_LIST_NEXT(elem, next);
        }
 
@@ -231,11 +231,11 @@ dns_c_rrsolist_print(FILE *fp, int indent, dns_c_rrsolist_t *rrlist) {
        dns_c_rrso_t *or;
 
        REQUIRE(DNS_C_RRSOLIST_VALID(rrlist));
-       
+
        if (ISC_LIST_EMPTY(rrlist->elements)) {
                return;
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "rrset-order {\n");
 
@@ -247,22 +247,22 @@ dns_c_rrsolist_print(FILE *fp, int indent, dns_c_rrsolist_t *rrlist) {
 
        dns_c_printtabs(fp, indent);
        fprintf(fp, "};\n");
-       
+
 }
 
 void
 dns_c_rrso_print(FILE *fp, int indent, dns_c_rrso_t *order) {
        REQUIRE(DNS_C_RRSO_VALID(order));
-       
+
        dns_c_printtabs(fp, indent);
-       
+
        fputs("class ", fp);
        if (order->oclass == dns_rdataclass_any) {
                fputc('*', fp);
        } else {
                dns_c_dataclass_tostream(fp, order->oclass);
        }
-       
+
 
        fputs(" type ", fp);
        if (order->otype == dns_rdatatype_any) {
@@ -275,6 +275,6 @@ dns_c_rrso_print(FILE *fp, int indent, dns_c_rrso_t *order) {
 
        fprintf(fp, " order %s",
                dns_c_ordering2string(order->ordering, ISC_TRUE));
-       
+
        fputs(";\n", fp);
 }
index a551b5b54018da7a2bd6527874e335954eece4e2..d917db62963200acd595bf588f03377afbfa7114 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confview.c,v 1.41 2000/07/31 21:07:03 explorer Exp $ */
+/* $Id: confview.c,v 1.42 2000/08/01 01:23:30 tale Exp $ */
 
 #include <config.h>
 
@@ -152,7 +152,7 @@ PVT_CONCAT(dns_c_view_unset, FUNCNAME)(dns_c_view_t *view) {        \
                return (ISC_R_NOTFOUND);                        \
        }                                                       \
 }
-       
+
 
 #define GETIPMLIST(FUNCNAME, FIELDNAME)                                        \
 isc_result_t                                                           \
@@ -175,7 +175,7 @@ PVT_CONCAT(dns_c_view_get, FUNCNAME)(dns_c_view_t *view,            \
 isc_result_t
 dns_c_viewtable_new(isc_mem_t *mem, dns_c_viewtable_t **viewtable) {
        dns_c_viewtable_t *table;
-       
+
        REQUIRE(viewtable != NULL);
 
        table = isc_mem_get(mem, sizeof *table);
@@ -200,13 +200,13 @@ dns_c_viewtable_new(isc_mem_t *mem, dns_c_viewtable_t **viewtable) {
 isc_result_t
 dns_c_viewtable_delete(dns_c_viewtable_t **viewtable) {
        dns_c_viewtable_t *table;
-       
+
        REQUIRE(viewtable != NULL);
        REQUIRE(DNS_C_VIEWTABLE_VALID(*viewtable));
 
        table = *viewtable;
        *viewtable = NULL;
-       
+
        dns_c_viewtable_clear(table);
 
        table->magic = 0;
@@ -241,7 +241,7 @@ void
 dns_c_viewtable_addview(dns_c_viewtable_t *viewtable, dns_c_view_t *view) {
        REQUIRE(DNS_C_VIEWTABLE_VALID(viewtable));
        REQUIRE(DNS_C_VIEW_VALID(view));
-       
+
        ISC_LIST_APPEND(viewtable->views, view, next);
 }
 
@@ -251,7 +251,7 @@ void
 dns_c_viewtable_rmview(dns_c_viewtable_t *viewtable, dns_c_view_t *view) {
        REQUIRE(DNS_C_VIEWTABLE_VALID(viewtable));
        REQUIRE(DNS_C_VIEW_VALID(view));
-       
+
        ISC_LIST_UNLINK(viewtable->views, view, next);
 }
 
@@ -262,14 +262,14 @@ dns_c_viewtable_clear(dns_c_viewtable_t *table) {
        dns_c_view_t *elem;
        dns_c_view_t *tmpelem;
        isc_result_t r;
-       
+
        REQUIRE(DNS_C_VIEWTABLE_VALID(table));
-       
+
        elem = ISC_LIST_HEAD(table->views);
        while (elem != NULL) {
                tmpelem = ISC_LIST_NEXT(elem, next);
                ISC_LIST_UNLINK(table->views, elem, next);
-               
+
                r = dns_c_view_delete(&elem);
                if (r != ISC_R_SUCCESS) {
                        isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
@@ -307,7 +307,7 @@ dns_c_viewtable_viewbyname(dns_c_viewtable_t *viewtable,
 
                elem = ISC_LIST_NEXT(elem, next);
        }
-       
+
        if (elem != NULL) {
                *retval = elem;
        }
@@ -325,7 +325,7 @@ dns_c_viewtable_rmviewbyname(dns_c_viewtable_t *viewtable,
        isc_result_t res;
 
        REQUIRE(DNS_C_VIEWTABLE_VALID(viewtable));
-       
+
        res = dns_c_viewtable_viewbyname(viewtable, name, &view);
        if (res == ISC_R_SUCCESS) {
                ISC_LIST_UNLINK(viewtable->views, view, next);
@@ -335,7 +335,7 @@ dns_c_viewtable_rmviewbyname(dns_c_viewtable_t *viewtable,
        return (res);
 }
 
-       
+
 isc_result_t
 dns_c_viewtable_checkviews(dns_c_viewtable_t *viewtable) {
        dns_c_view_t *elem;
@@ -344,7 +344,7 @@ dns_c_viewtable_checkviews(dns_c_viewtable_t *viewtable) {
        isc_uint32_t buival;
        isc_result_t result = ISC_R_SUCCESS;
        dns_c_rrsolist_t *boval;
-       
+
        REQUIRE(DNS_C_VIEWTABLE_VALID(viewtable));
 
        elem = ISC_LIST_HEAD(viewtable->views);
@@ -405,11 +405,11 @@ dns_c_viewtable_checkviews(dns_c_viewtable_t *viewtable) {
                                      DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
                                      "view 'rrset-order' is not yet "
                                      "implemented");
-               
+
 
                elem = ISC_LIST_NEXT(elem, next);
        }
-       
+
        return (result);
 }
 
@@ -476,7 +476,7 @@ dns_c_view_new(isc_mem_t *mem, const char *name, dns_rdataclass_t viewclass,
        view->rfc2308_type1 = NULL;
        view->additional_from_cache = NULL;
        view->additional_from_auth = NULL;
-       
+
        view->transfer_source = NULL;
        view->transfer_source_v6 = NULL;
        view->query_source = NULL;
@@ -498,7 +498,7 @@ dns_c_view_new(isc_mem_t *mem, const char *name, dns_rdataclass_t viewclass,
        view->peerlist = NULL;
 
        view->trusted_keys = NULL;
-       
+
 #if 0
        view->max_transfer_time_in = NULL;
        view->max_transfer_idle_in = NULL;
@@ -507,7 +507,7 @@ dns_c_view_new(isc_mem_t *mem, const char *name, dns_rdataclass_t viewclass,
 #endif
 
        ISC_LINK_INIT(view, next);
-       
+
        *newview = view;
 
        return (ISC_R_SUCCESS);
@@ -520,7 +520,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
        in_port_t port;
 
        REQUIRE(DNS_C_VIEW_VALID(view));
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "view \"%s\"", view->name);
 
@@ -578,7 +578,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
                dns_c_printtabs(fp, indent + 1);                \
                fprintf(fp, "%s %d;\n",NAME,(int)*view->FIELD); \
        }
-               
+
 #define PRINT_AS_MINUTES(FIELD, NAME)                          \
        if (view->FIELD != NULL) {                              \
                dns_c_printtabs(fp, indent + 1);                \
@@ -598,7 +598,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
                fprintf(fp, ";\n");                                     \
        }
 
-       
+
        if (view->forward != NULL) {
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "forward %s;\n",
@@ -642,7 +642,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
                        dns_c_transport2string(dns_trans_primary, ISC_TRUE),
                        dns_c_nameseverity2string(nameseverity, ISC_TRUE));
        }
-               
+
        if (view->check_names[dns_trans_secondary] != NULL) {
                nameseverity = *view->check_names[dns_trans_secondary];
                dns_c_printtabs(fp, indent + 1);
@@ -650,7 +650,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
                        dns_c_transport2string(dns_trans_secondary, ISC_TRUE),
                        dns_c_nameseverity2string(nameseverity, ISC_TRUE));
        }
-               
+
        if (view->check_names[dns_trans_response] != NULL) {
                nameseverity = *view->check_names[dns_trans_response];
                dns_c_printtabs(fp, indent + 1);
@@ -673,7 +673,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
 
        PRINT_IP(transfer_source, "transfer-source");
        PRINT_IP(transfer_source_v6, "transfer-source-v6");
-       
+
        PRINT_IPANDPORT(query_source, "query-source");
        PRINT_IPANDPORT(query_source_v6, "query-source-v6");
 
@@ -694,14 +694,14 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
                fprintf(fp, "additional-data %s;\n",
                        dns_c_addata2string(*view->additional_data, ISC_TRUE));
        }
-       
+
        if (view->transfer_format != NULL) {
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "transfer-format %s;\n",
                        dns_c_transformat2string(*view->transfer_format,
                                                 ISC_TRUE));
        }
-       
+
 
        if (view->keydefs != NULL) {
                dns_c_kdeflist_print(fp, indent + 1, view->keydefs);
@@ -718,13 +718,13 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
        }
 
 
-#if 0  
+#if 0
        PRINT_INT32(max_transfer_time_in, "max-transfer-time-in");
        PRINT_INT32(max_transfer_idle_in, "max-transfer-idle-in");
        PRINT_INT32(transfers_per_ns, "transfers-per-ns");
        PRINT_INT32(serialqueries, "serial-queries");
 #endif
-       
+
        fprintf(fp, "\n");
 
        if (view->zonelist != NULL) {
@@ -739,7 +739,7 @@ dns_c_view_print(FILE *fp, int indent, dns_c_view_t *view) {
 #undef PRINT_INT32
 #undef PRINT_IP
 #undef PRINT_IPANDPORT
-       
+
 }
 
 
@@ -760,14 +760,14 @@ dns_c_view_delete(dns_c_view_t **viewptr) {
                isc_mem_put(view->mem, view->FIELD, sizeof (*view->FIELD)); \
                view->FIELD = NULL;                                        \
        } } while (0)
-       
+
        REQUIRE(viewptr != NULL);
        REQUIRE(DNS_C_VIEW_VALID(*viewptr));
 
        view = *viewptr;
 
        isc_mem_free(view->mem, view->name);
-       
+
        if (view->zonelist != NULL) {
                dns_c_zonelist_delete(&view->zonelist);
        }
@@ -777,11 +777,11 @@ dns_c_view_delete(dns_c_view_t **viewptr) {
        if (view->forwarders != NULL) {
                dns_c_iplist_detach(&view->forwarders);
        }
-               
+
        if (view->also_notify != NULL) {
                dns_c_iplist_detach(&view->also_notify);
        }
-               
+
        FREEIPMLIST(allowquery);
        FREEIPMLIST(allowupdateforwarding);
        FREEIPMLIST(transferacl);
@@ -831,18 +831,18 @@ dns_c_view_delete(dns_c_view_t **viewptr) {
        dns_c_view_unsetpeerlist(view);
 
        dns_c_view_unsettrustedkeys(view);
-       
-#if 0  
+
+#if 0
        FREEFIELD(max_transfer_time_in);
        FREEFIELD(max_transfer_idle_in);
        FREEFIELD(transfers_per_ns);
        FREEFIELD(serial_queries);
 #endif
-       
-       
+
+
        view->magic = 0;
        isc_mem_put(view->mem, view, sizeof *view);
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -856,7 +856,7 @@ dns_c_view_keydefinedp(dns_c_view_t *view, const char *keyname) {
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(keyname != NULL);
        REQUIRE(*keyname != '\0');
-       
+
        if (view->keydefs != NULL) {
                res = dns_c_kdeflist_find(view->keydefs, keyname, &keyid);
                if (res == ISC_R_SUCCESS) {
@@ -899,19 +899,19 @@ isc_result_t
 dns_c_view_addzone(dns_c_view_t *view, dns_c_zone_t *zone) {
        isc_result_t res;
        dns_c_zone_t *attached;
-       
+
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        dns_c_zone_attach(zone, &attached);
-       
+
        if (view->zonelist == NULL) {
                res = dns_c_zonelist_new(view->mem, &view->zonelist);
                if (res != ISC_R_SUCCESS) {
                        return (res);
                }
        }
-       
+
        return (dns_c_zonelist_addzone(view->zonelist, attached));
 }
 
@@ -922,7 +922,7 @@ dns_c_view_getzonelist(dns_c_view_t *view, dns_c_zonelist_t **zonelist) {
        REQUIRE(zonelist != NULL);
 
        *zonelist = view->zonelist;
-       
+
        if (view->zonelist == NULL) {
                return (ISC_R_NOTFOUND);
        } else {
@@ -953,7 +953,7 @@ SETBYTYPE(dns_c_forw_t, forward, forward)
 UNSETBYTYPE(dns_c_forw_t, forward, forward)
 GETBYTYPE(dns_c_forw_t, forward, forward)
 
-       
+
 /*
 **
 */
@@ -965,7 +965,7 @@ dns_c_view_setforwarders(dns_c_view_t *view,
 {
        isc_boolean_t existed = ISC_FALSE;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(DNS_C_IPLIST_VALID(ipl));
 
@@ -987,7 +987,7 @@ dns_c_view_setforwarders(dns_c_view_t *view,
                return (res);
        }
 }
-               
+
 
 
 isc_result_t
@@ -1001,8 +1001,8 @@ dns_c_view_unsetforwarders(dns_c_view_t *view) {
                return (ISC_R_NOTFOUND);
        }
 }
-               
-       
+
+
 
 isc_result_t
 dns_c_view_getforwarders(dns_c_view_t *view,
@@ -1010,7 +1010,7 @@ dns_c_view_getforwarders(dns_c_view_t *view,
 {
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(ipl != NULL);
-       
+
        *ipl = view->forwarders;
 
        return (*ipl == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
@@ -1027,7 +1027,7 @@ dns_c_view_setalsonotify(dns_c_view_t *view,
                         dns_c_iplist_t *ipl)
 {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(DNS_C_IPLIST_VALID(ipl));
 
@@ -1040,7 +1040,7 @@ dns_c_view_setalsonotify(dns_c_view_t *view,
 
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
-               
+
 
 
 isc_result_t
@@ -1054,8 +1054,8 @@ dns_c_view_unsetalsonotify(dns_c_view_t *view) {
                return (ISC_R_NOTFOUND);
        }
 }
-               
-       
+
+
 
 isc_result_t
 dns_c_view_getalsonotify(dns_c_view_t *view,
@@ -1098,13 +1098,13 @@ dns_c_view_setordering(dns_c_view_t *view,
                } else {
                        dns_c_rrsolist_clear(view->ordering);
                }
-               
+
                res = dns_c_rrsolist_append(view->ordering, olist);
        } else {
                if (view->ordering != NULL) {
                        dns_c_rrsolist_delete(&view->ordering);
                }
-               
+
                view->ordering = olist;
                res = ISC_R_SUCCESS;
        }
@@ -1112,11 +1112,11 @@ dns_c_view_setordering(dns_c_view_t *view,
        if (res == ISC_R_SUCCESS && existed) {
                res = ISC_R_EXISTS;
        }
-       
+
        return (res);
 }
 
-                                         
+
 
 
 isc_result_t
@@ -1159,7 +1159,7 @@ dns_c_view_setchecknames(dns_c_view_t *view,
 {
        isc_boolean_t existed = ISC_FALSE;
        dns_severity_t **ptr = NULL;
-       
+
        REQUIRE(DNS_C_VIEW_VALID(view));
 
        switch(transtype) {
@@ -1182,7 +1182,7 @@ dns_c_view_setchecknames(dns_c_view_t *view,
        }
 
        **ptr = newval;
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -1193,7 +1193,7 @@ dns_c_view_getchecknames(dns_c_view_t *view,
                        dns_severity_t *retval)
 {
        isc_result_t result;
-       dns_severity_t **ptr = NULL;    
+       dns_severity_t **ptr = NULL;
        REQUIRE(DNS_C_VIEW_VALID(view));
 
        switch (transtype) {
@@ -1202,7 +1202,7 @@ dns_c_view_getchecknames(dns_c_view_t *view,
        case dns_trans_response:
                ptr = &view->check_names[transtype];
                break;
-               
+
        default:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1226,7 +1226,7 @@ dns_c_view_unsetchecknames(dns_c_view_t *view,
                          dns_c_trans_t transtype)
 {
        dns_severity_t **ptr = NULL;
-       
+
        REQUIRE(DNS_C_VIEW_VALID(view));
 
        switch(transtype) {
@@ -1246,7 +1246,7 @@ dns_c_view_unsetchecknames(dns_c_view_t *view,
        if (*ptr == NULL) {
                return (ISC_R_NOTFOUND);
        }
-       
+
        isc_mem_put(view->mem, *ptr, sizeof (**ptr));
 
        return (ISC_R_SUCCESS);
@@ -1259,7 +1259,7 @@ dns_c_view_getkeydefs(dns_c_view_t *view, dns_c_kdeflist_t **retval) {
        REQUIRE(retval != NULL);
 
        *retval = view->keydefs;
-       
+
        if (view->keydefs == NULL) {
                return (ISC_R_NOTFOUND);
        } else {
@@ -1305,7 +1305,7 @@ isc_result_t
 dns_c_view_getpeerlist(dns_c_view_t *view, dns_peerlist_t **retval) {
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(retval != NULL);
-       
+
        if (view->peerlist == NULL) {
                *retval = NULL;
                return (ISC_R_NOTFOUND);
@@ -1327,7 +1327,7 @@ dns_c_view_unsetpeerlist(dns_c_view_t *view) {
                return (ISC_R_FAILURE);
        }
 }
-       
+
 
 isc_result_t
 dns_c_view_setpeerlist(dns_c_view_t *view, dns_peerlist_t *newval) {
@@ -1351,7 +1351,7 @@ isc_result_t
 dns_c_view_gettrustedkeys(dns_c_view_t *view, dns_c_tkeylist_t **retval) {
        REQUIRE(DNS_C_VIEW_VALID(view));
        REQUIRE(retval != NULL);
-       
+
        if (view->trusted_keys == NULL) {
                *retval = NULL;
                return (ISC_R_NOTFOUND);
@@ -1379,7 +1379,7 @@ dns_c_view_unsettrustedkeys(dns_c_view_t *view) {
                return (ISC_R_FAILURE);
        }
 }
-       
+
 
 isc_result_t
 dns_c_view_settrustedkeys(dns_c_view_t *view, dns_c_tkeylist_t *newval,
@@ -1388,11 +1388,11 @@ dns_c_view_settrustedkeys(dns_c_view_t *view, dns_c_tkeylist_t *newval,
        isc_boolean_t existed;
        dns_c_tkeylist_t *newl;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_VIEW_VALID(view));
 
        existed = ISC_TF(view->trusted_keys != NULL);
-       
+
        if (view->trusted_keys != NULL) {
                dns_c_view_unsettrustedkeys(view);
        }
@@ -1534,12 +1534,12 @@ SETUINT32(sigvalidityinterval, sig_valid_interval)
 GETUINT32(sigvalidityinterval, sig_valid_interval)
 UNSETUINT32(sigvalidityinterval, sig_valid_interval)
 
-       
+
 GETUINT32(maxcachesize, max_cache_size)
 SETUINT32(maxcachesize, max_cache_size)
 UNSETUINT32(maxcachesize, max_cache_size)
 
-       
+
 GETBYTYPE(dns_c_addata_t, additionaldata, additional_data)
 SETBYTYPE(dns_c_addata_t, additionaldata, additional_data)
 UNSETBYTYPE(dns_c_addata_t, additionaldata, additional_data)
index c58e33b0188b7302218779d2ba145374671868b5..4196be2ff49aa6cc1282408b3e5e511938d0ce0e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confzone.c,v 1.51 2000/07/27 09:47:14 tale Exp $ */
+/* $Id: confzone.c,v 1.52 2000/08/01 01:23:32 tale Exp $ */
 
 #include <config.h>
 
@@ -228,7 +228,7 @@ dns_c_zonelist_find(dns_c_zonelist_t *zlist, const char *name,
        zoneelem = ISC_LIST_HEAD(zlist->zones);
        while (zoneelem != NULL) {
                REQUIRE(zoneelem->thezone != NULL);
-               
+
                if (strcmp(name, zoneelem->thezone->name) == 0) {
                        break;
                }
@@ -256,7 +256,7 @@ dns_c_zonelist_rmbyname(dns_c_zonelist_t *zlist, const char *name) {
        zoneelem = ISC_LIST_HEAD(zlist->zones);
        while (zoneelem != NULL) {
                REQUIRE(zoneelem->thezone != NULL);
-               
+
                if (strcmp(name, zoneelem->thezone->name) == 0) {
                        break;
                }
@@ -285,7 +285,7 @@ dns_c_zonelist_addzone(dns_c_zonelist_t *zlist, dns_c_zone_t *zone) {
        if (zoneelem == NULL) {
                return (ISC_R_NOMEMORY);
        }
-       
+
        zoneelem->thezone = zone;
        ISC_LINK_INIT(zoneelem, next);
 
@@ -299,14 +299,14 @@ isc_result_t
 dns_c_zonelist_rmzone(dns_c_zonelist_t *zlist, dns_c_zone_t *zone) {
        dns_c_zonelem_t *zoneelem;
        isc_result_t res;
-       
+
        REQUIRE(zlist != NULL);
        REQUIRE(zone != NULL);
 
        zoneelem = ISC_LIST_HEAD(zlist->zones);
        while (zoneelem != NULL) {
                REQUIRE(zoneelem->thezone != NULL);
-               
+
                if (zone == zoneelem->thezone) {
                        break;
                }
@@ -347,7 +347,7 @@ dns_c_zonelist_print(FILE *fp, int indent, dns_c_zonelist_t *list,
                                fprintf(fp, "\n");
                        }
                }
-               
+
                zoneelem = ISC_LIST_NEXT(zoneelem, next);
        }
 
@@ -372,7 +372,7 @@ dns_c_zonelist_firstzone(dns_c_zonelist_t *list) {
 dns_c_zone_t *
 dns_c_zonelist_nextzone(dns_c_zonelist_t *list, dns_c_zone_t *zone) {
        dns_c_zonelem_t *zoneelem;
-       
+
        REQUIRE(DNS_C_ZONELIST_VALID(list));
 
        zoneelem = ISC_LIST_HEAD(list->zones);
@@ -428,7 +428,7 @@ dns_c_zone_new(isc_mem_t *mem,
                                 isc_mem_strdup(mem, name) :
                                 isc_mem_strdup(mem, internalname));
        newzone->database = NULL;
-       
+
        switch (ztype) {
        case dns_c_zone_master:
                master_zone_init(&newzone->u.mzone);
@@ -450,7 +450,7 @@ dns_c_zone_new(isc_mem_t *mem,
                forward_zone_init(&newzone->u.fzone);
                break;
        }
-       
+
        *zone = newzone;
 
        return (ISC_R_SUCCESS);
@@ -515,14 +515,14 @@ dns_c_zone_print(FILE *fp, int indent, dns_c_zone_t *zone) {
        }
 
        fprintf(fp, " {\n");
-               
+
        switch (zone->ztype) {
        case dns_c_zone_master:
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "type master;\n");
                master_zone_print(fp, indent + 1, &zone->u.mzone);
                break;
-               
+
        case dns_c_zone_slave:
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "type slave;\n");
@@ -534,7 +534,7 @@ dns_c_zone_print(FILE *fp, int indent, dns_c_zone_t *zone) {
                fprintf(fp, "type stub;\n");
                stub_zone_print(fp, indent + 1, &zone->u.tzone);
                break;
-               
+
        case dns_c_zone_hint:
                dns_c_printtabs(fp, indent + 1);
                fprintf(fp, "type hint;\n");
@@ -558,7 +558,7 @@ dns_c_zone_print(FILE *fp, int indent, dns_c_zone_t *zone) {
                fprintf(fp, "enable-zone %s;\n",
                        (*zone->enabled ? "true" : "false"));
        }
-       
+
        dns_c_printtabs(fp, indent);
        fprintf(fp, "};\n");
 }
@@ -581,7 +581,7 @@ dns_c_zone_validate(dns_c_zone_t *zone)
        const char *nomasterserr = "zone '%s': missing 'masters' entry";
        const char *emptymasterserr = "zone '%s': 'masters' value is empty";
        const char *disabledzone = "zone '%s': is disabled";
-       
+
        /*
         * Check if zone is diabled. This isn't really a validation, just a
         * place to issue a warning.
@@ -593,8 +593,8 @@ dns_c_zone_validate(dns_c_zone_t *zone)
                              ISC_LOG_WARNING, disabledzone,
                              zone->name);
        }
-       
-               
+
+
        /*
         * Check for allow-update and update-policy together
         */
@@ -635,8 +635,8 @@ dns_c_zone_validate(dns_c_zone_t *zone)
 
 
        /* XXX TODO make sure no 'key' clauses were given on any iplist
-          except for masters{}; */ 
-               
+          except for masters{}; */
+
 
        return (result);
 }
@@ -680,7 +680,7 @@ isc_result_t
 dns_c_zone_getpubkeylist(dns_c_zone_t *zone, dns_c_pklist_t **retval) {
        dns_c_pklist_t *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -688,25 +688,25 @@ dns_c_zone_getpubkeylist(dns_c_zone_t *zone, dns_c_pklist_t **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.pubkeylist;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.pubkeylist;
                break;
-               
+
        case dns_c_zone_stub:
                p = zone->u.tzone.pubkeylist;
                break;
-               
+
        case dns_c_zone_hint:
 #if 1
                p = zone->u.hzone.pubkeylist;
-#else  
+#else
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a pubkey field");
-#endif 
+#endif
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -733,7 +733,7 @@ isc_result_t
 dns_c_zone_setfile(dns_c_zone_t *zone, const char *newfile) {
        char **p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(newfile != NULL);
        REQUIRE(*newfile != '\0');
@@ -746,7 +746,7 @@ dns_c_zone_setfile(dns_c_zone_t *zone, const char *newfile) {
        case dns_c_zone_slave:
                p = &zone->u.szone.file;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.file;
                break;
@@ -754,7 +754,7 @@ dns_c_zone_setfile(dns_c_zone_t *zone, const char *newfile) {
        case dns_c_zone_hint:
                p = &zone->u.hzone.file;
                break;
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -786,7 +786,7 @@ isc_result_t
 dns_c_zone_getfile(dns_c_zone_t *zone, const char **retval) {
        const char *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -798,15 +798,15 @@ dns_c_zone_getfile(dns_c_zone_t *zone, const char **retval) {
        case dns_c_zone_slave:
                p = zone->u.szone.file;
                break;
-               
+
        case dns_c_zone_stub:
                p = zone->u.tzone.file;
                break;
-               
+
        case dns_c_zone_hint:
                p = zone->u.hzone.file;
                break;
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -844,25 +844,25 @@ dns_c_zone_setchecknames(dns_c_zone_t *zone, dns_severity_t severity) {
                bits = &zone->u.mzone.setflags;
                bit = MZ_CHECK_NAME_BIT;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.check_names;
                bits = &zone->u.szone.setflags;
                bit = SZ_CHECK_NAME_BIT;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.check_names;
                bits = &zone->u.tzone.setflags;
                bit = TZ_CHECK_NAME_BIT;
                break;
-               
+
        case dns_c_zone_hint:
                p = &zone->u.hzone.check_names;
                bits = &zone->u.hzone.setflags;
                bit = HZ_CHECK_NAME_BIT;
                break;
-                       
+
        case dns_c_zone_forward:
                p = &zone->u.fzone.check_names;
                bits = &zone->u.fzone.setflags;
@@ -875,7 +875,7 @@ dns_c_zone_setchecknames(dns_c_zone_t *zone, dns_severity_t severity) {
        } else {
                res = ISC_R_SUCCESS;
        }
-       
+
        *p = severity;
        DNS_C_SETBIT(bit, bits);
 
@@ -903,25 +903,25 @@ dns_c_zone_getchecknames(dns_c_zone_t *zone, dns_severity_t *retval) {
                bits = &zone->u.mzone.setflags;
                bit = MZ_CHECK_NAME_BIT;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.check_names;
                bits = &zone->u.szone.setflags;
                bit = SZ_CHECK_NAME_BIT;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.check_names;
                bits = &zone->u.tzone.setflags;
                bit = TZ_CHECK_NAME_BIT;
                break;
-               
+
        case dns_c_zone_hint:
                p = &zone->u.hzone.check_names;
                bits = &zone->u.hzone.setflags;
                bit = HZ_CHECK_NAME_BIT;
                break;
-                       
+
        case dns_c_zone_forward:
                p = &zone->u.fzone.check_names;
                bits = &zone->u.fzone.setflags;
@@ -935,7 +935,7 @@ dns_c_zone_getchecknames(dns_c_zone_t *zone, dns_severity_t *retval) {
        } else {
                res = ISC_R_NOTFOUND;
        }
-       
+
        return (res);
 }
 
@@ -952,7 +952,7 @@ dns_c_zone_setallowupdateforwarding(dns_c_zone_t *zone,
        dns_c_ipmatchlist_t **p = NULL;
        isc_result_t res;
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPMLIST_VALID(ipml));
 
@@ -960,22 +960,22 @@ dns_c_zone_setallowupdateforwarding(dns_c_zone_t *zone,
        case dns_c_zone_master:
                p = &zone->u.mzone.allow_update_forwarding;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.allow_update_forwarding;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.allow_update_forwarding;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have "
                              "an allow_update_forwarding field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -985,7 +985,7 @@ dns_c_zone_setallowupdateforwarding(dns_c_zone_t *zone,
        }
 
        existed = (*p != NULL ? ISC_TRUE : ISC_FALSE);
-       
+
        res = set_ipmatch_list_field(zone->mem, p,
                                     ipml, deepcopy);
        if (res == ISC_R_SUCCESS && existed) {
@@ -1006,7 +1006,7 @@ dns_c_zone_getallowupdateforwarding(dns_c_zone_t *zone,
 {
        dns_c_ipmatchlist_t *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1014,22 +1014,22 @@ dns_c_zone_getallowupdateforwarding(dns_c_zone_t *zone,
        case dns_c_zone_master:
                p = zone->u.mzone.allow_update_forwarding;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.allow_update_forwarding;
                break;
-               
+
        case dns_c_zone_stub:
                p = zone->u.tzone.allow_update_forwarding;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an "
                              "allow_update_forwarding field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1057,32 +1057,32 @@ isc_result_t
 dns_c_zone_setssuauth(dns_c_zone_t *zone, dns_ssutable_t *ssu) {
        dns_ssutable_t **p = NULL;
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
        case dns_c_zone_master:
                p = &zone->u.mzone.ssuauth;
                break;
-                       
+
        case dns_c_zone_slave:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Slave zones do not have an ssuauth field");
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have an ssuauth field");
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an ssuauth field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1092,7 +1092,7 @@ dns_c_zone_setssuauth(dns_c_zone_t *zone, dns_ssutable_t *ssu) {
        }
 
        existed = (*p != NULL ? ISC_TRUE : ISC_FALSE);
-       
+
        *p = ssu;
 
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
@@ -1107,7 +1107,7 @@ isc_result_t
 dns_c_zone_getssuauth(dns_c_zone_t *zone, dns_ssutable_t **retval) {
        dns_ssutable_t *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1115,25 +1115,25 @@ dns_c_zone_getssuauth(dns_c_zone_t *zone, dns_ssutable_t **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.ssuauth;
                break;
-                       
+
        case dns_c_zone_slave:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Slave zones do not have an ssuauth field");
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have an ssuauth field");
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an ssuauth field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1165,7 +1165,7 @@ dns_c_zone_setallowquery(dns_c_zone_t *zone,
        dns_c_ipmatchlist_t **p = NULL;
        isc_boolean_t existed;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPMLIST_VALID(ipml));
 
@@ -1173,21 +1173,21 @@ dns_c_zone_setallowquery(dns_c_zone_t *zone,
        case dns_c_zone_master:
                p = &zone->u.mzone.allow_query;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.allow_query;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.allow_query;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an allow_query field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1197,7 +1197,7 @@ dns_c_zone_setallowquery(dns_c_zone_t *zone,
        }
 
        existed = (*p != NULL ? ISC_TRUE : ISC_FALSE);
-       
+
        res = set_ipmatch_list_field(zone->mem, p,
                                     ipml, deepcopy);
        if (res == ISC_R_SUCCESS && existed) {
@@ -1216,7 +1216,7 @@ isc_result_t
 dns_c_zone_getallowquery(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
        dns_c_ipmatchlist_t *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1224,21 +1224,21 @@ dns_c_zone_getallowquery(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.allow_query;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.allow_query;
                break;
-               
+
        case dns_c_zone_stub:
                p = zone->u.tzone.allow_query;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an allow_query field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1270,7 +1270,7 @@ dns_c_zone_setallowtransfer(dns_c_zone_t *zone,
        dns_c_ipmatchlist_t **p = NULL;
        isc_boolean_t existed;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPMLIST_VALID(ipml));
 
@@ -1278,22 +1278,22 @@ dns_c_zone_setallowtransfer(dns_c_zone_t *zone,
        case dns_c_zone_master:
                p = &zone->u.mzone.allow_transfer;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.allow_transfer;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.allow_transfer;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an "
                              "allow_transfer field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1322,7 +1322,7 @@ isc_result_t
 dns_c_zone_getallowtransfer(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
        dns_c_ipmatchlist_t *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1330,22 +1330,22 @@ dns_c_zone_getallowtransfer(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.allow_transfer;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.allow_transfer;
                break;
-               
+
        case dns_c_zone_stub:
                p = zone->u.tzone.allow_transfer;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an "
                              "allow_transfer field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1402,7 +1402,7 @@ dns_c_zone_setdialup(dns_c_zone_t *zone, isc_boolean_t newval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a dialup field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1421,7 +1421,7 @@ dns_c_zone_setdialup(dns_c_zone_t *zone, isc_boolean_t newval) {
 isc_result_t
 dns_c_zone_getdialup(dns_c_zone_t *zone, isc_boolean_t *retval) {
        isc_result_t res = ISC_R_SUCCESS;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1434,7 +1434,7 @@ dns_c_zone_getdialup(dns_c_zone_t *zone, isc_boolean_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_DIALUP_BIT, &zone->u.szone.setflags)) {
                        *retval = zone->u.szone.dialup;
@@ -1443,7 +1443,7 @@ dns_c_zone_getdialup(dns_c_zone_t *zone, isc_boolean_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                if (DNS_C_CHECKBIT(TZ_DIALUP_BIT, &zone->u.tzone.setflags)) {
                        *retval = zone->u.tzone.dialup;
@@ -1452,13 +1452,13 @@ dns_c_zone_getdialup(dns_c_zone_t *zone, isc_boolean_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a dialup field");
                return (ISC_R_FAILURE);
-               
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1477,7 +1477,7 @@ dns_c_zone_getdialup(dns_c_zone_t *zone, isc_boolean_t *retval) {
 isc_result_t
 dns_c_zone_setnotify(dns_c_zone_t *zone, dns_notifytype_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -1487,14 +1487,14 @@ dns_c_zone_setnotify(dns_c_zone_t *zone, dns_notifytype_t newval) {
                                         &zone->u.mzone.setflags);
                DNS_C_SETBIT(MZ_NOTIFY_BIT, &zone->u.mzone.setflags);
                break;
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.notify = newval;
                existed = DNS_C_CHECKBIT(SZ_NOTIFY_BIT,
                                         &zone->u.szone.setflags);
                DNS_C_SETBIT(SZ_NOTIFY_BIT, &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1506,7 +1506,7 @@ dns_c_zone_setnotify(dns_c_zone_t *zone, dns_notifytype_t newval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1590,28 +1590,28 @@ dns_c_zone_setalsonotify(dns_c_zone_t *zone,
 
        REQUIRE(zone != NULL);
        REQUIRE(DNS_C_IPLIST_VALID(newval));
-       
+
        switch (zone->ztype) {
        case dns_c_zone_master:
                p = &zone->u.mzone.also_notify ;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.also_notify ;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a also_notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a also_notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1640,28 +1640,28 @@ dns_c_zone_getalsonotify(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
 
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
-       
+
        switch (zone->ztype) {
        case dns_c_zone_master:
                p = zone->u.mzone.also_notify ;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.also_notify ;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a also_notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a also_notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1687,7 +1687,7 @@ dns_c_zone_getalsonotify(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
 isc_result_t
 dns_c_zone_setmaintixfrbase(dns_c_zone_t *zone, isc_boolean_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -1697,14 +1697,14 @@ dns_c_zone_setmaintixfrbase(dns_c_zone_t *zone, isc_boolean_t newval) {
                                         &zone->u.mzone.setflags);
                DNS_C_SETBIT(MZ_MAINT_IXFR_BASE_BIT, &zone->u.mzone.setflags);
                break;
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.maint_ixfr_base = newval;
                existed = DNS_C_CHECKBIT(SZ_MAINT_IXFR_BASE_BIT,
                                         &zone->u.szone.setflags);
                DNS_C_SETBIT(SZ_MAINT_IXFR_BASE_BIT, &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1718,7 +1718,7 @@ dns_c_zone_setmaintixfrbase(dns_c_zone_t *zone, isc_boolean_t newval) {
                              "Hint zones do not have a "
                              "maintain-xfer-base field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1741,7 +1741,7 @@ dns_c_zone_getmaintixfrbase(dns_c_zone_t *zone, isc_boolean_t *retval) {
        dns_c_setbits_t *bits = NULL;
        isc_boolean_t val = ISC_FALSE;
        int bit = 0;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1751,25 +1751,25 @@ dns_c_zone_getmaintixfrbase(dns_c_zone_t *zone, isc_boolean_t *retval) {
                bit = MZ_MAINT_IXFR_BASE_BIT;
                bits = &zone->u.mzone.setflags;
                break;
-                       
+
        case dns_c_zone_slave:
                val = zone->u.szone.maint_ixfr_base;
                bit = SZ_MAINT_IXFR_BASE_BIT;
                bits = &zone->u.szone.setflags;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a notify field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1783,7 +1783,7 @@ dns_c_zone_getmaintixfrbase(dns_c_zone_t *zone, isc_boolean_t *retval) {
        } else {
                res = ISC_R_NOTFOUND;
        }
-       
+
        return (res);
 }
 
@@ -1796,7 +1796,7 @@ isc_result_t
 dns_c_zone_setixfrbase(dns_c_zone_t *zone, const char *newval) {
        isc_boolean_t existed ;
        char **p = NULL;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(newval != NULL);
        REQUIRE(*newval != '\0');
@@ -1805,11 +1805,11 @@ dns_c_zone_setixfrbase(dns_c_zone_t *zone, const char *newval) {
        case dns_c_zone_master:
                p = &zone->u.mzone.ixfr_base;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.ixfr_base;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1821,7 +1821,7 @@ dns_c_zone_setixfrbase(dns_c_zone_t *zone, const char *newval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a ixfr_base field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1853,7 +1853,7 @@ isc_result_t
 dns_c_zone_getixfrbase(dns_c_zone_t *zone, const char **retval) {
        char *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1861,23 +1861,23 @@ dns_c_zone_getixfrbase(dns_c_zone_t *zone, const char **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.ixfr_base;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.ixfr_base;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a ixfr_base field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a ixfr_base field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1913,11 +1913,11 @@ dns_c_zone_setixfrtmp(dns_c_zone_t *zone, const char *newval) {
        case dns_c_zone_master:
                p = &zone->u.mzone.ixfr_tmp;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.ixfr_tmp;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1929,7 +1929,7 @@ dns_c_zone_setixfrtmp(dns_c_zone_t *zone, const char *newval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a ixfr_tmp field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -1961,7 +1961,7 @@ isc_result_t
 dns_c_zone_getixfrtmp(dns_c_zone_t *zone, const char **retval) {
        char *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -1969,23 +1969,23 @@ dns_c_zone_getixfrtmp(dns_c_zone_t *zone, const char **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.ixfr_tmp;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.ixfr_tmp;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a ixfr_tmp field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a ixfr_tmp field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2015,7 +2015,7 @@ dns_c_zone_addpubkey(dns_c_zone_t *zone,
 {
        dns_c_pklist_t **p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_PUBKEY_VALID(pubkey));
 
@@ -2023,15 +2023,15 @@ dns_c_zone_addpubkey(dns_c_zone_t *zone,
        case dns_c_zone_master:
                p = &zone->u.mzone.pubkeylist;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.pubkeylist;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.pubkeylist;
                break;
-               
+
        case dns_c_zone_hint:
 #if 1
                p = &zone->u.hzone.pubkeylist;
@@ -2039,9 +2039,9 @@ dns_c_zone_addpubkey(dns_c_zone_t *zone,
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a pubkey field");
-#endif 
+#endif
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2055,7 +2055,7 @@ dns_c_zone_addpubkey(dns_c_zone_t *zone,
                        return (res);
                }
        }
-       
+
        res = dns_c_pklist_addpubkey(*p, pubkey, deepcopy);
 
        return (res);
@@ -2069,7 +2069,7 @@ dns_c_zone_addpubkey(dns_c_zone_t *zone,
 isc_result_t
 dns_c_zone_setmasterport(dns_c_zone_t *zone, in_port_t port) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch(zone->ztype) {
@@ -2079,27 +2079,27 @@ dns_c_zone_setmasterport(dns_c_zone_t *zone, in_port_t port) {
                              "Forward zones do not have a "
                              "master_port field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.master_port = port;
                existed = DNS_C_CHECKBIT(SZ_MASTER_PORT_BIT,
                                         &zone->u.szone.setflags);
                DNS_C_SETBIT(SZ_MASTER_PORT_BIT, &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                zone->u.tzone.master_port = port;
                existed = DNS_C_CHECKBIT(TZ_MASTER_PORT_BIT,
                                         &zone->u.tzone.setflags);
                DNS_C_SETBIT(TZ_MASTER_PORT_BIT, &zone->u.tzone.setflags);
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a master_port field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2107,7 +2107,7 @@ dns_c_zone_setmasterport(dns_c_zone_t *zone, in_port_t port) {
                              "master_port field");
                return (ISC_R_FAILURE);
        }
-               
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -2119,7 +2119,7 @@ dns_c_zone_setmasterport(dns_c_zone_t *zone, in_port_t port) {
 isc_result_t
 dns_c_zone_getmasterport(dns_c_zone_t *zone, in_port_t *retval) {
        isc_result_t res = ISC_R_SUCCESS;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -2130,7 +2130,7 @@ dns_c_zone_getmasterport(dns_c_zone_t *zone, in_port_t *retval) {
                              "Forward zones do not have a "
                              "master_port field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_MASTER_PORT_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2156,7 +2156,7 @@ dns_c_zone_getmasterport(dns_c_zone_t *zone, in_port_t *retval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a master_port field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2184,14 +2184,14 @@ dns_c_zone_setmasterips(dns_c_zone_t *zone,
 
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPLIST_VALID(newval));
-       
+
        switch (zone->ztype) {
        case dns_c_zone_master:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Master zones do not have a master_ips field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
        case dns_c_zone_stub:
                if (zone->ztype == dns_c_zone_slave) {
@@ -2199,7 +2199,7 @@ dns_c_zone_setmasterips(dns_c_zone_t *zone,
                } else {
                        p = &zone->u.tzone.master_ips ;
                }
-               
+
                existed = (*p != NULL ? ISC_TRUE : ISC_FALSE);
                res = set_iplist_field(zone->mem, p,
                                       newval, deepcopy);
@@ -2213,7 +2213,7 @@ dns_c_zone_setmasterips(dns_c_zone_t *zone,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a master_ips field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2235,14 +2235,14 @@ dns_c_zone_getmasterips(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
 
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
-       
+
        switch (zone->ztype) {
        case dns_c_zone_master:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Master zones do not have a master_ips field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                if (zone->u.szone.master_ips != NULL) {
                        *retval = zone->u.szone.master_ips;
@@ -2251,7 +2251,7 @@ dns_c_zone_getmasterips(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                if (zone->u.tzone.master_ips != NULL) {
                        *retval = zone->u.tzone.master_ips;
@@ -2260,13 +2260,13 @@ dns_c_zone_getmasterips(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a master_ips field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2285,7 +2285,7 @@ dns_c_zone_getmasterips(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
 isc_result_t
 dns_c_zone_settransfersource(dns_c_zone_t *zone, isc_sockaddr_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2295,28 +2295,28 @@ dns_c_zone_settransfersource(dns_c_zone_t *zone, isc_sockaddr_t newval) {
                              "Master zones do not have a "
                              "transfer_source field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.transfer_source = newval ;
                existed = DNS_C_CHECKBIT(SZ_TRANSFER_SOURCE_BIT,
                                         &zone->u.szone.setflags);
                DNS_C_SETBIT(SZ_TRANSFER_SOURCE_BIT, &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                zone->u.tzone.transfer_source = newval ;
                existed = DNS_C_CHECKBIT(TZ_TRANSFER_SOURCE_BIT,
                                         &zone->u.tzone.setflags);
                DNS_C_SETBIT(TZ_TRANSFER_SOURCE_BIT, &zone->u.tzone.setflags);
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "transfer_source field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2347,7 +2347,7 @@ dns_c_zone_gettransfersource(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                              "Master zones do not have a "
                              "transfer_source field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_TRANSFER_SOURCE_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2356,9 +2356,9 @@ dns_c_zone_gettransfersource(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                } else {
                        res = ISC_R_NOTFOUND;
                }
-               
+
                break;
-               
+
        case dns_c_zone_stub:
                if (DNS_C_CHECKBIT(TZ_TRANSFER_SOURCE_BIT,
                                   &zone->u.tzone.setflags)) {
@@ -2367,7 +2367,7 @@ dns_c_zone_gettransfersource(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                } else {
                        res = ISC_R_NOTFOUND;
                }
-               
+
                break;
 
        case dns_c_zone_hint:
@@ -2376,7 +2376,7 @@ dns_c_zone_gettransfersource(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                              "Hint zones do not have a "
                              "transfer_source field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2396,7 +2396,7 @@ dns_c_zone_gettransfersource(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
 isc_result_t
 dns_c_zone_settransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2406,7 +2406,7 @@ dns_c_zone_settransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t newval) {
                              "Master zones do not have a "
                              "transfer_source_v6 field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.transfer_source_v6 = newval ;
                existed = DNS_C_CHECKBIT(SZ_TRANSFER_SOURCE_V6_BIT,
@@ -2414,7 +2414,7 @@ dns_c_zone_settransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t newval) {
                DNS_C_SETBIT(SZ_TRANSFER_SOURCE_V6_BIT,
                             &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                zone->u.tzone.transfer_source_v6 = newval ;
                existed = DNS_C_CHECKBIT(TZ_TRANSFER_SOURCE_V6_BIT,
@@ -2422,14 +2422,14 @@ dns_c_zone_settransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t newval) {
                DNS_C_SETBIT(TZ_TRANSFER_SOURCE_V6_BIT,
                             &zone->u.tzone.setflags);
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "transfer_source_v6 field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2460,7 +2460,7 @@ dns_c_zone_gettransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                              "Master zones do not have a "
                              "transfer_source_v6 field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_TRANSFER_SOURCE_V6_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2469,9 +2469,9 @@ dns_c_zone_gettransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                } else {
                        res = ISC_R_NOTFOUND;
                }
-               
+
                break;
-               
+
        case dns_c_zone_stub:
                if (DNS_C_CHECKBIT(TZ_TRANSFER_SOURCE_V6_BIT,
                                   &zone->u.tzone.setflags)) {
@@ -2480,7 +2480,7 @@ dns_c_zone_gettransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                } else {
                        res = ISC_R_NOTFOUND;
                }
-               
+
                break;
 
        case dns_c_zone_hint:
@@ -2489,7 +2489,7 @@ dns_c_zone_gettransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
                              "Hint zones do not have a "
                              "transfer_source_v6 field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2509,7 +2509,7 @@ dns_c_zone_gettransfersourcev6(dns_c_zone_t *zone, isc_sockaddr_t *retval) {
 isc_result_t
 dns_c_zone_setmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2519,7 +2519,7 @@ dns_c_zone_setmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Master zones do not have a "
                              "max_trans_time_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.max_trans_time_in = newval ;
                existed = DNS_C_CHECKBIT(SZ_MAX_TRANS_TIME_IN_BIT,
@@ -2527,7 +2527,7 @@ dns_c_zone_setmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(SZ_MAX_TRANS_TIME_IN_BIT,
                             &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                zone->u.tzone.max_trans_time_in = newval ;
                existed = DNS_C_CHECKBIT(TZ_MAX_TRANS_TIME_IN_BIT,
@@ -2542,7 +2542,7 @@ dns_c_zone_setmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Hint zones do not have a "
                              "max_trans_time_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2573,7 +2573,7 @@ dns_c_zone_getmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t *retval) {
                              "Master zones do not have a "
                              "max_trans_time_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_MAX_TRANS_TIME_IN_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2583,7 +2583,7 @@ dns_c_zone_getmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                if (DNS_C_CHECKBIT(TZ_MAX_TRANS_TIME_IN_BIT,
                                   &zone->u.tzone.setflags)) {
@@ -2593,14 +2593,14 @@ dns_c_zone_getmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "max_trans_time_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2620,7 +2620,7 @@ dns_c_zone_getmaxtranstimein(dns_c_zone_t *zone, isc_uint32_t *retval) {
 isc_result_t
 dns_c_zone_setmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2631,7 +2631,7 @@ dns_c_zone_setmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(MZ_MAX_TRANS_TIME_OUT_BIT,
                             &zone->u.mzone.setflags);
                break;
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.max_trans_time_out = newval ;
                existed = DNS_C_CHECKBIT(SZ_MAX_TRANS_TIME_OUT_BIT,
@@ -2639,7 +2639,7 @@ dns_c_zone_setmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(SZ_MAX_TRANS_TIME_OUT_BIT,
                             &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2653,7 +2653,7 @@ dns_c_zone_setmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Hint zones do not have a "
                              "max_trans_time_out field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2687,7 +2687,7 @@ dns_c_zone_getmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_MAX_TRANS_TIME_OUT_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2697,21 +2697,21 @@ dns_c_zone_getmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a "
                              "max_trans_time_out field");
                return (ISC_R_FAILURE);
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "max_trans_time_out field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2731,7 +2731,7 @@ dns_c_zone_getmaxtranstimeout(dns_c_zone_t *zone, isc_uint32_t *retval) {
 isc_result_t
 dns_c_zone_setmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2741,7 +2741,7 @@ dns_c_zone_setmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Master zones do not have a "
                              "max_trans_idle_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.max_trans_idle_in = newval ;
                existed = DNS_C_CHECKBIT(SZ_MAX_TRANS_IDLE_IN_BIT,
@@ -2749,7 +2749,7 @@ dns_c_zone_setmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(SZ_MAX_TRANS_IDLE_IN_BIT,
                             &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                zone->u.tzone.max_trans_idle_in = newval ;
                existed = DNS_C_CHECKBIT(TZ_MAX_TRANS_IDLE_IN_BIT,
@@ -2764,7 +2764,7 @@ dns_c_zone_setmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Hint zones do not have a "
                              "max_trans_idle_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2795,7 +2795,7 @@ dns_c_zone_getmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t *retval) {
                              "Master zones do not have a "
                              "max_trans_idle_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_MAX_TRANS_IDLE_IN_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2805,7 +2805,7 @@ dns_c_zone_getmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                if (DNS_C_CHECKBIT(TZ_MAX_TRANS_IDLE_IN_BIT,
                                   &zone->u.tzone.setflags)) {
@@ -2815,14 +2815,14 @@ dns_c_zone_getmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "max_trans_idle_in field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2842,7 +2842,7 @@ dns_c_zone_getmaxtransidlein(dns_c_zone_t *zone, isc_uint32_t *retval) {
 isc_result_t
 dns_c_zone_setmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2853,7 +2853,7 @@ dns_c_zone_setmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(MZ_MAX_TRANS_IDLE_OUT_BIT,
                             &zone->u.mzone.setflags);
                break;
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.max_trans_idle_out = newval ;
                existed = DNS_C_CHECKBIT(SZ_MAX_TRANS_IDLE_OUT_BIT,
@@ -2861,7 +2861,7 @@ dns_c_zone_setmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(SZ_MAX_TRANS_IDLE_OUT_BIT,
                             &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2875,7 +2875,7 @@ dns_c_zone_setmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Hint zones do not have a "
                              "max_trans_idle_out field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2909,8 +2909,8 @@ dns_c_zone_getmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
-                       
+
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_MAX_TRANS_IDLE_OUT_BIT,
                                   &zone->u.szone.setflags)) {
@@ -2920,21 +2920,21 @@ dns_c_zone_getmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a "
                              "max_trans_idle_out field");
                return (ISC_R_FAILURE);
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "max_trans_idle_out field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2954,7 +2954,7 @@ dns_c_zone_getmaxtransidleout(dns_c_zone_t *zone, isc_uint32_t *retval) {
 isc_result_t
 dns_c_zone_setsigvalidityinterval(dns_c_zone_t *zone, isc_uint32_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -2965,14 +2965,14 @@ dns_c_zone_setsigvalidityinterval(dns_c_zone_t *zone, isc_uint32_t newval) {
                DNS_C_SETBIT(MZ_SIG_VALID_INTERVAL_BIT,
                             &zone->u.mzone.setflags);
                break;
-                       
+
        case dns_c_zone_slave:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Slave zones do not have a "
                              "sig_valid_interval field");
                return (ISC_R_FAILURE);
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -2986,7 +2986,7 @@ dns_c_zone_setsigvalidityinterval(dns_c_zone_t *zone, isc_uint32_t newval) {
                              "Hint zones do not have a "
                              "sig_valid_interval field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3020,29 +3020,29 @@ dns_c_zone_getsigvalidityinterval(dns_c_zone_t *zone, isc_uint32_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
-                       
+
+
        case dns_c_zone_slave:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Slave zones do not have a "
                              "sig_valid_interval field");
                return (ISC_R_FAILURE);
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Stub zones do not have a "
                              "sig_valid_interval field");
                return (ISC_R_FAILURE);
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a "
                              "sig_valid_interval field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3065,7 +3065,7 @@ dns_c_zone_setmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t newval) {
        isc_uint32_t *p = NULL;
        int bit = 0;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
@@ -3074,13 +3074,13 @@ dns_c_zone_setmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t newval) {
                bits = &zone->u.mzone.setflags;
                bit = MZ_MAX_IXFR_LOG_BIT;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.max_ixfr_log;
                bits = &zone->u.mzone.setflags;
                bit = SZ_MAX_IXFR_LOG_BIT;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3092,7 +3092,7 @@ dns_c_zone_setmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t newval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a max-ixfr-log field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3106,7 +3106,7 @@ dns_c_zone_setmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t newval) {
        } else {
                res = ISC_R_SUCCESS;
        }
-       
+
        *p = newval;
        DNS_C_SETBIT(bit, bits);
 
@@ -3134,13 +3134,13 @@ dns_c_zone_getmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t *retval) {
                bit = MZ_MAX_IXFR_LOG_BIT;
                ptr = &zone->u.mzone.max_ixfr_log;
                break;
-                       
+
        case dns_c_zone_slave:
                bits = &zone->u.szone.setflags;
                bit = SZ_MAX_IXFR_LOG_BIT;
                ptr = &zone->u.szone.max_ixfr_log;
                break;
-               
+
        case dns_c_zone_stub:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3152,7 +3152,7 @@ dns_c_zone_getmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t *retval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a max_ixfr_log field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3167,7 +3167,7 @@ dns_c_zone_getmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t *retval) {
        } else {
                res = ISC_R_NOTFOUND;
        }
-       
+
        return (res);
 }
 
@@ -3179,9 +3179,9 @@ dns_c_zone_getmaxixfrlog(dns_c_zone_t *zone, isc_uint32_t *retval) {
 isc_result_t
 dns_c_zone_setforward(dns_c_zone_t *zone, dns_c_forw_t newval) {
        isc_boolean_t existed = ISC_FALSE;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
-               
+
        switch (zone->ztype) {
        case dns_c_zone_master:
                zone->u.mzone.forward = newval;
@@ -3189,27 +3189,27 @@ dns_c_zone_setforward(dns_c_zone_t *zone, dns_c_forw_t newval) {
                                         &zone->u.mzone.setflags);
                DNS_C_SETBIT(MZ_FORWARD_BIT, &zone->u.mzone.setflags);
                break;
-                       
+
        case dns_c_zone_slave:
                zone->u.szone.forward = newval;
                existed = DNS_C_CHECKBIT(SZ_FORWARD_BIT,
                                         &zone->u.szone.setflags);
                DNS_C_SETBIT(SZ_FORWARD_BIT, &zone->u.szone.setflags);
                break;
-               
+
        case dns_c_zone_stub:
                zone->u.tzone.forward = newval;
                existed = DNS_C_CHECKBIT(TZ_FORWARD_BIT,
                                         &zone->u.tzone.setflags);
                DNS_C_SETBIT(TZ_FORWARD_BIT, &zone->u.tzone.setflags);
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a forward field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                zone->u.fzone.forward = newval;
                existed = DNS_C_CHECKBIT(FZ_FORWARD_BIT,
@@ -3229,7 +3229,7 @@ dns_c_zone_setforward(dns_c_zone_t *zone, dns_c_forw_t newval) {
 isc_result_t
 dns_c_zone_getforward(dns_c_zone_t *zone, dns_c_forw_t *retval) {
        isc_result_t res = ISC_R_SUCCESS;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -3242,7 +3242,7 @@ dns_c_zone_getforward(dns_c_zone_t *zone, dns_c_forw_t *retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-                       
+
        case dns_c_zone_slave:
                if (DNS_C_CHECKBIT(SZ_FORWARD_BIT, &zone->u.szone.setflags)) {
                        *retval = zone->u.szone.forward;
@@ -3266,7 +3266,7 @@ dns_c_zone_getforward(dns_c_zone_t *zone, dns_c_forw_t *retval) {
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a forward field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                if (DNS_C_CHECKBIT(FZ_FORWARD_BIT, &zone->u.fzone.setflags)) {
                        *retval = zone->u.fzone.forward;
@@ -3293,7 +3293,7 @@ dns_c_zone_setforwarders(dns_c_zone_t *zone,
        isc_boolean_t existed = ISC_FALSE;
        isc_result_t res;
        dns_c_iplist_t **p = NULL;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPLIST_VALID(ipl));
 
@@ -3302,23 +3302,23 @@ dns_c_zone_setforwarders(dns_c_zone_t *zone,
                p = &zone->u.mzone.forwarders;
                existed = (*p == NULL ? ISC_FALSE : ISC_TRUE);
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.forwarders;
                existed = (*p == NULL ? ISC_FALSE : ISC_TRUE);
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.forwarders;
                existed = (*p == NULL ? ISC_FALSE : ISC_TRUE);
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a forwarders field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                p = &zone->u.fzone.forwarders;
                existed = (*p == NULL ? ISC_FALSE : ISC_TRUE);
@@ -3341,7 +3341,7 @@ dns_c_zone_setforwarders(dns_c_zone_t *zone,
 isc_result_t
 dns_c_zone_getforwarders(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
        isc_result_t res = ISC_R_SUCCESS;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -3355,7 +3355,7 @@ dns_c_zone_getforwarders(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-                       
+
        case dns_c_zone_slave:
                if (zone->u.szone.forwarders != NULL &&
                    zone->u.szone.forwarders->nextidx > 0) {
@@ -3365,7 +3365,7 @@ dns_c_zone_getforwarders(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_stub:
                if (zone->u.tzone.forwarders != NULL &&
                    zone->u.tzone.forwarders->nextidx > 0) {
@@ -3375,13 +3375,13 @@ dns_c_zone_getforwarders(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
                        res = ISC_R_NOTFOUND;
                }
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have a forwarders field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                if (zone->u.fzone.forwarders != NULL &&
                    zone->u.fzone.forwarders->nextidx > 0) {
@@ -3409,7 +3409,7 @@ dns_c_zone_setallowupd(dns_c_zone_t *zone,
        dns_c_ipmatchlist_t **p = NULL;
        isc_result_t res;
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPMLIST_VALID(ipml));
 
@@ -3417,21 +3417,21 @@ dns_c_zone_setallowupd(dns_c_zone_t *zone,
        case dns_c_zone_master:
                p = &zone->u.mzone.allow_update;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.allow_update;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.allow_update;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an allow_update field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3441,7 +3441,7 @@ dns_c_zone_setallowupd(dns_c_zone_t *zone,
        }
 
        existed = (*p != NULL ? ISC_TRUE : ISC_FALSE);
-       
+
        res = set_ipmatch_list_field(zone->mem, p,
                                     ipml, deepcopy);
        if (res == ISC_R_SUCCESS && existed) {
@@ -3460,7 +3460,7 @@ isc_result_t
 dns_c_zone_getallowupd(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
        dns_c_ipmatchlist_t *p = NULL;
        isc_result_t res;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(retval != NULL);
 
@@ -3468,21 +3468,21 @@ dns_c_zone_getallowupd(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
        case dns_c_zone_master:
                p = zone->u.mzone.allow_update;
                break;
-                       
+
        case dns_c_zone_slave:
                p = zone->u.szone.allow_update;
                break;
-               
+
        case dns_c_zone_stub:
                p = zone->u.tzone.allow_update;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an allow_update field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3509,28 +3509,28 @@ dns_c_zone_getallowupd(dns_c_zone_t *zone, dns_c_ipmatchlist_t **retval) {
 isc_result_t
 dns_c_zone_unsetallowupd(dns_c_zone_t *zone) {
        dns_c_ipmatchlist_t **p = NULL;
-       
+
        REQUIRE(DNS_C_ZONE_VALID(zone));
 
        switch (zone->ztype) {
        case dns_c_zone_master:
                p = &zone->u.mzone.allow_update;
                break;
-                       
+
        case dns_c_zone_slave:
                p = &zone->u.szone.allow_update;
                break;
-               
+
        case dns_c_zone_stub:
                p = &zone->u.tzone.allow_update;
                break;
-               
+
        case dns_c_zone_hint:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
                              "Hint zones do not have an allow_update field");
                return (ISC_R_FAILURE);
-                       
+
        case dns_c_zone_forward:
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
                              DNS_LOGMODULE_CONFIG, ISC_LOG_CRITICAL,
@@ -3565,7 +3565,7 @@ dns_c_zone_setdatabase(dns_c_zone_t *zone, const char *database)
                existed = ISC_TRUE;
                isc_mem_free(zone->mem, zone->database);
        }
-       
+
        zone->database = isc_mem_strdup(zone->mem, database);
        if (zone->database == NULL) {
                return (ISC_R_NOMEMORY);
@@ -3631,7 +3631,7 @@ dns_c_zone_setenabled(dns_c_zone_t *zone, isc_boolean_t enabled)
        } else {
                zone->enabled = isc_mem_get(zone->mem, sizeof (zone->enabled));
        }
-       
+
        *zone->enabled = enabled;
 
        if (existed) {
@@ -3691,7 +3691,7 @@ dns_c_zone_unsetenabled(dns_c_zone_t *zone)
 static void
 master_zone_print(FILE *fp, int indent, dns_c_masterzone_t *mzone) {
        REQUIRE(mzone != NULL);
-       
+
        if (mzone->file != NULL) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "file \"%s\";\n", mzone->file);
@@ -3795,13 +3795,13 @@ master_zone_print(FILE *fp, int indent, dns_c_masterzone_t *mzone) {
                fprintf(fp, "max-transfer-time-out %d;\n",
                        mzone->max_trans_time_out / 60);
        }
-       
+
        if (DNS_C_CHECKBIT(MZ_SIG_VALID_INTERVAL_BIT, &mzone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "sig-validity-interval %d;\n",
                        mzone->sig_valid_interval);
        }
-       
+
        if (mzone->pubkeylist != NULL) {
                fprintf(fp, "\n");
                dns_c_pklist_print(fp, indent, mzone->pubkeylist);
@@ -3830,7 +3830,7 @@ master_zone_print(FILE *fp, int indent, dns_c_masterzone_t *mzone) {
 static void
 slave_zone_print(FILE *fp, int indent, dns_c_slavezone_t *szone) {
        REQUIRE(szone != NULL);
-       
+
        if (szone->file != NULL) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "file \"%s\";\n", szone->file);
@@ -3870,7 +3870,7 @@ slave_zone_print(FILE *fp, int indent, dns_c_slavezone_t *szone) {
                }
                fprintf(fp, ";\n");
        }
-       
+
 
        if (DNS_C_CHECKBIT(SZ_FORWARD_BIT, &szone->setflags)) {
                dns_c_printtabs(fp, indent);
@@ -3948,25 +3948,25 @@ slave_zone_print(FILE *fp, int indent, dns_c_slavezone_t *szone) {
                fprintf(fp, "max-transfer-time-in %d;\n",
                        szone->max_trans_time_in / 60);
        }
-       
+
        if (DNS_C_CHECKBIT(SZ_MAX_TRANS_TIME_OUT_BIT, &szone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "max-transfer-time-out %d;\n",
                        szone->max_trans_time_out / 60);
        }
-       
+
        if (DNS_C_CHECKBIT(SZ_MAX_TRANS_IDLE_IN_BIT, &szone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "max-transfer-idle-in %d;\n",
                        szone->max_trans_idle_in / 60);
        }
-       
+
        if (DNS_C_CHECKBIT(SZ_MAX_TRANS_IDLE_OUT_BIT, &szone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "max-transfer-idle-out %d;\n",
                        szone->max_trans_idle_out / 60);
        }
-       
+
        if (DNS_C_CHECKBIT(SZ_DIALUP_BIT, &szone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "dialup %s;\n",
@@ -4005,7 +4005,7 @@ slave_zone_print(FILE *fp, int indent, dns_c_slavezone_t *szone) {
 static void
 stub_zone_print(FILE *fp, int indent, dns_c_stubzone_t *tzone) {
        REQUIRE(tzone != NULL);
-       
+
        if (tzone->file != NULL) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "file \"%s\";\n", tzone->file);
@@ -4113,13 +4113,13 @@ stub_zone_print(FILE *fp, int indent, dns_c_stubzone_t *tzone) {
                fprintf(fp, "max-transfer-time-in %d;\n",
                        tzone->max_trans_time_in / 60);
        }
-       
+
        if (DNS_C_CHECKBIT(TZ_MAX_TRANS_IDLE_IN_BIT, &tzone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "max-transfer-idle-in %d;\n",
                        tzone->max_trans_idle_in / 60);
        }
-       
+
        if (tzone->pubkeylist != NULL) {
                fprintf(fp, "\n");
                dns_c_pklist_print(fp, indent, tzone->pubkeylist);
@@ -4134,7 +4134,7 @@ stub_zone_print(FILE *fp, int indent, dns_c_stubzone_t *tzone) {
 static void
 hint_zone_print(FILE *fp, int indent, dns_c_hintzone_t *hzone) {
        REQUIRE(hzone != NULL);
-       
+
        if (hzone->file != NULL) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "file \"%s\";\n", hzone->file);
@@ -4161,7 +4161,7 @@ hint_zone_print(FILE *fp, int indent, dns_c_hintzone_t *hzone) {
 static void
 forward_zone_print(FILE *fp, int indent, dns_c_forwardzone_t *fzone) {
        REQUIRE(fzone != NULL);
-       
+
        if (DNS_C_CHECKBIT(FZ_FORWARD_BIT, &fzone->setflags)) {
                dns_c_printtabs(fp, indent);
                fprintf(fp, "forward %s;\n",
@@ -4192,7 +4192,7 @@ forward_zone_print(FILE *fp, int indent, dns_c_forwardzone_t *fzone) {
 static void
 master_zone_init(dns_c_masterzone_t *mzone) {
        REQUIRE(mzone != NULL);
-       
+
        mzone->file = NULL;
        mzone->allow_update = NULL;
        mzone->ssuauth = NULL;
@@ -4289,7 +4289,7 @@ static isc_result_t
 zone_delete(dns_c_zone_t **zone) {
        dns_c_zone_t *z;
        isc_result_t res = ISC_R_SUCCESS;
-       
+
        REQUIRE(zone != NULL);
        REQUIRE(DNS_C_ZONE_VALID(*zone));
 
@@ -4307,7 +4307,7 @@ zone_delete(dns_c_zone_t **zone) {
                isc_mem_put(z->mem, z->enabled, sizeof (z->enabled));
                z->enabled = NULL;
        }
-       
+
        switch(z->ztype) {
        case dns_c_zone_master:
                res = master_zone_clear(z->mem, &z->u.mzone);
@@ -4316,15 +4316,15 @@ zone_delete(dns_c_zone_t **zone) {
        case dns_c_zone_slave:
                res = slave_zone_clear(z->mem, &z->u.szone);
                break;
-               
+
        case dns_c_zone_stub:
                res = stub_zone_clear(z->mem, &z->u.tzone);
                break;
-               
+
        case dns_c_zone_hint:
                res = hint_zone_clear(z->mem, &z->u.hzone);
                break;
-               
+
        case dns_c_zone_forward:
                res = forward_zone_clear(z->mem, &z->u.fzone);
                break;
@@ -4345,7 +4345,7 @@ zone_delete(dns_c_zone_t **zone) {
 static isc_result_t
 master_zone_clear(isc_mem_t *mem, dns_c_masterzone_t *mzone) {
        REQUIRE(mzone != NULL);
-       
+
        if (mzone == NULL) {
                return (ISC_R_SUCCESS);
        }
@@ -4359,7 +4359,7 @@ master_zone_clear(isc_mem_t *mem, dns_c_masterzone_t *mzone) {
 
        if (mzone->ssuauth != NULL)
                dns_ssutable_detach(&mzone->ssuauth);
-       
+
        if (mzone->allow_update_forwarding != NULL)
                dns_c_ipmatchlist_detach(&mzone->allow_update_forwarding);
 
@@ -4371,11 +4371,11 @@ master_zone_clear(isc_mem_t *mem, dns_c_masterzone_t *mzone) {
 
        if (mzone->also_notify != NULL)
                dns_c_iplist_detach(&mzone->also_notify);
-       
+
        if (mzone->ixfr_base != NULL) {
                isc_mem_free(mem, mzone->ixfr_base);
        }
-               
+
        if (mzone->ixfr_tmp != NULL) {
                isc_mem_free(mem, mzone->ixfr_tmp);
        }
@@ -4397,7 +4397,7 @@ master_zone_clear(isc_mem_t *mem, dns_c_masterzone_t *mzone) {
 static isc_result_t
 slave_zone_clear(isc_mem_t *mem, dns_c_slavezone_t *szone) {
        REQUIRE(szone != NULL);
-       
+
        if (szone == NULL) {
                return (ISC_R_SUCCESS);
        }
@@ -4409,32 +4409,32 @@ slave_zone_clear(isc_mem_t *mem, dns_c_slavezone_t *szone) {
        if (szone->ixfr_base != NULL) {
                isc_mem_free(mem, szone->ixfr_base);
        }
-               
+
        if (szone->ixfr_tmp != NULL) {
                isc_mem_free(mem, szone->ixfr_tmp);
        }
-               
+
        if (szone->master_ips != NULL)
                dns_c_iplist_detach(&szone->master_ips);
-       
+
        if (szone->allow_update != NULL)
                dns_c_ipmatchlist_detach(&szone->allow_update);
-       
+
        if (szone->allow_update_forwarding != NULL)
                dns_c_ipmatchlist_detach(&szone->allow_update_forwarding);
-       
+
        if (szone->allow_query != NULL)
                dns_c_ipmatchlist_detach(&szone->allow_query);
-       
+
        if (szone->allow_transfer != NULL)
                dns_c_ipmatchlist_detach(&szone->allow_transfer);
-       
+
        if (szone->also_notify != NULL)
                dns_c_iplist_detach(&szone->also_notify);
-       
+
        if (szone->forwarders != NULL)
                dns_c_iplist_detach(&szone->forwarders);
-       
+
        if (szone->pubkeylist != NULL)
                dns_c_pklist_delete(&szone->pubkeylist);
 
@@ -4449,7 +4449,7 @@ slave_zone_clear(isc_mem_t *mem, dns_c_slavezone_t *szone) {
 static isc_result_t
 stub_zone_clear(isc_mem_t *mem, dns_c_stubzone_t *tzone) {
        REQUIRE(tzone != NULL);
-       
+
        if (tzone == NULL) {
                return (ISC_R_SUCCESS);
        }
@@ -4460,25 +4460,25 @@ stub_zone_clear(isc_mem_t *mem, dns_c_stubzone_t *tzone) {
 
        if (tzone->master_ips != NULL)
                dns_c_iplist_detach(&tzone->master_ips);
-       
+
        if (tzone->allow_update != NULL)
                dns_c_ipmatchlist_detach(&tzone->allow_update);
-       
+
        if (tzone->allow_update_forwarding != NULL)
                dns_c_ipmatchlist_detach(&tzone->allow_update_forwarding);
-       
+
        if (tzone->allow_query != NULL)
                dns_c_ipmatchlist_detach(&tzone->allow_query);
-       
+
        if (tzone->allow_transfer != NULL)
                dns_c_ipmatchlist_detach(&tzone->allow_transfer);
-       
+
        if (tzone->forwarders != NULL)
                dns_c_iplist_detach(&tzone->forwarders);
-       
+
        if (tzone->pubkeylist != NULL)
                dns_c_pklist_delete(&tzone->pubkeylist);
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -4490,16 +4490,16 @@ stub_zone_clear(isc_mem_t *mem, dns_c_stubzone_t *tzone) {
 static isc_result_t
 forward_zone_clear(isc_mem_t *mem, dns_c_forwardzone_t *fzone) {
        REQUIRE(fzone != NULL);
-       
+
        if (fzone == NULL) {
                return (ISC_R_SUCCESS);
        }
 
        (void) mem;                     /* lint happiness */
-       
+
        if (fzone->forwarders != NULL)
                dns_c_iplist_detach(&fzone->forwarders);
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -4511,7 +4511,7 @@ forward_zone_clear(isc_mem_t *mem, dns_c_forwardzone_t *fzone) {
 static isc_result_t
 hint_zone_clear(isc_mem_t *mem, dns_c_hintzone_t *hzone) {
        REQUIRE(hzone != NULL);
-       
+
        if (hzone == NULL) {
                return (ISC_R_SUCCESS);
        }
@@ -4519,10 +4519,10 @@ hint_zone_clear(isc_mem_t *mem, dns_c_hintzone_t *hzone) {
        if (hzone->file != NULL) {
                isc_mem_free(mem, hzone->file);
        }
-       
+
        if (hzone->pubkeylist != NULL)
                dns_c_pklist_delete(&hzone->pubkeylist);
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -4539,14 +4539,14 @@ set_ipmatch_list_field(isc_mem_t *mem,
                       isc_boolean_t deepcopy)
 {
        isc_result_t res;
-       
+
        if (*dest != NULL) {
                res = dns_c_ipmatchlist_detach(dest);
                if (res != ISC_R_SUCCESS) {
                        return (res);
                }
        }
-       
+
        if (deepcopy) {
                res = dns_c_ipmatchlist_copy(mem, dest, src);
        } else {
@@ -4568,14 +4568,14 @@ set_iplist_field(isc_mem_t *mem,
                 isc_boolean_t deepcopy)
 {
        isc_result_t res;
-       
+
        if (*dest != NULL) {
                res = dns_c_iplist_detach(dest);
                if (res != ISC_R_SUCCESS) {
                        return (res);
                }
        }
-       
+
        if (deepcopy) {
                res = dns_c_iplist_copy(mem, dest, src);
        } else {
index ee031655f6f9be9ff7330621592e37ff4ec756be..cf335056fbad8997d8e40a9b1e058fc71a237858 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: db.c,v 1.48 2000/07/27 09:45:57 tale Exp $ */
+/* $Id: db.c,v 1.49 2000/08/01 01:22:15 tale Exp $ */
 
 /***
  *** Imports
@@ -37,7 +37,7 @@
  ***/
 
 typedef struct {
-       const char *            name;   
+       const char *            name;
        isc_result_t            (*create)(isc_mem_t *mctx, dns_name_t *name,
                                          dns_dbtype_t type,
                                          dns_rdataclass_t rdclass,
@@ -135,7 +135,7 @@ dns_db_iscache(dns_db_t *db) {
        /*
         * Does 'db' have cache semantics?
         */
-       
+
        REQUIRE(DNS_DB_VALID(db));
 
        if ((db->attributes & DNS_DBATTR_CACHE) != 0)
@@ -150,7 +150,7 @@ dns_db_iszone(dns_db_t *db) {
        /*
         * Does 'db' have zone semantics?
         */
-       
+
        REQUIRE(DNS_DB_VALID(db));
 
        if ((db->attributes & (DNS_DBATTR_CACHE|DNS_DBATTR_STUB)) == 0)
@@ -165,7 +165,7 @@ dns_db_isstub(dns_db_t *db) {
        /*
         * Does 'db' have stub semantics?
         */
-       
+
        REQUIRE(DNS_DB_VALID(db));
 
        if ((db->attributes & DNS_DBATTR_STUB) != 0)
@@ -180,7 +180,7 @@ dns_db_issecure(dns_db_t *db) {
        /*
         * Is 'db' secure?
         */
-       
+
        REQUIRE(DNS_DB_VALID(db));
        REQUIRE((db->attributes & DNS_DBATTR_CACHE) == 0);
 
@@ -287,11 +287,11 @@ dns_db_dump(dns_db_t *db, dns_dbversion_t *version, const char *filename) {
 
 void
 dns_db_currentversion(dns_db_t *db, dns_dbversion_t **versionp) {
-       
+
        /*
         * Open the current version for reading.
         */
-       
+
        REQUIRE(DNS_DB_VALID(db));
        REQUIRE((db->attributes & DNS_DBATTR_CACHE) == 0);
        REQUIRE(versionp != NULL && *versionp == NULL);
@@ -301,7 +301,7 @@ dns_db_currentversion(dns_db_t *db, dns_dbversion_t **versionp) {
 
 isc_result_t
 dns_db_newversion(dns_db_t *db, dns_dbversion_t **versionp) {
-       
+
        /*
         * Open a new version for reading and writing.
         */
@@ -329,13 +329,13 @@ dns_db_attachversion(dns_db_t *db, dns_dbversion_t *source,
        (db->methods->attachversion)(db, source, targetp);
 
        ENSURE(*targetp != NULL);
-}      
+}
 
 void
 dns_db_closeversion(dns_db_t *db, dns_dbversion_t **versionp,
                    isc_boolean_t commit)
 {
-       
+
        /*
         * Close version '*versionp'.
         */
@@ -615,7 +615,7 @@ dns_db_getsoaserial(dns_db_t *db, dns_dbversion_t *ver, isc_uint32_t *serialp)
        isc_buffer_t buffer;
 
        REQUIRE(dns_db_iszone(db) || dns_db_isstub(db));
-               
+
        result = dns_db_findnode(db, dns_db_origin(db), ISC_FALSE, &node);
        if (result != ISC_R_SUCCESS)
                return (result);
@@ -625,7 +625,7 @@ dns_db_getsoaserial(dns_db_t *db, dns_dbversion_t *ver, isc_uint32_t *serialp)
                                     (isc_stdtime_t)0, &rdataset, NULL);
        if (result != ISC_R_SUCCESS)
                goto freenode;
-       
+
        result = dns_rdataset_first(&rdataset);
        if (result != ISC_R_SUCCESS)
                goto freerdataset;
@@ -641,7 +641,7 @@ dns_db_getsoaserial(dns_db_t *db, dns_dbversion_t *ver, isc_uint32_t *serialp)
 
  freerdataset:
        dns_rdataset_disassociate(&rdataset);
-       
+
  freenode:
        dns_db_detachnode(db, &node);
        return (result);
index c40d09b1aeee413164cc039df2e2f97ed53291c2..869b0a4080976970422e774ffd344a93fb517291 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dbiterator.c,v 1.10 2000/07/27 09:45:59 tale Exp $ */
+/* $Id: dbiterator.c,v 1.11 2000/08/01 01:22:16 tale Exp $ */
 
 #include <config.h>
 
@@ -129,6 +129,6 @@ dns_dbiterator_origin(dns_dbiterator_t *iterator, dns_name_t *name) {
        REQUIRE(DNS_DBITERATOR_VALID(iterator));
        REQUIRE(iterator->relative_names);
        REQUIRE(dns_name_hasbuffer(name));
-       
+
        return (iterator->methods->origin(iterator, name));
 }
index 3bdd6a3025d07783f82dd2ca3aca388a4897901d..802e115f77975d40f5f3800b338f3f43bd2647d5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: dbtable.c,v 1.19 2000/07/27 09:46:00 tale Exp $
+ * $Id: dbtable.c,v 1.20 2000/08/01 01:22:17 tale Exp $
  */
 
 /*
@@ -147,7 +147,7 @@ void
 dns_dbtable_attach(dns_dbtable_t *source, dns_dbtable_t **targetp) {
        REQUIRE(VALID_DBTABLE(source));
        REQUIRE(targetp != NULL && *targetp == NULL);
-       
+
        LOCK(&source->lock);
 
        INSIST(source->references > 0);
@@ -167,7 +167,7 @@ dns_dbtable_detach(dns_dbtable_t **dbtablep) {
        REQUIRE(dbtablep != NULL);
        dbtable = *dbtablep;
        REQUIRE(VALID_DBTABLE(dbtable));
-       
+
        LOCK(&dbtable->lock);
 
        INSIST(dbtable->references > 0);
@@ -208,7 +208,7 @@ dns_dbtable_remove(dns_dbtable_t *dbtable, dns_db_t *db) {
        dns_name_t *name;
 
        REQUIRE(VALID_DBTABLE(dbtable));
-       
+
        name = dns_db_origin(db);
 
        /*
index e06abf889eb66a7a014b1fa8bc6df1175e3a1455..b8cc37a7ed9403d2fe40a5fdd263bb426710e298 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch.c,v 1.61 2000/07/27 09:46:01 tale Exp $ */
+/* $Id: dispatch.c,v 1.62 2000/08/01 01:22:19 tale Exp $ */
 
 #include <config.h>
 
@@ -194,7 +194,7 @@ dispatch_log(dns_dispatch_t *disp, int level, const char *fmt, ...) {
 
        if (! isc_log_wouldlog(dns_lctx, level))
                return;
-       
+
        va_start(ap, fmt);
        vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);
        va_end(ap);
@@ -710,7 +710,7 @@ tcp_recv(isc_task_t *task, isc_event_t *ev_in) {
 
        case ISC_R_CANCELED:
                /*
-                * The event is statically allocated in the tcpmsg      
+                * The event is statically allocated in the tcpmsg
                 * structure, and destroy_disp() frees the tcpmsg, so we must
                 * free the event *before* calling destroy_disp().
                 */
@@ -1088,7 +1088,7 @@ dns_dispatchmgr_destroy(dns_dispatchmgr_t **mgrp) {
        UNLOCK(&mgr->lock);
 
        mgr_log(mgr, LVL(90), "destroy: killit=%d", killit);
-       
+
        if (killit)
                destroy_mgr(&mgr);
 }
@@ -1701,7 +1701,7 @@ void
 dns_dispatch_starttcp(dns_dispatch_t *disp) {
 
        REQUIRE(VALID_DISPATCH(disp));
-       
+
        dispatch_log(disp, LVL(90), "starttcp %p", disp->task);
 
        LOCK(&disp->lock);
index 75048994c0d8f834e311e0bccf771c0d54e8a709..62b00d6dbefc15e9dbc80bfb5c7660dfa59f0a5a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: dnssec.c,v 1.46 2000/07/31 20:53:56 tale Exp $
+ * $Id: dnssec.c,v 1.47 2000/08/01 01:22:20 tale Exp $
  * Principal Author: Brian Wellington
  */
 
@@ -238,7 +238,7 @@ dns_dnssec_sign(dns_name_t *name, dns_rdataset_t *set, dst_key_t *key,
        isc_buffer_putuint16(&envbuf, set->type);
        isc_buffer_putuint16(&envbuf, set->rdclass);
        isc_buffer_putuint32(&envbuf, set->ttl);
-       
+
        ret = rdataset_to_sortedarray(set, mctx, &rdatas, &nrdatas);
        if (ret != ISC_R_SUCCESS)
                goto cleanup_context;
@@ -248,7 +248,7 @@ dns_dnssec_sign(dns_name_t *name, dns_rdataset_t *set, dst_key_t *key,
                isc_uint16_t len;
                isc_buffer_t lenbuf;
                isc_region_t lenr;
-               
+
                /*
                 * Digest the envelope.
                 */
@@ -274,7 +274,7 @@ dns_dnssec_sign(dns_name_t *name, dns_rdataset_t *set, dst_key_t *key,
                if (ret != ISC_R_SUCCESS)
                        goto cleanup_array;
        }
-               
+
        isc_buffer_init(&sigbuf, sig.signature, sig.siglen);
        ret = dst_context_sign(ctx, &sigbuf);
        if (ret != ISC_R_SUCCESS)
@@ -354,7 +354,7 @@ dns_dnssec_verify(dns_name_t *name, dns_rdataset_t *set, dst_key_t *key,
        dns_rdata_toregion(sigrdata, &r);
        r.length -= sig.siglen;
        RUNTIME_CHECK(r.length >= 19);
-       
+
        ret = dst_context_create(key, mctx, &ctx);
        if (ret != ISC_R_SUCCESS)
                goto cleanup_struct;
@@ -556,7 +556,7 @@ dns_dnssec_signmessage(dns_message_t *msg, dst_key_t *key) {
 
        sig.siglen = 0;
        sig.signature = NULL;
-       
+
        isc_buffer_init(&databuf, data, sizeof(data));
 
        RETERR(dst_context_create(key, mctx, &ctx));
index 25396805c46741117bb372834c06df6d1a765d1f..2ebf1a709bc28bbfa1c7ed04ad8dbc9e864e2007 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gen-unix.h,v 1.10 2000/07/27 09:46:03 tale Exp $ */
+/* $Id: gen-unix.h,v 1.11 2000/08/01 01:22:21 tale Exp $ */
 
 /*
  * This file is responsible for defining two operations that are not
  * directly portable between Unix-like systems and Windows NT, option
  * parsing and directory scanning.  It is here because it was decided
  * that the "gen" build utility was not to depend on libisc.a, so
- * the functions delcared in isc/commandline.h and isc/dir.h could not 
+ * the functions delcared in isc/commandline.h and isc/dir.h could not
  * be used.
  *
  * The commandline stuff is really just a wrapper around getopt().
index 03ac1eb6c36f54e900cbd4dfcd0b2f9f01d04530..70978bab54cc91f7bf3005c753b5c72c15213b4c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -48,7 +48,7 @@
  * SUCH DAMAGE.
  */
 
-/* $Id: gen-win32.h,v 1.5 2000/07/27 09:46:05 tale Exp $ */
+/* $Id: gen-win32.h,v 1.6 2000/08/01 01:22:22 tale Exp $ */
 
 /*
  * Principal Authors: Computer Systems Research Group at UC Berkeley
@@ -66,7 +66,7 @@
  * directly portable between Unix-like systems and Windows NT, option
  * parsing and directory scanning.  It is here because it was decided
  * that the "gen" build utility was not to depend on libisc.a, so
- * the functions delcared in isc/commandline.h and isc/dir.h could not 
+ * the functions delcared in isc/commandline.h and isc/dir.h could not
  * be used.
  *
  * The commandline stuff is pretty much a straight copy from the initial
@@ -247,7 +247,7 @@ start_directory(char *path, isc_dir_t *dir) {
                *p++ = '\\';
        *p++ = '*';
        *p++ = '\0';
+
        dir->first_file = ISC_TRUE;
 
        dir->handle = FindFirstFile(pattern, &dir->find_data);
index 9cfb27a58aa955f6ad7529a19de5a623602ee0fa..d29c925b121efb983541899abb582ab7b9d277a2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gen.c,v 1.53 2000/07/27 09:46:07 tale Exp $ */
+/* $Id: gen.c,v 1.54 2000/08/01 01:22:24 tale Exp $ */
 
 #include <config.h>
 
@@ -226,7 +226,7 @@ doswitch(const char *name, const char *function, const char *args,
                else
                        fprintf(stdout,
                                "\t\tcase %d:%s %s_%s_%s(%s); break;",
-                               tt->rdclass, result, function, 
+                               tt->rdclass, result, function,
                                funname(tt->classname, buf1),
                                funname(tt->typename, buf2), args);
                fputs(" \\\n", stdout);
@@ -235,7 +235,7 @@ doswitch(const char *name, const char *function, const char *args,
        if (subswitch) {
                if (res == NULL)
                        fprintf(stdout, "\t\tdefault: break; \\\n");
-               else 
+               else
                        fprintf(stdout, "\t\tdefault: %s; break; \\\n", res);
                fputs(/*{*/ "\t\t} \\\n", stdout);
                fputs("\t\tbreak; \\\n", stdout);
@@ -270,7 +270,7 @@ dodecl(char *type, char *function, char *args) {
                else
                        fprintf(stdout,
                                "static inline %s %s_%s(%s);\n",
-                               type, function, 
+                               type, function,
                                funname(tt->typename, buf1), args);
 }
 
@@ -380,7 +380,7 @@ add(int rdclass, const char *classname, int type, const char *typename,
        strcpy(newcc->classname, classname);
        cc = classes;
        oldcc = NULL;
-       
+
        while ((cc != NULL) && (cc->rdclass < rdclass)) {
                oldcc = cc;
                cc = cc->next;
@@ -771,7 +771,7 @@ main(int argc, char **argv) {
                        "((dns_rdatatype_t)dns_rdatatype_maila)\n");
                fprintf(stdout, "#define dns_rdatatype_any\t"
                        "((dns_rdatatype_t)dns_rdatatype_any)\n");
-               
+
                fprintf(stdout, "\n#endif /* DNS_ENUMTYPE_H */\n");
 
        } else if (class_enum) {
index 9ccac1506df3a64fdc9012f40b2274a22977397b..e6322f6e5b0dcf605fda4f4c5b70e1d2aafa6776 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.9 2000/07/27 09:47:16 tale Exp $
+# $Id: Makefile.in,v 1.10 2000/08/01 01:23:34 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 5d77dd752c54cb9915139085c4a04aa4046fa8d0..e093170b9ce12b9e7480ea4782569c427eb80c96 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.30 2000/07/27 09:47:17 tale Exp $
+# $Id: Makefile.in,v 1.31 2000/08/01 01:23:35 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -39,7 +39,7 @@ HEADERS =     a6.h acl.h aclconf.h adb.h byaddr.h cache.h callbacks.h \
 
 GENHEADERS =   enumclass.h enumtype.h rdatastruct.h
 
-SUBDIRS =      
+SUBDIRS =
 TARGETS =
 
 @BIND9_MAKE_RULES@
index 247fbd70de769e97b5a6ca7d62f0bc10bd29aa4e..6fda50fb6f339849937cbcbc2ee8df7a0bf112cf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: a6.h,v 1.9 2000/07/27 09:47:18 tale Exp $ */
+/* $Id: a6.h,v 1.10 2000/08/01 01:23:36 tale Exp $ */
 
 #ifndef DNS_A6_H
 #define DNS_A6_H 1
index 87aeffc1761e42b3f134729470204942b043195b..861fd14a3cc0cedc0c1b434464ba0d8b97f05707 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: acl.h,v 1.12 2000/07/27 09:47:19 tale Exp $ */
+/* $Id: acl.h,v 1.13 2000/08/01 01:23:37 tale Exp $ */
 
 #ifndef DNS_ACL_H
 #define DNS_ACL_H 1
@@ -78,7 +78,7 @@ struct dns_acl {
 
 struct dns_aclenv {
        dns_acl_t *localhost;
-       dns_acl_t *localnets;   
+       dns_acl_t *localnets;
 };
 
 #define DNS_ACL_MAGIC          0x4461636c      /* Dacl */
@@ -132,7 +132,7 @@ dns_aclenv_init(isc_mem_t *mctx, dns_aclenv_t *env);
 
 void
 dns_aclenv_copy(dns_aclenv_t *t, dns_aclenv_t *s);
-       
+
 void
 dns_aclenv_destroy(dns_aclenv_t *env);
 
@@ -157,7 +157,7 @@ dns_acl_match(isc_netaddr_t *reqaddr,
  * whose absoluate value indicates the distance from the beginning of
  * the list.
  *
- * If there is a match (either positive or negative) and 'matchelt' is  
+ * If there is a match (either positive or negative) and 'matchelt' is
  * non-NULL, *matchelt will be attached to the primitive
  * (non-indirect) address match list element that matched.
  *
index bfd3e545d8176dc7f3351095dec18e24188e344d..7a50d60cadd78866534d1dadd44c29bdb2a6801c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: aclconf.h,v 1.8 2000/07/27 09:47:20 tale Exp $ */
+/* $Id: aclconf.h,v 1.9 2000/08/01 01:23:38 tale Exp $ */
 
 #ifndef DNS_ACLCONF_H
 #define DNS_ACLCONF_H 1
index 84976f0a8e606d0ec6d580cd31baae4933c50f57..98ba2155cc66e4d1caa67d84503c9ee935a74af3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb.h,v 1.58 2000/07/27 09:47:22 tale Exp $ */
+/* $Id: adb.h,v 1.59 2000/08/01 01:23:39 tale Exp $ */
 
 #ifndef DNS_ADB_H
 #define DNS_ADB_H 1
 
-/***** 
- ***** Module Info 
- *****/ 
+/*****
+ ***** Module Info
+ *****/
 
 /*
  * DNS Address Database
@@ -58,7 +58,7 @@
  *
  * MP:
  *
- *     The ADB takes care of all necessary locking. 
+ *     The ADB takes care of all necessary locking.
  *
  *     Only the task which initiated the name lookup can cancel the lookup.
  *
index c98606452f367c0aa21ab7ec533bd17160605718..ebeaa88c0ac5172e4ec1d991e99a3db22f04a289 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: bit.h,v 1.5 2000/07/27 09:47:23 tale Exp $ */
+/* $Id: bit.h,v 1.6 2000/08/01 01:23:40 tale Exp $ */
 
 #ifndef DNS_BIT_H
 #define DNS_BIT_H 1
index 0d40b22e5560159ccf84eb5e6ed23249ffc11727..7bdb176828e0e48e30b86405216359ed4b8fe651 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: byaddr.h,v 1.9 2000/07/27 09:47:24 tale Exp $ */
+/* $Id: byaddr.h,v 1.10 2000/08/01 01:23:41 tale Exp $ */
 
 #ifndef DNS_BYADDR_H
 #define DNS_BYADDR_H 1
index a3adfdbef29446f05e87826db8d99224e9523ef3..38f407441d30ad45999f8256d7fc8d7992913104 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cache.h,v 1.12 2000/07/27 09:47:25 tale Exp $ */
+/* $Id: cache.h,v 1.13 2000/08/01 01:23:43 tale Exp $ */
 
 #ifndef DNS_CACHE_H
 #define DNS_CACHE_H 1
@@ -27,7 +27,7 @@
 /*
  * cache
  *
- * Defines dns_cache_t, the cache object.  
+ * Defines dns_cache_t, the cache object.
  *
  * Notes:
  *     A cache object contains DNS data of a single class.
@@ -61,13 +61,13 @@ ISC_LANG_BEGINDECLS
  ***   Functions
  ***/
 
-isc_result_t 
+isc_result_t
 dns_cache_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
                 isc_timermgr_t *timermgr, dns_rdataclass_t rdclass,
                 const char *db_type, unsigned int db_argc, char **db_argv,
                 dns_cache_t **cachep);
 /*
- * Create a new DNS cache.  
+ * Create a new DNS cache.
  *
  * Requires:
  *
@@ -133,9 +133,9 @@ dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp);
  *     This may be used to get a reference to the database for
  *     the purpose of cache lookups (XXX currently it is also
  *     the way to add data to the cache, but having a
- *     separate dns_cache_add() interface instead would allow 
+ *     separate dns_cache_add() interface instead would allow
  *     more control over memory usage).
- *     The caller should call dns_db_detach() on the reference 
+ *     The caller should call dns_db_detach() on the reference
  *     when it is no longer needed.
  *
  * Requires:
@@ -172,10 +172,10 @@ dns_cache_load(dns_cache_t *cache);
  * If no file name has been set, do nothing and return success.
  *
  * MT:
- *     Multiple simultaneous attempts to load or dump the cache 
+ *     Multiple simultaneous attempts to load or dump the cache
  *     will be serialized with respect to one another, but
  *     the cache may be read and updated while the dump is
- *     in progress.  Updates performed during loading 
+ *     in progress.  Updates performed during loading
  *     may or may not be preserved, and reads may return
  *     either the old or the newly loaded data.
  *
@@ -193,12 +193,12 @@ dns_cache_dump(dns_cache_t *cache);
  * do nothing and return success.
  *
  * MT:
- *     Multiple simultaneous attempts to load or dump the cache 
+ *     Multiple simultaneous attempts to load or dump the cache
  *     will be serialized with respect to one another, but
  *     the cache may be read and updated while the dump is
  *     in progress.  Updates performed during the dump may
  *     or may not be reflected in the dumped file.
- * 
+ *
  * Returns:
  *
  *     ISC_R_SUCCESS
@@ -217,7 +217,7 @@ void
 dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int interval);
 /*
  * Set the periodic cache cleaning interval to 'interval' seconds.
- */ 
+ */
 
 ISC_LANG_ENDDECLS
 
index fe7509bdfb1a8bf0e58bc0883b878d98bdec7a3c..f8343b69b4cd5e1cab1accd72984ce2b43bf37a9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: callbacks.h,v 1.13 2000/07/27 09:47:26 tale Exp $ */
+/* $Id: callbacks.h,v 1.14 2000/08/01 01:23:44 tale Exp $ */
 
 #ifndef DNS_CALLBACKS_H
 #define DNS_CALLBACKS_H 1
@@ -29,7 +29,7 @@
 #include <dns/types.h>
 
 ISC_LANG_BEGINDECLS
+
 /***
  ***   Types
  ***/
@@ -65,7 +65,7 @@ dns_rdatacallbacks_init(dns_rdatacallbacks_t *callbacks);
  * Initalise 'callbacks'.
  *     'error' and 'warn' are set to default callbacks that print the
  *     error message through the DNS library log context.
- * 
+ *
  *     All other elements are initalised to NULL.
  *
  * Requires:
index 86289a24223284a36f6e865bce79c4d433cb51b8..7731351387bd5eeb628ce34fb7c36cbd94476099 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cert.h,v 1.10 2000/07/27 09:47:27 tale Exp $ */
+/* $Id: cert.h,v 1.11 2000/08/01 01:23:45 tale Exp $ */
 
 #ifndef DNS_CERT_H
 #define DNS_CERT_H 1
index 25c082045b03a85845ca1224cf69db892e101766..a7c131e047524ec7b3ea7e262f1c5cffb459bceb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: compress.h,v 1.17 2000/07/27 09:47:28 tale Exp $ */
+/* $Id: compress.h,v 1.18 2000/08/01 01:23:46 tale Exp $ */
 
 #ifndef DNS_COMPRESS_H
 #define DNS_COMPRESS_H 1
index 26803cb99562c8aed9c5fe2486db4356c5178101..23ee6a5467d65f20ec756946ba5ad1553590c462 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confacl.h,v 1.13 2000/07/27 09:47:29 tale Exp $ */
+/* $Id: confacl.h,v 1.14 2000/08/01 01:23:47 tale Exp $ */
 
 #ifndef DNS_CONFACL_H
 #define DNS_CONFACL_H 1
@@ -35,7 +35,7 @@
 /*
  * MP:
  *     Caller must do necessary locking.
- *      
+ *
  * Reliability:
  *
  *     No known problems.
@@ -51,7 +51,7 @@
  * Standards:
  *
  *     N/A.
- *      
+ *
  */
 
 /***
@@ -84,7 +84,7 @@ struct dns_c_acl {
        isc_uint32_t            magic;
 
        dns_c_acltable_t       *mytable;
-       
+
        char                   *name;
        dns_c_ipmatchlist_t    *ipml;
        isc_boolean_t           is_special;
@@ -94,9 +94,9 @@ struct dns_c_acl {
 
 struct dns_c_acl_table {
        isc_uint32_t            magic;
-       
+
        isc_mem_t              *mem;
-       
+
        ISC_LIST(dns_c_acl_t)   acl_list;
 };
 
@@ -116,11 +116,11 @@ dns_c_acltable_new(isc_mem_t *mem, dns_c_acltable_t **newtable);
  *     mem is a valid memory pool
  *     newtable is a valid non-NULL pointer.
  *     mem remain a valuid memory pool until the table is destroyed.
- *     
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well.
  *     ISC_R_NOMEMORY          -- not enough memory.
- * 
+ *
  */
 
 
@@ -133,10 +133,10 @@ dns_c_acltable_delete(dns_c_acltable_t **table);
  * Requires:
  *     table is a valid pointer.
  *     The memory pool used at creation time still be valid.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS
- * 
+ *
  */
 
 
@@ -149,11 +149,11 @@ dns_c_acltable_getacl(dns_c_acltable_t *table, const char *aclname,
  *
  * Requires:
  *     TABLE be a value ACL table.
- *     
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOTFOUND          -- acl was not found
- * 
+ *
  */
 
 isc_result_t
@@ -164,11 +164,11 @@ dns_c_acltable_removeacl(dns_c_acltable_t *table, const char *aclname);
  * Requires:
  *     table be a valid pointer to an acl table
  *     aclname be a valid pointer to string of positive length.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOTFOUND          -- acl was not in the table.
- * 
+ *
  */
 
 void
@@ -182,7 +182,7 @@ dns_c_acltable_print(FILE *fp, int indent, dns_c_acltable_t *table);
  *     fp be a valid stdio stream
  *     indent be a non-negative number
  *     table be a valid acl table.
- *     
+ *
  */
 
 isc_result_t
@@ -192,17 +192,17 @@ dns_c_acltable_clear(dns_c_acltable_t *table);
  *
  * Requires:
  *     table must point to a valid ACL table.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS
- * 
+ *
  */
 
 isc_result_t
 dns_c_acl_new(dns_c_acltable_t *table, const char *aclname,
              isc_boolean_t isspecial, dns_c_acl_t **newacl);
 /*
- * Creates a new ACL. The acl is placed in the given table. If isspecial is 
+ * Creates a new ACL. The acl is placed in the given table. If isspecial is
  * true then the acl is not printed by dns_c_acl_print. The new acl is
  * returned via the newacl parameter
  *
@@ -210,25 +210,25 @@ dns_c_acl_new(dns_c_acltable_t *table, const char *aclname,
  *     table be a pointer to a valid acl table.
  *     aclname be a pointer to a valid string of positive length
  *     newacl be a valid non-NULL pointer.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOMEMORY          -- out of memory
- * 
+ *
  */
 
 
 void
 dns_c_acl_print(FILE *fp, int indent, dns_c_acl_t *acl);
 /*
- * Prints out the acl to the stdio stream. The outupt is indented by INDENT 
+ * Prints out the acl to the stdio stream. The outupt is indented by INDENT
  * tabs.
  *
  * Requires:
  *     fp be a pointer to a valid stdio stream
  *     indent be non-negative,
  *     acl be a pointer to a valid acl.
- * 
+ *
  */
 
 isc_result_t
@@ -236,21 +236,21 @@ dns_c_acl_setipml(dns_c_acl_t *acl, dns_c_ipmatchlist_t *ipml,
                  isc_boolean_t deepcopy);
 /*
  * Sets the ipmatch list of the ACL to the IPML. If DEEPCOPY is true, then
- * a full copy of IPML is made using the MEM memory pool. In which case the 
- * caller still is the owner the memory IPML points to. If DEEPCOPY is 
- * false, then the acl takes ownership of the memory IPML points to. If the 
+ * a full copy of IPML is made using the MEM memory pool. In which case the
+ * caller still is the owner the memory IPML points to. If DEEPCOPY is
+ * false, then the acl takes ownership of the memory IPML points to. If the
  * acl already has an ipmatch list, then it is deleted before the new one
  * is added.
  *
  * Requires:
  *     mem be a pointer to a valid memory manager
  *     ipml be a valid dns_c_ipmatchlist_t
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOMEMORY          -- memory could not be allocated for the
  *                                deepcopy  .
- * 
+ *
  */
 
 isc_result_t
@@ -267,12 +267,12 @@ dns_c_acl_getipmlexpanded(isc_mem_t *mem, dns_c_acl_t *acl,
  *     mem be a pointer to a valid memory manager
  *     acl be a pointer to a valid acl.
  *     retval be a valid non-NULL pointer.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOMEMORY          -- not enough memory to make copy.
  *     ISC_R_FAILURE           -- an acl reference couldn't be expanded.
- * 
+ *
  */
 
 isc_result_t
index 46d76dee4068ca29661dbf1e12650d2ad8ad5afe..3453b262eca60ca3aa680f11076e8bce023b73bf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confcache.h,v 1.9 2000/07/27 09:47:30 tale Exp $ */
+/* $Id: confcache.h,v 1.10 2000/08/01 01:23:48 tale Exp $ */
 
 #ifndef DNS_CONFCACHE_H
 #define DNS_CONFCACHE_H 1
@@ -33,7 +33,7 @@
  *
  * MP:
  *     Client must do necessary locking.
- *      
+ *
  * Reliability:
  *
  *     No problems.
@@ -45,7 +45,7 @@
  * Security:
  *
  *     N/A
- *      
+ *
  */
 
 /***
@@ -83,11 +83,11 @@ dns_c_cache_new(isc_mem_t *mem, dns_c_cache_t **cfgres);
  * Requires:
  *     mem be a pointer to a valid memory manager.
  *     newres be a valid non-NULL pointer.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOMEMORY          -- out of memory
- * 
+ *
  */
 
 isc_result_t
@@ -98,10 +98,10 @@ dns_c_cache_delete(dns_c_cache_t **cfgres);
  * Requires:
  *     cfgres be a valid non-NULL pointer. The pointer it points to
  *     can be NULL or must be a valid dns_c_cache_t object.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
- * 
+ *
  */
 
 ISC_LANG_ENDDECLS
index ba358f14c7c4ec14e182bd64fcd794c5514650d1..62aa9f7900374ddb4029886b437c5298edb08665 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confcommon.h,v 1.28 2000/07/27 09:47:31 tale Exp $ */
+/* $Id: confcommon.h,v 1.29 2000/08/01 01:23:49 tale Exp $ */
 
 #ifndef DNS_CONFCOMMON_H
 #define DNS_CONFCOMMON_H 1
@@ -73,7 +73,7 @@
 #define DNS_C_STDERR_PATH " <stderr> " /* not really a path */
 
 /*
- * The value we use in config files if the user doesn't specify the port or 
+ * The value we use in config files if the user doesn't specify the port or
  * in some statements.
  */
 #define DNS_C_DEFAULTPORT      53      /* XXX this should be imported */
@@ -94,7 +94,7 @@
 #define DNS_C_UNLIM_VERSIONS   DNS_C_SIZE_SPEC_UNLIM
 
 /*
- * The default ordering given to rrset-order statements when the type given 
+ * The default ordering given to rrset-order statements when the type given
  * is illegal (so parsing can continue).
  */
 #define DNS_DEFAULT_ORDERING   dns_c_ordering_fixed
@@ -145,7 +145,7 @@ typedef enum {
 } dns_c_zonetype_t;
 
 
-/* Possible address-match-element types */ 
+/* Possible address-match-element types */
 typedef enum {
        dns_c_ipmatch_pattern,
        dns_c_ipmatch_indirect,
@@ -205,7 +205,7 @@ typedef struct dns_c_zone_list              dns_c_zonelist_t;
  * Set this variable to a true value to get output by the wrapper
  * functions (if the memory debugging hack is compiled in--it isn't by
  * default
- */ 
+ */
 
 extern isc_boolean_t debug_mem_print;
 extern FILE *debug_mem_print_stream;   /* NULL means stderr */
@@ -216,12 +216,12 @@ extern FILE *debug_mem_print_stream;      /* NULL means stderr */
 
 ISC_LANG_BEGINDECLS
 
-/* The following dns_c_xxx2string() functions convert the first argument into 
+/* The following dns_c_xxx2string() functions convert the first argument into
  * a string value and returns that value. If the first argument is not a
- * legal value, then NULL is returned, unless PRINTABLE is true, in which 
+ * legal value, then NULL is returned, unless PRINTABLE is true, in which
  * case an ugly, but safe-to-pass-to-printf string is returned.
  *
- * e.g. dns_c_ordering2string(dns_c_ordering_cyclic,ISC_FALSE) returns the 
+ * e.g. dns_c_ordering2string(dns_c_ordering_cyclic,ISC_FALSE) returns the
  * string "cyclic", but
  * dns_c_ordering2string((dns_c_ordering_t)0xffff,ISC_TRUE) returns the
  * value "UNKNOWN_ORDERING"
@@ -252,7 +252,7 @@ dns_c_addata2string(dns_c_addata_t addata, isc_boolean_t printable);
 
 /*
  * The following dns_c_string2xxx() functions will look up the string
- * argument in a table of values and will return the appropriate enum/integer 
+ * argument in a table of values and will return the appropriate enum/integer
  * through the second argument and ISC_R_SUCCESS is returned. If the string
  * doesn't match a valid value then ISC_R_FAILURE is returned.
  */
@@ -275,7 +275,7 @@ isc_boolean_t
 dns_c_need_quote(const char *string);
 
 void
-dns_c_printtabs(FILE *fp, int count); 
+dns_c_printtabs(FILE *fp, int count);
 
 void
 dns_c_printinunits(FILE *fp, isc_uint32_t val);
index 61b8e46e4656ef71899d02c5510b59f8319142fb..571defc08a3f523d7cddf5bfa9bfec03f6c95557 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confctl.h,v 1.20 2000/07/27 09:47:32 tale Exp $ */
+/* $Id: confctl.h,v 1.21 2000/08/01 01:23:50 tale Exp $ */
 
 #ifndef DNS_CONFCTL_H
 #define DNS_CONFCTL_H 1
@@ -29,7 +29,7 @@
  */
 
 /*
- * 
+ *
  * MP:
  *
  *     Caller must do necessary locking.
@@ -49,7 +49,7 @@
  * Standards:
  *
  *     N/A.
- *      
+ *
  */
 
 
@@ -96,7 +96,7 @@ struct dns_c_ctrl {
                } unix_v; /* when control_type == dns_c_unix_control  */
        } u;
        dns_c_kidlist_t *keyidlist;
-       
+
        ISC_LINK(dns_c_ctrl_t) next;
 };
 
@@ -146,7 +146,7 @@ dns_c_ctrlunix_new(isc_mem_t *mem, dns_c_ctrl_t **control, const char *path,
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOMEMORY          -- insufficient memory available
- *     
+ *
  */
 
 isc_result_t
index 6253af01cfcf3ddcbdca891de41d2c6dcb01287b..a35b51ba7365cd7ad91d1e8f543c5d1d86d68d57 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confctx.h,v 1.47 2000/07/31 21:07:04 explorer Exp $ */
+/* $Id: confctx.h,v 1.48 2000/08/01 01:23:52 tale Exp $ */
 
 #ifndef DNS_CONFCTX_H
 #define DNS_CONFCTX_H 1
  *****/
 
 /*
- * Defines the structures and accessor/modifier functions for the top level 
+ * Defines the structures and accessor/modifier functions for the top level
  * structures created by the config file parsing routines.
  */
 
 /*
  *
  * MP:
- *     
+ *
  *
  * Reliability:
- *     
+ *
  *
  * Resources:
- *     
+ *
  *
  * Security:
- *     
+ *
  *
  * Standards:
- *     
+ *
  */
 
 /***
@@ -85,7 +85,7 @@ struct dns_c_ctx {
 
        int                     warnings; /* semantic warning count */
        int                     errors; /* semantic error count */
-       
+
        dns_c_options_t        *options;
        dns_c_cache_t          *cache;
        dns_c_resolv_t         *resolver;
@@ -109,7 +109,7 @@ struct dns_c_ctx {
 struct dns_c_options {
        isc_uint32_t            magic;
        isc_mem_t              *mem;
-       
+
        char                   *directory;
        char                   *version;
        char                   *dump_filename;
@@ -122,9 +122,9 @@ struct dns_c_options {
 
        in_port_t              *port;
 
-       isc_uint32_t           *transfers_in; 
+       isc_uint32_t           *transfers_in;
        isc_uint32_t           *transfers_per_ns;
-       isc_uint32_t           *transfers_out; 
+       isc_uint32_t           *transfers_out;
        isc_uint32_t           *max_log_size_ixfr;
        isc_uint32_t           *clean_interval;
        isc_uint32_t           *interface_interval;
@@ -141,7 +141,7 @@ struct dns_c_options {
        isc_uint32_t           *min_roots;
        isc_uint32_t           *serial_queries;
        isc_uint32_t           *sig_valid_interval;
-       
+
        isc_uint32_t           *data_size;
        isc_uint32_t           *stack_size;
        isc_uint32_t           *core_size;
@@ -169,20 +169,20 @@ struct dns_c_options {
        isc_boolean_t          *treat_cr_as_space;
        isc_boolean_t          *additional_from_cache;
        isc_boolean_t          *additional_from_auth;
-       
+
        isc_sockaddr_t         *transfer_source;
        isc_sockaddr_t         *transfer_source_v6;
        isc_sockaddr_t         *query_source;
        isc_sockaddr_t         *query_source_v6;
 
        dns_c_addata_t         *additional_data;
-       
+
        dns_c_forw_t           *forward;
 
        char                   *tkeydhkeycp;
        isc_uint32_t            tkeydhkeyi;
        char                   *tkeydomain;
-       
+
        dns_notifytype_t       *notify;
        dns_c_iplist_t         *also_notify;
 
@@ -200,7 +200,7 @@ struct dns_c_options {
 
        dns_c_lstnlist_t       *listens;
        dns_c_lstnlist_t       *v6listens;
-       
+
        dns_c_rrsolist_t       *ordering;
 
        dns_c_iplist_t         *forwarders;
index ec53e17c8e0c776344a0f857e73a6603f3c636bc..1559b26ec5cd59c51bde450a5ffbde98c86ff55a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confip.h,v 1.26 2000/07/27 09:47:35 tale Exp $ */
+/* $Id: confip.h,v 1.27 2000/08/01 01:23:53 tale Exp $ */
 
 #ifndef DNS_CONFIP_H
 #define DNS_CONFIP_H 1
@@ -91,7 +91,7 @@ typedef struct dns_c_ipmatch_list     dns_c_ipmatchlist_t;
  */
 struct dns_c_iplist {
        isc_uint32_t            magic;
-       
+
        isc_mem_t              *mem;
        int                     refcount;
        isc_sockaddr_t         *ips;
@@ -104,7 +104,7 @@ struct dns_c_iplist {
 
 struct dns_c_ipmatch_direct {
        isc_uint32_t    magic;
-       
+
        isc_sockaddr_t  address;
        isc_uint32_t    mask;
 };
@@ -113,14 +113,14 @@ struct dns_c_ipmatch_direct {
 
 struct dns_c_ipmatch_indirect {
        isc_uint32_t    magic;
-       
+
        isc_textregion_t refname;       /* For acls, mostly. */
        dns_c_ipmatchlist_t *list;
 };
 
 struct dns_c_ipmatch_element {
        isc_uint32_t    magic;
-       
+
        dns_c_ipmatch_type_t type;
        u_int flags;
        union {
@@ -136,7 +136,7 @@ struct dns_c_ipmatch_element {
 
 struct dns_c_ipmatch_list {
        isc_uint32_t    magic;
-       
+
        isc_mem_t *mem;
        int refcount;
 
@@ -182,13 +182,13 @@ isc_result_t dns_c_ipmatchkey_new(isc_mem_t *mem,
                                  const char *key);
 
 isc_result_t dns_c_ipmatchany_new(isc_mem_t *mem,
-                                 dns_c_ipmatchelement_t **result); 
+                                 dns_c_ipmatchelement_t **result);
 
 isc_result_t dns_c_ipmatchlocalhost_new(isc_mem_t *mem,
-                                       dns_c_ipmatchelement_t **result); 
+                                       dns_c_ipmatchelement_t **result);
 
 isc_result_t dns_c_ipmatchlocalnets_new(isc_mem_t *mem,
-                                       dns_c_ipmatchelement_t **result); 
+                                       dns_c_ipmatchelement_t **result);
 
 isc_result_t dns_c_ipmatchpattern_new(isc_mem_t *mem,
                                      dns_c_ipmatchelement_t **result,
@@ -263,7 +263,7 @@ isc_boolean_t dns_c_ipmatchlist_equal(dns_c_ipmatchlist_t *l1,
 typedef isc_boolean_t (*dns_c_ipmlwalker)(dns_c_ipmatchelement_t *element);
 
 /*
- * Recursively decends the list and returns the boolean AND of the return 
+ * Recursively decends the list and returns the boolean AND of the return
  * values of func.
  */
 isc_boolean_t
index d4cf2d238beb5980facae592496114005b19a494..90b826b0f29ceaf36db560c902766180f5b2d668 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confkeys.h,v 1.19 2000/07/27 09:47:36 tale Exp $ */
+/* $Id: confkeys.h,v 1.20 2000/08/01 01:23:54 tale Exp $ */
 
 #ifndef DNS_CONFKEYS_H
 #define DNS_CONFKEYS_H 1
@@ -29,7 +29,7 @@
  */
 
 /*
- * 
+ *
  * MP:
  *
  *     Caller must to all necessary locking.
  *     Memory allocators supplied by caller
  *
  * Security:
- *     
+ *
  *     Not applicable.
  *
  * Standards:
- *     
+ *
  *     Not applicable.
  */
 
@@ -99,7 +99,7 @@ typedef struct dns_c_kid_list         dns_c_kidlist_t;
 struct dns_c_tkey {
        isc_uint32_t            magic;
        isc_mem_t              *mem;
-       
+
        char                   *domain;
        dns_c_pubkey_t         *pubkey;
 
@@ -115,8 +115,8 @@ struct dns_c_tkey_list {
 
        ISC_LIST(dns_c_tkey_t)  tkeylist;
 };
-       
-       
+
+
 /*
  * A public key value.
  */
@@ -234,7 +234,7 @@ isc_result_t dns_c_kidlist_delete(dns_c_kidlist_t **list);
 
 isc_uint32_t dns_c_kidlist_keycount(dns_c_kidlist_t *list);
 
-                          
+
 isc_result_t dns_c_kidlist_undef(dns_c_kidlist_t *list, const char *keyid);
 
 isc_result_t dns_c_kidlist_find(dns_c_kidlist_t *list, const char *keyid,
@@ -257,7 +257,7 @@ isc_result_t dns_c_kdeflist_copy(isc_mem_t *mem, dns_c_kdeflist_t **dest,
 isc_result_t dns_c_kdeflist_append(dns_c_kdeflist_t *list, dns_c_kdef_t *key,
                                   isc_boolean_t copy);
 
-isc_result_t dns_c_kdeflist_undef(dns_c_kdeflist_t *list, const char *keyid); 
+isc_result_t dns_c_kdeflist_undef(dns_c_kdeflist_t *list, const char *keyid);
 
 isc_result_t dns_c_kdeflist_find(dns_c_kdeflist_t *list, const char *keyid,
                                 dns_c_kdef_t **retval);
index d85f779eb03b57f785efb9f92d20b98e09ed578e..b53c4afbf40b84907ff21681498b6f7aee5013f6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: conflog.h,v 1.14 2000/07/27 09:47:37 tale Exp $ */
+/* $Id: conflog.h,v 1.15 2000/08/01 01:23:55 tale Exp $ */
 
 #ifndef DNS_CONFLOG_H
 #define DNS_CONFLOG_H 1
@@ -33,7 +33,7 @@
  * MP:
  *
  *     Caller must do appropriate locking
- *     
+ *
  * Reliability:
  *
  *     No impact.
@@ -41,7 +41,7 @@
  * Resources:
  *
  *     Caller supplies memory allocators
- *     
+ *
  * Security:
  *
  *     No impact.
@@ -49,7 +49,7 @@
  * Standards:
  *
  *     N/A
- *     
+ *
  */
 
 /***
@@ -85,7 +85,7 @@ typedef struct dns_c_logging_list     dns_c_logginglist_t;
 struct dns_c_logging_list {
        isc_uint32_t                    magic;
        isc_mem_t                      *mem;
-       
+
        ISC_LIST(dns_c_logchan_t)       channels;
        ISC_LIST(dns_c_logcat_t)        categories;
 };
@@ -99,7 +99,7 @@ struct dns_c_logchan
 
        char                           *name;
 
-       dns_c_logchantype_t             ctype; 
+       dns_c_logchantype_t             ctype;
        union {
                struct
                {                       /* when ctype == dns_c_logchan_file */
@@ -124,8 +124,8 @@ struct dns_c_logchan
         * Some channels are predefined e.g. default_syslog, in which case
         * this is true.
         */
-       isc_boolean_t                   predefined; 
-       
+       isc_boolean_t                   predefined;
+
        ISC_LINK(dns_c_logchan_t)       next;
        dns_c_setbits_t                 setflags;
 };
@@ -140,12 +140,12 @@ struct dns_c_logcat {
        char                           *catname;
 
        char                          **channel_names;
-       size_t                          cnames_len; /* size, in elements of 
+       size_t                          cnames_len; /* size, in elements of
                                                     channel_names */
        size_t                          nextcname; /* index in
-                                                     channel_names of next 
+                                                     channel_names of next
                                                      free spot. */
-       
+
        isc_boolean_t                   predefined;
 
        ISC_LINK(dns_c_logcat_t)        next;
index 48d9a633480d49c29ae9d67ee6533b4ccc1062c0..f34a58d0c73aef2a7779429bf2408700f39c4bf2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: conflsn.h,v 1.16 2000/07/27 09:47:38 tale Exp $ */
+/* $Id: conflsn.h,v 1.17 2000/08/01 01:23:56 tale Exp $ */
 
 #ifndef DNS_CONFLSN_H
 #define DNS_CONFLSN_H 1
@@ -28,7 +28,7 @@
  * Data structures to hold information related to ``listen-on'' statements
  * in the named.conf file.
  */
+
 /*
  *
  * MP:
@@ -50,7 +50,7 @@
  * Standards:
  *
  *     N/A
- *     
+ *
  */
 
 /***
@@ -81,7 +81,7 @@ typedef struct dns_c_lstn_list                dns_c_lstnlist_t;
 struct dns_c_lstn_on {
        isc_uint32_t                    magic;
        isc_mem_t                      *mem;
-       
+
        in_port_t                       port;
        dns_c_ipmatchlist_t            *iml;
 
@@ -127,7 +127,7 @@ dns_c_lstnlist_delete(dns_c_lstnlist_t **llist);
  * Sets *LLIST to NULL when done.
  *
  * Requires:
- * 
+ *
  * Returns:
  *
  *     ISC_R_SUCCESS on success.
index 9dc7df725756af65c70fc0116fc28c6c81c3a59d..b712a6ef4adee18096fd8226992af1c260fe6013 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confndc.h,v 1.10 2000/07/27 09:47:40 tale Exp $ */
+/* $Id: confndc.h,v 1.11 2000/08/01 01:23:57 tale Exp $ */
 
 #ifndef DNS_CONFNDC_H
 #define DNS_CONFNDC_H 1
@@ -47,7 +47,7 @@ typedef struct dns_c_ndckey           dnc_c_ndckey_t;
 struct  dns_c_ndcctx {
        isc_uint32_t            magic;
        isc_mem_t              *mem;
-       
+
        dns_c_ndcopts_t        *opts;
        dns_c_ndcserverlist_t  *servers;
        dns_c_kdeflist_t       *keys;
@@ -67,7 +67,7 @@ struct dns_c_ndcserverlist {
 
        ISC_LIST(dns_c_ndcserver_t)     list;
 };
-       
+
 struct dns_c_ndcserver {
        isc_uint32_t                    magic;
        isc_mem_t                      *mem;
index 3076e13ef3898e3969c90b2a926dd42f619905c9..e3f8b46cde1d4f39eca8bfce37f4135dee8ef0e1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confparser.h,v 1.11 2000/07/27 09:47:41 tale Exp $ */
+/* $Id: confparser.h,v 1.12 2000/08/01 01:23:58 tale Exp $ */
 
 #ifndef DNS_CONFPARSER_H
 #define DNS_CONFPARSER_H 1
@@ -42,7 +42,7 @@
  *
  * Resources:
  *     Long-term memory allocation done with memory allocator supplied by
- *     caller. 
+ *     caller.
  *
  * Security:
  *     <TBS>
 #include <dns/confctx.h>
 
 /*
- * Typedefs for the callbacks done while parsing. If the callback functions 
+ * Typedefs for the callbacks done while parsing. If the callback functions
  * return anything other than ISC_R_SUCCESS, then the parse routine
  * terminates with an error.
  */
+
 typedef isc_result_t (*dns_c_zonecbk_t)(dns_c_ctx_t *ctx,
                                        dns_c_zone_t *zone,
                                        dns_c_view_t *view,
index 224508ff070b291572b474d4dcc5ac7a7bced681..42dc5a96c9f4ec2e7637bceac4203ea61766a280 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confresolv.h,v 1.9 2000/07/27 09:47:42 tale Exp $ */
+/* $Id: confresolv.h,v 1.10 2000/08/01 01:24:00 tale Exp $ */
 
 #ifndef DNS_CONFRESOLV_H
 #define DNS_CONFRESOLV_H 1
@@ -33,7 +33,7 @@
  *
  * MP:
  *     Client must do necessary locking.
- *      
+ *
  * Reliability:
  *
  *     No problems.
@@ -45,7 +45,7 @@
  * Security:
  *
  *     N/A
- *      
+ *
  */
 
 /***
@@ -81,11 +81,11 @@ dns_c_resolv_new(isc_mem_t *mem, dns_c_resolv_t **cfgres);
  * Requires:
  *     mem be a pointer to a valid memory manager.
  *     newres be a valid non-NULL pointer.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
  *     ISC_R_NOMEMORY          -- out of memory
- * 
+ *
  */
 
 isc_result_t
@@ -96,10 +96,10 @@ dns_c_resolv_delete(dns_c_resolv_t **cfgres);
  * Requires:
  *     cfgres be a valid non-NULL pointer. The pointer it points to
  *     can be NULL or must be a valid dns_c_resolv_t object.
- * 
+ *
  * Returns:
  *     ISC_R_SUCCESS           -- all is well
- * 
+ *
  */
 
 ISC_LANG_ENDDECLS
index 0531a18a244c39e0502de22c79d62b80e4930ce2..a632a75bb5344726f1aafbd864ccedc4dfb85cff 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confrrset.h,v 1.13 2000/07/27 09:47:43 tale Exp $ */
+/* $Id: confrrset.h,v 1.14 2000/08/01 01:24:01 tale Exp $ */
 
 #ifndef DNS_CONFRRSET_H
 #define DNS_CONFRRSET_H 1
  *****/
 
 /*
- * 
+ *
  * MP:
- *     
+ *
  *
  * Reliability:
- *     
+ *
  *
  * Resources:
- *     
+ *
  *
  * Security:
- *     
+ *
  *
  * Standards:
- *     
+ *
  */
 
 /***
@@ -68,9 +68,9 @@ typedef struct dns_c_rrso_list                dns_c_rrsolist_t;
 
 struct dns_c_rrso {
        isc_uint32_t            magic;
-       
+
        isc_mem_t              *mem;
-       
+
        dns_rdataclass_t        oclass;
        dns_rdatatype_t         otype;
        char                   *name;
index 8ee6010755d060c4e85df976d658326e5f5b9484..006900d504f767621ac05cfecfc6a723d05c25aa 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confview.h,v 1.35 2000/07/31 21:07:06 explorer Exp $ */
+/* $Id: confview.h,v 1.36 2000/08/01 01:24:02 tale Exp $ */
 
 #ifndef DNS_CONFVIEW_H
 #define DNS_CONFVIEW_H 1
@@ -25,7 +25,7 @@
  *****/
 
 /*
- * Zones as seen by the config file parser. The data structures here define 
+ * Zones as seen by the config file parser. The data structures here define
  * the zone data as it is in the config file. The data structures here do
  * *not* define the things like red-black trees for named's internal data
  * structures.
@@ -36,7 +36,7 @@
  *
  * MP:
  *      Client must do necessary locking.
- *      
+ *
  * Reliability:
  *
  *      No problems.
@@ -48,7 +48,7 @@
  * Security:
  *
  *      N/A
- *      
+ *
  */
 
 /***
@@ -81,7 +81,7 @@ typedef struct dns_c_viewtable          dns_c_viewtable_t;
 
 struct dns_c_viewtable {
         isc_uint32_t            magic;
-        
+
         isc_mem_t              *mem;
 
         ISC_LIST(dns_c_view_t)  views;
@@ -90,11 +90,11 @@ struct dns_c_viewtable {
 struct dns_c_view {
         isc_uint32_t            magic;
         isc_mem_t              *mem;
-        
+
         char                   *name;
 
         dns_rdataclass_t        viewclass;
-        
+
         dns_c_zonelist_t       *zonelist;
 
         dns_c_forw_t           *forward;
@@ -111,9 +111,9 @@ struct dns_c_view {
         dns_c_ipmatchlist_t    *matchclients;
 
         dns_c_rrsolist_t       *ordering; /* XXX not parsed yet */
-        
+
         dns_severity_t         *check_names[DNS_C_TRANSCOUNT];
-        
+
         /*
          * XXX to implement now.
          */
@@ -150,7 +150,7 @@ struct dns_c_view {
 
         dns_c_tkeylist_t       *trusted_keys;
 
-#if 0   
+#if 0
         /*
          * To implement later.
          */
index 5e8da632bcaecfc6ec707d5a2f7a065787fbeb78..56f3032af9520a97a741b3c4345347125b30e3f1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confzone.h,v 1.38 2000/07/27 09:47:45 tale Exp $ */
+/* $Id: confzone.h,v 1.39 2000/08/01 01:24:03 tale Exp $ */
 
 #ifndef DNS_CONFZONE_H
 #define DNS_CONFZONE_H 1
@@ -25,7 +25,7 @@
  *****/
 
 /*
- * Zones as seen by the config file parser. The data structures here define 
+ * Zones as seen by the config file parser. The data structures here define
  * the zone data as it is in the config file. The data structures here do
  * *not* define the things like red-black trees for named's internal data
  * structures.
@@ -36,7 +36,7 @@
  *
  * MP:
  *     Client must do necessary locking.
- *     
+ *
  * Reliability:
  *
  *     No problems.
@@ -48,7 +48,7 @@
  * Security:
  *
  *     N/A
- *     
+ *
  */
 
 /***
@@ -162,8 +162,8 @@ struct dns_c_stub_zone {
        dns_c_pklist_t         *pubkeylist;
        in_port_t               master_port;
        dns_c_iplist_t         *master_ips;
-       isc_sockaddr_t          transfer_source; 
-       isc_sockaddr_t          transfer_source_v6; 
+       isc_sockaddr_t          transfer_source;
+       isc_sockaddr_t          transfer_source_v6;
        isc_uint32_t            max_trans_time_in;
        isc_uint32_t            max_trans_idle_in;
 
@@ -191,19 +191,19 @@ struct dns_c_hint_zone {
 
 struct dns_c_zone {
        isc_int32_t                     magic;
-       
+
        isc_mem_t                      *mem;
        isc_uint8_t                     refcount;
-       
+
        char                           *name; /* e.g. "foo.com" */
        char                           *internalname; /* e.g. "foo.com.ext" */
        char                           *database;
-       dns_rdataclass_t                zclass; 
+       dns_rdataclass_t                zclass;
        dns_c_view_t                   *view;
        isc_boolean_t                  *enabled;
-       
+
        dns_c_zonetype_t                ztype;
-       union 
+       union
        {
                dns_c_masterzone_t      mzone;
                dns_c_slavezone_t       szone;
index 83fcc5c36ec8932f91e7152f9efa65247f76afa6..ec46793e42ac40de163e2650a617c64fc32056c7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: db.h,v 1.52 2000/07/27 09:47:46 tale Exp $ */
+/* $Id: db.h,v 1.53 2000/08/01 01:24:04 tale Exp $ */
 
 #ifndef DNS_DB_H
 #define DNS_DB_H 1
@@ -75,7 +75,7 @@ typedef struct dns_dbmethods {
        isc_result_t    (*beginload)(dns_db_t *db, dns_addrdatasetfunc_t *addp,
                                     dns_dbload_t **dbloadp);
        isc_result_t    (*endload)(dns_db_t *db, dns_dbload_t **dbloadp);
-       isc_result_t    (*dump)(dns_db_t *db, dns_dbversion_t *version, 
+       isc_result_t    (*dump)(dns_db_t *db, dns_dbversion_t *version,
                                const char *filename);
        void            (*currentversion)(dns_db_t *db,
                                          dns_dbversion_t **versionp);
@@ -498,7 +498,7 @@ dns_db_newversion(dns_db_t *db, dns_dbversion_t **versionp);
  * Ensures:
  *
  *     On success, '*versionp' is attached to the current version.
- * 
+ *
  * Returns:
  *
  *     ISC_R_SUCCESS
@@ -943,7 +943,7 @@ dns_db_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
  *
  *     ISC_R_SUCCESS
  *     ISC_R_NOTFOUND
- *     
+ *
  *     Other results are possible, depending upon the database
  *     implementation used.
  */
@@ -981,7 +981,7 @@ dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
  *
  *     ISC_R_SUCCESS
  *     ISC_R_NOTFOUND
- *     
+ *
  *     Other results are possible, depending upon the database
  *     implementation used.
  */
@@ -1036,7 +1036,7 @@ dns_db_addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
  *     ISC_R_SUCCESS
  *     DNS_R_UNCHANGED                 The operation did not change anything.
  *     ISC_R_NOMEMORY
- *     
+ *
  *     Other results are possible, depending upon the database
  *     implementation used.
  */
@@ -1052,7 +1052,7 @@ dns_db_subtractrdataset(dns_db_t *db, dns_dbnode_t *node,
  * Notes:
  *
  *     If 'newrdataset' is not NULL, then it will be attached to the
- *     resulting new rdataset in the database, unless the rdataset has 
+ *     resulting new rdataset in the database, unless the rdataset has
  *     become nonexistent.
  *
  * Requires:
@@ -1075,7 +1075,7 @@ dns_db_subtractrdataset(dns_db_t *db, dns_dbnode_t *node,
  *     DNS_R_UNCHANGED                 The operation did not change anything.
  *     DNS_R_NXRRSET                   All rdata of the same type as those
  *                                     in 'rdataset' have been deleted.
- *     
+ *
  *     Other results are possible, depending upon the database
  *     implementation used.
  */
@@ -1114,7 +1114,7 @@ dns_db_deleterdataset(dns_db_t *db, dns_dbnode_t *node,
  *     ISC_R_SUCCESS
  *     DNS_R_UNCHANGED                 No rdatasets of 'type' existed before
  *                                     the operation was attempted.
- *     
+ *
  *     Other results are possible, depending upon the database
  *     implementation used.
  */
index edcf040c4a3cb2ca3dee936f284daad5b4e5bf35..4bccb653c8f75ad250f2cbcdc1aa8efc092bdd1a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dbiterator.h,v 1.13 2000/07/27 09:47:48 tale Exp $ */
+/* $Id: dbiterator.h,v 1.14 2000/08/01 01:24:05 tale Exp $ */
 
 #ifndef DNS_DBITERATOR_H
 #define DNS_DBITERATOR_H 1
@@ -42,7 +42,7 @@
  * MP:
  *     The iterator itself is not locked.  The caller must ensure
  *     synchronization.
- *     
+ *
  *     The iterator methods ensure appropriate database locking.
  *
  * Reliability:
index e81f7ce6a5538f5917cb6af1d74e084c04218d69..6af2724e11cb998592fa4d951710530ba4b9b3c9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dbtable.h,v 1.14 2000/07/27 09:47:49 tale Exp $ */
+/* $Id: dbtable.h,v 1.15 2000/08/01 01:24:07 tale Exp $ */
 
 #ifndef DNS_DBTABLE_H
 #define DNS_DBTABLE_H 1
index 2e5df6ccb386c5979962df1e725c3bc47bcd858d..3068b1a5638565f69fd78ac4e498f8fc64f3ef34 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch.h,v 1.34 2000/07/27 09:47:50 tale Exp $ */
+/* $Id: dispatch.h,v 1.35 2000/08/01 01:24:08 tale Exp $ */
 
 #ifndef DNS_DISPATCH_H
 #define DNS_DISPATCH_H 1
@@ -278,7 +278,7 @@ dns_dispatch_detach(dns_dispatch_t **dispp);
  *     < mumble >
  */
 
-void    
+void
 dns_dispatch_starttcp(dns_dispatch_t *disp);
 /*
  * Start processing of a TCP dispatch once the socket connects.
index ecef66bc596206d8d3777bc87d65a2d0b4f2a421..2df7bf9f8ed460658bf232c23c455bb0b25be64f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec.h,v 1.17 2000/07/27 09:47:51 tale Exp $ */
+/* $Id: dnssec.h,v 1.18 2000/08/01 01:24:09 tale Exp $ */
 
 #ifndef DNS_DNSSEC_H
 #define DNS_DNSSEC_H 1
index 2e6c9330e05bbfe62c647615d29e79c3bab5cebd..ee9cc3cd7ac663df27c1d500afcd2eaef441ec1a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: events.h,v 1.27 2000/07/27 09:47:52 tale Exp $ */
+/* $Id: events.h,v 1.28 2000/08/01 01:24:10 tale Exp $ */
 
 #ifndef DNS_EVENTS_H
 #define DNS_EVENTS_H 1
index 7c852dbd6dc61981faad7d1693d6ed3253dff62b..4b9e0ae921da1c1df3c91ae94dadf40de025d88f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: fixedname.h,v 1.9 2000/07/27 09:47:53 tale Exp $ */
+/* $Id: fixedname.h,v 1.10 2000/08/01 01:24:11 tale Exp $ */
 
 #ifndef DNS_FIXEDNAME_H
 #define DNS_FIXEDNAME_H 1
index e903377e308dc24800d052547770215d808d71b0..973c734c734d6028d519158af207042f825ecf65 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.h,v 1.18 2000/07/27 09:47:54 tale Exp $ */
+/* $Id: journal.h,v 1.19 2000/08/01 01:24:12 tale Exp $ */
 
 #ifndef DNS_JOURNAL_H
 #define DNS_JOURNAL_H 1
  * A dns_difftuple_t represents a single RR being added or deleted.
  * The RR type and class are in the 'rdata' member; the class is always
  * the real one, not a DynDNS meta-class, so that the rdatas can be
- * compared using dns_rdata_compare().  The TTL is significant 
+ * compared using dns_rdata_compare().  The TTL is significant
  * even for deletions, because a deletion/addition pair cannot
  * be canceled out if the TTL differs (it might be an explicit
  * TTL update).
  *
  * Tuples are also used to represent complete RRs with owner
- * names for a couple of other purposes, such as the 
+ * names for a couple of other purposes, such as the
  * individual RRs of a "RRset exists (value dependent)"
  * prerequisite set.  In this case, op==DNS_DIFFOP_EXISTS,
  * and the TTL is ignored.
@@ -73,7 +73,7 @@ typedef struct dns_difftuple dns_difftuple_t;
 struct dns_difftuple {
         unsigned int                   magic;
        isc_mem_t                       *mctx;
-       dns_diffop_t                    op;        
+       dns_diffop_t                    op;
        dns_name_t                      name;
        dns_ttl_t                       ttl;
        dns_rdata_t                     rdata;
@@ -83,7 +83,7 @@ struct dns_difftuple {
 
 /*
  * A dns_diff_t represents a set of changes being applied to
- * a zone.  Diffs are also used to represent "RRset exists 
+ * a zone.  Diffs are also used to represent "RRset exists
  * (value dependent)" prerequisites.
  */
 typedef struct dns_diff dns_diff_t;
@@ -158,7 +158,7 @@ dns_difftuple_copy(dns_difftuple_t *orig, dns_difftuple_t **copyp);
  * Copy a tuple.
  *
  * Requires:
- *     'orig' points to a valid tuple 
+ *     'orig' points to a valid tuple
  *     copyp != NULL && *copyp == NULL
  */
 
@@ -173,7 +173,7 @@ dns_diff_init(isc_mem_t *mctx, dns_diff_t *diff);
  *
  * Ensures:
  *    '*diff' is a valid, empty diff.
- */ 
+ */
 
 void
 dns_diff_clear(dns_diff_t *diff);
@@ -230,7 +230,7 @@ dns_diff_sort(dns_diff_t *diff, dns_diff_compare_func *compare);
  * Sort 'diff' in-place according to the comparison function 'compare'.
  */
 
-isc_result_t 
+isc_result_t
 dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver);
 /*
  * Apply 'diff' to the database 'db'.
@@ -241,12 +241,12 @@ dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver);
  *
  * Requires:
  *     *diff is a valid diff (possibly empty), containing
- *     tuples of type DNS_DIFFOP_ADD and/or 
+ *     tuples of type DNS_DIFFOP_ADD and/or
  *     For DNS_DIFFOP_DEL tuples, the TTL is ignored.
  *
  */
 
-isc_result_t 
+isc_result_t
 dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc,
              void *add_private);
 /*
@@ -257,7 +257,7 @@ dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc,
  * Requires:
  *     'addfunc' is a valid dns_addradatasetfunc_t obtained from
  *     dns_db_beginload()
- * 
+ *
  *     'add_private' points to a corresponding dns_dbload_t *
  *      (XXX why is it a void pointer, then?)
  */
@@ -265,7 +265,7 @@ dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc,
 isc_result_t
 dns_diff_print(dns_diff_t *diff, FILE *file);
 
-/* 
+/*
  * Print the differences to 'file' or if 'file' is NULL via the
  * logging system.
  *
@@ -279,9 +279,9 @@ dns_diff_print(dns_diff_t *diff, FILE *file);
  *     ISC_R_UNEXPECTED
  *     any error from dns_rdataset_totext()
  */
-       
+
 /**************************************************************************/
-/* 
+/*
  * Misc. utilities
  * XXX these belong in a general-purpose DNS library
  */
@@ -290,7 +290,7 @@ isc_uint32_t
 dns_soa_getserial(dns_rdata_t *rdata);
 /*
  * Extract the serial number from the rdata of a SOA record.
- *  
+ *
  * Requires:
  *     rdata refers to the rdata of a well-formed SOA record.
  */
@@ -316,7 +316,7 @@ dns_db_createsoatuple(dns_db_t *db, dns_dbversion_t *ver, isc_mem_t *mctx,
 #define DNS_SERIAL_GT(a, b) ((int)(((a) - (b)) & 0xFFFFFFFF) > 0)
 #define DNS_SERIAL_GE(a, b) ((int)(((a) - (b)) & 0xFFFFFFFF) >= 0)
 /*
- * Compare SOA serial numbers.  DNS_SERIAL_GT(a, b) returns true iff 
+ * Compare SOA serial numbers.  DNS_SERIAL_GT(a, b) returns true iff
  * a is "greater than" b where "greater than" is as defined in RFC1982.
  * DNS_SERIAL_GE(a, b) returns true iff a is "greater than or equal to" b.
  */
@@ -332,10 +332,10 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
 /*
  * Open the journal file 'filename' and create a dns_journal_t object for it.
  *
- * If 'write' is ISC_TRUE, the journal is open for writing.  If it does 
+ * If 'write' is ISC_TRUE, the journal is open for writing.  If it does
  * not exist, it is created.
  *
- * If 'write' is ISC_FALSE, the journal is open for reading.  If it does 
+ * If 'write' is ISC_FALSE, the journal is open for reading.  If it does
  * not exist, ISC_R_NOTFOUND is returned.
  */
 
@@ -367,7 +367,7 @@ dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff);
  * Requires:
  *      'j' is open for writing and dns_journal_begin_transaction()
  *     has been called.
- * 
+ *
  *     'diff' is a full or partial, correctly ordered IXFR
  *      difference sequence.
  */
@@ -423,7 +423,7 @@ dns_journal_iter_init(dns_journal_t *j,
  * from SOA serial number 'begin_serial' to 'end_serial'.
  *
  * Returns:
- *     ISC_R_SUCCESS   
+ *     ISC_R_SUCCESS
  *     ISC_R_RANGE     begin_serial is outside the addressable range.
  *     ISC_R_NOTFOUND  begin_serial is within the range of adressable
  *                     serial numbers covered by the journal, but
@@ -494,7 +494,7 @@ dns_db_diff(isc_mem_t *mctx,
  * the order).  This journal entry will consist of a single,
  * possibly very large transaction.  Append the journal
  * entry to the journal file specified by 'journal_filename'.
- */ 
+ */
 
 
 ISC_LANG_ENDDECLS
index 02831f5ab98803cf164aced84a67713107e5d8ed..bcec393ae7e7592ca1be5b51c83f9d78e23853b7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keyflags.h,v 1.7 2000/07/27 09:47:55 tale Exp $ */
+/* $Id: keyflags.h,v 1.8 2000/08/01 01:24:13 tale Exp $ */
 
 #ifndef DNS_KEYFLAGS_H
 #define DNS_KEYFLAGS_H 1
@@ -32,7 +32,7 @@ dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source);
  * Convert the text 'source' refers to into a DNSSEC KEY flags value.
  * The text may contain either a set of flag mnemonics separated by
  * vertical bars or a decimal flags value.  For compatibility with
- * older versions of BIND and the DNSSEC signer, octal values 
+ * older versions of BIND and the DNSSEC signer, octal values
  * prefixed with a zero and hexadecimal values prefixed with "0x"
  * are also accepted.
  *
index c86e0fd45f82a55ffaf38a86977e520a11e17281..894814f11fffa95a07cb87f854cdf39c956fcaf4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keytable.h,v 1.8 2000/07/27 09:47:56 tale Exp $ */
+/* $Id: keytable.h,v 1.9 2000/08/01 01:24:14 tale Exp $ */
 
 #ifndef DNS_KEYTABLE_H
 #define DNS_KEYTABLE_H 1
@@ -155,7 +155,7 @@ dns_keytable_findkeynode(dns_keytable_t *keytable, dns_name_t *name,
  *     Any other result indicates an error.
  */
 
-isc_result_t 
+isc_result_t
 dns_keytable_findnextkeynode(dns_keytable_t *keytable, dns_keynode_t *keynode,
                                             dns_keynode_t **nextnodep);
 /*
index 3e8e3a31efe6684012c31ba1fb7f83d1efa2fc37..738ce886c7b82580600b6cfba0803a4223ec31a8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keyvalues.h,v 1.8 2000/07/27 09:47:58 tale Exp $ */
+/* $Id: keyvalues.h,v 1.9 2000/08/01 01:24:15 tale Exp $ */
 
 #ifndef DNS_KEYVALUES_H
 #define DNS_KEYVALUES_H 1
index a13af1b604a75bc1cb27666ef33ebf11dc621f8b..3784c098ddfd968ac04ca396a53ff460202de29a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.h,v 1.4 2000/07/27 09:47:59 tale Exp $ */
+/* $Id: lib.h,v 1.5 2000/08/01 01:24:16 tale Exp $ */
 
 #ifndef DNS_LIB_H
 #define DNS_LIB_H 1
index bc5cc7d58d42aaa069e7667a65181b4c847118bd..01987968d4adc2b61febbb07505aa9afca8d3e98 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.h,v 1.22 2000/07/27 09:48:00 tale Exp $ */
+/* $Id: log.h,v 1.23 2000/08/01 01:24:17 tale Exp $ */
 
 /* Principal Authors: DCL */
 
index 6c5678df43ee3a968cb9145b910e8feb0fd2c666..59b241f4c184722356cfeb051bd9a0567cc923cf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: master.h,v 1.21 2000/07/27 09:48:01 tale Exp $ */
+/* $Id: master.h,v 1.22 2000/08/01 01:24:19 tale Exp $ */
 
 #ifndef DNS_MASTER_H
 #define DNS_MASTER_H 1
@@ -72,7 +72,7 @@ dns_master_loadbuffer(isc_buffer_t *buffer,
  *
  * If 'age_ttl' is ISC_TRUE and the master file contains one or more
  * $DATE directives, the TTLs of the data will be aged accordingly.
- * 
+ *
  * 'callbacks->commit' is assumed to call 'callbacks->error' or
  * 'callbacks->warn' to generate any error messages required.
  *
index 97a5853d741bfc06c1394e57563568e6202f0693..5fb740a19711ac7a234b0f073a0dd5dbfb74d5a2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: masterdump.h,v 1.11 2000/07/27 09:48:02 tale Exp $ */
+/* $Id: masterdump.h,v 1.12 2000/08/01 01:24:20 tale Exp $ */
 
 #ifndef DNS_MASTERDUMP_H
 #define DNS_MASTERDUMP_H 1
@@ -37,7 +37,7 @@
 /*
  * Style options for masterfile dumps.  This struct is currently
  * opaque, so applications cannot define their own style but have
- * to choose a predefined style.  A more flexible interface may 
+ * to choose a predefined style.  A more flexible interface may
  * be exported in the future.
  */
 
@@ -50,7 +50,7 @@ ISC_LANG_BEGINDECLS
  ***/
 
 /*
- * The default masterfile style.  
+ * The default masterfile style.
  */
 extern const dns_master_style_t dns_master_style_default;
 
@@ -64,14 +64,14 @@ dns_master_dumptostream(isc_mem_t *mctx, dns_db_t *db,
                        dns_dbversion_t *version,
                        const dns_master_style_t *style, FILE *f);
 /*
- * Dump the database 'db' to the steam 'f' in RFC1035 master 
+ * Dump the database 'db' to the steam 'f' in RFC1035 master
  * file format, in the style defined by 'style'
  * (e.g., &dns_default_master_style_default)
  *
  * Temporary dynamic memory may be allocated from 'mctx'.
  *
  * Returns:
- *     ISC_R_SUCCESS 
+ *     ISC_R_SUCCESS
  *     ISC_R_NOMEMORY
  *     Any database or rrset iterator error.
  *     Any dns_rdata_totext() error code.
@@ -82,14 +82,14 @@ dns_master_dump(isc_mem_t *mctx, dns_db_t *db,
                dns_dbversion_t *version,
                const dns_master_style_t *style, const char *filename);
 /*
- * Dump the database 'db' to the file 'filename' in RFC1035 master 
+ * Dump the database 'db' to the file 'filename' in RFC1035 master
  * file format, in the style defined by 'style'
  * (e.g., &dns_default_master_style_default)
  *
  * Temporary dynamic memory may be allocated from 'mctx'.
  *
  * Returns:
- *     ISC_R_SUCCESS 
+ *     ISC_R_SUCCESS
  *     ISC_R_NOMEMORY
  *     Any database or rrset iterator error.
  *     Any dns_rdata_totext() error code.
index 6faf0302f8c6d434216261566976be604c4e4ba3..9984a92655736dbdee6a70046792b25561318426 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: message.h,v 1.74 2000/07/27 09:48:03 tale Exp $ */
+/* $Id: message.h,v 1.75 2000/08/01 01:24:21 tale Exp $ */
 
 #ifndef DNS_MESSAGE_H
 #define DNS_MESSAGE_H 1
@@ -221,7 +221,7 @@ ISC_LANG_BEGINDECLS
 
 isc_result_t
 dns_message_create(isc_mem_t *mctx, unsigned int intent, dns_message_t **msgp);
-                  
+
 /*
  * Create msg structure.
  *
@@ -289,7 +289,7 @@ dns_message_pseudosectiontotext(dns_message_t *msg,
                                dns_messagetextflag_t flags,
                                isc_buffer_t *target);
 /*
- * Convert section 'section' or 'pseudosection' of message 'msg' to 
+ * Convert section 'section' or 'pseudosection' of message 'msg' to
  * a cleartext representation
  *
  * Notes:
@@ -317,7 +317,7 @@ dns_message_pseudosectiontotext(dns_message_t *msg,
  *     ISC_R_NOSPACE
  *     ISC_R_NOMORE
  *
- *     Note: On error return, *target may be partially filled with data. 
+ *     Note: On error return, *target may be partially filled with data.
 */
 
 isc_result_t
@@ -373,8 +373,8 @@ dns_message_parse(dns_message_t *msg, isc_buffer_t *source,
  * and the order of the RRs in the message is preserved.
  * Otherwise, only one dns_name_t object will be created for each unique
  * owner name in the section, and each such dns_name_t will have a list
- * of rdatasets.  To access the names and their data, use 
- * dns_message_firstname() and dns_message_nextname(). 
+ * of rdatasets.  To access the names and their data, use
+ * dns_message_firstname() and dns_message_nextname().
  *
  * OPT and TSIG records are always handled specially, regardless of the
  * 'preserve_order' setting.
@@ -542,7 +542,7 @@ dns_message_renderend(dns_message_t *msg);
  * Returns:
  *     ISC_R_SUCCESS           -- all is well.
  */
-                     
+
 void
 dns_message_renderreset(dns_message_t *msg);
 /*
@@ -564,7 +564,7 @@ dns_message_firstname(dns_message_t *msg, dns_section_t section);
  * Set internal per-section name pointer to the beginning of the section.
  *
  * The functions dns_message_firstname() and dns_message_nextname() may
- * be used for iterating over the owner names in a section. 
+ * be used for iterating over the owner names in a section.
  *
  * Requires:
  *
@@ -877,7 +877,7 @@ dns_message_reply(dns_message_t *msg, isc_boolean_t want_question_section);
  * Requires:
  *
  *     'msg' is a valid message with parsing intent, and contains a query.
- * 
+ *
  * Ensures:
  *
  *     The message will have a rendering intent.  If 'want_question_section'
index 9f1336842bf63ac17266a5968416c968ce21d2d0..2d22d5f48df9d8d26a5da2e416d1cdab15d0792b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: name.h,v 1.77 2000/07/31 23:09:47 tale Exp $ */
+/* $Id: name.h,v 1.78 2000/08/01 01:24:22 tale Exp $ */
 
 #ifndef DNS_NAME_H
 #define DNS_NAME_H 1
@@ -250,7 +250,7 @@ dns_name_reset(dns_name_t *name);
  *
  *     + If any buffer is associated with 'name' (via dns_name_setbuffer()
  *       or by being part of a dns_fixedname_t) the link to the buffer
- *       is retained but the buffer itself is cleared.  
+ *       is retained but the buffer itself is cleared.
  *
  *     + Of the attributes associated with 'name', all are retained except
  *       DNS_NAMEATTR_ABSOLUTE.
@@ -603,7 +603,7 @@ dns_name_depth(const dns_name_t *name);
 /***
  *** Labels
  ***/
-       
+
 unsigned int
 dns_name_countlabels(const dns_name_t *name);
 /*
@@ -676,7 +676,7 @@ dns_name_clone(dns_name_t *source, dns_name_t *target);
  *
  *     This call is functionally equivalent to:
  *
- *             dns_name_getlabelsequence(source, 0, 
+ *             dns_name_getlabelsequence(source, 0,
  *                                       dns_label_countlabels(source),
  *                                       target);
  *
@@ -786,7 +786,7 @@ dns_name_towire(dns_name_t *name, dns_compress_t *cctx, isc_buffer_t *target);
 /*
  * Convert 'name' into wire format, compressing it as specified by the
  * compression context 'cctx', and storing the result in 'target'.
- *     
+ *
  * Notes:
  *     If the compression context allows global compression, then the
  *     global compression table may be updated.
@@ -872,7 +872,7 @@ dns_name_totext(dns_name_t *name, isc_boolean_t omit_final_dot,
                isc_buffer_t *target);
 /*
  * Convert 'name' into text format, storing the result in 'target'.
- *     
+ *
  * Notes:
  *     If 'omit_final_dot' is true, then the final '.' in absolute
  *     names other than the root name will be omitted.
@@ -1070,9 +1070,9 @@ dns_name_dup(dns_name_t *source, isc_mem_t *mctx, dns_name_t *target);
  * Requires:
  *
  *     'source' is a valid non-empty name.
- *     
+ *
  *     'target' is a valid name that is not read-only.
- *     
+ *
  *     'mctx' is a valid memory context.
  */
 
@@ -1086,11 +1086,11 @@ dns_name_dupwithoffsets(dns_name_t *source, isc_mem_t *mctx,
  * Requires:
  *
  *     'source' is a valid non-empty name.
- *     
+ *
  *     'target' is a valid name that is not read-only.
  *
  *     'target' has no offsets table.
- *     
+ *
  *     'mctx' is a valid memory context.
  */
 
@@ -1135,7 +1135,7 @@ dns_name_digest(dns_name_t *name, dns_digestfunc_t digest, void *arg);
  *     ISC_R_SUCCESS
  *
  *     Many other results are possible if not successful.
- *     
+ *
  */
 
 isc_boolean_t
@@ -1179,7 +1179,7 @@ dns_name_format(dns_name_t *name, char *cp, unsigned int size);
  * 'size' bytes.  The resulting string is guaranteed to be
  * null terminated.
  *
- * The formatted name will have a terminating dot only if it is 
+ * The formatted name will have a terminating dot only if it is
  * the root.
  *
  * This function cannot fail, instead any errors are indicated
index a4d91553425ff2dbe5133a37f3a3d653d595f9b7..7bce93b11507efbe19168f76d8156ce714a6c472 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: namedconf.h,v 1.7 2000/07/27 09:48:05 tale Exp $ */
+/* $Id: namedconf.h,v 1.8 2000/08/01 01:24:23 tale Exp $ */
 
 #ifndef DNS_NAMEDCONF_H
 #define DNS_NAMEDCONF_H 1
index ac7d291c2b0c0c06fdfd5bf5d7c6761890f454f7..0a8cc5503aa3df1a6c288d509fcf069a763087d6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ncache.h,v 1.10 2000/07/27 09:48:07 tale Exp $ */
+/* $Id: ncache.h,v 1.11 2000/08/01 01:24:24 tale Exp $ */
 
 #ifndef DNS_NCACHE_H
 #define DNS_NCACHE_H 1
index 067c3b6b14fb276c489c650ec6cd0ff122747619..43647cfaf6167c7045a64ccd3f05ef7b205534c6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nxt.h,v 1.9 2000/07/27 09:48:08 tale Exp $ */
+/* $Id: nxt.h,v 1.10 2000/08/01 01:24:25 tale Exp $ */
 
 #ifndef DNS_NXT_H
 #define DNS_NXT_H 1
index 4da40f7a0743f643cc7a87aa1a7fc5ad7f1e8586..ced0e98480349a69412043608b2a0b51c49c26d6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: peer.h,v 1.11 2000/07/27 09:48:09 tale Exp $ */
+/* $Id: peer.h,v 1.12 2000/08/01 01:24:26 tale Exp $ */
 
 #ifndef DNS_PEER_H
 #define DNS_PEER_H 1
@@ -51,7 +51,7 @@
 struct dns_peerlist {
        isc_uint32_t            magic;
        isc_uint32_t            refs;
-       
+
        isc_mem_t              *mem;
 
        ISC_LIST(dns_peer_t) elements;
@@ -73,7 +73,7 @@ struct dns_peer {
        dns_name_t             *key;
 
        isc_uint32_t            bitflags;
-       
+
        ISC_LINK(dns_peer_t)    next;
 };
 
index a2f46042e2a0eb54181a6290fbfdc3e449564683..c7eec5f038d56cba3843dca82eaaac17c3d1080e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbt.h,v 1.45 2000/07/31 23:27:25 tale Exp $ */
+/* $Id: rbt.h,v 1.46 2000/08/01 01:24:28 tale Exp $ */
 
 #ifndef DNS_RBT_H
 #define DNS_RBT_H 1
@@ -211,7 +211,7 @@ dns_rbt_create(isc_mem_t *mctx, void (*deleter)(void *, void *),
  *     responsible for cleaning up any memory associated with the data
  *     pointer of a node when the node is deleted.  It is passed the
  *     deleted node's data pointer as its first argument and deleter_arg
- *     as its second argument.  
+ *     as its second argument.
  *
  * Requires:
  *     mctx is a pointer to a valid memory context.
@@ -361,7 +361,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
  *
  *     If the chain parameter is non-NULL, then the path through the tree
  *     to the DNSSEC predecessor of the searched for name is maintained,
- *     unless the DNS_RBTFIND_NOPREDECESSOR or DNS_RBTFIND_NOEXACT option 
+ *     unless the DNS_RBTFIND_NOPREDECESSOR or DNS_RBTFIND_NOEXACT option
  *     is used. (For more details on those options, see below.)
  *
  *     If there is no predecessor, then the chain will point to nowhere, as
@@ -408,7 +408,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
  *     will not point to the DNSSEC predecessor, but will instead point
  *     to the exact match, if there was any.  Thus the preceding paragraphs
  *     should have "exact match" substituted for "predecessor" to describe
- *     how the various elements of the chain are set.  This was done to 
+ *     how the various elements of the chain are set.  This was done to
  *     ensure that the chain's state was sane, and to prevent problems that
  *     occurred when running the predecessor location code under conditions
  *     it was not designed for.  It is not clear *where* the chain should
@@ -592,7 +592,7 @@ dns_rbt_printall(dns_rbt_t *rbt);
  *
  * Notes:
  *     The name stored at each node, along with the node's color, is printed.
- *     Then the down pointer, left and right pointers are displayed 
+ *     Then the down pointer, left and right pointers are displayed
  *     recursively in turn.  NULL down pointers are silently omitted;
  *     NULL left and right pointers are printed.
  */
@@ -677,7 +677,7 @@ dns_rbtnodechain_current(dns_rbtnodechain_t *chain, dns_name_t *name,
  *     'origin', if non-NULL, is the sequence of labels in the levels
  *     above the terminal level, such as "isc.org." in the above example.
  *     'origin' is always "." for the root node.
- *     
+ *
  *
  * Returns:
  *     ISC_R_SUCCESS           name, origin & node were successfully set.
index 6e8ad1077f88c2fc18da23db4c7d3056105567cd..b0a301d2c3241d2c2f3fa2b989bd00fc2463d391 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rcode.h,v 1.10 2000/07/27 09:48:11 tale Exp $ */
+/* $Id: rcode.h,v 1.11 2000/08/01 01:24:29 tale Exp $ */
 
 #ifndef DNS_RCODE_H
 #define DNS_RCODE_H 1
index 1a191b6c5728ecd84f180ff0a9246bad9096f8e0..9b05c0e2206c4f3d57ddfb7fc342472449b65384 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.h,v 1.39 2000/07/27 09:48:12 tale Exp $ */
+/* $Id: rdata.h,v 1.40 2000/08/01 01:24:30 tale Exp $ */
 
 #ifndef DNS_RDATA_H
 #define DNS_RDATA_H 1
@@ -244,7 +244,7 @@ dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx,
 /*
  * Convert 'rdata' into wire format, compressing it as specified by the
  * compression context 'cctx', and storing the result in 'target'.
- *     
+ *
  * Notes:
  *     If the compression context allows global compression, then the
  *     global compression table may be updated.
@@ -348,7 +348,7 @@ isc_result_t
 dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, unsigned int flags,
                    unsigned int width, char *linebreak, isc_buffer_t *target);
 /*
- * Like dns_rdata_totext, but do formatted output suitable for 
+ * Like dns_rdata_totext, but do formatted output suitable for
  * database dumps.  This is intended for use by dns_db_dump();
  * library users are discouraged from calling it directly.
  *
@@ -358,16 +358,16 @@ dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, unsigned int flags,
  * are added when necessary.  Because RRs contain unbreakable elements
  * such as domain names whose length is variable, unpredictable, and
  * potentially large, there is no guarantee that the lines will
- * not exceed 'width' anyway.  
+ * not exceed 'width' anyway.
  *
  * If (flags & DNS_STYLEFLAG_MULTILINE) == 0, the rdata is always
  * printed as a single line, and no parentheses are used.
  * The 'width' and 'linebreak' arguments are ignored.
  *
  * If (flags & DNS_STYLEFLAG_COMMENT) != 0, output explanatory
- * comments next to things like the SOA timer fields.  Some 
+ * comments next to things like the SOA timer fields.  Some
  * comments (e.g., the SOA ones) are only printed when multiline
- * output is selected. 
+ * output is selected.
  */
 
 isc_result_t
@@ -406,7 +406,7 @@ isc_result_t
 dns_rdata_tostruct(dns_rdata_t *rdata, void *target, isc_mem_t *mctx);
 /*
  * Convert an rdata into its C structure representation.
- *     
+ *
  * If 'mctx' is NULL then 'rdata' must persist while 'target' is being used.
  *
  * If 'mctx' is non NULL then memory will be allocated if required.
index e9453a458839dc5b9dd95a8d1afb05702b3485b2..04e0a996497a95b8e2573b7784143ace799dde18 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdataclass.h,v 1.13 2000/07/27 09:48:14 tale Exp $ */
+/* $Id: rdataclass.h,v 1.14 2000/08/01 01:24:31 tale Exp $ */
 
 #ifndef DNS_RDATACLASS_H
 #define DNS_RDATACLASS_H 1
index e367b8e42e877bffefda2d82db854decfc8b52f0..a9865a4aba7ec11144dcabc1eb09bf4273c08d73 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatalist.h,v 1.11 2000/07/27 09:48:15 tale Exp $ */
+/* $Id: rdatalist.h,v 1.12 2000/08/01 01:24:32 tale Exp $ */
 
 #ifndef DNS_RDATALIST_H
 #define DNS_RDATALIST_H 1
index 64ef5c32870542d04c9aa86ac415725d3d9a317e..10ba9d1ac74f03853372da0b7bd380d9790fcb8b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdataset.h,v 1.34 2000/07/27 09:48:16 tale Exp $ */
+/* $Id: rdataset.h,v 1.35 2000/08/01 01:24:33 tale Exp $ */
 
 #ifndef DNS_RDATASET_H
 #define DNS_RDATASET_H 1
@@ -223,7 +223,7 @@ dns_rdataset_count(dns_rdataset_t *rdataset);
  *     'rdataset' is a valid, associated rdataset.
  *
  * Returns:
- *     The number of records in 'rdataset'.    
+ *     The number of records in 'rdataset'.
  */
 
 isc_result_t
index 3aad61c93eda43e15face84601377f5e935be92e..f85b7d4b9dec63b2a978d0495dd3a86e5fcf1bf0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatasetiter.h,v 1.11 2000/07/27 09:48:17 tale Exp $ */
+/* $Id: rdatasetiter.h,v 1.12 2000/08/01 01:24:34 tale Exp $ */
 
 #ifndef DNS_RDATASETITER_H
 #define DNS_RDATASETITER_H 1
@@ -34,7 +34,7 @@
  * it, an implementation of the class is required.  This implementation is
  * supplied by the database.
  *
- * It is the client's responsibility to call dns_rdataset_disassociate() 
+ * It is the client's responsibility to call dns_rdataset_disassociate()
  * on all rdatasets returned.
  *
  * XXX <more> XXX
@@ -42,7 +42,7 @@
  * MP:
  *     The iterator itself is not locked.  The caller must ensure
  *     synchronization.
- *     
+ *
  *     The iterator methods ensure appropriate database locking.
  *
  * Reliability:
index e34e62637b5c83f94f526697bc528e8c9e23c679..2b061e448fdc7f096692cf0cb41e6d0b652f92ed 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdataslab.h,v 1.13 2000/07/27 09:48:18 tale Exp $ */
+/* $Id: rdataslab.h,v 1.14 2000/08/01 01:24:36 tale Exp $ */
 
 #ifndef DNS_RDATASLAB_H
 #define DNS_RDATASLAB_H 1
index 00373cfc465880ce6605d870e5c64e71c5c16334..a3d0d0e2807f10fa1cfb1d67d3ca3b6eaeebe254 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatatype.h,v 1.12 2000/07/27 09:48:19 tale Exp $ */
+/* $Id: rdatatype.h,v 1.13 2000/08/01 01:24:37 tale Exp $ */
 
 #ifndef DNS_RDATATYPE_H
 #define DNS_RDATATYPE_H 1
index 1e4220b7469c478b81606abf428bf509b0dddbea..885abe5b1575ef1cebbf74088777c62c082baf4b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: request.h,v 1.12 2000/07/27 09:48:20 tale Exp $ */
+/* $Id: request.h,v 1.13 2000/08/01 01:24:38 tale Exp $ */
 
 #ifndef DNS_REQUEST_H
 #define DNS_REQUEST_H 1
index 1dbc8bc35f74a8e03162598808f97d43c726b789..6a024b1fe9790baa508a19d88bec43c52d67bc4a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolver.h,v 1.30 2000/07/27 09:48:21 tale Exp $ */
+/* $Id: resolver.h,v 1.31 2000/08/01 01:24:39 tale Exp $ */
 
 #ifndef DNS_RESOLVER_H
 #define DNS_RESOLVER_H 1
@@ -265,7 +265,7 @@ dns_resolver_createfetch(dns_resolver_t *res, dns_name_t *name,
                         unsigned int options, isc_task_t *task,
                         isc_taskaction_t action, void *arg,
                         dns_rdataset_t *rdataset,
-                        dns_rdataset_t *sigrdataset, 
+                        dns_rdataset_t *sigrdataset,
                         dns_fetch_t **fetchp);
 /*
  * Recurse to answer a question.
@@ -276,13 +276,13 @@ dns_resolver_createfetch(dns_resolver_t *res, dns_name_t *name,
  *
  *     The 'domain' is a parent domain of 'name' for which
  *     a set of name servers 'nameservers' is known.  If no
- *     such name server information is available, set 
+ *     such name server information is available, set
  *     'domain' and 'nameservers' to NULL.
  *
  *     'forwarders' is unimplemented, and subject to change when
  *     we figure out how selective forwarding will work.
  *
- *     When the fetch completes (successfully or otherwise), a 
+ *     When the fetch completes (successfully or otherwise), a
  *     DNS_EVENT_FETCHDONE event with action 'action' and arg 'arg' will be
  *     posted to 'task'.
  *
index ca2ae877dfcd8ab3da703738fd6cbda3d41f8863..e9da0a2587216cef8dd39a44036e98586b46216b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.h,v 1.63 2000/07/27 09:48:22 tale Exp $ */
+/* $Id: result.h,v 1.64 2000/08/01 01:24:40 tale Exp $ */
 
 #ifndef DNS_RESULT_H
 #define DNS_RESULT_H 1
index 74e50f1709ec3400f6937eaa8356a098797777c7..af872edb34b06eaed5867520371e8c50bcf73e91 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rootns.h,v 1.6 2000/07/27 09:48:23 tale Exp $ */
+/* $Id: rootns.h,v 1.7 2000/08/01 01:24:41 tale Exp $ */
 
 #ifndef DNS_ROOTNS_H
 #define DNS_ROOTNS_H 1
index de7e408d51c629287940e7b3bedd19a1e1cf23b8..fe34f4e401dd727e6202b49341414bf51bf4102d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: secalg.h,v 1.10 2000/07/27 09:48:24 tale Exp $ */
+/* $Id: secalg.h,v 1.11 2000/08/01 01:24:42 tale Exp $ */
 
 #ifndef DNS_SECALG_H
 #define DNS_SECALG_H 1
index e664bcaa603931aa02a953c04fe9c4a133fc90a9..e7e8cd5887d177b58a905bb67e04f99a0a726095 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: secproto.h,v 1.7 2000/07/27 09:48:26 tale Exp $ */
+/* $Id: secproto.h,v 1.8 2000/08/01 01:24:43 tale Exp $ */
 
 #ifndef DNS_SECPROTO_H
 #define DNS_SECPROTO_H 1
index 9de4d1b28258ded1de055aa43329f94cfd4bc113..f35a253267430b5378078aded0db0f9114d3ddae 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ssu.h,v 1.9 2000/07/27 09:48:27 tale Exp $ */
+/* $Id: ssu.h,v 1.10 2000/08/01 01:24:44 tale Exp $ */
 
 #ifndef DNS_SSU_H
 #define DNS_SSU_H 1
index 1086ad26e3d39fc34e3339464af1f041b0ac1d45..67fcd45b026e069ed602d3dd9125767a9453c3a8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tcpmsg.h,v 1.13 2000/07/27 09:48:28 tale Exp $ */
+/* $Id: tcpmsg.h,v 1.14 2000/08/01 01:24:45 tale Exp $ */
 
 #ifndef DNS_TCPMSG_H
 #define DNS_TCPMSG_H 1
index c8c040b2a7f260e98a560701f857231c09317888..c315a8f4fa0789f57dfac1189e123321b601bb3e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.h,v 1.7 2000/07/27 09:48:29 tale Exp $ */
+/* $Id: time.h,v 1.8 2000/08/01 01:24:46 tale Exp $ */
 
 #ifndef DNS_TIME_H
 #define DNS_TIME_H 1
@@ -37,9 +37,9 @@ isc_result_t
 dns_time64_fromtext(char *source, isc_int64_t *target);
 /*
  * Convert a date and time in YYYYMMDDHHMMSS text format at 'source'
- * into to a 64-bit count of seconds since Jan 1 1970 0:00 GMT.  
+ * into to a 64-bit count of seconds since Jan 1 1970 0:00 GMT.
  * Store the count at 'target'.
- */ 
+ */
 
 isc_result_t
 dns_time32_fromtext(char *source, isc_uint32_t *target);
@@ -47,12 +47,12 @@ dns_time32_fromtext(char *source, isc_uint32_t *target);
  * Like dns_time64_fromtext, but returns the second count modulo 2^32
  * as per RFC2535.
  */
-       
+
 
 isc_result_t
 dns_time64_totext(isc_int64_t value, isc_buffer_t *target);
 /*
- * Convert a 64-bit count of seconds since Jan 1 1970 0:00 GMT into 
+ * Convert a 64-bit count of seconds since Jan 1 1970 0:00 GMT into
  * a YYYYMMDDHHMMSS text representation and append it to 'target'.
  */
 
@@ -63,7 +63,7 @@ dns_time32_totext(isc_uint32_t value, isc_buffer_t *target);
  * Of those dates whose counts of seconds since Jan 1 1970 0:00 GMT
  * are congruent with 'value' modulo 2^32, the one closest to the
  * current date is chosen.
- */ 
+ */
 
 ISC_LANG_ENDDECLS
 
index 1e1acfa64128eb4ebf897eecfce66fadf84791fe..1916822faaa7a89e36decaf840d5611d8de69ea3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkey.h,v 1.14 2000/07/27 09:48:30 tale Exp $ */
+/* $Id: tkey.h,v 1.15 2000/08/01 01:24:47 tale Exp $ */
 
 #ifndef DNS_TKEY_H
 #define DNS_TKEY_H 1
index bd4beac695231323d4359fbb33263336aa09dbf5..257a7becc5cb6b0d1cd502ed00ed842e1a1d3254 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkeyconf.h,v 1.5 2000/07/27 09:48:31 tale Exp $ */
+/* $Id: tkeyconf.h,v 1.6 2000/08/01 01:24:49 tale Exp $ */
 
 #ifndef DNS_TKEYCONF_H
 #define DNS_TKEYCONF_H 1
@@ -45,7 +45,7 @@ dns_tkeyctx_fromconfig(dns_c_ctx_t *cfg, isc_mem_t *mctx, isc_entropy_t *ectx,
  *             ISC_R_SUCCESS
  *             ISC_R_NOMEMORY
  */
+
 ISC_LANG_ENDDECLS
 
 #endif /* DNS_TKEYCONF_H */
index 0031163d1fb036e6b94f468b6277fe07ffec41e7..3344d2736243cf92e2306f604b5657a64638c730 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsig.h,v 1.30 2000/07/28 23:27:01 bwelling Exp $ */
+/* $Id: tsig.h,v 1.31 2000/08/01 01:24:50 tale Exp $ */
 
 #ifndef DNS_TSIG_H
 #define DNS_TSIG_H 1
@@ -45,7 +45,7 @@ struct dns_tsig_keyring {
        dns_rbt_t *keys;
        isc_rwlock_t lock;
        isc_mem_t *mctx;
-}; 
+};
 
 struct dns_tsigkey {
        /* Unlocked */
index 97bf2ecca3d3c3f19952838790b453e2bb68dd68..f9689a524bca62ca18e0cbbe91171ef131377d31 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsigconf.h,v 1.5 2000/07/27 09:48:33 tale Exp $ */
+/* $Id: tsigconf.h,v 1.6 2000/08/01 01:24:51 tale Exp $ */
 
 #ifndef DNS_TSIGCONF_H
 #define DNS_TSIGCONF_H 1
@@ -43,7 +43,7 @@ dns_tsigkeyring_fromconfig(dns_c_view_t *confview, dns_c_ctx_t *confctx,
  *             ISC_R_SUCCESS
  *             ISC_R_NOMEMORY
  */
+
 ISC_LANG_ENDDECLS
 
 #endif /* DNS_TSIGCONF_H */
index 5c2ab7b51983312aebd57a317647bf0e524c45e7..0937b5fe2c7531dd8607b16681a1090913494cad 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ttl.h,v 1.10 2000/07/27 09:48:34 tale Exp $ */
+/* $Id: ttl.h,v 1.11 2000/08/01 01:24:52 tale Exp $ */
 
 #ifndef DNS_TTL_H
 #define DNS_TTL_H 1
@@ -43,7 +43,7 @@ dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose,
  *
  * If 'verbose' is ISC_FALSE, use the terse BIND 8 style, like "1w2d3h4m5s".
  *
- * If 'verbose' is ISC_TRUE, use a verbose style like the SOA comments 
+ * If 'verbose' is ISC_TRUE, use a verbose style like the SOA comments
  * in "dig", like "1 week 2 days 3 hours 4 minutes 5 seconds".
  *
  * Returns:
index 4942b2bb1424032f4e52e4a5092791a788f8dd96..bd373b74521a375bad4c3c52c2cf453b3c104058 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: types.h,v 1.90 2000/07/27 09:48:35 tale Exp $ */
+/* $Id: types.h,v 1.91 2000/08/01 01:24:53 tale Exp $ */
 
 #ifndef DNS_TYPES_H
 #define DNS_TYPES_H 1
index 50215e8573bf13f56a8e6626462a95489ffd29bc..eab27df7092741025e6d35d7314dfcbe2bc6fb12 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: validator.h,v 1.11 2000/07/27 09:48:37 tale Exp $ */
+/* $Id: validator.h,v 1.12 2000/08/01 01:24:54 tale Exp $ */
 
 #ifndef DNS_VALIDATOR_H
 #define DNS_VALIDATOR_H 1
@@ -92,13 +92,13 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
  *
  * The complete response message may be given in 'message',
  * to make available any authority section NXTs that may be
- * needed for validation of a response resulting from a 
- * wildcard expansion (though no such wildcard validation 
+ * needed for validation of a response resulting from a
+ * wildcard expansion (though no such wildcard validation
  * is implemented yet).  If the complete response message
  * is not available, 'message' is NULL.
  *
  * To validate a negative response, the complete negative response
- * message is given in 'message'.  The 'rdataset', and 
+ * message is given in 'message'.  The 'rdataset', and
  * 'sigrdataset' arguments must be NULL, but the 'name' and 'type'
  * arguments must be provided.
  *
@@ -118,7 +118,7 @@ dns_validator_cancel(dns_validator_t *validator);
  * Cancel a DNSSEC validation in progress.
  *
  * Requires:
- *     'validator' points to a valid DNSSEC validator, which 
+ *     'validator' points to a valid DNSSEC validator, which
  *     may or may not already have completed.
  *
  * Ensures:
index 01bfd76cb6f25def0fab7b7acf3815611c7c6918..750cfba1baa11b21b4e50446f7667baaa54824ee 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: view.h,v 1.46 2000/07/31 21:07:07 explorer Exp $ */
+/* $Id: view.h,v 1.47 2000/08/01 01:24:55 tale Exp $ */
 
 #ifndef DNS_VIEW_H
 #define DNS_VIEW_H 1
@@ -116,7 +116,7 @@ struct dns_view {
         * locked by server configuration lock.
         */
        dns_acl_t *                     matchclients;
-       
+
        /* Locked by lock. */
        unsigned int                    references;
        unsigned int                    weakrefs;
@@ -390,7 +390,7 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
  *     'type' is a valid dns_rdatatype_t, and is not a meta query type
  *     (e.g. dns_rdatatype_any), or dns_rdatatype_sig.
  *
- *     'foundname' is 
+ *     'foundname' is
  *
  *     'rdataset' is a valid, disassociated rdataset.
  *
@@ -488,7 +488,7 @@ dns_view_findzonecut(dns_view_t *view, dns_name_t *name, dns_name_t *fname,
  *     covers 'type', then 'sigrdataset' will be bound to it.
  *
  *     If the DNS_DBFIND_NOEXACT option is set, then the zonecut returned
- *     (if any) will be the deepest known ancestor of 'name'. 
+ *     (if any) will be the deepest known ancestor of 'name'.
  *
  * Requires:
  *
@@ -525,7 +525,7 @@ dns_view_load(dns_view_t *view, isc_boolean_t stop);
 /*
  * Load all zones attached to this view.  If 'stop' is ISC_TRUE,
  * stop on the first error and return it.  If 'stop'
- * is ISC_FALSE, ignore errors. 
+ * is ISC_FALSE, ignore errors.
  *
  * Requires:
  *
index 64c9f7d7fae892dfb63cfd9b87cba8bd8c65485a..c6fe8baa6f5d8dcacdd5fbf8f922a7febf953363 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: xfrin.h,v 1.15 2000/07/27 09:48:39 tale Exp $ */
+/* $Id: xfrin.h,v 1.16 2000/08/01 01:24:56 tale Exp $ */
 
 #ifndef DNS_XFRIN_H
 #define DNS_XFRIN_H 1
@@ -59,7 +59,7 @@ dns_xfrin_create(dns_zone_t *zone, dns_rdatatype_t xfrtype,
                 dns_xfrindone_t done, dns_xfrin_ctx_t **xfrp);
 /*
  * Attempt to start an incoming zone transfer of 'zone'
- * from 'masteraddr', creating a dns_xfrin_ctx_t object to 
+ * from 'masteraddr', creating a dns_xfrin_ctx_t object to
  * manage it.  Attach '*xfrp' to the newly created object.
  *
  * Iff ISC_R_SUCCESS is returned, '*done' is guaranteed to be
@@ -84,9 +84,9 @@ dns_xfrin_shutdown(dns_xfrin_ctx_t *xfr);
 void
 dns_xfrin_detach(dns_xfrin_ctx_t **xfrp);
 /*
- * Detach a reference to a zone transfer object.  
+ * Detach a reference to a zone transfer object.
  *
- * (Because there is no attach() method, there can currently 
+ * (Because there is no attach() method, there can currently
  * only be one reference).
  */
 
index b32bb8f05844ccb9d73b0eb21616f717777d93f6..87d71c54d20d94ac214bef56167ed3ea997000b3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.h,v 1.63 2000/07/27 09:48:40 tale Exp $ */
+/* $Id: zone.h,v 1.64 2000/08/01 01:24:58 tale Exp $ */
 
 #ifndef DNS_ZONE_H
 #define DNS_ZONE_H 1
@@ -79,7 +79,7 @@ dns_zone_setclass(dns_zone_t *zone, dns_rdataclass_t rdclass);
  *     dns_zone_setclass() not to have been called since the zone was
  *     created.
  *     'rdclass' != dns_rdataclass_none.
- */    
+ */
 
 dns_rdataclass_t
 dns_zone_getclass(dns_zone_t *zone);
@@ -110,7 +110,7 @@ dns_zone_setview(dns_zone_t *zone, dns_view_t *view);
  *
  * Require:
  *     'zone' to be a valid zone.
- */    
+ */
 
 dns_view_t *
 dns_zone_getview(dns_zone_t *zone);
@@ -147,7 +147,7 @@ dns_zone_getorigin(dns_zone_t *zone);
 isc_result_t
 dns_zone_setdatabase(dns_zone_t *zone, const char *database);
 /*
- *     Sets the name of the database to be loaded. 
+ *     Sets the name of the database to be loaded.
  *     For databases loaded from MASTER files this corresponds to the
  *     file name of the MASTER file.
  *
@@ -202,7 +202,7 @@ dns_zone_detach(dns_zone_t **zonep);
 void
 dns_zone_iattach(dns_zone_t *source, dns_zone_t **target);
 /*
- *     Attach '*target' to 'source' incrementing its internal 
+ *     Attach '*target' to 'source' incrementing its internal
  *     reference count.  This is intended for use by operations
  *     such as zone transfers that need to prevent the zone
  *     object from being freed but not from shutting down.
@@ -212,7 +212,7 @@ dns_zone_iattach(dns_zone_t *source, dns_zone_t **target);
  *     'zone' to be a valid zone.
  *     'target' to be non NULL and '*target' to be NULL.
  */
+
 void
 dns_zone_idetach(dns_zone_t **zonep);
 /*
@@ -221,7 +221,7 @@ dns_zone_idetach(dns_zone_t **zonep);
  *     zone, it will be freed.
  *
  * Require:
- *     The caller is running in the context of the zone's task. 
+ *     The caller is running in the context of the zone's task.
  *     'zonep' to point to a valid zone.
  */
 
@@ -278,7 +278,7 @@ isc_result_t
 dns_zone_setdbtype(dns_zone_t *zone, const char *db_type);
 /*
  *     Sets the database type. Current database types are: "rbt", "rbt64".
- *     'db_type' is not checked to see if it is a valid database type. 
+ *     'db_type' is not checked to see if it is a valid database type.
  *
  * Require:
  *     'zone' to be a valid zone.
@@ -289,7 +289,7 @@ dns_zone_setdbtype(dns_zone_t *zone, const char *db_type);
  *     ISC_R_SUCCESS
  */
 
-void 
+void
 dns_zone_markdirty(dns_zone_t *zone);
 /*
  *     Mark a zone as 'dirty'.
@@ -705,7 +705,7 @@ dns_zone_setjournal(dns_zone_t *zone, const char *journal);
  *
  * Returns:
  *     ISC_R_SUCCESS
- *     ISC_R_NOMEMORY 
+ *     ISC_R_NOMEMORY
  */
 
 char *
@@ -882,7 +882,7 @@ dns_zone_getmgr(dns_zone_t *zone);
  * Requires:
  *     'zone' to be a valid zone.
  */
-  
+
 void
 dns_zone_setsigvalidityinterval(dns_zone_t *zone, isc_uint32_t interval);
 /*
@@ -959,7 +959,7 @@ dns_zonemgr_attach(dns_zonemgr_t *source, dns_zonemgr_t **target);
  *     'zone' to be a valid zone.
  *     'target' to be non NULL and '*target' to be NULL.
  */
-       
+
 void
 dns_zonemgr_detach(dns_zonemgr_t **zmgrp);
 /*
index 4cb86be221c57c5777cd05e2f795c895f0d1ca17..5326b3c9b9290ea0902407b109f807320d091e9f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zoneconf.h,v 1.12 2000/07/27 09:48:41 tale Exp $ */
+/* $Id: zoneconf.h,v 1.13 2000/08/01 01:24:59 tale Exp $ */
 
 #ifndef DNS_ZONECONF_H
 #define DNS_ZONECONF_H 1
index 4dfdfa4a1d0f4474154d1fc43806b20c42924c15..3b9d8cb29169fa1a5479531626185730530e26cf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zt.h,v 1.20 2000/07/27 09:48:42 tale Exp $ */
+/* $Id: zt.h,v 1.21 2000/08/01 01:25:00 tale Exp $ */
 
 #ifndef DNS_ZT_H
 #define DNS_ZT_H 1
index 8db3bde1a31d0e2c309ec580a55770bbce15efad..58a92a6694d227bdbd6c06b0dcdbba4efafadc78 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.c,v 1.56 2000/07/27 09:46:08 tale Exp $ */
+/* $Id: journal.c,v 1.57 2000/08/01 01:22:25 tale Exp $ */
 
 #include <config.h>
 
@@ -80,7 +80,7 @@ decode_uint32(unsigned char *p) {
                (p[3] <<  0));
 }
 
-static inline void 
+static inline void
 encode_uint32(isc_uint32_t val, unsigned char *p) {
        p[0] = (isc_uint8_t)(val >> 24);
        p[1] = (isc_uint8_t)(val >> 16);
@@ -103,7 +103,7 @@ dns_soa_getserial(dns_rdata_t *rdata) {
         * (it starts 20 bytes from the end).  This is a bit of
         * a kludge, but the alternative approach of using
         * dns_rdata_tostruct() and dns_rdata_fromstruct()
-        * would involve a lot of unnecessary work (like 
+        * would involve a lot of unnecessary work (like
         * building domain names and allocating temporary memory)
         * when all we really want to do is to change 32 bits of
         * fixed-sized data.  Besides, fromstruct_soa() is not
@@ -129,20 +129,20 @@ dns_db_createsoatuple(dns_db_t *db, dns_dbversion_t *ver, isc_mem_t *mctx,
        dns_rdataset_t rdataset;
        dns_rdata_t rdata;
        dns_name_t *zonename;
-       
+
        zonename = dns_db_origin(db);
-       
+
        node = NULL;
        result = dns_db_findnode(db, zonename, ISC_FALSE, &node);
        if (result != ISC_R_SUCCESS)
                goto nonode;
-       
+
        dns_rdataset_init(&rdataset);
        result = dns_db_findrdataset(db, node, ver, dns_rdatatype_soa, 0,
                                     (isc_stdtime_t)0, &rdataset, NULL);
        if (result != ISC_R_SUCCESS)
                goto freenode;
-       
+
        result = dns_rdataset_first(&rdataset);
        if (result != ISC_R_SUCCESS)
                goto freenode;
@@ -178,7 +178,7 @@ dns_difftuple_create(isc_mem_t *mctx,
        unsigned char *datap;
 
        REQUIRE(tp != NULL && *tp == NULL);
-       
+
        /*
         * Create a new tuple.  The variable-size wire-format name data and
         * rdata immediately follow the dns_difftuple_t structure
@@ -192,13 +192,13 @@ dns_difftuple_create(isc_mem_t *mctx,
        t->op = op;
 
        datap = (unsigned char *)(t + 1);
-       
+
        memcpy(datap, name->ndata, name->length);
        dns_name_init(&t->name, NULL);
        dns_name_clone(name, &t->name);
        t->name.ndata = datap;
        datap += name->length;
-       
+
        t->ttl = ttl;
 
        memcpy(datap, rdata->data, rdata->length);
@@ -207,7 +207,7 @@ dns_difftuple_create(isc_mem_t *mctx,
        t->rdata.rdclass = rdata->rdclass;
        t->rdata.type = rdata->type;
        datap += rdata->length;
-       
+
        ISC_LINK_INIT(&t->rdata, link);
        t->magic = DNS_DIFFTUPLE_MAGIC;
 
@@ -276,9 +276,9 @@ dns_diff_appendminimal(dns_diff_t *diff, dns_difftuple_t **tuplep)
         * that we never delete nonexistent data or add existing
         * data).
         *
-        * If we find an old update of the same kind as 
+        * If we find an old update of the same kind as
         * the one we are doing, there must be a programming
-        * error.  We report it but try to continue anyway. 
+        * error.  We report it but try to continue anyway.
         */
        for (ot = ISC_LIST_HEAD(diff->tuples); ot != NULL;
             ot = next_ot)
@@ -288,7 +288,7 @@ dns_diff_appendminimal(dns_diff_t *diff, dns_difftuple_t **tuplep)
                    dns_rdata_compare(&ot->rdata, &(*tuplep)->rdata) == 0 &&
                    ot->ttl == (*tuplep)->ttl)
                {
-                       ISC_LIST_UNLINK(diff->tuples, ot, link); 
+                       ISC_LIST_UNLINK(diff->tuples, ot, link);
                        if ((*tuplep)->op == ot->op) {
                                UNEXPECTED_ERROR(__FILE__, __LINE__,
                                         "unexpected non-minimal diff");
@@ -308,16 +308,16 @@ dns_diff_appendminimal(dns_diff_t *diff, dns_difftuple_t **tuplep)
        ENSURE(*tuplep == NULL);
 }
 
-isc_result_t 
+isc_result_t
 dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver)
 {
        dns_difftuple_t *t;
        dns_dbnode_t *node = NULL;
        isc_result_t result;
-       
+
        REQUIRE(DNS_DIFF_VALID(diff));
        REQUIRE(DNS_DB_VALID(db));
-       
+
        t = ISC_LIST_HEAD(diff->tuples);
        while (t != NULL) {
                dns_name_t *name;
@@ -326,10 +326,10 @@ dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver)
                name = &t->name;
                /*
                 * Find the node.
-                * We create the node if it does not exist.  
-                * This will cause an empty node to be created if the diff 
+                * We create the node if it does not exist.
+                * This will cause an empty node to be created if the diff
                 * contains a deletion of an RR at a nonexistent name,
-                * but such diffs should never be created in the first 
+                * but such diffs should never be created in the first
                 * place.
                 */
                node = NULL;
@@ -343,10 +343,10 @@ dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver)
 
                        op = t->op;
                        type = t->rdata.type;
-                       covers = rdata_covers(&t->rdata); 
+                       covers = rdata_covers(&t->rdata);
 
                        /*
-                        * Collect a contiguous set of updates with 
+                        * Collect a contiguous set of updates with
                         * the same operation (add/delete) and RR type
                         * into a single rdatalist so that the
                         * database rrset merging/subtraction code
@@ -438,8 +438,8 @@ dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver)
 }
 
 /* XXX this duplicates lots of code in dns_diff_apply(). */
-   
-isc_result_t 
+
+isc_result_t
 dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc,
              void *add_private)
 {
@@ -447,7 +447,7 @@ dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc,
        isc_result_t result;
 
        REQUIRE(DNS_DIFF_VALID(diff));
-       
+
        t = ISC_LIST_HEAD(diff->tuples);
        while (t != NULL) {
                dns_name_t *name;
@@ -517,7 +517,7 @@ dns_diff_sort(dns_diff_t *diff, dns_diff_compare_func *compare) {
        dns_difftuple_t **v;
        dns_difftuple_t *p;
        REQUIRE(DNS_DIFF_VALID(diff));
-       
+
        for (p = ISC_LIST_HEAD(diff->tuples);
             p != NULL;
             p = ISC_LIST_NEXT(p, link))
@@ -556,7 +556,7 @@ diff_tuple_tordataset(dns_difftuple_t *t, dns_rdatalist_t *rdl,
        REQUIRE(DNS_DIFFTUPLE_VALID(t));
        REQUIRE(rdl != NULL);
        REQUIRE(rds != NULL);
-       
+
        rdl->type = t->rdata.type;
        rdl->rdclass = t->rdata.rdclass;
        rdl->ttl = t->ttl;
@@ -587,7 +587,7 @@ dns_diff_print(dns_diff_t *diff, FILE *file) {
                isc_region_t r;
 
                dns_rdatalist_t rdl;
-               dns_rdataset_t rds;             
+               dns_rdataset_t rds;
 
                result = diff_tuple_tordataset(t, &rdl, &rds);
                if (result != ISC_R_SUCCESS) {
@@ -633,7 +633,7 @@ dns_diff_print(dns_diff_t *diff, FILE *file) {
                                              t->op == DNS_DIFFOP_ADD ?
                                              "add" : "del",
                                              (int) r.length, (char *) r.base);
-               } else 
+               } else
                        goto cleanup;
        }
        result = ISC_R_SUCCESS;
@@ -655,25 +655,25 @@ dns_diff_print(dns_diff_t *diff, FILE *file) {
  *
  *   - The index.  This is an unordered array of index entries
  *     of type journal_rawpos_t giving the locations
- *     of some arbitrary subset of the journal's addressable 
- *     transactions.  The index entries are used as hints to 
- *     speed up the process of locating a transaction with a given 
+ *     of some arbitrary subset of the journal's addressable
+ *     transactions.  The index entries are used as hints to
+ *     speed up the process of locating a transaction with a given
  *     serial number.  Unused index entries have an "offset"
- *     field of zero.  The size of the index can vary between 
+ *     field of zero.  The size of the index can vary between
  *     journal files, but does not change during the lifetime
  *     of a file.  The size can be zero.
  *
  *   - The journal data.  This  consists of one or more transactions.
  *     Each transaction begins with a transaction header of type
- *     journal_rawxhdr_t.  The transaction header is followed by a 
- *     sequence of RRs, similar in structure to an IXFR difference 
+ *     journal_rawxhdr_t.  The transaction header is followed by a
+ *     sequence of RRs, similar in structure to an IXFR difference
  *     sequence (RFC1995).  That is, the pre-transaction SOA,
- *     zero or more other deleted RRs, the post-transaction SOA, 
- *     and zero or more other added RRs.  Unlike in IXFR, each RR 
+ *     zero or more other deleted RRs, the post-transaction SOA,
+ *     and zero or more other added RRs.  Unlike in IXFR, each RR
  *     is prefixed with a 32-bit length.
  *
  *     The journal data part grows as new transactions are
- *     appended to the file.  Only those transactions 
+ *     appended to the file.  Only those transactions
  *     whose serial number is current-(2^31-1) to current
  *     are considered "addressable" and may be pointed
  *     to from the header or index.  They may be preceded
@@ -683,7 +683,7 @@ dns_diff_print(dns_diff_t *diff, FILE *file) {
  *     the "end" position in the header.  The latter will
  *     be overwritten when new transactions are added.
  */
+
 /*
  * On-disk representation of a "pointer" to a journal entry.
  * These are used in the journal header to locate the beginning
@@ -720,7 +720,7 @@ typedef union {
                /* Position of the first addressable transaction */
                journal_rawpos_t        begin;
                /* Position of the next (yet nonexistent) transaction. */
-               journal_rawpos_t        end;        
+               journal_rawpos_t        end;
                /* Number of index entries following the header. */
                unsigned char           index_size[4];
        } h;
@@ -770,8 +770,8 @@ typedef struct {
 
 typedef struct {
        isc_uint32_t    size;
-       isc_uint32_t    serial0;        
-       isc_uint32_t    serial1;        
+       isc_uint32_t    serial0;
+       isc_uint32_t    serial1;
 } journal_xhdr_t;
 
 /*
@@ -788,11 +788,11 @@ typedef struct {
  *
  * The header starts with the magic string ";BIND LOG V9\n"
  * to identify the file as a BIND 9 journal file.  An ASCII
- * identification string is used rather than a binary magic 
+ * identification string is used rather than a binary magic
  * number to be consistent with BIND 8 (BIND 8 journal files
  * are ASCII text files).
  */
-   
+
 static journal_header_t
 initial_journal_header = { ";BIND LOG V9\n", { 0, 0 }, { 0, 0 }, 0 };
 
@@ -822,7 +822,7 @@ struct dns_journal {
                unsigned int    n_soa;          /* Number of SOAs seen */
                journal_pos_t   pos[2];         /* Begin/end position */
        } x;
-       
+
        /* Iteration state (when reading). */
        struct {
                /* These define the part of the journal we iterate over. */
@@ -862,7 +862,7 @@ static void
 journal_header_decode(journal_rawheader_t *raw, journal_header_t *cooked) {
        INSIST(sizeof(cooked->format) == sizeof(raw->h.format));
        memcpy(cooked->format, raw->h.format, sizeof(cooked->format));
-       journal_pos_decode(&raw->h.begin, &cooked->begin); 
+       journal_pos_decode(&raw->h.begin, &cooked->begin);
        journal_pos_decode(&raw->h.end, &cooked->end);
        cooked->index_size = decode_uint32(raw->h.index_size);
 }
@@ -872,7 +872,7 @@ journal_header_encode(journal_header_t *cooked, journal_rawheader_t *raw) {
        INSIST(sizeof(cooked->format) == sizeof(raw->h.format));
        memset(raw->pad, 0, sizeof(raw->pad));
        memcpy(raw->h.format, cooked->format, sizeof(raw->h.format));
-       journal_pos_encode(&raw->h.begin, &cooked->begin); 
+       journal_pos_encode(&raw->h.begin, &cooked->begin);
        journal_pos_encode(&raw->h.end, &cooked->end);
        encode_uint32(cooked->index_size, raw->h.index_size);
 }
@@ -922,7 +922,7 @@ journal_write(dns_journal_t *j, void *mem, size_t nbytes) {
                              j->filename, isc_result_totext(result));
                return (ISC_R_UNEXPECTED);
        }
-       j->offset += nbytes;    
+       j->offset += nbytes;
        return (ISC_R_SUCCESS);
 }
 
@@ -949,7 +949,7 @@ journal_fsync(dns_journal_t *j) {
 /*
  * Read/write a transaction header at the current file position.
  */
-   
+
 static isc_result_t
 journal_read_xhdr(dns_journal_t *j, journal_xhdr_t *xhdr) {
        journal_rawxhdr_t raw;
@@ -978,7 +978,7 @@ journal_write_xhdr(dns_journal_t *j, isc_uint32_t size,
 /*
  * Read an RR header at the current file position.
  */
-   
+
 static isc_result_t
 journal_read_rrhdr(dns_journal_t *j, journal_rrhdr_t *rrhdr) {
        journal_rawrrhdr_t raw;
@@ -1001,7 +1001,7 @@ journal_file_create(isc_mem_t *mctx, const char *filename) {
        void *mem; /* Memory for temporary index image. */
 
        INSIST(sizeof(journal_rawheader_t) == JOURNAL_HEADER_SIZE);
-       
+
        result = isc_stdio_open(filename, "w", &fp);
        if (result != ISC_R_SUCCESS) {
                isc_log_write(JOURNAL_COMMON_LOGARGS, ISC_LOG_ERROR,
@@ -1032,12 +1032,12 @@ journal_file_create(isc_mem_t *mctx, const char *filename) {
                                 "%s: write: %s",
                                 filename, isc_result_totext(result));
                (void)isc_stdio_close(fp);
-               (void)isc_file_remove(filename);                
-               isc_mem_put(mctx, mem, size); 
+               (void)isc_file_remove(filename);
+               isc_mem_put(mctx, mem, size);
                return (ISC_R_UNEXPECTED);
        }
-       isc_mem_put(mctx, mem, size);   
-       
+       isc_mem_put(mctx, mem, size);
+
        result = isc_stdio_close(fp);
        if (result != ISC_R_SUCCESS) {
                isc_log_write(JOURNAL_COMMON_LOGARGS, ISC_LOG_ERROR,
@@ -1049,7 +1049,7 @@ journal_file_create(isc_mem_t *mctx, const char *filename) {
 
        return (ISC_R_SUCCESS);
 }
-                                   
+
 
 isc_result_t
 dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
@@ -1058,12 +1058,12 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
        isc_result_t result;
        journal_rawheader_t rawheader;
        dns_journal_t *j;
-       
+
        INSIST(journalp != NULL && *journalp == NULL);
        j = isc_mem_get(mctx, sizeof(*j));
        if (j == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        j->mctx = mctx;
        j->state = JOURNAL_STATE_INVALID;
        j->fp = NULL;
@@ -1101,7 +1101,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
        /*
         * Set magic early so that seek/read can succeed.
         */
-       j->magic = DNS_JOURNAL_MAGIC; 
+       j->magic = DNS_JOURNAL_MAGIC;
 
        CHECK(journal_seek(j, 0));
        CHECK(journal_read(j, &rawheader, sizeof(rawheader)));
@@ -1126,7 +1126,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
                              j->filename);
                FAIL(ISC_R_UNEXPECTED);
        }
-       
+
        /*
         * If there is an index, read the raw index into a dynamically
         * allocated buffer and then convert it into a cooked index.
@@ -1135,14 +1135,14 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
                unsigned int i;
                unsigned int rawbytes;
                unsigned char *p;
-                       
+
                rawbytes = j->header.index_size * sizeof(journal_rawpos_t);
                j->rawindex = isc_mem_get(mctx, rawbytes);
                if (j->rawindex == NULL)
                        FAIL(ISC_R_NOMEMORY);
-               
+
                CHECK(journal_read(j, j->rawindex, rawbytes));
-               
+
                j->index = isc_mem_get(mctx, j->header.index_size *
                                       sizeof(journal_pos_t));
                if (j->index == NULL)
@@ -1164,7 +1164,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
         */
        dns_name_init(&j->it.name, NULL);
        dns_rdata_init(&j->it.rdata);
-       
+
        /*
         * Set up empty initial buffers for uncheched and checked
         * wire format RR data.  They will be reallocated
@@ -1176,7 +1176,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
 
        j->state =
                write ? JOURNAL_STATE_WRITE : JOURNAL_STATE_READ;
-       
+
        *journalp = j;
        return (ISC_R_SUCCESS);
 
@@ -1189,7 +1189,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
        }
        if (j->fp != NULL)
                (void)isc_stdio_close(j->fp);
-       isc_mem_put(j->mctx, j, sizeof(*j));            
+       isc_mem_put(j->mctx, j, sizeof(*j));
        return (result);
 }
 
@@ -1205,7 +1205,7 @@ dns_journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
  * server receiving the IXFR - it may help reduce the amount of
  * rdataset merging it has to do.
  */
-static int 
+static int
 ixfr_order(const void *av, const void *bv) {
        dns_difftuple_t * const *ap = av;
        dns_difftuple_t * const *bp = bv;
@@ -1216,7 +1216,7 @@ ixfr_order(const void *av, const void *bv) {
        r = (b->op == DNS_DIFFOP_DEL) - (a->op == DNS_DIFFOP_DEL);
        if (r != 0)
                return (r);
-       
+
        r = (b->rdata.type == dns_rdatatype_soa) -
                (a->rdata.type == dns_rdatatype_soa);
        if (r != 0)
@@ -1228,7 +1228,7 @@ ixfr_order(const void *av, const void *bv) {
 
 /*
  * Advance '*pos' to the next journal transaction.
- * 
+ *
  * Requires:
  *     *pos refers to a valid journal transaction.
  *
@@ -1238,7 +1238,7 @@ ixfr_order(const void *av, const void *bv) {
  *
  * Returns one of:
  *
- *    ISC_R_SUCCESS 
+ *    ISC_R_SUCCESS
  *    ISC_R_NOMORE     *pos pointed at the last transaction
  *    Other results due to file errors are possible.
  */
@@ -1247,7 +1247,7 @@ journal_next(dns_journal_t *j, journal_pos_t *pos) {
        isc_result_t result;
        journal_xhdr_t xhdr;
        REQUIRE(DNS_JOURNAL_VALID(j));
-       
+
        result = journal_seek(j, pos->offset);
        if (result != ISC_R_SUCCESS)
                return (result);
@@ -1278,9 +1278,9 @@ journal_next(dns_journal_t *j, journal_pos_t *pos) {
            < pos->offset) {
                isc_log_write(JOURNAL_COMMON_LOGARGS, ISC_LOG_ERROR,
                              "%s: offset too large", j->filename);
-               return (ISC_R_UNEXPECTED);              
+               return (ISC_R_UNEXPECTED);
        }
-       
+
        pos->offset += sizeof(journal_rawxhdr_t) + xhdr.size;
        pos->serial = xhdr.serial1;
        return (ISC_R_SUCCESS);
@@ -1311,7 +1311,7 @@ index_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *best_guess) {
  * the odd-numbered entries and compacting the others into the first
  * half of the index.  This decimates old index entries exponentially
  * over time, so that the index always contains a much larger fraction
- * of recent serial numbers than of old ones.  This is deliberate - 
+ * of recent serial numbers than of old ones.  This is deliberate -
  * most index searches are for outgoing IXFR, and IXFR tends to request
  * recent versions more often than old ones.
  */
@@ -1341,7 +1341,7 @@ index_add(dns_journal_t *j, journal_pos_t *pos) {
                        k++;
                }
        }
-       INSIST(i < j->header.index_size); 
+       INSIST(i < j->header.index_size);
        INSIST(! POS_VALID(j->index[i]));
 
        /*
@@ -1372,24 +1372,24 @@ index_invalidate(dns_journal_t *j, isc_uint32_t serial) {
  * If found, store its position at '*pos' and return ISC_R_SUCCESS.
  *
  * If 'serial' is current (= the ending serial number of the
- * last transaction in the journal), set '*pos' to 
+ * last transaction in the journal), set '*pos' to
  * the position immediately following the last transaction and
  * return ISC_R_SUCCESS.
  *
- * If 'serial' is within the range of addressable serial numbers 
+ * If 'serial' is within the range of addressable serial numbers
  * covered by the journal but that particular serial number is missing
  * (from the journal, not just from the index), return ISC_R_NOTFOUND.
  *
  * If 'serial' is outside the range of addressable serial numbers
  * covered by the journal, return ISC_R_RANGE.
- * 
+ *
  */
 static isc_result_t
 journal_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *pos) {
        isc_result_t result;
        journal_pos_t current_pos;
        REQUIRE(DNS_JOURNAL_VALID(j));
-       
+
        if (DNS_SERIAL_GT(j->header.begin.serial, serial))
                return (ISC_R_RANGE);
        if (DNS_SERIAL_GT(serial, j->header.end.serial))
@@ -1401,7 +1401,7 @@ journal_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *pos) {
 
        current_pos = j->header.begin;
        index_find(j, serial, &current_pos);
-       
+
        while (current_pos.serial != serial) {
                if (DNS_SERIAL_GT(current_pos.serial, serial))
                        return (ISC_R_NOTFOUND);
@@ -1418,10 +1418,10 @@ dns_journal_begin_transaction(dns_journal_t *j) {
        isc_uint32_t offset;
        isc_result_t result;
        journal_rawxhdr_t hdr;
-               
+
        REQUIRE(DNS_JOURNAL_VALID(j));
        REQUIRE(j->state == JOURNAL_STATE_WRITE);
-       
+
        /*
         * Find the file offset where the new transaction should
         * be written, and seek there.
@@ -1437,7 +1437,7 @@ dns_journal_begin_transaction(dns_journal_t *j) {
        j->x.n_soa = 0;
 
        CHECK(journal_seek(j, offset));
-       
+
        /*
         * Write a dummy transaction header of all zeroes to reserve
         * space.  It will be filled in when the transaction is
@@ -1451,7 +1451,7 @@ dns_journal_begin_transaction(dns_journal_t *j) {
        result = ISC_R_SUCCESS;
  failure:
        return (result);
-}      
+}
 
 isc_result_t
 dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) {
@@ -1461,10 +1461,10 @@ dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) {
        unsigned int size;
        isc_result_t result;
        isc_region_t used;
-       
+
        REQUIRE(DNS_DIFF_VALID(diff));
        REQUIRE(j->state == JOURNAL_STATE_TRANSACTION);
-       
+
        isc_log_write(JOURNAL_DEBUG_LOGARGS(3), "writing to journal");
        dns_diff_print(diff, NULL);
 
@@ -1480,7 +1480,7 @@ dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) {
                        if (j->x.n_soa < 2)
                                j->x.pos[j->x.n_soa].serial =
                                        dns_soa_getserial(&t->rdata);
-                       j->x.n_soa++; 
+                       j->x.n_soa++;
                }
                size += sizeof(journal_rawrrhdr_t);
                size += t->name.length; /* XXX should have access macro? */
@@ -1491,7 +1491,7 @@ dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) {
        mem = isc_mem_get(j->mctx, size);
        if (mem == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        isc_buffer_init(&buffer, mem, size);
 
        /*
@@ -1517,12 +1517,12 @@ dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) {
                INSIST(isc_buffer_availablelength(&buffer) >= t->rdata.length);
                isc_buffer_putmem(&buffer, t->rdata.data, t->rdata.length);
        }
-       
+
        isc_buffer_usedregion(&buffer, &used);
        INSIST(used.length == size);
 
        j->x.pos[1].offset += used.length;
-               
+
        /*
         * Write the buffer contents to the journal file.
         */
@@ -1534,17 +1534,17 @@ dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) {
        if (mem != NULL)
                isc_mem_put(j->mctx, mem, size);
        return (result);
-       
+
 }
 
 isc_result_t
 dns_journal_commit(dns_journal_t *j) {
        isc_result_t result;
        journal_rawheader_t rawheader;
-       
+
        REQUIRE(DNS_JOURNAL_VALID(j));
        REQUIRE(j->state == JOURNAL_STATE_TRANSACTION);
-       
+
        /*
         * Perform some basic consistency checks.
         */
@@ -1560,7 +1560,7 @@ dns_journal_commit(dns_journal_t *j) {
        {
                isc_log_write(JOURNAL_COMMON_LOGARGS, ISC_LOG_ERROR,
                              "malformed transaction: serial number "
-                             "would decrease"); 
+                             "would decrease");
                return (ISC_R_UNEXPECTED);
        }
        if (! JOURNAL_EMPTY(&j->header)) {
@@ -1575,7 +1575,7 @@ dns_journal_commit(dns_journal_t *j) {
                        return (ISC_R_UNEXPECTED);
                }
        }
-       
+
        /*
         * Some old journal entries may become non-addressable
         * when we increment the current serial number.  Purge them
@@ -1615,10 +1615,10 @@ dns_journal_commit(dns_journal_t *j) {
                j->header.begin = j->x.pos[0];
        }
        j->header.end = j->x.pos[1];
-       journal_header_encode(&j->header, &rawheader);  
+       journal_header_encode(&j->header, &rawheader);
        CHECK(journal_seek(j, 0));
        CHECK(journal_write(j, &rawheader, sizeof(rawheader)));
-       
+
        /*
         * Update the index.
         */
@@ -1634,7 +1634,7 @@ dns_journal_commit(dns_journal_t *j) {
                unsigned int rawbytes;
 
                rawbytes = j->header.index_size * sizeof(journal_rawpos_t);
-               
+
                p = j->rawindex;
                for (i = 0; i < j->header.index_size; i++) {
                        encode_uint32(j->index[i].serial, p);
@@ -1643,7 +1643,7 @@ dns_journal_commit(dns_journal_t *j) {
                        p += 4;
                }
                INSIST(p == j->rawindex + rawbytes);
-               
+
                CHECK(journal_write(j, j->index, rawbytes));
        }
 
@@ -1656,7 +1656,7 @@ dns_journal_commit(dns_journal_t *j) {
         * We no longer have a transaction open.
         */
        j->state = JOURNAL_STATE_WRITE;
-       
+
        result = ISC_R_SUCCESS;
 
  failure:
@@ -1700,7 +1700,7 @@ dns_journal_destroy(dns_journal_t **journalp) {
        isc_mem_put(j->mctx, j, sizeof(*j));
        *journalp = NULL;
 }
-       
+
 /*
  * Roll the open journal 'j' into the database 'db'.
  * A new database version will be created.
@@ -1720,12 +1720,12 @@ roll_forward(dns_journal_t *j, dns_db_t *db) {
        dns_diff_t diff;
        unsigned int n_soa = 0;
        unsigned int n_put = 0;
-       
+
        REQUIRE(DNS_JOURNAL_VALID(j));
        REQUIRE(DNS_DB_VALID(db));
-       
+
        dns_diff_init(j->mctx, &diff);
-       
+
        /*
         * Set up empty initial buffers for uncheched and checked
         * wire format transaction data.  They will be reallocated
@@ -1772,11 +1772,11 @@ roll_forward(dns_journal_t *j, dns_db_t *db) {
                isc_uint32_t ttl;
                dns_rdata_t *rdata;
                dns_difftuple_t *tuple = NULL;
-               
+
                name = NULL;
                rdata = NULL;
                dns_journal_current_rr(j, &name, &ttl, &rdata);
-               
+
                if (rdata->type == dns_rdatatype_soa)
                        n_soa++;
 
@@ -1813,7 +1813,7 @@ roll_forward(dns_journal_t *j, dns_db_t *db) {
                CHECK(dns_diff_apply(&diff, db, ver));
                dns_diff_clear(&diff);
        }
-       
+
  failure:
        if (ver != NULL)
                dns_db_closeversion(db, &ver, result == ISC_R_SUCCESS ?
@@ -1825,7 +1825,7 @@ roll_forward(dns_journal_t *j, dns_db_t *db) {
                isc_mem_put(j->mctx, target.base, target.length);
 
        dns_diff_clear(&diff);
-       
+
        return (result);
 }
 
@@ -1836,7 +1836,7 @@ dns_journal_rollforward(isc_mem_t *mctx, dns_db_t *db, const char *filename) {
 
        REQUIRE(DNS_DB_VALID(db));
        REQUIRE(filename != NULL);
-       
+
        j = NULL;
        result = dns_journal_open(mctx, filename, ISC_FALSE, &j);
        if (result == ISC_R_NOTFOUND) {
@@ -1864,7 +1864,7 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
        dns_diff_t diff;
        unsigned int n_soa = 0;
        unsigned int n_put = 0;
-       
+
        REQUIRE(filename != NULL);
 
        j = NULL;
@@ -1879,9 +1879,9 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
                              "journal open failure");
                return (result);
        }
-       
+
        dns_diff_init(j->mctx, &diff);
-       
+
        /*
         * Set up empty initial buffers for uncheched and checked
         * wire format transaction data.  They will be reallocated
@@ -1903,11 +1903,11 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
                isc_uint32_t ttl;
                dns_rdata_t *rdata;
                dns_difftuple_t *tuple = NULL;
-               
+
                name = NULL;
                rdata = NULL;
                dns_journal_current_rr(j, &name, &ttl, &rdata);
-               
+
                if (rdata->type == dns_rdatatype_soa)
                        n_soa++;
 
@@ -1941,7 +1941,7 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
                dns_diff_clear(&diff);
        }
        goto cleanup;
-       
+
  failure:
        isc_log_write(JOURNAL_COMMON_LOGARGS, ISC_LOG_ERROR,
                      "%s: cannot print: journal file corrupt", j->filename);
@@ -1954,7 +1954,7 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
 
        dns_diff_clear(&diff);
        dns_journal_destroy(&j);
-       
+
        return (result);
 }
 
@@ -2013,11 +2013,11 @@ dns_journal_iter_init(dns_journal_t *j,
                      isc_uint32_t begin_serial, isc_uint32_t end_serial)
 {
        isc_result_t result;
-       
-       CHECK(journal_find(j, begin_serial, &j->it.bpos)); 
+
+       CHECK(journal_find(j, begin_serial, &j->it.bpos));
        INSIST(j->it.bpos.serial == begin_serial);
 
-       CHECK(journal_find(j, end_serial, &j->it.epos)); 
+       CHECK(journal_find(j, end_serial, &j->it.epos));
        INSIST(j->it.epos.serial == end_serial);
 
        result = ISC_R_SUCCESS;
@@ -2031,8 +2031,8 @@ isc_result_t
 dns_journal_first_rr(dns_journal_t *j) {
        isc_result_t result;
 
-       /* 
-        * Seek to the beginning of the first transaction we are 
+       /*
+        * Seek to the beginning of the first transaction we are
         * interested in.
         */
        CHECK(journal_seek(j, j->it.bpos.offset));
@@ -2042,7 +2042,7 @@ dns_journal_first_rr(dns_journal_t *j) {
        j->it.xpos = 0;   /* ...and haven't used any of it. */
 
        return (read_one_rr(j));
-       
+
  failure:
        return (result);
 }
@@ -2050,7 +2050,7 @@ dns_journal_first_rr(dns_journal_t *j) {
 static isc_result_t
 read_one_rr(dns_journal_t *j) {
        isc_result_t result;
-       
+
        dns_rdatatype_t rdtype;
        dns_rdataclass_t rdclass;
        unsigned int rdlen;
@@ -2100,25 +2100,25 @@ read_one_rr(dns_journal_t *j) {
                                 "(%d bytes)", j->filename, rrhdr.size);
                FAIL(ISC_R_UNEXPECTED);
        }
-       
+
        CHECK(size_buffer(j->mctx, &j->it.source, rrhdr.size));
        CHECK(journal_read(j, j->it.source.base, rrhdr.size));
        isc_buffer_add(&j->it.source, rrhdr.size);
 
-       /* 
+       /*
         * The target buffer is made the same size
         * as the source buffer, with the assumption that when
         * no compression in present, the output of dns_*_fromwire()
         * is no larger than the input.
         */
        CHECK(size_buffer(j->mctx, &j->it.target, rrhdr.size));
-       
+
        /*
         * Parse the owner name.  We don't know where it
         * ends yet, so we make the entire "remaining"
         * part of the buffer "active".
         */
-       isc_buffer_setactive(&j->it.source, 
+       isc_buffer_setactive(&j->it.source,
                             j->it.source.used - j->it.source.current);
        CHECK(dns_name_fromwire(&j->it.name, &j->it.source,
                                &j->it.dctx, ISC_FALSE, &j->it.target));
@@ -2128,7 +2128,7 @@ read_one_rr(dns_journal_t *j) {
         */
        if (isc_buffer_remaininglength(&j->it.source) < 10)
                FAIL(DNS_R_FORMERR);
-       
+
        rdtype = isc_buffer_getuint16(&j->it.source);
        rdclass = isc_buffer_getuint16(&j->it.source);
        ttl = isc_buffer_getuint32(&j->it.source);
@@ -2148,7 +2148,7 @@ read_one_rr(dns_journal_t *j) {
                /* XXX could do additional consistency checks here */
                j->it.current_serial = dns_soa_getserial(&j->it.rdata);
        }
-               
+
        result = ISC_R_SUCCESS;
 
  failure:
@@ -2199,7 +2199,7 @@ get_name_diff(dns_db_t *db, dns_dbversion_t *ver, isc_stdtime_t now,
        result = dns_dbiterator_current(dbit, &node, name);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        result = dns_db_allrdatasets(db, node, ver, now, &rdsiter);
        if (result != ISC_R_SUCCESS)
                goto cleanup_node;
@@ -2234,7 +2234,7 @@ get_name_diff(dns_db_t *db, dns_dbversion_t *ver, isc_stdtime_t now,
        }
        if (result != ISC_R_NOMORE)
                goto cleanup_iterator;
-       
+
        result = ISC_R_SUCCESS;
 
  cleanup_iterator:
@@ -2279,7 +2279,7 @@ dns_diff_subtract(dns_diff_t diff[2], dns_diff_t *r) {
                p[1] = ISC_LIST_HEAD(diff[1].tuples);
                if (p[0] == NULL && p[1] == NULL)
                        break;
-               
+
                for (i = 0; i < 2; i++)
                        if (p[!i] == NULL) {
                                ISC_LIST_UNLINK(diff[i].tuples, p[i], link);
@@ -2337,11 +2337,11 @@ dns_db_diff(isc_mem_t *mctx,
 
        db[0] = dba, db[1] = dbb;
        ver[0] = dbvera, ver[1] = dbverb;
-       
+
        dns_diff_init(mctx, &diff[0]);
        dns_diff_init(mctx, &diff[1]);
        dns_diff_init(mctx, &resultdiff);
-       
+
        dns_fixedname_init(&fixname[0]);
        dns_fixedname_init(&fixname[1]);
 
@@ -2366,7 +2366,7 @@ dns_db_diff(isc_mem_t *mctx,
                                have[i] = ISC_TRUE;
                        }
                }
-               
+
                if (! have[0] && ! have[1]) {
                        INSIST(ISC_LIST_EMPTY(diff[0].tuples));
                        INSIST(ISC_LIST_EMPTY(diff[1].tuples));
@@ -2382,7 +2382,7 @@ dns_db_diff(isc_mem_t *mctx,
                                goto next;
                        }
                }
-               
+
                t = dns_name_compare(dns_fixedname_name(&fixname[0]),
                                     dns_fixedname_name(&fixname[1]));
                if (t < 0) {
@@ -2419,7 +2419,7 @@ dns_db_diff(isc_mem_t *mctx,
        INSIST(ISC_LIST_EMPTY(diff[0].tuples));
        INSIST(ISC_LIST_EMPTY(diff[1].tuples));
        dns_diff_clear(&resultdiff);
-       
+
  failure:
        dns_dbiterator_destroy(&dbit[0]);
        dns_dbiterator_destroy(&dbit[1]);
index 374b57ced0ac7d52da351c994a97d187a3d72726..ea1a4687a015a82ce7595f6d20ee9d871359e906 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keytable.c,v 1.20 2000/07/27 09:46:09 tale Exp $ */
+/* $Id: keytable.c,v 1.21 2000/08/01 01:22:26 tale Exp $ */
 
 #include <config.h>
 
@@ -39,7 +39,7 @@ struct dns_keytable {
        isc_uint32_t            active_nodes;
        /* Locked by rwlock. */
        isc_uint32_t            references;
-       dns_rbt_t               *table; 
+       dns_rbt_t               *table;
 };
 
 #define KEYTABLE_MAGIC                 0x4b54626cU     /* KTbl */
@@ -160,7 +160,7 @@ dns_keytable_detach(dns_keytable_t **keytablep) {
        keytable = *keytablep;
 
        RWLOCK(&keytable->rwlock, isc_rwlocktype_write);
-       
+
        INSIST(keytable->references > 0);
        keytable->references--;
        LOCK(&keytable->lock);
index 67f44d600991f5b04a84154cfa0701360781e8d2..dba467130823b88f9eaab6574a3a382e5193af17 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.c,v 1.6 2000/07/27 09:46:10 tale Exp $ */
+/* $Id: lib.c,v 1.7 2000/08/01 01:22:27 tale Exp $ */
 
 #include <config.h>
 
index 78c80f95122f99ff667b6005cd6241c0a49f9322..b79051f6a9c92cbce76154a61f7f3c11a2676965 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.25 2000/07/27 09:46:11 tale Exp $ */
+/* $Id: log.c,v 1.26 2000/08/01 01:22:28 tale Exp $ */
 
 /* Principal Authors: DCL */
 
index b6c0b21baf11ea9ca61f83f29d6a6ca399c776c2..5a6aa22c69370019e2dfbd10a9354958d88ef5c6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: master.c,v 1.60 2000/07/30 20:28:07 bwelling Exp $ */
+/* $Id: master.c,v 1.61 2000/08/01 01:22:30 tale Exp $ */
 
 #include <config.h>
 
@@ -43,7 +43,7 @@
  *
  * RDLSZ reflects the number of different types with the same name expected.
  * RDSZ reflects the number of rdata expected at a give name that can fit into
- * 64k. 
+ * 64k.
  */
 
 #define RDLSZ 32
@@ -55,7 +55,7 @@
 /*
  * Target buffer size and minimum target size.
  * MINTSIZ must be big enough to hold the largest rdata record.
- * 
+ *
  * TSIZ >= MINTSIZ
  */
 #define TSIZ (128*1024)
  * max message size - header - root - type - class - ttl - rdlen
  */
 #define MINTSIZ (65535 - 12 - 1 - 2 - 2 - 4 - 2)
-/* 
- * Size for tokens in the presentation format, 
+/*
+ * Size for tokens in the presentation format,
  * The largest tokens are the base64 blocks in KEY and CERT records,
- * Largest key allowed is about 1372 bytes but 
+ * Largest key allowed is about 1372 bytes but
  * there is no fixed upper bound on CERT records.
  * 2K is too small for some X.509s, 8K is overkill.
  */
@@ -78,7 +78,7 @@ typedef ISC_LIST(dns_rdatalist_t) rdatalist_head_t;
  * Master file loading state that persists across $INCLUDEs.
  */
 typedef struct {
-       isc_boolean_t   ttl_known; 
+       isc_boolean_t   ttl_known;
        isc_boolean_t   default_ttl_known;
        isc_uint32_t    ttl;
        isc_uint32_t    default_ttl;
@@ -177,7 +177,7 @@ loadctx_init(loadctx_t *ctx) {
        ctx->default_ttl = 0;
        ctx->warn_1035 = ISC_TRUE;      /* XXX Argument? */
 }
-            
+
 static isc_result_t
 load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
      dns_rdataclass_t zclass, isc_boolean_t age_ttl,
@@ -200,7 +200,7 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
        isc_boolean_t initialws;
        char *include_file = NULL;
        isc_token_t token;
-       isc_result_t result = ISC_R_UNEXPECTED; 
+       isc_result_t result = ISC_R_UNEXPECTED;
        rdatalist_head_t glue_list;
        rdatalist_head_t current_list;
        dns_rdatalist_t *this;
@@ -331,7 +331,7 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
                                if (ttl_offset != 0) {
                                        (callbacks->error)(callbacks,
                                           "%s: %s:%lu: $INCLUDE "
-                                          "may not be used with $DATE", 
+                                          "may not be used with $DATE",
                                           "dns_master_load",
                                           isc_lex_getsourcename(lex),
                                           isc_lex_getsourceline(lex));
@@ -408,10 +408,10 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
                                ttl_offset = current_time - dump_time;
                                read_till_eol = ISC_TRUE;
                                continue;
-                       } else if (strncasecmp(token.value.as_pointer, 
+                       } else if (strncasecmp(token.value.as_pointer,
                                               "$", 1) == 0) {
-                               (callbacks->error)(callbacks, 
-                                                  "%s: %s:%lu: " 
+                               (callbacks->error)(callbacks,
+                                                  "%s: %s:%lu: "
                                                   "unknown $ directive '%s'",
                                                   "dns_master_load",
                                                   isc_lex_getsourcename(lex),
@@ -622,7 +622,7 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
                                           isc_lex_getsourcename(lex),
                                           isc_lex_getsourceline(lex));
                        ctx->warn_1035 = ISC_FALSE;
-               } 
+               }
 
                if (token.type != isc_tokentype_string) {
                        UNEXPECTED_ERROR(__FILE__, __LINE__,
@@ -630,7 +630,7 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
                        result = ISC_R_UNEXPECTED;
                        goto cleanup;
                }
-                       
+
                if (rdclass == 0 &&
                    dns_rdataclass_fromtext(&rdclass,
                                            &token.value.as_textregion)
@@ -700,7 +700,7 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
                        /*
                         * Adjust the TTL for $DATE.  If the RR has already
                         * expired, ignore it without even parsing the rdata
-                        * part (good for performance, bad for catching 
+                        * part (good for performance, bad for catching
                         * syntax errors).
                         */
                        if (ctx->ttl < ttl_offset) {
@@ -850,9 +850,9 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
                isc_lex_close(lex);
                isc_lex_destroy(&lex);
        }
-       while ((this = ISC_LIST_HEAD(current_list)) != NULL) 
+       while ((this = ISC_LIST_HEAD(current_list)) != NULL)
                ISC_LIST_UNLINK(current_list, this, link);
-       while ((this = ISC_LIST_HEAD(glue_list)) != NULL) 
+       while ((this = ISC_LIST_HEAD(glue_list)) != NULL)
                ISC_LIST_UNLINK(glue_list, this, link);
        if (rdatalist != NULL)
                isc_mem_put(mctx, rdatalist,
@@ -943,7 +943,7 @@ dns_master_loadbuffer(isc_buffer_t *buffer, dns_name_t *top,
        REQUIRE(buffer != NULL);
 
        loadctx_init(&ctx);
-       
+
        result = isc_lex_create(mctx, TOKENSIZ, &lex);
        if (result != ISC_R_SUCCESS)
                return (result);
@@ -1046,7 +1046,7 @@ grow_rdata(int new_len, dns_rdata_t *old, int old_len,
                }
                this = ISC_LIST_NEXT(this, link);
        }
-       
+
        /*
         * Copy glue relinking.
         */
index a6fad91eaccb0157bcd2c4914b0566117e0b336a..0cb3fae5de504f2eb90ba5af6d0f6e9d84359213 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: masterdump.c,v 1.28 2000/07/27 09:46:13 tale Exp $ */
+/* $Id: masterdump.c,v 1.29 2000/08/01 01:22:31 tale Exp $ */
 
 #include <config.h>
 
@@ -59,23 +59,23 @@ struct dns_master_style {
  * define the formatting of the rdata part and are defined in
  * rdata.h.
  */
+
 /* Omit the owner name when possible. */
 #define DNS_STYLEFLAG_OMIT_OWNER       0x00010000U
 
 /*
- * Omit the TTL when possible.  If DNS_STYLEFLAG_TTL is 
+ * Omit the TTL when possible.  If DNS_STYLEFLAG_TTL is
  * also set, this means no TTLs are ever printed
  * because $TTL directives are generated before every
- * change in the TTL.  In this case, no columns need to 
+ * change in the TTL.  In this case, no columns need to
  * be reserved for the TTL.  Master files generated with
  * these options will be rejected by BIND 4.x because it
  * does not recognize the $TTL directive.
  *
- * If DNS_STYLEFLAG_TTL is not also set, the TTL will be 
+ * If DNS_STYLEFLAG_TTL is not also set, the TTL will be
  * omitted when it is equal to the previous TTL.
- * This is correct according to RFC1035, but the 
- * TTLs may be silently misinterpreted by older 
+ * This is correct according to RFC1035, but the
+ * TTLs may be silently misinterpreted by older
  * versions of BIND which use the SOA MINTTL as a
  * default TTL value.
  */
@@ -93,14 +93,14 @@ struct dns_master_style {
  */
 #define DNS_STYLEFLAG_REL_OWNER                0x00100000U
 
-/* Print domain names in RR data in relative form when possible. 
+/* Print domain names in RR data in relative form when possible.
    For this to take effect, DNS_STYLEFLAG_REL_OWNER must also be set. */
 #define DNS_STYLEFLAG_REL_DATA         0x00200000U
 
 
 /*
  * The maximum length of the newline+indentation that is output
- * when inserting a line break in an RR.  This effectively puts an 
+ * when inserting a line break in an RR.  This effectively puts an
  * upper limits on the value of "rdata_column", because if it is
  * very large, the tabs and spaces needed to reach it will not fit.
  */
@@ -126,7 +126,7 @@ typedef struct dns_totext_ctx {
  * Because the TTL is always omitted, and the class is almost always
  * omitted, neither is allocated any columns.
  */
-const dns_master_style_t 
+const dns_master_style_t
 dns_master_style_default = {
        DNS_STYLEFLAG_OMIT_OWNER |
        DNS_STYLEFLAG_OMIT_CLASS |
@@ -136,13 +136,13 @@ dns_master_style_default = {
        DNS_STYLEFLAG_TTL |
        DNS_STYLEFLAG_COMMENT |
        DNS_STYLEFLAG_MULTILINE,
-       24, 24, 24, 32, 80, 8 
+       24, 24, 24, 32, 80, 8
 };
 
 /*
  * A style suitable for dns_rdataset_totext().
  */
-dns_master_style_t 
+dns_master_style_t
 dns_masterfile_style_debug = {
         DNS_STYLEFLAG_REL_OWNER,
        24, 32, 40, 48, 80, 8
@@ -158,7 +158,7 @@ static char tabs[N_TABS+1] = "\t\t\t\t\t\t\t\t\t\t";
 
 
 /*
- * Output tabs and spaces to go from column '*current' to 
+ * Output tabs and spaces to go from column '*current' to
  * column 'to', and update '*current' to reflect the new
  * current column.
  */
@@ -177,7 +177,7 @@ indent(unsigned int *current, unsigned int to, int tabwidth,
                to = from + 1;
 
        ntabs = to / tabwidth - from / tabwidth;
-       if (ntabs < 0) 
+       if (ntabs < 0)
                ntabs = 0;
 
        if (ntabs > 0) {
@@ -185,7 +185,7 @@ indent(unsigned int *current, unsigned int to, int tabwidth,
                if (r.length < (unsigned) ntabs)
                        return (ISC_R_NOSPACE);
                p = r.base;
-       
+
                t = ntabs;
                while (t) {
                        int n = t;
@@ -207,7 +207,7 @@ indent(unsigned int *current, unsigned int to, int tabwidth,
                return (ISC_R_NOSPACE);
        p = r.base;
 
-       t = nspaces;    
+       t = nspaces;
        while (t) {
                int n = t;
                if (n > N_SPACES)
@@ -216,7 +216,7 @@ indent(unsigned int *current, unsigned int to, int tabwidth,
                p += n;
                t -= n;
        }
-       isc_buffer_add(target, nspaces);        
+       isc_buffer_add(target, nspaces);
 
        *current = to;
        return (ISC_R_SUCCESS);
@@ -225,12 +225,12 @@ indent(unsigned int *current, unsigned int to, int tabwidth,
 static isc_result_t
 totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
        isc_result_t result;
-       
+
        REQUIRE(style->tab_width != 0);
 
        ctx->style = *style;
        ctx->class_printed = ISC_FALSE;
-       
+
        dns_fixedname_init(&ctx->origin_fixname);
 
        /*
@@ -243,19 +243,19 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
 
                isc_buffer_init(&buf, ctx->linebreak_buf,
                                sizeof(ctx->linebreak_buf));
-               
+
                isc_buffer_availableregion(&buf, &r);
                if (r.length < 1)
                        return (DNS_R_TEXTTOOLONG);
                r.base[0] = '\n';
                isc_buffer_add(&buf, 1);
 
-               result = indent(&col, ctx->style.rdata_column, 
+               result = indent(&col, ctx->style.rdata_column,
                                ctx->style.tab_width, &buf);
                /*
                 * Do not return ISC_R_NOSPACE if the line break string
-                * buffer is too small, because that would just make 
-                * dump_rdataset() retry indenfinitely with ever 
+                * buffer is too small, because that would just make
+                * dump_rdataset() retry indenfinitely with ever
                 * bigger target buffers.  That's a different buffer,
                 * so it won't help.  Use DNS_R_TEXTTOOLONG as a substitute.
                 */
@@ -263,7 +263,7 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
                        return (DNS_R_TEXTTOOLONG);
                if (result != ISC_R_SUCCESS)
                        return (result);
-               
+
                isc_buffer_availableregion(&buf, &r);
                if (r.length < 1)
                        return (DNS_R_TEXTTOOLONG);
@@ -277,7 +277,7 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
        ctx->origin = NULL;
        ctx->current_ttl = 0;
        ctx->current_ttl_valid = ISC_FALSE;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -309,9 +309,9 @@ rdataset_totext(dns_rdataset_t *rdataset,
        isc_boolean_t first = ISC_TRUE;
        isc_uint32_t current_ttl;
        isc_boolean_t current_ttl_valid;
-       
+
        REQUIRE(DNS_RDATASET_VALID(rdataset));
-       
+
        result = dns_rdataset_first(rdataset);
        REQUIRE(result == ISC_R_SUCCESS);
 
@@ -320,7 +320,7 @@ rdataset_totext(dns_rdataset_t *rdataset,
 
        do {
                column = 0;
-               
+
                /*
                 * Owner name.
                 */
@@ -357,7 +357,7 @@ rdataset_totext(dns_rdataset_t *rdataset,
                        column += length;
 
                        /*
-                        * If the $TTL directive is not in use, the TTL we 
+                        * If the $TTL directive is not in use, the TTL we
                         * just printed becomes the default for subsequent RRs.
                         */
                        if ((ctx->style.flags & DNS_STYLEFLAG_TTL) == 0) {
@@ -397,7 +397,7 @@ rdataset_totext(dns_rdataset_t *rdataset,
 
                /*
                 * Rdata.
-                */ 
+                */
                {
                        dns_rdata_t rdata;
                        isc_region_t r;
@@ -429,10 +429,10 @@ rdataset_totext(dns_rdataset_t *rdataset,
 
        /*
         * Update the ctx state to reflect what we just printed.
-        * This is done last, only when we are sure we will return 
-        * success, because this function may be called multiple 
+        * This is done last, only when we are sure we will return
+        * success, because this function may be called multiple
         * times with increasing buffer sizes until it succeeds,
-        * and failed attempts must not update the state prematurely. 
+        * and failed attempts must not update the state prematurely.
         */
        ctx->class_printed = ISC_TRUE;
        ctx->current_ttl= current_ttl;
@@ -505,7 +505,7 @@ question_totext(dns_rdataset_t *rdataset,
 
 /*
  * Provide a backwards compatible interface for printing a
- * single rdataset or question section.  This is now used 
+ * single rdataset or question section.  This is now used
  * only by wire_test.c.
  */
 isc_result_t
@@ -532,36 +532,36 @@ dns_rdataset_totext(dns_rdataset_t *rdataset,
         */
        if (dns_name_countlabels(owner_name) == 0)
                owner_name = NULL;
-       
+
        if (no_rdata_or_ttl)
-               return (question_totext(rdataset, owner_name, &ctx, 
+               return (question_totext(rdataset, owner_name, &ctx,
                                        omit_final_dot, target));
        else
-               return (rdataset_totext(rdataset, owner_name, &ctx, 
+               return (rdataset_totext(rdataset, owner_name, &ctx,
                                        omit_final_dot, target));
 }
 
 /*
  * Print an rdataset.  'buffer' is a scratch buffer, which must have been
- * dynamically allocated by the caller.  It must be large enough to 
+ * dynamically allocated by the caller.  It must be large enough to
  * hold the result from dns_ttl_totext().  If more than that is needed,
  * the buffer will be grown automatically.
  */
 
 static isc_result_t
 dump_rdataset(isc_mem_t *mctx, dns_name_t *name, dns_rdataset_t *rdataset,
-             dns_totext_ctx_t *ctx, 
+             dns_totext_ctx_t *ctx,
              isc_buffer_t *buffer, FILE *f)
 {
        isc_region_t r;
        isc_result_t result;
-       
+
        REQUIRE(buffer->length > 0);
 
        /*
         * Output a $TTL directive if needed.
         */
-       
+
        if ((ctx->style.flags & DNS_STYLEFLAG_TTL) != 0) {
                if (ctx->current_ttl_valid == ISC_FALSE ||
                    ctx->current_ttl != rdataset->ttl)
@@ -582,13 +582,13 @@ dump_rdataset(isc_mem_t *mctx, dns_name_t *name, dns_rdataset_t *rdataset,
                        ctx->current_ttl_valid = ISC_TRUE;
                }
        }
-       
+
        isc_buffer_clear(buffer);
 
        /*
         * Generate the text representation of the rdataset into
         * the buffer.  If the buffer is too small, grow it.
-        */ 
+        */
        for (;;) {
                int newlength;
                void *newmem;
@@ -619,7 +619,7 @@ dump_rdataset(isc_mem_t *mctx, dns_name_t *name, dns_rdataset_t *rdataset,
                                 isc_result_totext(result));
                return (result);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -627,13 +627,13 @@ dump_rdataset(isc_mem_t *mctx, dns_name_t *name, dns_rdataset_t *rdataset,
  * Dump all the rdatasets of a domain name to a master file.
  */
 static isc_result_t
-dump_rdatasets(isc_mem_t *mctx, dns_name_t *name, dns_rdatasetiter_t *rdsiter, 
+dump_rdatasets(isc_mem_t *mctx, dns_name_t *name, dns_rdatasetiter_t *rdsiter,
               dns_totext_ctx_t *ctx,
               isc_buffer_t *buffer, FILE *f)
 {
        isc_result_t result;
        dns_rdataset_t rdataset;
-       
+
        dns_rdataset_init(&rdataset);
        result = dns_rdatasetiter_first(rdsiter);
        while (result == ISC_R_SUCCESS) {
@@ -664,12 +664,12 @@ dump_rdatasets(isc_mem_t *mctx, dns_name_t *name, dns_rdatasetiter_t *rdsiter,
 
 /*
  * Initial size of text conversion buffer.  The buffer is used
- * for several purposes: converting origin names, rdatasets, 
+ * for several purposes: converting origin names, rdatasets,
  * $DATE timestamps, and comment strings for $TTL directives.
  *
  * When converting rdatasets, it is dynamically resized, but
- * when converting origins, timestamps, etc it is not.  Therefore, 
- * the  initial size must large enough to hold the longest possible 
+ * when converting origins, timestamps, etc it is not.  Therefore,
+ * the  initial size must large enough to hold the longest possible
  * text representation of any domain name (for $ORIGIN).
  */
 static const int initial_buffer_length = 1200;
@@ -708,13 +708,13 @@ dns_master_dumptostream(isc_mem_t *mctx, dns_db_t *db,
        bufmem = isc_mem_get(mctx, initial_buffer_length);
        if (bufmem == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        isc_buffer_init(&buffer, bufmem, initial_buffer_length);
 
        /*
         * If the database has cache semantics, output an RFC2540
         * $DATE directive so that the TTLs can be adjusted when
-        * it is reloaded.  For zones it is not really needed, and 
+        * it is reloaded.  For zones it is not really needed, and
         * it would make the file incompatible with pre-RFC2540
         * software, so we omit it in the zone case.
         */
@@ -726,7 +726,7 @@ dns_master_dumptostream(isc_mem_t *mctx, dns_db_t *db,
        }
 
        result = dns_db_createiterator(db,
-                      ((ctx.style.flags & DNS_STYLEFLAG_REL_OWNER) != 0) ? 
+                      ((ctx.style.flags & DNS_STYLEFLAG_REL_OWNER) != 0) ?
                           ISC_TRUE : ISC_FALSE,
                       &dbiter);
        if (result != ISC_R_SUCCESS)
@@ -773,10 +773,10 @@ dns_master_dumptostream(isc_mem_t *mctx, dns_db_t *db,
                goto iter_failure;
 
        result = ISC_R_SUCCESS;
-       
+
  iter_failure:
        dns_dbiterator_destroy(&dbiter);
-       
+
  create_iter_failure:
        isc_mem_put(mctx, buffer.base, buffer.length);
        return (result);
index 53fccf7a9813bd785d661068b2e65b6aa35da2fb..191085278a69cdd1c3d8cd7f16c992e9b2012703 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: message.c,v 1.137 2000/07/27 09:46:15 tale Exp $ */
+/* $Id: message.c,v 1.138 2000/08/01 01:22:32 tale Exp $ */
 
 /***
  *** Imports
@@ -843,7 +843,7 @@ getrdata(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
                 * the const attribute of a string, for compilers that
                 * would warn about such things.
                 */
-               rdata->data = (unsigned char *)1; 
+               rdata->data = (unsigned char *)1;
                rdata->length = 0;
                rdata->rdclass = rdclass;
                rdata->type = rdtype;
@@ -1116,7 +1116,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
                 * established a class.  Do so now.
                 */
                if (msg->state == DNS_SECTION_ANY) {
-                       if ((msg->opcode != dns_opcode_update) && 
+                       if ((msg->opcode != dns_opcode_update) &&
                            (rdclass == 0 || rdclass == dns_rdataclass_any)) {
                                result = DNS_R_FORMERR;
                                goto cleanup;
@@ -1124,7 +1124,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
                        msg->rdclass = rdclass;
                        msg->state = DNS_SECTION_QUESTION;
                }
-                  
+
                /*
                 * If this class is different than the one in the question
                 * section, bail.
@@ -1192,7 +1192,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
                                goto cleanup;
                        }
                }
-               
+
                /*
                 * ... now get ttl and rdatalen, and check buffer.
                 */
@@ -1205,7 +1205,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
                }
 
                /*
-                * Read the rdata from the wire format.  Interpret the 
+                * Read the rdata from the wire format.  Interpret the
                 * rdata according to its actual class, even if it had a
                 * DynDNS meta-class in the packet (unless this is a TSIG).
                 * Then put the meta-class back into the finished rdata.
@@ -1408,7 +1408,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
                INSIST(free_name == ISC_FALSE);
                INSIST(free_rdataset == ISC_FALSE);
        }
-       
+
        return (ISC_R_SUCCESS);
 
  cleanup:
@@ -1942,7 +1942,7 @@ dns_message_nextname(dns_message_t *msg, dns_section_t section) {
        REQUIRE(DNS_MESSAGE_VALID(msg));
        REQUIRE(VALID_NAMED_SECTION(section));
        REQUIRE(msg->cursors[section] != NULL);
-       
+
        msg->cursors[section] = ISC_LIST_NEXT(msg->cursors[section], link);
 
        if (msg->cursors[section] == NULL)
@@ -2226,7 +2226,7 @@ dns_message_getopt(dns_message_t *msg) {
         */
 
        REQUIRE(DNS_MESSAGE_VALID(msg));
-       
+
        return (msg->opt);
 }
 
@@ -2349,7 +2349,7 @@ dns_message_setquerytsig(dns_message_t *msg, isc_buffer_t *querytsig) {
        result = dns_message_gettemprdata(msg, &rdata);
        if (result != ISC_R_SUCCESS)
                goto cleanup;
-       
+
        result = dns_message_gettemprdatalist(msg, &list);
        if (result != ISC_R_SUCCESS)
                goto cleanup;
@@ -2546,7 +2546,7 @@ dns_message_signer(dns_message_t *msg, dns_name_t *signer) {
                result = dns_rdata_tostruct(&rdata, &sig, NULL);
                if (result != ISC_R_SUCCESS)
                        return (result);
-               
+
                if (msg->verified_sig && msg->sig0status == dns_rcode_noerror)
                        result = ISC_R_SUCCESS;
                else
index 49210c13efe1ff4026c22e7d5ee085e96b12edd2..ccb91d30c6d97a7870de23b695e845885c648d75 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: name.c,v 1.99 2000/07/31 23:09:49 tale Exp $ */
+/* $Id: name.c,v 1.100 2000/08/01 01:22:33 tale Exp $ */
 
 #include <config.h>
 
@@ -177,7 +177,7 @@ static struct dns_constname root = {
        {
                DNS_NAME_MAGIC,
                root.const_ndata, 1, 1,
-               DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE, 
+               DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE,
                root.const_offsets, NULL,
                {(void *)-1, (void *)-1},
                {NULL, NULL}
@@ -220,7 +220,7 @@ compact(dns_name_t *name, unsigned char *offsets);
 static inline unsigned int
 get_bit(unsigned char *array, unsigned int idx) {
        unsigned int byte, shift;
-       
+
        byte = array[idx / 8];
        shift = 7 - (idx % 8);
 
@@ -230,7 +230,7 @@ get_bit(unsigned char *array, unsigned int idx) {
 static inline void
 set_bit(unsigned char *array, unsigned int idx, unsigned int bit) {
        unsigned int shift, mask;
-       
+
        shift = 7 - (idx % 8);
        mask = 1 << shift;
 
@@ -250,7 +250,7 @@ dns_label_type(dns_label_t *label) {
        REQUIRE(label->length > 0);
        REQUIRE(label->base[0] <= 63 ||
                label->base[0] == DNS_LABELTYPE_BITSTRING);
-     
+
        if (label->base[0] <= 63)
                return (dns_labeltype_ordinary);
        else
@@ -272,7 +272,7 @@ dns_label_countbits(dns_label_t *label) {
        count = label->base[1];
        if (count == 0)
                count = 256;
-       
+
        return (count);
 }
 
@@ -308,7 +308,7 @@ dns_name_init(dns_name_t *name, unsigned char *offsets) {
        /*
         * Initialize 'name'.
         */
-        
+
        name->magic = DNS_NAME_MAGIC;
        name->ndata = NULL;
        name->length = 0;
@@ -694,7 +694,7 @@ dns_name_compare(const dns_name_t *name1, const dns_name_t *name2) {
         * compared the caller must ensure that they are both relative to the
         * same domain.
         */
-       
+
        (void)dns_name_fullcompare(name1, name2, &order, &nlabels, &nbits);
 
        return (order);
@@ -958,12 +958,12 @@ dns_name_getlabel(const dns_name_t *name, unsigned int n, dns_label_t *label) {
        /*
         * Make 'label' refer to the 'n'th least significant label of 'name'.
         */
-       
+
        REQUIRE(VALID_NAME(name));
        REQUIRE(name->labels > 0);
        REQUIRE(n < name->labels);
        REQUIRE(label != NULL);
-       
+
        SETUP_OFFSETS(name, offsets, odata);
 
        label->base = &name->ndata[offsets[n]];
@@ -1139,7 +1139,7 @@ dns_name_fromtext(dns_name_t *name, isc_buffer_t *source,
        }
 
        REQUIRE(BINDABLE(name));
-       
+
        INIT_OFFSETS(name, offsets, odata);
        offsets[0] = 0;
 
@@ -1156,7 +1156,7 @@ dns_name_fromtext(dns_name_t *name, isc_buffer_t *source,
        tbcount = 0;
        bitlength = 0;
        maxlength = 0;
-       kind = ft_init; 
+       kind = ft_init;
 
        /*
         * Make 'name' empty in case of failure.
@@ -1204,7 +1204,7 @@ dns_name_fromtext(dns_name_t *name, isc_buffer_t *source,
                                state = ft_at;
                                break;
                        }
-                               
+
                        /* FALLTHROUGH */
                case ft_start:
                        label = ndata;
@@ -1670,7 +1670,7 @@ dns_name_fromtext(dns_name_t *name, isc_buffer_t *source,
                        }
                        if ((origin->attributes & DNS_NAMEATTR_ABSOLUTE) != 0)
                                name->attributes |= DNS_NAMEATTR_ABSOLUTE;
-               }               
+               }
        } else
                name->attributes |= DNS_NAMEATTR_ABSOLUTE;
 
@@ -1855,7 +1855,7 @@ dns_name_totext(dns_name_t *name, isc_boolean_t omit_final_dot,
                                    "Unexpected label type %02x", count);
                        /* NOTREACHED */
                }
-                                        
+
                /*
                 * The following assumes names are absolute.  If not, we
                 * fix things up later.  Note that this means that in some
@@ -1884,7 +1884,7 @@ dns_name_downcase(dns_name_t *source, dns_name_t *name, isc_buffer_t *target) {
        unsigned char *sndata, *ndata;
        unsigned int nlen, count, bytes, labels;
        isc_buffer_t buffer;
+
        /*
         * Downcase 'source'.
         */
@@ -2216,10 +2216,10 @@ dns_name_fromwire(dns_name_t *name, isc_buffer_t *source,
        hops = 0;
        saw_bitstring = ISC_FALSE;
        done = ISC_FALSE;
-       
+
        ndata = isc_buffer_used(target);
        nused = 0;
-       
+
        /*
         * Find the maximum number of uncompressed target name
         * bytes we are willing to generate.  This is the smaller
@@ -2229,10 +2229,10 @@ dns_name_fromwire(dns_name_t *name, isc_buffer_t *source,
        nmax = isc_buffer_availablelength(target);
        if (nmax > 255)
                nmax = 255;
-       
+
        cdata = isc_buffer_current(source);
        cused = 0;
-       
+
        current = source->current;
        biggest_pointer = current;
 
@@ -2363,7 +2363,7 @@ dns_name_fromwire(dns_name_t *name, isc_buffer_t *source,
 
        isc_buffer_forward(source, cused);
        isc_buffer_add(target, name->length);
-       
+
        return (ISC_R_SUCCESS);
 
  full:
@@ -2379,7 +2379,7 @@ dns_name_fromwire(dns_name_t *name, isc_buffer_t *source,
                 * big enough buffer.
                 */
                return (ISC_R_NOSPACE);
-               
+
 }
 
 isc_result_t
@@ -3063,13 +3063,13 @@ dns_name_digest(dns_name_t *name, dns_digestfunc_t digest, void *arg) {
 
        dns_name_init(&downname, NULL);
        isc_buffer_init(&buffer, data, sizeof(data));
-       
+
        result = dns_name_downcase(name, &downname, &buffer);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        isc_buffer_usedregion(&buffer, &r);
-       
+
        return ((digest)(arg, &r));
 }
 
@@ -3114,7 +3114,7 @@ dns_name_format(dns_name_t *name, char *cp, unsigned int size) {
        isc_buffer_t buf;
 
        REQUIRE(size > 0);
-       
+
        /*
         * Leave room for null termination after buffer.
         */
index 3a8bb017253c7b345b02cdf3a452ec517847a112..f1d4358174fa7f9578e40fc54a30e3d20b205f4f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ncache.c,v 1.20 2000/07/27 09:46:17 tale Exp $ */
+/* $Id: ncache.c,v 1.21 2000/08/01 01:22:35 tale Exp $ */
 
 #include <config.h>
 
@@ -336,7 +336,7 @@ dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx,
                         */
                        rdlen = *target;
                        isc_buffer_add(target, 2);
-                       
+
                        /*
                         * Write the rdata.
                         */
@@ -360,7 +360,7 @@ dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx,
        } while (remaining.length > 0);
 
        *countp = count;
-               
+
        return (ISC_R_SUCCESS);
 
  rollback:
index e4c0e95f3b10b8ba3f0895f4a2f5e146a8ffde54..63bb7134c329620b2fc9ac7e53155cb9f41cdc25 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nxt.c,v 1.19 2000/07/27 09:46:18 tale Exp $ */
+/* $Id: nxt.c,v 1.20 2000/08/01 01:22:36 tale Exp $ */
 
 #include <config.h>
 
@@ -123,7 +123,7 @@ dns_buildnxtrdata(dns_db_t *db, dns_dbversion_t *version,
 
        r.length += ((max_type + 7) / 8);
        INSIST(r.length <= DNS_NXT_BUFFERSIZE);
-       dns_rdata_fromregion(rdata, 
+       dns_rdata_fromregion(rdata,
                             dns_db_class(db),
                             dns_rdatatype_nxt,
                             &r);
@@ -141,13 +141,13 @@ dns_buildnxt(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
        unsigned char data[DNS_NXT_BUFFERSIZE];
        dns_rdatalist_t rdatalist;
        dns_rdataset_t rdataset;
-       
+
        dns_rdataset_init(&rdataset);
 
        result = dns_buildnxtrdata(db, version, node,
                                          target, data, &rdata);
        check_result(result, "dns_buildnxtrdata");
-       
+
        rdatalist.rdclass = dns_rdataclass_in;
        rdatalist.type = dns_rdatatype_nxt;
        rdatalist.covers = 0;
index 81f4547aced75ca1d0bfbfa5c3acdc46609cf0e7..f955ccf8d13ebe6ec7a8dbc0a101a4d63f8956d4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: peer.c,v 1.9 2000/07/27 09:46:20 tale Exp $ */
+/* $Id: peer.c,v 1.10 2000/08/01 01:22:37 tale Exp $ */
 
 #include <config.h>
 
@@ -45,21 +45,21 @@ dns_peer_delete(dns_peer_t **peer);
 isc_result_t
 dns_peerlist_new(isc_mem_t *mem, dns_peerlist_t **list) {
        dns_peerlist_t *l;
-       
+
        REQUIRE(list != NULL);
-       
+
        l = isc_mem_get(mem, sizeof *l);
        if (l == NULL) {
                return (ISC_R_NOMEMORY);
        }
-       
+
        ISC_LIST_INIT(l->elements);
        l->mem = mem;
        l->refs = 1;
        l->magic = DNS_PEERLIST_MAGIC;
-       
+
        *list = l;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -71,7 +71,7 @@ dns_peerlist_attach(dns_peerlist_t *source, dns_peerlist_t **target) {
        REQUIRE(*target == NULL);
 
        source->refs++;
-       
+
        ENSURE(source->refs != 0xffffffffU);
 
        *target = source;
@@ -80,7 +80,7 @@ dns_peerlist_attach(dns_peerlist_t *source, dns_peerlist_t **target) {
 void
 dns_peerlist_detach(dns_peerlist_t **list) {
        dns_peerlist_t *plist;
-       
+
        REQUIRE(list != NULL);
        REQUIRE(*list != NULL);
        REQUIRE(DNS_PEERLIST_VALID(*list));
@@ -105,11 +105,11 @@ dns_peerlist_delete(dns_peerlist_t **list) {
 
        REQUIRE(list != NULL);
        REQUIRE(DNS_PEERLIST_VALID(*list));
-       
+
        l = *list;
 
        REQUIRE(l->refs == 0);
-       
+
        server = ISC_LIST_HEAD(l->elements);
        while (server != NULL) {
                stmp = ISC_LIST_NEXT(server, next);
@@ -118,15 +118,15 @@ dns_peerlist_delete(dns_peerlist_t **list) {
                if (r != ISC_R_SUCCESS) {
                        return (r);
                }
-               
+
                server = stmp;
        }
-       
+
        l->magic = 0;
        isc_mem_put(l->mem, l, sizeof *l);
-       
+
        *list = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -135,36 +135,36 @@ dns_peerlist_addpeer(dns_peerlist_t *peers, dns_peer_t *peer) {
        dns_peer_t *p = NULL;
 
        dns_peer_attach(peer, &p);
-       
+
        ISC_LIST_APPEND(peers->elements, peer, next);
 }
-       
+
 isc_result_t
 dns_peerlist_peerbyaddr(dns_peerlist_t *servers,
                        isc_netaddr_t *addr, dns_peer_t **retval)
 {
        dns_peer_t *server;
        isc_result_t res;
-       
+
        REQUIRE(retval != NULL);
        REQUIRE(DNS_PEERLIST_VALID(servers));
-       
+
        server = ISC_LIST_HEAD(servers->elements);
        while (server != NULL) {
                if (isc_netaddr_equal(addr, &server->address)) {
                        break;
                }
-               
+
                server = ISC_LIST_NEXT(server, next);
        }
-       
+
        if (server != NULL) {
                *retval = server;
                res = ISC_R_SUCCESS;
        } else {
                res = ISC_R_NOTFOUND;
        }
-       
+
        return (res);
 }
 
@@ -180,18 +180,18 @@ dns_peerlist_currpeer(dns_peerlist_t *peers, dns_peer_t **retval) {
 
        return (ISC_R_SUCCESS);
 }
-       
+
 isc_result_t
 dns_peer_new(isc_mem_t *mem, isc_netaddr_t *addr, dns_peer_t **peerptr) {
        dns_peer_t *peer;
-       
+
        REQUIRE(peerptr != NULL);
-       
+
        peer = isc_mem_get(mem, sizeof *peer);
        if (peer == NULL) {
                return (ISC_R_NOMEMORY);
        }
-       
+
        peer->magic = DNS_PEER_MAGIC;
        peer->address = *addr;
        peer->mem = mem;
@@ -202,13 +202,13 @@ dns_peer_new(isc_mem_t *mem, isc_netaddr_t *addr, dns_peer_t **peerptr) {
        peer->provide_ixfr = ISC_FALSE;
        peer->key = NULL;
        peer->refs = 1;
-       
+
        memset(&peer->bitflags, 0x0, sizeof peer->bitflags);
-       
+
        ISC_LINK_INIT(peer, next);
-       
+
        *peerptr = peer;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -219,7 +219,7 @@ dns_peer_attach(dns_peer_t *source, dns_peer_t **target) {
        REQUIRE(*target == NULL);
 
        source->refs++;
-       
+
        ENSURE(source->refs != 0xffffffffU);
 
        *target = source;
@@ -230,7 +230,7 @@ dns_peer_attach(dns_peer_t *source, dns_peer_t **target) {
 isc_result_t
 dns_peer_detach(dns_peer_t **peer) {
        dns_peer_t *p;
-       
+
        REQUIRE(peer != NULL);
        REQUIRE(*peer != NULL);
        REQUIRE(DNS_PEER_VALID(*peer));
@@ -253,41 +253,41 @@ static isc_result_t
 dns_peer_delete(dns_peer_t **peer) {
        dns_peer_t *p;
        isc_mem_t *mem;
-       
+
        REQUIRE(peer != NULL);
        REQUIRE(DNS_PEER_VALID(*peer));
-       
+
        p = *peer;
 
        REQUIRE(p->refs == 0);
-       
+
        mem = p->mem;
        p->mem = NULL;
        p->magic = 0;
-       
+
        if (p->key != NULL) {
                dns_name_free(p->key, mem);
                isc_mem_put(mem, p->key, sizeof(dns_name_t));
        }
-       
+
        isc_mem_put(mem, p, sizeof *p);
-       
+
        *peer = NULL;
-       
+
        return (ISC_R_SUCCESS);
 }
 
 isc_result_t
 dns_peer_setbogus(dns_peer_t *peer, isc_boolean_t newval) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_PEER_VALID(peer));
-       
+
        existed = DNS_BIT_CHECK(BOGUS_BIT, &peer->bitflags);
-       
+
        peer->bogus = newval;
        DNS_BIT_SET(BOGUS_BIT, &peer->bitflags);
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -295,7 +295,7 @@ isc_result_t
 dns_peer_getbogus(dns_peer_t *peer, isc_boolean_t *retval) {
        REQUIRE(DNS_PEER_VALID(peer));
        REQUIRE(retval != NULL);
-       
+
        if (DNS_BIT_CHECK(BOGUS_BIT, &peer->bitflags)) {
                *retval = peer->bogus;
                return (ISC_R_SUCCESS);
@@ -307,14 +307,14 @@ dns_peer_getbogus(dns_peer_t *peer, isc_boolean_t *retval) {
 isc_result_t
 dns_peer_setprovideixfr(dns_peer_t *peer, isc_boolean_t newval) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_PEER_VALID(peer));
-       
+
        existed = DNS_BIT_CHECK(PROVIDE_IXFR_BIT, &peer->bitflags);
-       
+
        peer->provide_ixfr = newval;
        DNS_BIT_SET(PROVIDE_IXFR_BIT, &peer->bitflags);
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -322,7 +322,7 @@ isc_result_t
 dns_peer_getprovideixfr(dns_peer_t *peer, isc_boolean_t *retval) {
        REQUIRE(DNS_PEER_VALID(peer));
        REQUIRE(retval != NULL);
-       
+
        if (DNS_BIT_CHECK(PROVIDE_IXFR_BIT, &peer->bitflags)) {
                *retval = peer->provide_ixfr;
                return (ISC_R_SUCCESS);
@@ -334,14 +334,14 @@ dns_peer_getprovideixfr(dns_peer_t *peer, isc_boolean_t *retval) {
 isc_result_t
 dns_peer_setrequestixfr(dns_peer_t *peer, isc_boolean_t newval) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_PEER_VALID(peer));
-       
+
        existed = DNS_BIT_CHECK(REQUEST_IXFR_BIT, &peer->bitflags);
-       
+
        peer->request_ixfr = newval;
        DNS_BIT_SET(REQUEST_IXFR_BIT, &peer->bitflags);
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -349,7 +349,7 @@ isc_result_t
 dns_peer_getrequestixfr(dns_peer_t *peer, isc_boolean_t *retval) {
        REQUIRE(DNS_PEER_VALID(peer));
        REQUIRE(retval != NULL);
-       
+
        if (DNS_BIT_CHECK(REQUEST_IXFR_BIT, &peer->bitflags)) {
                *retval = peer->request_ixfr;
                return (ISC_R_SUCCESS);
@@ -360,14 +360,14 @@ dns_peer_getrequestixfr(dns_peer_t *peer, isc_boolean_t *retval) {
 isc_result_t
 dns_peer_settransfers(dns_peer_t *peer, isc_int32_t newval) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_PEER_VALID(peer));
-       
+
        existed = DNS_BIT_CHECK(TRANSFERS_BIT, &peer->bitflags);
-       
+
        peer->transfers = newval;
        DNS_BIT_SET(TRANSFERS_BIT, &peer->bitflags);
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -375,7 +375,7 @@ isc_result_t
 dns_peer_gettransfers(dns_peer_t *peer, isc_int32_t *retval) {
        REQUIRE(DNS_PEER_VALID(peer));
        REQUIRE(retval != NULL);
-       
+
        if (DNS_BIT_CHECK(TRANSFERS_BIT, &peer->bitflags)) {
                *retval = peer->transfers;
                return (ISC_R_SUCCESS);
@@ -387,15 +387,15 @@ dns_peer_gettransfers(dns_peer_t *peer, isc_int32_t *retval) {
 isc_result_t
 dns_peer_settransferformat(dns_peer_t *peer, dns_transfer_format_t newval) {
        isc_boolean_t existed;
-       
+
        REQUIRE(DNS_PEER_VALID(peer));
-       
+
        existed = DNS_BIT_CHECK(SERVER_TRANSFER_FORMAT_BIT,
                                 &peer->bitflags);
-       
+
        peer->transfer_format = newval;
        DNS_BIT_SET(SERVER_TRANSFER_FORMAT_BIT, &peer->bitflags);
-       
+
        return (existed ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
 
@@ -403,7 +403,7 @@ isc_result_t
 dns_peer_gettransferformat(dns_peer_t *peer, dns_transfer_format_t *retval) {
        REQUIRE(DNS_PEER_VALID(peer));
        REQUIRE(retval != NULL);
-       
+
        if (DNS_BIT_CHECK(SERVER_TRANSFER_FORMAT_BIT, &peer->bitflags)) {
                *retval = peer->transfer_format;
                return (ISC_R_SUCCESS);
@@ -420,7 +420,7 @@ dns_peer_getkey(dns_peer_t *peer, dns_name_t **retval) {
        if (peer->key != NULL) {
                *retval = peer->key;
        }
-       
+
        return (peer->key == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
 }
 
@@ -436,6 +436,6 @@ dns_peer_setkey(dns_peer_t *peer, dns_name_t **keyval) {
 
        peer->key = *keyval;
        *keyval = NULL;
-       
+
        return (exists ? ISC_R_EXISTS : ISC_R_SUCCESS);
 }
index 270e5d8979a06a684c559373e9f05b5a2c52d38c..75a53635356095c0b994b7f6ecdf13923e35e768 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbt.c,v 1.89 2000/07/31 23:27:24 tale Exp $ */
+/* $Id: rbt.c,v 1.90 2000/08/01 01:22:38 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -137,7 +137,7 @@ do { \
  * A little something to help out in GDB.
  */
 dns_name_t Name(dns_rbtnode_t *node);
-dns_name_t 
+dns_name_t
 Name(dns_rbtnode_t *node) {
        dns_name_t name;
 
@@ -392,7 +392,7 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
        do {
                current = child;
 
-               INSIST((IS_ROOT(current) && 
+               INSIST((IS_ROOT(current) &&
                        chain.ancestors[chain.ancestor_count - 1] == NULL) ||
                       (! IS_ROOT(current) &&
                        chain.ancestors[chain.ancestor_count - 1] ==
@@ -440,7 +440,7 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
                                /*
                                 * All of the existing labels are in common,
                                 * so the new name is in a subtree.
-                                * Whack off the common labels for the 
+                                * Whack off the common labels for the
                                 * not-in-common part to be searched for
                                 * in the next level.
                                 */
@@ -451,7 +451,7 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
 
                                if (result != ISC_R_SUCCESS)
                                        break;
-                               
+
                                /*
                                 * Follow the down pointer (possibly NULL).
                                 */
@@ -486,7 +486,7 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
                                 * XXX DCL need a better error result?
                                 */
                                if (chain.level_count ==
-                                   (sizeof(chain.levels) / 
+                                   (sizeof(chain.levels) /
                                     sizeof(*chain.levels))) {
                                        result = ISC_R_NOSPACE;
                                        break;
@@ -510,7 +510,7 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
                                if (result != ISC_R_SUCCESS)
                                        break;
 
-                               /* 
+                               /*
                                 * Reproduce the tree attributes of the
                                 * current node.
                                 */
@@ -648,13 +648,13 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
                                         * result != ISC_R_SUCCESS, which
                                         * is tested after the loop ends).
                                         */
-                                       result = dns_name_split(add_name, 
+                                       result = dns_name_split(add_name,
                                                                common_labels,
                                                                common_bits,
                                                                add_name,
                                                                NULL);
 
-                               
+
                                        break;
                                }
 
@@ -731,7 +731,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
        REQUIRE((options & (DNS_RBTFIND_NOEXACT | DNS_RBTFIND_NOPREDECESSOR))
                !=         (DNS_RBTFIND_NOEXACT | DNS_RBTFIND_NOPREDECESSOR));
 
-       /* 
+       /*
         * If there is a chain it needs to appear to be in a sane state,
         * otherwise a chain is still needed to generate foundname and
         * callback_name.
@@ -1097,7 +1097,7 @@ dns_rbt_findname(dns_rbt_t *rbt, dns_name_t *name, unsigned int options,
                *data = DATA(node);
        else
                result = ISC_R_NOTFOUND;
-               
+
        return (result);
 }
 
@@ -1185,7 +1185,7 @@ dns_rbt_deletenode(dns_rbt_t *rbt, dns_rbtnode_t *node, isc_boolean_t recurse)
                }
        }
 
-       /* 
+       /*
         * Note the node that points to the level of the node that is being
         * deleted.  If the deleted node is the top level, parent will be set
         * to NULL.
@@ -1244,12 +1244,12 @@ create_node(isc_mem_t *mctx, dns_name_t *name, dns_rbtnode_t **nodep) {
        labels = dns_name_countlabels(name);
        ENSURE(labels > 0);
 
-       /* 
+       /*
         * Allocate space for the node structure, the name, and the offsets.
         */
        node = (dns_rbtnode_t *)isc_mem_get(mctx, sizeof(*node) +
                                            region.length + labels);
-                                           
+
        if (node == NULL)
                return (ISC_R_NOMEMORY);
 
@@ -1504,7 +1504,7 @@ dns_rbt_addonlevel(dns_rbtnode_t *node,
        MAKE_RED(node);
 
        depth = chain->ancestor_count - 1;
-       
+
        while (node != root && IS_RED(chain->ancestors[depth])) {
                INSIST(depth > 0);
 
@@ -1578,7 +1578,7 @@ dns_rbt_deletefromlevel(dns_rbtnode_t *delete, dns_rbtnode_t **rootp) {
         * Verify that the parent history is (apparently) correct.
         */
        INSIST((IS_ROOT(delete) && *rootp == delete) ||
-              (! IS_ROOT(delete) && 
+              (! IS_ROOT(delete) &&
                (LEFT(PARENT(delete)) == delete ||
                 RIGHT(PARENT(delete)) == delete)));
 
@@ -1709,7 +1709,7 @@ dns_rbt_deletefromlevel(dns_rbtnode_t *delete, dns_rbtnode_t **rootp) {
                *rootp = child;
                IS_ROOT(child) = ISC_TRUE;
                PARENT(child) = PARENT(delete);
-       } 
+       }
 
        /*
         * Fix color violations.
@@ -2026,7 +2026,7 @@ dns_rbtnodechain_prev(dns_rbtnodechain_t *chain, dns_name_t *name,
                                break;
                        }
                }
-       }       
+       }
 
        if (predecessor != NULL) {
                if (DOWN(predecessor) != NULL) {
index 07dbb4780a35b226f873ade638e857b73a0da214..5046cf206ac6160689582afadcaedcf98028f719 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbtdb.c,v 1.112 2000/07/27 09:46:22 tale Exp $ */
+/* $Id: rbtdb.c,v 1.113 2000/08/01 01:22:39 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -352,7 +352,7 @@ static inline void
 maybe_free_rbtdb(dns_rbtdb_t *rbtdb, isc_boolean_t set_exiting) {
        isc_boolean_t want_free = ISC_TRUE;
        unsigned int i;
-       
+
        /* XXX check for open versions here */
 
        /*
@@ -424,7 +424,7 @@ allocate_version(isc_mem_t *mctx, rbtdb_serial_t serial,
        version->commit_ok = ISC_FALSE;
        ISC_LIST_INIT(version->changed_list);
        ISC_LINK_INIT(version, link);
-       
+
        return (version);
 }
 
@@ -809,7 +809,7 @@ closeversion(dns_db_t *db, dns_dbversion_t **versionp, isc_boolean_t commit) {
        rbtdb_changed_t *changed, *next_changed;
        rbtdb_serial_t serial, least_serial;
        dns_rbtnode_t *rbtnode;
-       
+
        REQUIRE(VALID_RBTDB(rbtdb));
        version = (rbtdb_version_t *)*versionp;
 
@@ -1175,7 +1175,7 @@ bind_rdataset(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node,
                 * count by one before storing it.
                 */
                count--;
-               rdataset->private4 = (void *)count; 
+               rdataset->private4 = (void *)count;
                rdataset->private5 = raw;
        }
 }
@@ -1338,7 +1338,7 @@ find_wildcard(rbtdb_search_t *search, dns_rbtnode_t **nodep) {
                        active = ISC_TRUE;
                else
                        active = ISC_FALSE;
-               
+
                if (node->wild)
                        wild = ISC_TRUE;
                else
@@ -1408,7 +1408,7 @@ find_wildcard(rbtdb_search_t *search, dns_rbtnode_t **nodep) {
                                break;
                        }
                }
-               
+
                if (active) {
                        /*
                         * The level node is active.  Any wildcarding
@@ -1672,7 +1672,7 @@ zone_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
                                result = dns_name_concatenate(name, NULL,
                                                              foundname, NULL);
                                if (result != ISC_R_SUCCESS)
-                                       goto tree_exit;       
+                                       goto tree_exit;
                                wild = ISC_TRUE;
                                goto found;
                        }
@@ -1733,7 +1733,7 @@ zone_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
         */
 
        LOCK(&(search.rbtdb->node_locks[node->locknum].lock));
-       
+
        found = NULL;
        foundsig = NULL;
        sigtype = RBTDB_RDATATYPE_VALUE(dns_rdatatype_sig, type);
@@ -1994,7 +1994,7 @@ zone_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
 
  node_exit:
        UNLOCK(&(search.rbtdb->node_locks[node->locknum].lock));
-       
+
  tree_exit:
        RWUNLOCK(&search.rbtdb->tree_lock, isc_rwlocktype_read);
 
@@ -2057,7 +2057,7 @@ cache_zonecut_callback(dns_rbtnode_t *node, dns_name_t *name, void *arg) {
        (void)name;
 
        LOCK(&(search->rbtdb->node_locks[node->locknum].lock));
-       
+
        /*
         * Look for a DNAME rdataset.
         */
@@ -2136,7 +2136,7 @@ find_deepest_zonecut(rbtdb_search_t *search, dns_rbtnode_t *node,
        done = ISC_FALSE;
        do {
                LOCK(&(rbtdb->node_locks[node->locknum].lock));
-               
+
                /*
                 * Look for NS and SIG NS rdatasets.
                 */
@@ -2326,7 +2326,7 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
         */
 
        LOCK(&(search.rbtdb->node_locks[node->locknum].lock));
-       
+
        found = NULL;
        foundsig = NULL;
        sigtype = RBTDB_RDATATYPE_VALUE(dns_rdatatype_sig, type);
@@ -2518,7 +2518,7 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
 
  node_exit:
        UNLOCK(&(search.rbtdb->node_locks[node->locknum].lock));
-       
+
  tree_exit:
        RWUNLOCK(&search.rbtdb->tree_lock, isc_rwlocktype_read);
 
@@ -2584,7 +2584,7 @@ cache_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options,
         */
 
        LOCK(&(search.rbtdb->node_locks[node->locknum].lock));
-       
+
        found = NULL;
        foundsig = NULL;
        header_prev = NULL;
@@ -2641,7 +2641,7 @@ cache_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options,
                 */
                UNLOCK(&(search.rbtdb->node_locks[node->locknum].lock));
                goto find_ns;
-       } 
+       }
 
        if (nodep != NULL) {
                new_reference(search.rbtdb, node);
@@ -2654,7 +2654,7 @@ cache_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options,
                              sigrdataset);
 
        UNLOCK(&(search.rbtdb->node_locks[node->locknum].lock));
-       
+
  tree_exit:
        RWUNLOCK(&search.rbtdb->tree_lock, isc_rwlocktype_read);
 
@@ -3019,7 +3019,7 @@ allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
        iterator->common.now = now;
 
        LOCK(&rbtdb->node_locks[rbtnode->locknum].lock);
-       
+
        INSIST(rbtnode->references > 0);
        rbtnode->references++;
        INSIST(rbtnode->references != 0);
@@ -3199,7 +3199,7 @@ add(dns_rbtdb_t *rbtdb, dns_rbtnode_t *rbtnode, rbtdb_version_t *rbtversion,
                                              addedrdataset);
                        return (DNS_R_UNCHANGED);
                }
-                       
+
                /*
                 * Don't merge if a nonexistent rdataset is involved.
                 */
@@ -3330,7 +3330,7 @@ delegating_type(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node,
                else
                        return (ISC_FALSE);
        } else if (type == dns_rdatatype_dname ||
-                  (type == dns_rdatatype_ns && 
+                  (type == dns_rdatatype_ns &&
                    (node != rbtdb->origin_node || IS_STUB(rbtdb))))
                return (ISC_TRUE);
        return (ISC_FALSE);
@@ -3388,7 +3388,7 @@ addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
                RWLOCK(&rbtdb->tree_lock, isc_rwlocktype_write);
        } else
                delegating = ISC_FALSE;
-               
+
        LOCK(&rbtdb->node_locks[rbtnode->locknum].lock);
 
        result = add(rbtdb, rbtnode, rbtversion, newheader, options, ISC_FALSE,
@@ -3664,7 +3664,7 @@ static isc_result_t
 beginload(dns_db_t *db, dns_addrdatasetfunc_t *addp, dns_dbload_t **dbloadp) {
        rbtdb_load_t *loadctx;
        dns_rbtdb_t *rbtdb;
-       
+
        rbtdb = (dns_rbtdb_t *)db;
 
        REQUIRE(VALID_RBTDB(rbtdb));
@@ -3713,7 +3713,7 @@ endload(dns_db_t *db, dns_dbload_t **dbloadp) {
        rbtdb->attributes |= RBTDB_ATTR_LOADED;
 
        UNLOCK(&rbtdb->lock);
-       
+
        /*
         * If there's a NXT rdataset at the zone origin, we consider
         * the zone secure.
@@ -3722,7 +3722,7 @@ endload(dns_db_t *db, dns_dbload_t **dbloadp) {
                for (header = rbtdb->origin_node->data;
                     header != NULL;
                     header = header->next) {
-                       if (header->type == dns_rdatatype_nxt && 
+                       if (header->type == dns_rdatatype_nxt &&
                            !IGNORE(header))
                        {
                                rbtdb->secure = ISC_TRUE;
@@ -3746,7 +3746,7 @@ dump(dns_db_t *db, dns_dbversion_t *version, const char *filename) {
 
        REQUIRE(VALID_RBTDB(rbtdb));
 
-       return (dns_master_dump(rbtdb->common.mctx, db, version, 
+       return (dns_master_dump(rbtdb->common.mctx, db, version,
                                &dns_master_style_default,
                                filename));
 }
@@ -3889,7 +3889,7 @@ dns_rbtdb_create
 
        if (rbtdb->node_lock_count == 0)
                rbtdb->node_lock_count = DEFAULT_NODE_LOCK_COUNT;
-       rbtdb->node_locks = isc_mem_get(mctx, rbtdb->node_lock_count * 
+       rbtdb->node_locks = isc_mem_get(mctx, rbtdb->node_lock_count *
                                        sizeof (rbtdb_nodelock_t));
        for (i = 0; i < (int)(rbtdb->node_lock_count); i++) {
                result = isc_mutex_init(&rbtdb->node_locks[i].lock);
@@ -3900,7 +3900,7 @@ dns_rbtdb_create
                                i--;
                        }
                        isc_mem_put(mctx, rbtdb->node_locks,
-                                   rbtdb->node_lock_count *  
+                                   rbtdb->node_lock_count *
                                    sizeof (rbtdb_nodelock_t));
                        isc_rwlock_destroy(&rbtdb->tree_lock);
                        isc_mutex_destroy(&rbtdb->lock);
@@ -3992,7 +3992,7 @@ dns_rbtdb_create
        ISC_LIST_INIT(rbtdb->open_versions);
 
        isc_ondestroy_init(&rbtdb->common.ondest);
-       
+
        rbtdb->common.magic = DNS_DB_MAGIC;
        rbtdb->common.impmagic = RBTDB_MAGIC;
 
@@ -4112,7 +4112,7 @@ rdatasetiter_destroy(dns_rdatasetiter_t **iteratorp) {
        detachnode(rbtiterator->common.db, &rbtiterator->common.node);
        isc_mem_put(rbtiterator->common.db->mctx, rbtiterator,
                    sizeof *rbtiterator);
-       
+
        *iteratorp = NULL;
 }
 
@@ -4234,7 +4234,7 @@ rdatasetiter_current(dns_rdatasetiter_t *iterator, dns_rdataset_t *rdataset) {
 
        header = rbtiterator->current;
        REQUIRE(header != NULL);
-       
+
        LOCK(&rbtdb->node_locks[rbtnode->locknum].lock);
 
        bind_rdataset(rbtdb, rbtnode, header, rbtiterator->common.now,
@@ -4301,7 +4301,7 @@ dbiterator_first(dns_dbiterator_t *iterator) {
        rbtdb_dbiterator_t *rbtdbiter = (rbtdb_dbiterator_t *)iterator;
        dns_rbtdb_t *rbtdb = (dns_rbtdb_t *)iterator->db;
        dns_name_t *name, *origin;
-       
+
        if (rbtdbiter->result != ISC_R_SUCCESS &&
            rbtdbiter->result != ISC_R_NOMORE)
                return (rbtdbiter->result);
@@ -4346,7 +4346,7 @@ dbiterator_last(dns_dbiterator_t *iterator) {
        rbtdb_dbiterator_t *rbtdbiter = (rbtdb_dbiterator_t *)iterator;
        dns_rbtdb_t *rbtdb = (dns_rbtdb_t *)iterator->db;
        dns_name_t *name, *origin;
-       
+
        if (rbtdbiter->result != ISC_R_SUCCESS &&
            rbtdbiter->result != ISC_R_NOMORE)
                return (rbtdbiter->result);
@@ -4391,7 +4391,7 @@ dbiterator_seek(dns_dbiterator_t *iterator, dns_name_t *name) {
        rbtdb_dbiterator_t *rbtdbiter = (rbtdb_dbiterator_t *)iterator;
        dns_rbtdb_t *rbtdb = (dns_rbtdb_t *)iterator->db;
        dns_name_t *iname, *origin;
-       
+
        if (rbtdbiter->result != ISC_R_SUCCESS &&
            rbtdbiter->result != ISC_R_NOMORE)
                return (rbtdbiter->result);
@@ -4522,7 +4522,7 @@ dbiterator_current(dns_dbiterator_t *iterator, dns_dbnode_t **nodep,
                        result = DNS_R_NEWORIGIN;
        } else
                result = ISC_R_SUCCESS;
-               
+
        LOCK(&rbtdb->node_locks[node->locknum].lock);
        new_reference(rbtdb, node);
        UNLOCK(&rbtdb->node_locks[node->locknum].lock);
index 53e8ffa78279de864a9b0bf98482000ad92783de..891ac245cc37c3f7764cca2bc22f2672d2856424 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbtdb.h,v 1.10 2000/07/27 09:46:23 tale Exp $ */
+/* $Id: rbtdb.h,v 1.11 2000/08/01 01:22:41 tale Exp $ */
 
 #ifndef DNS_RBTDB_H
 #define DNS_RBTDB_H 1
index afcad92f6214a9db1f6b2f85e6b8964f71cc39a1..816fcd8f912bf954f858d0a7bdfd7c9584051760 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbtdb64.c,v 1.4 2000/07/27 09:46:25 tale Exp $ */
+/* $Id: rbtdb64.c,v 1.5 2000/08/01 01:22:42 tale Exp $ */
 
 #define DNS_RBTDB_VERSION64 1
 #include "rbtdb.c"
index fa18ba9e7ae99ed55c6256d67b9c4809a27cbedc..8a8c60b7be4a6ea0f8f28469fda6af32840e8dc6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbtdb64.h,v 1.9 2000/07/27 09:46:26 tale Exp $ */
+/* $Id: rbtdb64.h,v 1.10 2000/08/01 01:22:43 tale Exp $ */
 
 #ifndef DNS_RBTDB64_H
 #define DNS_RBTDB64_H 1
index d70f91733cca38461ab87134bac9238de1b391cf..8899d117cdcda67ea7198ca793eff69a448a9cd5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.c,v 1.104 2000/07/27 09:46:27 tale Exp $ */
+/* $Id: rdata.c,v 1.105 2000/08/01 01:22:44 tale Exp $ */
 
 #include <config.h>
 #include <ctype.h>
@@ -76,7 +76,7 @@
 #define ARGS_DIGEST    dns_rdata_t *rdata, dns_digestfunc_t digest, void *arg
 
 /*
- * Context structure for the totext_ functions.  
+ * Context structure for the totext_ functions.
  * Contains formatting options for rdata-to-text
  * conversion.
  */
@@ -307,7 +307,7 @@ static struct keyflag {
        { "SIG13",  0x000D, 0x000F },
        { "SIG14",  0x000E, 0x000F },
        { "SIG15",  0x000F, 0x000F },
-       { NULL,     0, 0 } 
+       { NULL,     0, 0 }
 };
 
 /***
@@ -368,7 +368,7 @@ void
 dns_rdata_fromregion(dns_rdata_t *rdata, dns_rdataclass_t rdclass,
                     dns_rdatatype_t type, isc_region_t *r)
 {
-                         
+
        REQUIRE(rdata != NULL);
        REQUIRE(r != NULL);
 
@@ -444,10 +444,10 @@ dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx,
        st = *target;
 
        TOWIRESWITCH
-       
+
        if (use_default) {
                isc_buffer_availableregion(target, &tr);
-               if (tr.length < rdata->length) 
+               if (tr.length < rdata->length)
                        return (ISC_R_NOSPACE);
                memcpy(tr.base, rdata->data, rdata->length);
                isc_buffer_add(target, rdata->length);
@@ -562,7 +562,7 @@ rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
 {
        isc_result_t result = ISC_R_NOTIMPLEMENTED;
        isc_boolean_t use_default = ISC_FALSE;
-       
+
        REQUIRE(rdata != NULL);
        REQUIRE(tctx->origin == NULL ||
                dns_name_isabsolute(tctx->origin) == ISC_TRUE);
@@ -720,7 +720,7 @@ dns_rdatatype_attributes(dns_rdatatype_t type)
        return (typeattr[type].flags);
 }
 
-#define NUMBERSIZE sizeof("037777777777") /* 2^32-1 octal + NUL */ 
+#define NUMBERSIZE sizeof("037777777777") /* 2^32-1 octal + NUL */
 
 static isc_result_t
 dns_mnemonic_fromtext(unsigned int *valuep, isc_textregion_t *source,
@@ -740,7 +740,7 @@ dns_mnemonic_fromtext(unsigned int *valuep, isc_textregion_t *source,
                 */
                strncpy(buffer, source->base, NUMBERSIZE);
                INSIST(buffer[source->length] == '\0');
-               
+
                n = strtoul(buffer, &e, 10);
                if (*e == 0) {
                        if (n > max)
@@ -752,9 +752,9 @@ dns_mnemonic_fromtext(unsigned int *valuep, isc_textregion_t *source,
                 * It was not a number after all; fall through.
                 */
        }
-       
+
        for (i = 0; table[i].name != NULL; i++) {
-               unsigned int n;         
+               unsigned int n;
                n = strlen(table[i].name);
                if (n == source->length &&
                    strncasecmp(source->base, table[i].name, n) == 0) {
@@ -906,7 +906,7 @@ dns_rcode_fromtext(dns_rcode_t *rcodep, isc_textregion_t *source) {
 
 isc_result_t
 dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target) {
-       return (dns_mnemonic_totext(rcode, target, rcodes));    
+       return (dns_mnemonic_totext(rcode, target, rcodes));
 }
 
 isc_result_t
@@ -919,7 +919,7 @@ dns_tsigrcode_fromtext(dns_rcode_t *rcodep, isc_textregion_t *source) {
 
 isc_result_t
 dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target) {
-       return (dns_mnemonic_totext(rcode, target, tsigrcodes));        
+       return (dns_mnemonic_totext(rcode, target, tsigrcodes));
 }
 
 isc_result_t
@@ -928,11 +928,11 @@ dns_cert_fromtext(dns_cert_t *certp, isc_textregion_t *source) {
        RETERR(dns_mnemonic_fromtext(&value, source, certs, 0xffff));
        *certp = value;
        return (ISC_R_SUCCESS);
-}      
+}
 
 isc_result_t
 dns_cert_totext(dns_cert_t cert, isc_buffer_t *target) {
-       return (dns_mnemonic_totext(cert, target, certs));      
+       return (dns_mnemonic_totext(cert, target, certs));
 }
 
 isc_result_t
@@ -979,7 +979,7 @@ dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source)
                 */
                strncpy(buffer, source->base, NUMBERSIZE);
                INSIST(buffer[source->length] == '\0');
-               
+
                n = strtoul(buffer, &e, 0); /* Allow hex/octal. */
                if (*e == 0) {
                        if (n > 0xffff)
@@ -990,10 +990,10 @@ dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source)
                /* It was not a number after all; fall through. */
        }
 
-       text = source->base;    
+       text = source->base;
        end = source->base + source->length;
        value = mask = 0;
-       
+
        while (text < end) {
                struct keyflag *p;
                unsigned int len;
@@ -1013,7 +1013,7 @@ dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source)
                if ((mask & p->mask) != 0)
                        warn("overlapping key flags");
 #endif
-               mask |= p->mask;                
+               mask |= p->mask;
                text += len;
                if (delim != NULL)
                        text++; /* Skip "|" */
@@ -1134,7 +1134,7 @@ txt_fromtext(isc_textregion_t *source, isc_buffer_t *target) {
                        continue;
                }
                escape = ISC_FALSE;
-               if (nrem == 0) 
+               if (nrem == 0)
                        return (ISC_R_NOSPACE);
                *t++ = c;
                nrem--;
@@ -1158,7 +1158,7 @@ txt_fromwire(isc_buffer_t *source, isc_buffer_t *target) {
        n = *sregion.base + 1;
        if (n > sregion.length)
                return (ISC_R_UNEXPECTEDEND);
-       
+
        isc_buffer_availableregion(target, &tregion);
        if (n > tregion.length)
                return (ISC_R_NOSPACE);
@@ -1184,7 +1184,7 @@ name_prefix(dns_name_t *name, dns_name_t *origin, dns_name_t *target) {
 
        l1 = dns_name_countlabels(name);
        l2 = dns_name_countlabels(origin);
-       
+
        if (l1 == l2)
                goto return_false;
 
@@ -1271,7 +1271,7 @@ name_tobuffer(dns_name_t *name, isc_buffer_t *target) {
 static isc_uint32_t
 uint32_fromregion(isc_region_t *region) {
        unsigned long value;
-       
+
        REQUIRE(region->length >= 4);
        value = region->base[0] << 24;
        value |= region->base[1] << 16;
@@ -1282,7 +1282,7 @@ uint32_fromregion(isc_region_t *region) {
 
 static isc_uint16_t
 uint16_fromregion(isc_region_t *region) {
-       
+
        REQUIRE(region->length >= 2);
 
        return ((region->base[0] << 8) | region->base[1]);
@@ -1290,7 +1290,7 @@ uint16_fromregion(isc_region_t *region) {
 
 static isc_uint8_t
 uint8_fromregion(isc_region_t *region) {
-       
+
        REQUIRE(region->length >= 1);
 
        return (region->base[0]);
@@ -1303,7 +1303,7 @@ gettoken(isc_lex_t *lexer, isc_token_t *token, isc_tokentype_t expect,
        unsigned int options = ISC_LEXOPT_EOL | ISC_LEXOPT_EOF |
                               ISC_LEXOPT_DNSMULTILINE | ISC_LEXOPT_ESCAPE;
        isc_result_t result;
-       
+
        if (expect == isc_tokentype_qstring)
                options |= ISC_LEXOPT_QSTRING;
        else if (expect == isc_tokentype_number)
@@ -1322,7 +1322,7 @@ gettoken(isc_lex_t *lexer, isc_token_t *token, isc_tokentype_t expect,
                                 isc_result_totext(result));
                 return (ISC_R_UNEXPECTED);
        }
-       if (eol && ((token->type == isc_tokentype_eol) || 
+       if (eol && ((token->type == isc_tokentype_eol) ||
                    (token->type == isc_tokentype_eof)))
                return (ISC_R_SUCCESS);
        if (token->type == isc_tokentype_string &&
@@ -1435,7 +1435,7 @@ static isc_result_t       putbyte(int c, isc_buffer_t *, struct state *state);
 static isc_result_t    byte_btoa(int c, isc_buffer_t *, struct state *state);
 
 /*
- * Decode ASCII-encoded byte c into binary representation and 
+ * Decode ASCII-encoded byte c into binary representation and
  * place into *bufp, advancing bufp.
  */
 static isc_result_t
@@ -1597,8 +1597,8 @@ byte_btoa(int c, isc_buffer_t *target, struct state *state) {
                } else {
                    register int tmp = 0;
                    register isc_int32_t tmpword = word;
-                       
-                   if (tmpword < 0) {  
+
+                   if (tmpword < 0) {
                           /*
                            * Because some don't support u_long.
                            */
@@ -1645,10 +1645,10 @@ btoa_totext(unsigned char *inbuf, int inbuflen, isc_buffer_t *target) {
        Ceor = Csum = Crot = word = bcount = 0;
        for (inc = 0; inc < inbuflen; inbuf++, inc++)
                RETERR(byte_btoa(*inbuf, target, state));
-       
+
        while (bcount != 0)
                RETERR(byte_btoa(0, target, state));
-       
+
        /*
         * Put byte count and checksum information at end of buffer,
         * delimited by 'x'
index 50368ad8735fbf98caccb2b5dd32144e65a774a7..16af8792c9fe85cfac5298156ae43a3952011e4a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsig_250.c,v 1.42 2000/07/27 09:48:46 tale Exp $ */
+/* $Id: tsig_250.c,v 1.43 2000/08/01 01:25:04 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 13:39:43 PST 2000 by gson */
 
@@ -122,7 +122,7 @@ static inline isc_result_t
 totext_any_tsig(ARGS_TOTEXT) {
        isc_region_t sr;
        isc_region_t sigr;
-       char buf[sizeof "281474976710655 "];    
+       char buf[sizeof "281474976710655 "];
        char *bufp;
        dns_name_t name;
        dns_name_t prefix;
@@ -185,15 +185,15 @@ totext_any_tsig(ARGS_TOTEXT) {
        REQUIRE(n <= sr.length);
        sigr = sr;
        sigr.length = n;
-       if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)       
+       if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
                RETERR(str_totext(" (", target));
        RETERR(str_totext(tctx->linebreak, target));
-       RETERR(isc_base64_totext(&sigr, tctx->width - 2, 
+       RETERR(isc_base64_totext(&sigr, tctx->width - 2,
                                 tctx->linebreak, target));
        if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
                RETERR(str_totext(" ) ", target));
        else
-               RETERR(str_totext(" ", target));                
+               RETERR(str_totext(" ", target));
        isc_region_consume(&sr, n);
 
        /*
@@ -238,7 +238,7 @@ fromwire_any_tsig(ARGS_FROMWIRE) {
 
        REQUIRE(type == 250);
        REQUIRE(rdclass == 255);
-       
+
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
 
        /*
@@ -319,7 +319,7 @@ compare_any_tsig(ARGS_COMPARE) {
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 250);
        REQUIRE(rdata1->rdclass == 255);
-       
+
        dns_rdata_toregion(rdata1, &r1);
        dns_rdata_toregion(rdata2, &r2);
        dns_name_init(&name1, NULL);
@@ -410,7 +410,7 @@ tostruct_any_tsig(ARGS_TOSTRUCT) {
 
        REQUIRE(rdata->type == 250);
        REQUIRE(rdata->rdclass == 255);
-       
+
        tsig = (dns_rdata_any_tsig_t *) target;
        tsig->common.rdclass = rdata->rdclass;
        tsig->common.rdtype = rdata->type;
@@ -425,7 +425,7 @@ tostruct_any_tsig(ARGS_TOSTRUCT) {
        dns_name_fromregion(&alg, &sr);
        dns_name_init(&tsig->algorithm, NULL);
        RETERR(name_duporclone(&alg, mctx, &tsig->algorithm));
-       
+
        isc_region_consume(&sr, name_length(&tsig->algorithm));
 
        /*
@@ -496,7 +496,7 @@ tostruct_any_tsig(ARGS_TOSTRUCT) {
 
  cleanup:
        if (mctx != NULL)
-               dns_name_free(&tsig->algorithm, tsig->mctx);    
+               dns_name_free(&tsig->algorithm, tsig->mctx);
        if (mctx != NULL && tsig->signature != NULL)
                isc_mem_free(mctx, tsig->signature);
        return (ISC_R_NOMEMORY);
@@ -513,7 +513,7 @@ freestruct_any_tsig(ARGS_FREESTRUCT) {
        if (tsig->mctx == NULL)
                return;
 
-       dns_name_free(&tsig->algorithm, tsig->mctx);    
+       dns_name_free(&tsig->algorithm, tsig->mctx);
        if (tsig->signature != NULL)
                isc_mem_free(tsig->mctx, tsig->signature);
        if (tsig->other != NULL)
index 1a618afae83305fa8cc43b4223f9e092e0decca9..2784afc724eaa159f799c11f2b0e23d4491011b7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsig_250.h,v 1.18 2000/07/27 09:48:47 tale Exp $ */
+/* $Id: tsig_250.h,v 1.19 2000/08/01 01:25:05 tale Exp $ */
 
 /* RFC 2845 */
 
index fb65c5bca87bb2632b84a84d53bc675dffa77169..e0fd240f7a90ae9fa22bd03598c95d6563a06f64 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: afsdb_18.c,v 1.30 2000/07/27 09:48:48 tale Exp $ */
+/* $Id: afsdb_18.c,v 1.31 2000/08/01 01:25:06 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 14:59:00 PST 2000 by explorer */
 
@@ -43,7 +43,7 @@ fromtext_afsdb(ARGS_FROMTEXT) {
        if (token.value.as_ulong > 0xffff)
                return (ISC_R_RANGE);
        RETERR(uint16_tobuffer(token.value.as_ulong, target));
-       
+
        /*
         * Hostname.
         */
@@ -87,7 +87,7 @@ fromwire_afsdb(ARGS_FROMWIRE) {
        UNUSED(rdclass);
 
        REQUIRE(type == 18);
-       
+
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
 
        dns_name_init(&name, NULL);
@@ -167,7 +167,7 @@ fromstruct_afsdb(ARGS_FROMSTRUCT) {
        REQUIRE(source != NULL);
        REQUIRE(afsdb->common.rdclass == rdclass);
        REQUIRE(afsdb->common.rdtype == type);
-       
+
        RETERR(uint16_tobuffer(afsdb->subtype, target));
        dns_name_toregion(&afsdb->server, &region);
        return (isc_buffer_copyregion(target, &region));
index 25c60705eadca0aaa859a509284911166805770c..1bcd0bfd8723f6bffab6461f3e151169e1678554 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_AFSDB_18_H
 #define GENERIC_AFSDB_18_H 1
 
-/* $Id: afsdb_18.h,v 1.13 2000/07/27 09:48:50 tale Exp $ */
+/* $Id: afsdb_18.h,v 1.14 2000/08/01 01:25:07 tale Exp $ */
 
 /* RFC 1183 */
 
index 6be6a1e07087511536411cdb64d2a08297860555..15fa7081db4fff2213adec5a89f68430772b0f0a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cert_37.c,v 1.31 2000/07/27 09:48:51 tale Exp $ */
+/* $Id: cert_37.c,v 1.32 2000/08/01 01:25:08 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 21:14:32 EST 2000 by tale */
 
@@ -44,7 +44,7 @@ fromtext_cert(ARGS_FROMTEXT) {
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
        RETERR(dns_cert_fromtext(&cert, &token.value.as_textregion));
        RETERR(uint16_tobuffer(cert, target));
-       
+
        /*
         * Key tag.
         */
@@ -115,7 +115,7 @@ fromwire_cert(ARGS_FROMWIRE) {
        isc_region_t sr;
 
        REQUIRE(type == 37);
-       
+
        UNUSED(rdclass);
        UNUSED(dctx);
        UNUSED(downcase);
@@ -162,7 +162,7 @@ fromstruct_cert(ARGS_FROMSTRUCT) {
        REQUIRE(source != NULL);
        REQUIRE(cert->common.rdtype == type);
        REQUIRE(cert->common.rdclass == rdclass);
-       
+
        RETERR(uint16_tobuffer(cert->type, target));
        RETERR(uint16_tobuffer(cert->key_tag, target));
        RETERR(uint8_tobuffer(cert->algorithm, target));
index 59fe05bd521bc18fb8d5fe3c5f791b47309578b9..db7c4607d950d2342f2eef2399f6869da22a3519 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cert_37.h,v 1.13 2000/07/27 09:48:52 tale Exp $ */
+/* $Id: cert_37.h,v 1.14 2000/08/01 01:25:09 tale Exp $ */
 
 /* RFC 2538 */
 #ifndef GENERIC_CERT_37_H
index 3157e9fef7ded690efcfb2c2871f704c047ee35d..bc8b2a483b0e3b9bc768f556c75cbd1e10e9ca0a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cname_5.c,v 1.34 2000/07/27 09:48:53 tale Exp $ */
+/* $Id: cname_5.c,v 1.35 2000/08/01 01:25:10 tale Exp $ */
 
 /* reviewed: Wed Mar 15 16:48:45 PST 2000 by brister */
 
@@ -34,9 +34,9 @@ static inline isc_result_t
        REQUIRE(type == 5);
 
        UNUSED(rdclass);
-       
+
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
-       
+
        dns_name_init(&name, NULL);
        buffer_fromregion(&buffer, &token.value.as_region);
        origin = (origin != NULL) ? origin : dns_rootname;
@@ -135,7 +135,7 @@ tostruct_cname(ARGS_TOSTRUCT) {
        isc_region_t region;
        dns_rdata_cname_t *cname = target;
        dns_name_t name;
-       
+
        REQUIRE(rdata->type == 5);
        REQUIRE(target != NULL);
 
@@ -170,7 +170,7 @@ additionaldata_cname(ARGS_ADDLDATA) {
        UNUSED(rdata);
        UNUSED(add);
        UNUSED(arg);
-       
+
        REQUIRE(rdata->type == 5);
 
        return (ISC_R_SUCCESS);
index e3e0665bd66f9326d21684c486126b05dc911192..2899487612baed4030dc2c983e67bcfe63a488d7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cname_5.h,v 1.21 2000/07/27 09:48:54 tale Exp $ */
+/* $Id: cname_5.h,v 1.22 2000/08/01 01:25:11 tale Exp $ */
 
 #ifndef GENERIC_CNAME_5_H
 #define GENERIC_CNAME_5_H 1
index e348d5c5d80d76d4f6e66f6e2806dcf582a21c76..bf64a4a29bac4cd62bc02004cee28ea63f7007b2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dname_39.c,v 1.24 2000/07/27 09:48:55 tale Exp $ */
+/* $Id: dname_39.c,v 1.25 2000/08/01 01:25:13 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 16:52:38 PST 2000 by explorer */
 
@@ -35,9 +35,9 @@ fromtext_dname(ARGS_FROMTEXT) {
        UNUSED(rdclass);
 
        REQUIRE(type == 39);
-       
+
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
-       
+
        dns_name_init(&name, NULL);
        buffer_fromregion(&buffer, &token.value.as_region);
        origin = (origin != NULL) ? origin : dns_rootname;
@@ -158,7 +158,7 @@ freestruct_dname(ARGS_FREESTRUCT) {
 
        REQUIRE(source != NULL);
        REQUIRE(dname->common.rdtype == 39);
-       
+
        if (dname->mctx == NULL)
                return;
 
index 4e6a88c976094bc32de7a651c31cfbf519e59a35..28c46e7c7a348669b3345105d2133a02f46c070d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_DNAME_39_H
 #define GENERIC_DNAME_39_H 1
 
-/* $Id: dname_39.h,v 1.13 2000/07/27 09:48:56 tale Exp $ */
+/* $Id: dname_39.h,v 1.14 2000/08/01 01:25:14 tale Exp $ */
 
 /* draft-ietf-dnsind-dname-02.txt */
 
index 5121cecc2f0beec78083e4a8566d3c7f87a6821c..229f65ceab224703b275c8fd8dadd3a0bbe0f771 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gpos_27.c,v 1.23 2000/07/27 09:48:58 tale Exp $ */
+/* $Id: gpos_27.c,v 1.24 2000/08/01 01:25:15 tale Exp $ */
 
 /* reviewed: Wed Mar 15 16:48:45 PST 2000 by brister */
 
@@ -94,7 +94,7 @@ static inline int
 compare_gpos(ARGS_COMPARE) {
        isc_region_t r1;
        isc_region_t r2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 27);
@@ -163,7 +163,7 @@ tostruct_gpos(ARGS_TOSTRUCT) {
                        mem_maybedup(mctx, region.base, gpos->alt_len);
                if (gpos->altitude == NULL)
                        goto cleanup_latitude;
-       } else 
+       } else
                gpos->altitude = NULL;
 
        gpos->mctx = mctx;
index 4fafc31192df08147818ce1049d58798070b45bb..4fcdfd2ab56db556f68313617e653200bea6ec4e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_GPOS_27_H
 #define GENERIC_GPOS_27_H 1
 
-/* $Id: gpos_27.h,v 1.10 2000/07/27 09:48:59 tale Exp $ */
+/* $Id: gpos_27.h,v 1.11 2000/08/01 01:25:16 tale Exp $ */
 
 /* RFC 1712 */
 
index 7043e62c4a9234f16ba0df1d79804917a4b37e9c..ab59534930229c7628b5088251a1c6f74d7fac2d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: hinfo_13.c,v 1.28 2000/07/27 09:49:00 tale Exp $ */
+/* $Id: hinfo_13.c,v 1.29 2000/08/01 01:25:17 tale Exp $ */
 
 /*
  * Reviewed: Wed Mar 15 16:47:10 PST 2000 by halley.
@@ -86,7 +86,7 @@ static inline int
 compare_hinfo(ARGS_COMPARE) {
        isc_region_t r1;
        isc_region_t r2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 13);
index 63c903ead00f6c1395b4a2e77ff756761ea990c1..a0ed9540f0c75c6c575dbef919a9498e30b347dd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_HINFO_13_H
 #define GENERIC_HINFO_13_H 1
 
-/* $Id: hinfo_13.h,v 1.20 2000/07/27 09:49:01 tale Exp $ */
+/* $Id: hinfo_13.h,v 1.21 2000/08/01 01:25:18 tale Exp $ */
 
 typedef struct dns_rdata_hinfo {
        dns_rdatacommon_t       common;
index 77f6e89b3e35791bfa9c0e01c026c7fd910ebd0d..39e7e8efbf990db99d6360bae3961707152d0826 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: isdn_20.c,v 1.21 2000/07/27 09:49:02 tale Exp $ */
+/* $Id: isdn_20.c,v 1.22 2000/08/01 01:25:19 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 16:53:11 PST 2000 by bwelling */
 
@@ -93,7 +93,7 @@ static inline int
 compare_isdn(ARGS_COMPARE) {
        isc_region_t r1;
        isc_region_t r2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 20);
@@ -166,7 +166,7 @@ freestruct_isdn(ARGS_FREESTRUCT) {
        dns_rdata_isdn_t *isdn = source;
 
        REQUIRE(source != NULL);
-       
+
        if (isdn->mctx == NULL)
                return;
 
index 677047f950f4c97dfd1991081b830e7a50f282f7..8783c93f2a3c1a5efd59f8ac09f147ac11922197 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_ISDN_20_H
 #define GENERIC_ISDN_20_H 1
 
-/* $Id: isdn_20.h,v 1.11 2000/07/27 09:49:03 tale Exp $ */
+/* $Id: isdn_20.h,v 1.12 2000/08/01 01:25:20 tale Exp $ */
 
 /* RFC 1183 */
 
index 035dc1bb4f3b3c7728438d56c86afb0dc581de5f..3dcc777cc4422d53075dddf3c5957dcbeee2eb2f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: key_25.c,v 1.28 2000/07/31 19:47:21 bwelling Exp $ */
+/* $Id: key_25.c,v 1.29 2000/08/01 01:25:22 tale Exp $ */
 
 /*
  * Reviewed: Wed Mar 15 16:47:10 PST 2000 by halley.
@@ -53,11 +53,11 @@ fromtext_key(ARGS_FROMTEXT) {
        RETERR(dns_secproto_fromtext(&proto, &token.value.as_textregion));
        RETERR(mem_tobuffer(target, &proto, 1));
 
-       /* algorithm */ 
+       /* algorithm */
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
        RETERR(dns_secalg_fromtext(&alg, &token.value.as_textregion));
        RETERR(mem_tobuffer(target, &alg, 1));
-       
+
        /* No Key? */
        if ((flags & 0xc000) == 0xc000)
                return (ISC_R_SUCCESS);
index 57b9240a6b90d47f382e1f6ca9338797d17b262b..7e8f953f2a43404a65a80d1b678ab9630d58c461 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_KEY_25_H
 #define GENERIC_KEY_25_H 1
 
-/* $Id: key_25.h,v 1.12 2000/07/27 09:49:05 tale Exp $ */
+/* $Id: key_25.h,v 1.13 2000/08/01 01:25:23 tale Exp $ */
 
 /* RFC 2535 */
 
index 56c49570294c50bcb0d670e05822977ca0361a1e..b87337ea09b5d90f6116103c87a31b5e41fa3c53 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: loc_29.c,v 1.22 2000/07/27 09:49:06 tale Exp $ */
+/* $Id: loc_29.c,v 1.23 2000/08/01 01:25:24 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 18:13:09 PST 2000 by explorer */
 
@@ -55,7 +55,7 @@ fromtext_loc(ARGS_FROMTEXT) {
        UNUSED(downcase);
 
        REQUIRE(type == 29);
-       
+
        /*
         * Defaults.
         */
@@ -154,7 +154,7 @@ fromtext_loc(ARGS_FROMTEXT) {
                return (ISC_R_RANGE);
        if (d2 == 180 && m2 != 0)
                return (ISC_R_RANGE);
-               
+
        /*
         * Seconds.
         */
@@ -265,7 +265,7 @@ fromtext_loc(ARGS_FROMTEXT) {
                }
                for ( ; i < 2 ; i++)
                        cm *= 10;
-       } 
+       }
        if (*e == 'm')
                e++;
        if (*e != 0)
@@ -367,7 +367,7 @@ fromtext_loc(ARGS_FROMTEXT) {
                }
                for ( ; i < 2 ; i++)
                        cm *= 10;
-       } 
+       }
        if (*e == 'm')
                e++;
        if (*e != 0)
@@ -519,7 +519,7 @@ fromwire_loc(ARGS_FROMWIRE) {
        UNUSED(downcase);
 
        REQUIRE(type == 29);
-       
+
        isc_buffer_activeregion(source, &sr);
        if (sr.length < 1)
                return (ISC_R_UNEXPECTEDEND);
@@ -549,7 +549,7 @@ fromwire_loc(ARGS_FROMWIRE) {
         */
        c = sr.base[3];
        if (c != 0)
-               if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0) 
+               if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0)
                        return (ISC_R_RANGE);
        isc_region_consume(&sr, 4);
 
@@ -585,7 +585,7 @@ towire_loc(ARGS_TOWIRE) {
        UNUSED(cctx);
 
        REQUIRE(rdata->type == 29);
-       
+
        return (mem_tobuffer(target, rdata->data, rdata->length));
 }
 
@@ -612,23 +612,23 @@ fromstruct_loc(ARGS_FROMSTRUCT) {
        REQUIRE(source != NULL);
        REQUIRE(loc->common.rdtype == type);
        REQUIRE(loc->common.rdclass == rdclass);
-       
+
        if (loc->v.v0.version != 0)
                return (ISC_R_NOTIMPLEMENTED);
        RETERR(uint8_tobuffer(loc->v.v0.version, target));
 
        c = loc->v.v0.size;
-       if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0) 
+       if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0)
                return (ISC_R_RANGE);
        RETERR(uint8_tobuffer(loc->v.v0.size, target));
 
        c = loc->v.v0.horizontal;
-       if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0) 
+       if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0)
                return (ISC_R_RANGE);
        RETERR(uint8_tobuffer(loc->v.v0.horizontal, target));
 
        c = loc->v.v0.vertical;
-       if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0) 
+       if ((c&0xf) > 9 || ((c>>4)&0xf) > 9 || ((c>>4)&0xf) == 0)
                return (ISC_R_RANGE);
        RETERR(uint8_tobuffer(loc->v.v0.vertical, target));
 
index fe76476b2014ab5950db4569398296837b970e26..761fbfc07fecf395c9b1243d990e4fc5b958739c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_LOC_29_H
 #define GENERIC_LOC_29_H 1
 
-/* $Id: loc_29.h,v 1.12 2000/07/27 09:49:07 tale Exp $ */
+/* $Id: loc_29.h,v 1.13 2000/08/01 01:25:25 tale Exp $ */
 
 /* RFC 1876 */
 
@@ -26,7 +26,7 @@ typedef struct dns_rdata_loc_0 {
        isc_uint8_t     version;        /* must be first and zero */
        isc_uint8_t     size;
        isc_uint8_t     horizontal;
-       isc_uint8_t     vertical;       
+       isc_uint8_t     vertical;
        isc_uint32_t    latitude;
        isc_uint32_t    longitude;
        isc_uint32_t    altitude;
index f7f3f0d911dcd50cf10ecc7adfae9776fa775e81..f22eb2badc05bdf67586c56875c2c1e4e5611139 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mb_7.c,v 1.32 2000/07/27 09:49:09 tale Exp $ */
+/* $Id: mb_7.c,v 1.33 2000/08/01 01:25:26 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 17:31:26 PST 2000 by bwelling */
 
@@ -159,7 +159,7 @@ freestruct_mb(ARGS_FREESTRUCT) {
 
        if (mb->mctx == NULL)
                return;
-       
+
        dns_name_free(&mb->mb, mb->mctx);
        mb->mctx = NULL;
 }
index 910edf4439d0c380bd339b58b7da8476f114c3cc..4505031b88b90f778d3e2c66cfd6deada7f8dafd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MB_7_H
 #define GENERIC_MB_7_H 1
 
-/* $Id: mb_7.h,v 1.20 2000/07/27 09:49:10 tale Exp $ */
+/* $Id: mb_7.h,v 1.21 2000/08/01 01:25:27 tale Exp $ */
 
 typedef struct dns_rdata_mb {
        dns_rdatacommon_t       common;
index b822b458b13753ad21f284674042aaab5633230f..3bdf294b8771aace7b5e10e4b8beb82f1688e33e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: md_3.c,v 1.34 2000/07/27 09:49:11 tale Exp $ */
+/* $Id: md_3.c,v 1.35 2000/08/01 01:25:28 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 17:48:20 PST 2000 by bwelling */
 
index 643fa6896a330800901b171905586f05271085cf..2d6032bfe9a3c4a7ba1bab4745e9fc30f4fe362f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MD_3_H
 #define GENERIC_MD_3_H 1
 
-/* $Id: md_3.h,v 1.21 2000/07/27 09:49:12 tale Exp $ */
+/* $Id: md_3.h,v 1.22 2000/08/01 01:25:29 tale Exp $ */
 
 typedef struct dns_rdata_md {
        dns_rdatacommon_t       common;
index 71547f1ec9781d2b5a8fc2821cf5e304b5deb50d..dff440e855f2821b9658d77267e47a346ff83d93 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mf_4.c,v 1.32 2000/07/27 09:49:13 tale Exp $ */
+/* $Id: mf_4.c,v 1.33 2000/08/01 01:25:30 tale Exp $ */
 
 /* reviewed: Wed Mar 15 17:47:33 PST 2000 by brister */
 
@@ -71,7 +71,7 @@ fromwire_mf(ARGS_FROMWIRE) {
        UNUSED(rdclass);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
-        
+
         dns_name_init(&name, NULL);
         return (dns_name_fromwire(&name, source, dctx, downcase, target));
 }
index faa1b32267865deb08b361682ca84819d63b3071..f2d449b4aff07c3fcbc0334dac69af003bfec17b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MF_4_H
 #define GENERIC_MF_4_H 1
 
-/* $Id: mf_4.h,v 1.19 2000/07/27 09:49:14 tale Exp $ */
+/* $Id: mf_4.h,v 1.20 2000/08/01 01:25:32 tale Exp $ */
 
 typedef struct dns_rdata_mf {
        dns_rdatacommon_t       common;
index 04ebe2b705f21e72c564c33b6d993e9c0e390514..4e59368d9edbbf02025822cb42e553c3d76add95 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mg_8.c,v 1.30 2000/07/27 09:49:15 tale Exp $ */
+/* $Id: mg_8.c,v 1.31 2000/08/01 01:25:33 tale Exp $ */
 
 /* reviewed: Wed Mar 15 17:49:21 PST 2000 by brister */
 
@@ -33,7 +33,7 @@ fromtext_mg(ARGS_FROMTEXT) {
        REQUIRE(type == 8);
 
        UNUSED(rdclass);
-       
+
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
 
        dns_name_init(&name, NULL);
@@ -71,7 +71,7 @@ fromwire_mg(ARGS_FROMWIRE) {
        UNUSED(rdclass);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
-        
+
         dns_name_init(&name, NULL);
         return (dns_name_fromwire(&name, source, dctx, downcase, target));
 }
@@ -157,7 +157,7 @@ freestruct_mg(ARGS_FREESTRUCT) {
 
        REQUIRE(source != NULL);
        REQUIRE(mg->common.rdtype == 8);
-       
+
        if (mg->mctx == NULL)
                return;
        dns_name_free(&mg->mg, mg->mctx);
index d0762c4351592a036219455aba077da524dda96e..8fbb7d10bfe280110635e5d27724ed1f508ec206 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MG_8_H
 #define GENERIC_MG_8_H 1
 
-/* $Id: mg_8.h,v 1.19 2000/07/27 09:49:16 tale Exp $ */
+/* $Id: mg_8.h,v 1.20 2000/08/01 01:25:34 tale Exp $ */
 
 typedef struct dns_rdata_mg {
        dns_rdatacommon_t       common;
index caf1efa62f064c074c4a0f3875ece941e52a4e99..096ff8408725c9cebf3c172d1c1a95eea4fdf355 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: minfo_14.c,v 1.31 2000/07/27 09:49:18 tale Exp $ */
+/* $Id: minfo_14.c,v 1.32 2000/08/01 01:25:35 tale Exp $ */
 
 /* reviewed: Wed Mar 15 17:45:32 PST 2000 by brister */
 
@@ -34,7 +34,7 @@ fromtext_minfo(ARGS_FROMTEXT) {
        REQUIRE(type == 14);
 
        UNUSED(rdclass);
-       
+
        for (i = 0; i < 2 ; i++) {
                RETERR(gettoken(lexer, &token, isc_tokentype_string,
                                ISC_FALSE));
@@ -83,7 +83,7 @@ static inline isc_result_t
 fromwire_minfo(ARGS_FROMWIRE) {
         dns_name_t rmail;
         dns_name_t email;
-        
+
        REQUIRE(type == 14);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
index 4395275ab26962d2acf0caf5141b3d687985bd2c..ce0ff5d7ce047f330bf93bcdbc3af3715a56b2f9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MINFO_14_H
 #define GENERIC_MINFO_14_H 1
 
-/* $Id: minfo_14.h,v 1.20 2000/07/27 09:49:19 tale Exp $ */
+/* $Id: minfo_14.h,v 1.21 2000/08/01 01:25:36 tale Exp $ */
 
 typedef struct dns_rdata_minfo {
        dns_rdatacommon_t       common;
index f0495e0efbd035fb98219cdd13c6ddfa183f1764..7a908b482175aba2ee1f359ce6b7323721221694 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mr_9.c,v 1.29 2000/07/27 09:49:20 tale Exp $ */
+/* $Id: mr_9.c,v 1.30 2000/08/01 01:25:37 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 21:30:35 EST 2000 by tale */
 
@@ -33,7 +33,7 @@ fromtext_mr(ARGS_FROMTEXT) {
        REQUIRE(type == 9);
 
        UNUSED(rdclass);
-       
+
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
 
        dns_name_init(&name, NULL);
index 6b12e4e9768d3a0d65a82f46927c73e9c0fca0ef..b5bb01c954b48097095aa27e24a9e36f7f899013 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MR_9_H
 #define GENERIC_MR_9_H 1
 
-/* $Id: mr_9.h,v 1.19 2000/07/27 09:49:21 tale Exp $ */
+/* $Id: mr_9.h,v 1.20 2000/08/01 01:25:38 tale Exp $ */
 
 typedef struct dns_rdata_mr {
        dns_rdatacommon_t       common;
index adf3878ce7ae5d66c3718b793d4414efdc09fe6a..95b1292a4223b7f1da23afb7dbba61c83ce3c258 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mx_15.c,v 1.39 2000/07/27 09:49:22 tale Exp $ */
+/* $Id: mx_15.c,v 1.40 2000/08/01 01:25:39 tale Exp $ */
 
 /* reviewed: Wed Mar 15 18:05:46 PST 2000 by brister */
 
@@ -83,7 +83,7 @@ fromwire_mx(ARGS_FROMWIRE) {
        UNUSED(rdclass);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
-        
+
         dns_name_init(&name, NULL);
 
        isc_buffer_activeregion(source, &sregion);
index 6cfde17910bd9ab212bfe541d801595680a73779..23156bedfeb26a75307b36fa84e792c6209c3763 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_MX_15_H
 #define GENERIC_MX_15_H 1
 
-/* $Id: mx_15.h,v 1.22 2000/07/27 09:49:23 tale Exp $ */
+/* $Id: mx_15.h,v 1.23 2000/08/01 01:25:41 tale Exp $ */
 
 typedef struct dns_rdata_mx {
        dns_rdatacommon_t       common;
index 2724eed98c056feea2950e6ad0033db4c5e2559b..51c54268ce01ac393a7da65ebebfd192af63c46a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ns_2.c,v 1.33 2000/07/27 09:49:24 tale Exp $ */
+/* $Id: ns_2.c,v 1.34 2000/08/01 01:25:42 tale Exp $ */
 
 /* Reviewed: Wed Mar 15 18:15:00 PST 2000 by bwelling */
 
index 97db027c893fa2bd569cfb500d23717b402c3256..ec027a042fbba51cc3fb400f12cb64d415f7044c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_NS_2_H
 #define GENERIC_NS_2_H 1
 
-/* $Id: ns_2.h,v 1.20 2000/07/31 19:40:52 bwelling Exp $ */
+/* $Id: ns_2.h,v 1.21 2000/08/01 01:25:43 tale Exp $ */
 
 typedef struct dns_rdata_ns {
        dns_rdatacommon_t       common;
index 778c9f66f9325ca1107c5b7be52657ccf59cc0df..c8aefb3fb00b7432be74db35a75d6bf4bf7ec0a0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: null_10.c,v 1.27 2000/07/27 09:49:27 tale Exp $ */
+/* $Id: null_10.c,v 1.28 2000/08/01 01:25:44 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 13:57:50 PST 2000 by explorer */
 
@@ -129,7 +129,7 @@ tostruct_null(ARGS_TOSTRUCT) {
 static inline void
 freestruct_null(ARGS_FREESTRUCT) {
        dns_rdata_null_t *null = source;
-       
+
        REQUIRE(source != NULL);
        REQUIRE(null->common.rdtype == 10);
 
index a7b69b4b64fff72372cd83ce4f361f4ac198ce99..1484717d5eb7da3ab595aae22ccd493c0045dcaf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_NULL_10_H
 #define GENERIC_NULL_10_H 1
 
-/* $Id: null_10.h,v 1.18 2000/07/27 09:49:28 tale Exp $ */
+/* $Id: null_10.h,v 1.19 2000/08/01 01:25:45 tale Exp $ */
 
 typedef struct dns_rdata_null {
        dns_rdatacommon_t       common;
index ae0aa21d40e156b8d4cac805cb5316b649ddae99..5a815abffd40e7ce86bfe7a96581203183f7a542 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nxt_30.c,v 1.37 2000/07/27 09:49:29 tale Exp $ */
+/* $Id: nxt_30.c,v 1.38 2000/08/01 01:25:46 tale Exp $ */
 
 /* reviewed: Wed Mar 15 18:21:15 PST 2000 by brister */
 
@@ -45,7 +45,7 @@ fromtext_nxt(ARGS_FROMTEXT) {
        REQUIRE(type == 30);
 
        UNUSED(rdclass);
-       
+
        /*
         * Next domain.
         */
@@ -64,7 +64,7 @@ fromtext_nxt(ARGS_FROMTEXT) {
                n = strtol(token.value.as_pointer, &e, 10);
                if (e != (char *)token.value.as_pointer && *e == '\0') {
                        covered = (dns_rdatatype_t)n;
-               } else if (dns_rdatatype_fromtext(&covered, 
+               } else if (dns_rdatatype_fromtext(&covered,
                                &token.value.as_textregion) == DNS_R_UNKNOWN)
                        return (DNS_R_UNKNOWN);
                /*
@@ -78,7 +78,7 @@ fromtext_nxt(ARGS_FROMTEXT) {
                bm[covered/8] |= (0x80>>(covered%8));
        } while (1);
        isc_lex_ungettoken(lexer, &token);
-       if (first) 
+       if (first)
                return (ISC_R_SUCCESS);
        n = (maxcovered + 8) / 8;
        return (mem_tobuffer(target, bm, n));
@@ -137,7 +137,7 @@ fromwire_nxt(ARGS_FROMWIRE) {
 
        dns_name_init(&name, NULL);
        RETERR(dns_name_fromwire(&name, source, dctx, downcase, target));
-       
+
        isc_buffer_activeregion(source, &sr);
        /* XXXRTH  Enforce RFC 2535 length rules if bit 0 is not set. */
        if (sr.length > 8 * 1024)
index a15a4e3b39d1cf878bd35f7d98adbf4bddeb09f7..3bf341707288f475bd114fb318f2bc9e30e9d148 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_NXT_30_H
 #define GENERIC_NXT_30_H 1
 
-/* $Id: nxt_30.h,v 1.15 2000/07/27 09:49:30 tale Exp $ */
+/* $Id: nxt_30.h,v 1.16 2000/08/01 01:25:47 tale Exp $ */
 
 /* RFC 2065 */
 
index 2b75dc780b39f803735c9e603742775b325d7f7a..c8bd926294a1cc71ad97db5e1931983dd71dba48 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: opt_41.c,v 1.17 2000/07/27 09:49:31 tale Exp $ */
+/* $Id: opt_41.c,v 1.18 2000/08/01 01:25:48 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 14:06:44 PST 2000 by gson */
 
index 9c8add70aeaf6133a22d8b35d7b1e78b1a2b6d24..3c8e3f241d81565d30adcc66e46cb511f390aa2f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_OPT_41_H
 #define GENERIC_OPT_41_H 1
 
-/* $Id: opt_41.h,v 1.11 2000/07/27 09:49:32 tale Exp $ */
+/* $Id: opt_41.h,v 1.12 2000/08/01 01:25:50 tale Exp $ */
 
 /* RFC 2671 */
 
index edf7f59777dab9b2e80a71b98b21dc527d84c679..5259276277fc29c0e51852240315199f69ae3dce 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: proforma.c,v 1.26 2000/07/27 09:49:33 tale Exp $ */
+/* $Id: proforma.c,v 1.27 2000/08/01 01:25:51 tale Exp $ */
 
 #ifndef RDATA_GENERIC_#_#_C
 #define RDATA_GENERIC_#_#_C
@@ -111,7 +111,7 @@ freestruct_#(ARGS_FREESTRUCT) {
        REQUIRE(source != NULL);
        REQUIRE(#->common.rdtype == #);
        REQUIRE(#->common.rdclass == #);
-       
+
 }
 
 static inline isc_result_t
index 66c2bf931ad8baa00c051ca69816e1a8deed0896..0b7dd2b4469c0c88a37eb71adacbf0922965e2af 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_PROFORMA_H
 #define GENERIC_PROFORMA_H 1
 
-/* $Id: proforma.h,v 1.16 2000/07/27 09:49:34 tale Exp $ */
+/* $Id: proforma.h,v 1.17 2000/08/01 01:25:52 tale Exp $ */
 
 typedef struct dns_rdata_# {
        dns_rdatacommon_t       common;
index 7f1545e38dd695e96fbefa8195f388e28263c33f..ddd6d11525d76788c9e1a14696f5398b5b46114c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ptr_12.c,v 1.30 2000/07/27 09:49:35 tale Exp $ */
+/* $Id: ptr_12.c,v 1.31 2000/08/01 01:25:53 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 14:05:12 PST 2000 by explorer */
 
@@ -71,7 +71,7 @@ fromwire_ptr(ARGS_FROMWIRE) {
        REQUIRE(type == 12);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
-        
+
         dns_name_init(&name, NULL);
         return (dns_name_fromwire(&name, source, dctx, downcase, target));
 }
@@ -157,7 +157,7 @@ freestruct_ptr(ARGS_FREESTRUCT) {
 
        REQUIRE(source != NULL);
        REQUIRE(ptr->common.rdtype == 12);
-       
+
        if (ptr->mctx == NULL)
                return;
 
index 27e047fb1521089aaafc3b475799088eb2375688..78b689ba4847951b36371cc2cc51ee2eae880dfd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_PTR_12_H
 #define GENERIC_PTR_12_H 1
 
-/* $Id: ptr_12.h,v 1.20 2000/07/27 09:49:36 tale Exp $ */
+/* $Id: ptr_12.h,v 1.21 2000/08/01 01:25:54 tale Exp $ */
 
 typedef struct dns_rdata_ptr {
         dns_rdatacommon_t       common;
index 43ac67fd7ba29df317ba2a00125781361eb2e753..55e4fbbddb98b49ef3a274d1c5df1a934db2791c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rp_17.c,v 1.26 2000/07/27 09:49:38 tale Exp $ */
+/* $Id: rp_17.c,v 1.27 2000/08/01 01:25:55 tale Exp $ */
 
 /* RFC 1183 */
 
@@ -85,7 +85,7 @@ fromwire_rp(ARGS_FROMWIRE) {
         dns_name_t email;
 
        UNUSED(rdclass);
-        
+
        REQUIRE(type == 17);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
index 6a48bcb016002a4d277e95ee786c9a2eef708a13..fb44667b5cddb701af10b00cfb68822580212a27 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_RP_17_H
 #define GENERIC_RP_17_H 1
 
-/* $Id: rp_17.h,v 1.14 2000/07/27 09:49:39 tale Exp $ */
+/* $Id: rp_17.h,v 1.15 2000/08/01 01:25:56 tale Exp $ */
 
 /* RFC 1183 */
 
index 35a761f379d037ac3dd1a225d20d639370d26881..14149ffd799569bf2e16092d7653bc8853bc22af 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rt_21.c,v 1.28 2000/07/27 09:49:40 tale Exp $ */
+/* $Id: rt_21.c,v 1.29 2000/08/01 01:25:58 tale Exp $ */
 
 /* reviewed: Thu Mar 16 15:02:31 PST 2000 by brister */
 
@@ -84,7 +84,7 @@ fromwire_rt(ARGS_FROMWIRE) {
        UNUSED(rdclass);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-        
+
         dns_name_init(&name, NULL);
 
        isc_buffer_activeregion(source, &sregion);
index 7e4dbec491227c5b31f703b6e54c70ff570bfa4f..828729d78f4c5b3e90ac8c9f4fe920de6ffe6dc1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_RT_21_H
 #define GENERIC_RT_21_H 1
 
-/* $Id: rt_21.h,v 1.14 2000/07/27 09:49:41 tale Exp $ */
+/* $Id: rt_21.h,v 1.15 2000/08/01 01:25:59 tale Exp $ */
 
 /* RFC 1183 */
 
index 98add29c5620f22dc1541e8ebc73d3c51a4cff08..11fd7177b50d1807efd6d959e4920657c835184b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sig_24.c,v 1.44 2000/07/27 09:49:42 tale Exp $ */
+/* $Id: sig_24.c,v 1.45 2000/08/01 01:26:00 tale Exp $ */
 
 /* Reviewed: Fri Mar 17 09:05:02 PST 2000 by gson */
 
@@ -29,7 +29,7 @@
 static inline isc_result_t
 fromtext_sig(ARGS_FROMTEXT) {
        isc_token_t token;
-       unsigned char c; 
+       unsigned char c;
        long i;
        dns_rdatatype_t covered;
        char *e;
@@ -98,7 +98,7 @@ fromtext_sig(ARGS_FROMTEXT) {
         */
        RETERR(gettoken(lexer, &token, isc_tokentype_number, ISC_FALSE));
        RETERR(uint16_tobuffer(token.value.as_ulong, target));
-       
+
        /*
         * Signer.
         */
@@ -170,7 +170,7 @@ totext_sig(ARGS_TOTEXT) {
         */
        ttl = uint32_fromregion(&sr);
        isc_region_consume(&sr, 4);
-       sprintf(buf, "%lu", ttl); 
+       sprintf(buf, "%lu", ttl);
        RETERR(str_totext(buf, target));
        RETERR(str_totext(" ", target));
 
@@ -198,7 +198,7 @@ totext_sig(ARGS_TOTEXT) {
         */
        foot = uint16_fromregion(&sr);
        isc_region_consume(&sr, 2);
-       sprintf(buf, "%lu", foot); 
+       sprintf(buf, "%lu", foot);
        RETERR(str_totext(buf, target));
        RETERR(str_totext(" ", target));
 
@@ -220,7 +220,7 @@ totext_sig(ARGS_TOTEXT) {
                                    tctx->linebreak, target));
        if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
                RETERR(str_totext(" )", target));
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -232,7 +232,7 @@ fromwire_sig(ARGS_FROMWIRE) {
        REQUIRE(type == 24);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-       
+
        UNUSED(rdclass);
 
        isc_buffer_activeregion(source, &sr);
@@ -291,7 +291,7 @@ towire_sig(ARGS_TOWIRE) {
         */
        dns_name_init(&name, NULL);
        dns_name_fromregion(&name, &sr);
-       isc_region_consume(&sr, name_length(&name));        
+       isc_region_consume(&sr, name_length(&name));
        RETERR(dns_name_towire(&name, cctx, target));
 
        /*
@@ -351,7 +351,7 @@ fromstruct_sig(ARGS_FROMSTRUCT) {
        REQUIRE(sig->common.rdclass == rdclass);
        REQUIRE((sig->signature != NULL && sig->siglen != 0) ||
                (sig->signature == NULL && sig->siglen == 0));
-       
+
        /*
         * Type covered.
         */
@@ -406,7 +406,7 @@ tostruct_sig(ARGS_TOSTRUCT) {
 
        REQUIRE(rdata->type == 24);
        REQUIRE(target != NULL);
-       
+
        sig->common.rdclass = rdata->rdclass;
        sig->common.rdtype = rdata->type;
        ISC_LINK_INIT(&sig->common, link);
index 9e8880c157e6ad913a1435cc78d8da0dd02d79ef..779c1545f0c5f925f06b186e96d31e270ab5bbe8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_SIG_24_H
 #define GENERIC_SIG_24_H 1
 
-/* $Id: sig_24.h,v 1.19 2000/07/27 09:49:43 tale Exp $ */
+/* $Id: sig_24.h,v 1.20 2000/08/01 01:26:01 tale Exp $ */
 
 /* RFC 2535 */
 
index b6fc2a6015613d7ad5643a649277ccef8896b3bd..4b4c538c5c35bde76cca7e3711dec747a75e0a53 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: soa_6.c,v 1.41 2000/07/27 09:49:44 tale Exp $ */
+/* $Id: soa_6.c,v 1.42 2000/08/01 01:26:02 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 15:18:32 PST 2000 by explorer */
 
@@ -90,7 +90,7 @@ totext_soa(ARGS_TOTEXT) {
 
        sub = name_prefix(&mname, tctx->origin, &prefix);
        RETERR(dns_name_totext(&prefix, sub, target));
-       
+
        RETERR(str_totext(" ", target));
 
        sub = name_prefix(&rname, tctx->origin, &prefix);
@@ -139,7 +139,7 @@ fromwire_soa(ARGS_FROMWIRE) {
        isc_region_t tregion;
 
        UNUSED(rdclass);
-       
+
        REQUIRE(type == 6);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);
index 83cd9603a1aef9fd622f1ca907850bd913666c3b..19e78c6a3b67bcd470a99d9573305b273f605e43 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_SOA_6_H
 #define GENERIC_SOA_6_H 1
 
-/* $Id: soa_6.h,v 1.24 2000/07/27 09:49:46 tale Exp $ */
+/* $Id: soa_6.h,v 1.25 2000/08/01 01:26:03 tale Exp $ */
 
 typedef struct dns_rdata_soa {
        dns_rdatacommon_t       common;
index ce444b49c2d1c022b90de7f214b942bfaf0b6477..53685e9a56233509303ebd362dc4881aed8d4fc5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkey_249.c,v 1.37 2000/07/27 09:49:47 tale Exp $ */
+/* $Id: tkey_249.c,v 1.38 2000/08/01 01:26:04 tale Exp $ */
 
 /*
  * Reviewed: Thu Mar 16 17:35:30 PST 2000 by halley.
@@ -117,7 +117,7 @@ fromtext_tkey(ARGS_FROMTEXT) {
 static inline isc_result_t
 totext_tkey(ARGS_TOTEXT) {
        isc_region_t sr, dr;
-       char buf[sizeof "4294967295 "]; 
+       char buf[sizeof "4294967295 "];
        unsigned long n;
        dns_name_t name;
        dns_name_t prefix;
@@ -196,7 +196,7 @@ totext_tkey(ARGS_TOTEXT) {
        if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
                RETERR(str_totext(" ) ", target));
        else
-               RETERR(str_totext(" ", target));                
+               RETERR(str_totext(" ", target));
        isc_region_consume(&sr, n);
 
        /*
@@ -236,7 +236,7 @@ fromwire_tkey(ARGS_FROMWIRE) {
        REQUIRE(type == 249);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-       
+
        /*
         * Algorithm.
         */
@@ -311,7 +311,7 @@ compare_tkey(ARGS_COMPARE) {
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 249);
-       
+
        /*
         * Algorithm.
         */
index c423d5616cb49d32275183a808ec57e3fd8c5018..8229f8f7f6ca1f52b4502dced96e42981b03829e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_TKEY_249_H
 #define GENERIC_TKEY_249_H 1
 
-/* $Id: tkey_249.h,v 1.16 2000/07/27 09:49:48 tale Exp $ */
+/* $Id: tkey_249.h,v 1.17 2000/08/01 01:26:06 tale Exp $ */
 
 /* draft-ietf-dnsind-tkey-00.txt */
 
index c7db7d180fcc455c2efdb49517ec44a8ee3410a7..68a7f5d5924ebe75c3084d52845d117110091343 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: txt_16.c,v 1.29 2000/07/27 09:49:49 tale Exp $ */
+/* $Id: txt_16.c,v 1.30 2000/08/01 01:26:07 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 15:40:00 PST 2000 by bwelling */
 
@@ -105,7 +105,7 @@ static inline int
 compare_txt(ARGS_COMPARE) {
        isc_region_t r1;
        isc_region_t r2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 16);
@@ -189,7 +189,7 @@ additionaldata_txt(ARGS_ADDLDATA) {
        UNUSED(rdata);
        UNUSED(add);
        UNUSED(arg);
-       
+
        return (ISC_R_SUCCESS);
 }
 
index 068dee204000301e99836200db540c101fa212d9..0e2ba89ea116f2cfcf11ea00bc028b9265bc94b1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_TXT_16_H
 #define GENERIC_TXT_16_H 1
 
-/* $Id: txt_16.h,v 1.21 2000/07/27 09:49:50 tale Exp $ */
+/* $Id: txt_16.h,v 1.22 2000/08/01 01:26:08 tale Exp $ */
 
 typedef struct dns_rdata_txt_string {
                 isc_uint8_t    length;
index 88db1eccc3f624059eab0b53addd782bf153e109..22abfe808f6fb78e398b6790023f2b26d54ee3bf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: unspec_103.c,v 1.22 2000/07/27 09:49:51 tale Exp $ */
+/* $Id: unspec_103.c,v 1.23 2000/08/01 01:26:09 tale Exp $ */
 
 #ifndef RDATA_GENERIC_UNSPEC_103_C
 #define RDATA_GENERIC_UNSPEC_103_C
@@ -53,7 +53,7 @@ fromwire_unspec(ARGS_FROMWIRE) {
        UNUSED(rdclass);
        UNUSED(dctx);
        UNUSED(downcase);
-       
+
        isc_buffer_activeregion(source, &sr);
        isc_buffer_forward(source, sr.length);
        return (mem_tobuffer(target, sr.base, sr.length));
index 4543ff834e151e92ac16e50d6c832e260694a587..c68167b44308d10bae956b25c44a26455fc1fb94 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_UNSPEC_103_H
 #define GENERIC_UNSPEC_103_H 1
 
-/* $Id: unspec_103.h,v 1.10 2000/07/27 09:49:52 tale Exp $ */
+/* $Id: unspec_103.h,v 1.11 2000/08/01 01:26:10 tale Exp $ */
 
 typedef struct dns_rdata_unspec_t {
        dns_rdatacommon_t       common;
index 9b967a1ff970c7bd7aff384207f7be1742bce3ce..f40c4106d5351727717ba402122233e93077ce22 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: x25_19.c,v 1.22 2000/07/27 09:49:53 tale Exp $ */
+/* $Id: x25_19.c,v 1.23 2000/08/01 01:26:11 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 16:15:57 PST 2000 by bwelling */
 
@@ -87,7 +87,7 @@ static inline int
 compare_x25(ARGS_COMPARE) {
        isc_region_t r1;
        isc_region_t r2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 19);
index 28154583491b1c52f271beb448a75e30de827548..75d33c9ffb0eef90b4222d8d802bece70c4f9d97 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef GENERIC_X25_19_H
 #define GENERIC_X25_19_H 1
 
-/* $Id: x25_19.h,v 1.11 2000/07/27 09:49:54 tale Exp $ */
+/* $Id: x25_19.h,v 1.12 2000/08/01 01:26:12 tale Exp $ */
 
 /* RFC 1183 */
 
index 9e7c28a510b334ad3609fcb2ed1c0d4a5591e67f..6a7e2a3e1db737f1eaebc06d1b4a3207c66780da 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: a_1.c,v 1.15 2000/07/27 09:49:56 tale Exp $ */
+/* $Id: a_1.c,v 1.16 2000/08/01 01:26:13 tale Exp $ */
 
 /* reviewed: Thu Mar 16 15:58:36 PST 2000 by brister */
 
@@ -114,7 +114,7 @@ towire_hs_a(ARGS_TOWIRE) {
 static inline int
 compare_hs_a(ARGS_COMPARE) {
        int order;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->type);
        REQUIRE(rdata1->type == 1);
index dd2aa6b417a4b6f30807d0f441aee7dfaa8d3e65..543863464a531dab5c6b316aaaeec76a58e903b9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef HS_4_A_1_H
 #define HS_4_A_1_H 1
 
-/* $Id: a_1.h,v 1.5 2000/07/27 09:49:57 tale Exp $ */
+/* $Id: a_1.h,v 1.6 2000/08/01 01:26:14 tale Exp $ */
 
 typedef struct dns_rdata_hs_a {
        dns_rdatacommon_t       common;
index 7f4c86fd42157ffb887329e942719230714ab98c..c582b8aeacfa07a7a43fe5a9e2a1875588a4bb4c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: a6_38.c,v 1.35 2000/07/27 09:49:58 tale Exp $ */
+/* $Id: a6_38.c,v 1.36 2000/08/01 01:26:16 tale Exp $ */
 
 /* draft-ietf-ipngwg-dns-lookups-03.txt */
 
@@ -211,7 +211,7 @@ compare_in_a6(ARGS_COMPARE) {
        dns_name_t name2;
        isc_region_t region1;
        isc_region_t region2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 38);
index ccfc396437c1db8dc69f49300d214fe863944051..945949856ba8a3041bc665255c13e130dc1e6ced 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_A6_38_H
 #define IN_1_A6_38_H 1
 
-/* $Id: a6_38.h,v 1.15 2000/07/27 09:49:59 tale Exp $ */
+/* $Id: a6_38.h,v 1.16 2000/08/01 01:26:17 tale Exp $ */
 
 /* draft-ietf-ipngwg-dns-lookups-03.txt */
 
index ba9224daa2bf1f6c9d48a57990f4674a84f098f3..a1631f213ff97bd4897c0d0081d86490daa204eb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: a_1.c,v 1.36 2000/07/27 09:50:00 tale Exp $ */
+/* $Id: a_1.c,v 1.37 2000/08/01 01:26:18 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */
 
@@ -138,7 +138,7 @@ fromstruct_in_a(ARGS_FROMSTRUCT) {
        REQUIRE(a->common.rdtype == type);
        REQUIRE(a->common.rdclass == rdclass);
 
-       n = ntohl(a->in_addr.s_addr); 
+       n = ntohl(a->in_addr.s_addr);
 
        return (uint32_tobuffer(n, target));
 }
index 8c4574b7dfe470f52d1e19631266db817274076b..9da733124884a4a19bdedb3f836ef28fd0e08b92 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_A_1_H
 #define IN_1_A_1_H 1
 
-/* $Id: a_1.h,v 1.21 2000/07/27 09:50:02 tale Exp $ */
+/* $Id: a_1.h,v 1.22 2000/08/01 01:26:19 tale Exp $ */
 
 typedef struct dns_rdata_in_a {
        dns_rdatacommon_t       common;
index 2969af461c2c3c7f88c983f7df3151d091b6007f..d3ace06ff7242c5e0ffb9c0f2e57fc3510bc7f56 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: aaaa_28.c,v 1.27 2000/07/27 09:50:03 tale Exp $ */
+/* $Id: aaaa_28.c,v 1.28 2000/08/01 01:26:20 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */
 
index 93d55b063ed4528432913140b339ed60bd46d4df..3c8c21163095981ba619d077ee137fba1f168fca 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 #ifndef IN_1_AAAA_28_H
 #define IN_1_AAAA_28_H 1
 
-/* $Id: aaaa_28.h,v 1.14 2000/07/27 09:50:04 tale Exp $ */
+/* $Id: aaaa_28.h,v 1.15 2000/08/01 01:26:21 tale Exp $ */
 
 /* RFC 1886 */
 
 typedef struct dns_rdata_in_aaaa {
        dns_rdatacommon_t       common;
-       struct in6_addr         in6_addr; 
+       struct in6_addr         in6_addr;
 } dns_rdata_in_aaaa_t;
 
 #endif /* IN_1_AAAA_28_H */
index f7e293785c871125a0f9929f5ea1d56c8a70b2d0..7c2565832159eef7d1b12c75b41d613299cee689 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: kx_36.c,v 1.28 2000/07/27 09:50:05 tale Exp $ */
+/* $Id: kx_36.c,v 1.29 2000/08/01 01:26:22 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 17:24:54 PST 2000 by explorer */
 
@@ -84,7 +84,7 @@ fromwire_in_kx(ARGS_FROMWIRE) {
        REQUIRE(rdclass == 1);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-        
+
         dns_name_init(&name, NULL);
 
        isc_buffer_activeregion(source, &sregion);
index 2de40aa9c9422ac875fd0a26c346c48d6e732f2f..d4aef31c6d06f9e1f57868125fa5856cc3447370 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_KX_36_H
 #define IN_1_KX_36_H 1
 
-/* $Id: kx_36.h,v 1.13 2000/07/27 09:50:06 tale Exp $ */
+/* $Id: kx_36.h,v 1.14 2000/08/01 01:26:24 tale Exp $ */
 
 /* RFC 2230 */
 
index 01f06c11d49d4c3358a348b4d0ea6a3bd8691f16..c5157e5eff13819a547845062b5d2b1b54f972dc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: naptr_35.c,v 1.32 2000/07/27 09:50:07 tale Exp $ */
+/* $Id: naptr_35.c,v 1.33 2000/08/01 01:26:25 tale Exp $ */
 
 /* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */
 
@@ -149,7 +149,7 @@ fromwire_in_naptr(ARGS_FROMWIRE) {
        REQUIRE(rdclass == 1);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-        
+
         dns_name_init(&name, NULL);
 
        /*
@@ -197,7 +197,7 @@ towire_in_naptr(ARGS_TOWIRE) {
        dns_rdata_toregion(rdata, &sr);
        RETERR(mem_tobuffer(target, sr.base, 4));
        isc_region_consume(&sr, 4);
-       
+
        /*
         * Flags.
         */
@@ -400,7 +400,7 @@ tostruct_in_naptr(ARGS_TOSTRUCT) {
 static inline void
 freestruct_in_naptr(ARGS_FREESTRUCT) {
        dns_rdata_in_naptr_t *naptr = source;
-       
+
        REQUIRE(source != NULL);
        REQUIRE(naptr->common.rdclass == 1);
        REQUIRE(naptr->common.rdtype == 35);
@@ -434,7 +434,7 @@ additionaldata_in_naptr(ARGS_ADDLDATA) {
         */
        dns_rdata_toregion(rdata, &sr);
        isc_region_consume(&sr, 4);
-       
+
        /*
         * Flags.
         */
@@ -530,7 +530,7 @@ digest_in_naptr(ARGS_DIGEST) {
 
        dns_name_init(&name, NULL);
        dns_name_fromregion(&name, &r2);
-       
+
        return (dns_name_digest(&name, digest, arg));
 }
 
index ff416afd3fc966aa1564f823b09930b9f5945c2c..502b7825c5734fde3169f3b217aebefc2d6ca903 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_NAPTR_35_H
 #define IN_1_NAPTR_35_H 1
 
-/* $Id: naptr_35.h,v 1.15 2000/07/27 09:50:08 tale Exp $ */
+/* $Id: naptr_35.h,v 1.16 2000/08/01 01:26:26 tale Exp $ */
 
 /* RFC 2168 */
 
index bd66ad0eb40a4165378433e3f721e36dc4224d96..72611f1f4891ca41135e58708ec9b815dbf7a49a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsap-ptr_23.c,v 1.23 2000/07/27 09:50:09 tale Exp $ */
+/* $Id: nsap-ptr_23.c,v 1.24 2000/08/01 01:26:27 tale Exp $ */
 
 /* Reviewed: Fri Mar 17 10:16:02 PST 2000 by gson */
 
@@ -34,7 +34,7 @@ fromtext_in_nsap_ptr(ARGS_FROMTEXT) {
 
        REQUIRE(type == 23);
        REQUIRE(rdclass == 1);
-       
+
        RETERR(gettoken(lexer, &token, isc_tokentype_string, ISC_FALSE));
 
        dns_name_init(&name, NULL);
@@ -72,7 +72,7 @@ fromwire_in_nsap_ptr(ARGS_FROMWIRE) {
        REQUIRE(rdclass == 1);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-        
+
         dns_name_init(&name, NULL);
         return (dns_name_fromwire(&name, source, dctx, downcase, target));
 }
index 677af34a629dfa52eeaf5b6c87bcb7146f152b20..0dc29123ff1db301418086796e227486cbd7d6a9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_NSAP_PTR_23_H
 #define IN_1_NSAP_PTR_23_H 1
 
-/* $Id: nsap-ptr_23.h,v 1.12 2000/07/27 09:50:10 tale Exp $ */
+/* $Id: nsap-ptr_23.h,v 1.13 2000/08/01 01:26:28 tale Exp $ */
 
 /* RFC 1348.  Obsoleted in RFC 1706 - use PTR instead. */
 
index 8db3b95b004bd9229986d6b29e201add62b828f9..1b86674a5f1f061c98b5715fdf18501257229c36 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsap_22.c,v 1.24 2000/07/27 09:50:11 tale Exp $ */
+/* $Id: nsap_22.c,v 1.25 2000/08/01 01:26:29 tale Exp $ */
 
 /* Reviewed: Fri Mar 17 10:41:07 PST 2000 by gson */
 
@@ -124,7 +124,7 @@ static inline int
 compare_in_nsap(ARGS_COMPARE) {
        isc_region_t r1;
        isc_region_t r2;
-       
+
        REQUIRE(rdata1->type == rdata2->type);
        REQUIRE(rdata1->rdclass == rdata2->rdclass);
        REQUIRE(rdata1->type == 22);
index e7e852d6a45b73886cd0977f6d7ad2fe941f7cc2..300195d70d5c28d967df24c55c51fe4881ed3668 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_NSAP_22_H
 #define IN_1_NSAP_22_H 1
 
-/* $Id: nsap_22.h,v 1.11 2000/07/27 09:50:13 tale Exp $ */
+/* $Id: nsap_22.h,v 1.12 2000/08/01 01:26:30 tale Exp $ */
 
 /* RFC 1706 */
 
index 66141068be7f7f49ddaccf0df41697adbbb17dac..ef571e48cb4babf881c6f33df8f25b36039b863f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: px_26.c,v 1.25 2000/07/27 09:50:14 tale Exp $ */
+/* $Id: px_26.c,v 1.26 2000/08/01 01:26:31 tale Exp $ */
 
 /* Reviewed: Mon Mar 20 10:44:27 PST 2000 */
 
@@ -113,7 +113,7 @@ fromwire_in_px(ARGS_FROMWIRE) {
        REQUIRE(rdclass == 1);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-        
+
         dns_name_init(&name, NULL);
 
        /*
index ed749b4684d0c665e7e78a393c95a2d7c4e10028..a965ddb39520b0bfc4c6ae592d534c38e0720cef 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_PX_26_H
 #define IN_1_PX_26_H 1
 
-/* $Id: px_26.h,v 1.12 2000/07/27 09:50:15 tale Exp $ */
+/* $Id: px_26.h,v 1.13 2000/08/01 01:26:32 tale Exp $ */
 
 /* RFC 2163 */
 
index a31797c1b311f62b659554361adb4f1f5a8953d8..25155abaf984e5c20f53b903d66cdd0aa005be24 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: srv_33.c,v 1.27 2000/07/27 09:50:16 tale Exp $ */
+/* $Id: srv_33.c,v 1.28 2000/08/01 01:26:34 tale Exp $ */
 
 /* Reviewed: Fri Mar 17 13:01:00 PST 2000 by bwelling */
 
@@ -129,7 +129,7 @@ fromwire_in_srv(ARGS_FROMWIRE) {
        REQUIRE(rdclass == 1);
 
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
-        
+
         dns_name_init(&name, NULL);
 
        /*
index 3da95db3cbc53d9cb4c1c5769629d019788d978e..cd181a02070c84d82df911d7e474e8d391f1a749 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_SRV_33_H
 #define IN_1_SRV_33_H 1
 
-/* $Id: srv_33.h,v 1.12 2000/07/27 09:50:17 tale Exp $ */
+/* $Id: srv_33.h,v 1.13 2000/08/01 01:26:35 tale Exp $ */
 
 /* Reviewed: Fri Mar 17 13:01:00 PST 2000 by bwelling */
 
index 45b02c018a8e874172199b9bf59e49c8ade59f2a..879a25a23f58454a703b216834a4b9834149cd35 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: wks_11.c,v 1.33 2000/07/27 09:50:18 tale Exp $ */
+/* $Id: wks_11.c,v 1.34 2000/08/01 01:26:36 tale Exp $ */
 
 /* Reviewed: Fri Mar 17 15:01:49 PST 2000 by explorer */
 
@@ -52,7 +52,7 @@ fromtext_in_wks(ARGS_FROMTEXT) {
 
        REQUIRE(type == 11);
        REQUIRE(rdclass == 1);
-       
+
        /*
         * IPv4 dotted quad.
         */
index 03ea51d4aeac7ad3072cf55914bc2a4b21e7d0e8..b9cb9d9284d9d7e0ccce6e6230ccbe46cf4a7e61 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef IN_1_WKS_11_H
 #define IN_1_WKS_11_H 1
 
-/* $Id: wks_11.h,v 1.17 2000/07/27 09:50:19 tale Exp $ */
+/* $Id: wks_11.h,v 1.18 2000/08/01 01:26:37 tale Exp $ */
 
 typedef        struct dns_rdata_in_wks {
        dns_rdatacommon_t       common;
index 48de77b2c48c448963d73a869238b4bd318456f5..e28cfe3d50824a6acaab3c143aa034f2b7fa9401 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatastructpre.h,v 1.11 2000/07/31 20:57:06 tale Exp $ */
+/* $Id: rdatastructpre.h,v 1.12 2000/08/01 01:25:01 tale Exp $ */
 
 #ifndef DNS_RDATASTRUCT_H
 #define DNS_RDATASTRUCT_H 1
index 8965eb2af7767d0bd109a74693769f8300005668..3cbbd0e3c58f231584753381f4489a2f2a42b881 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatastructsuf.h,v 1.5 2000/07/27 09:48:45 tale Exp $ */
+/* $Id: rdatastructsuf.h,v 1.6 2000/08/01 01:25:02 tale Exp $ */
 
 ISC_LANG_ENDDECLS
 
index 136b58c2f7f2df80c794bce80a749d2cb4aebd33..22efa1263755c8418ad470b5b54f79a17c9ad493 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatalist.c,v 1.21 2000/07/27 09:46:28 tale Exp $ */
+/* $Id: rdatalist.c,v 1.22 2000/08/01 01:22:45 tale Exp $ */
 
 #include <config.h>
 
index 8a74c5ce2bf52a649b128637d0ed5ee835751220..e3d03bd7470389610e32f7e8e146b8f815f60719 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdataset.c,v 1.47 2000/07/27 09:46:29 tale Exp $ */
+/* $Id: rdataset.c,v 1.48 2000/08/01 01:22:46 tale Exp $ */
 
 #include <config.h>
 
@@ -64,7 +64,7 @@ dns_rdataset_invalidate(dns_rdataset_t *rdataset) {
 
        REQUIRE(DNS_RDATASET_VALID(rdataset));
        REQUIRE(rdataset->methods == NULL);
-       
+
        rdataset->magic = 0;
        ISC_LINK_INIT(rdataset, link);
        rdataset->rdclass = 0;
@@ -111,7 +111,7 @@ dns_rdataset_isassociated(dns_rdataset_t *rdataset) {
        /*
         * Is 'rdataset' associated?
         */
-       
+
        REQUIRE(DNS_RDATASET_VALID(rdataset));
 
        if (rdataset->methods != NULL)
@@ -209,7 +209,7 @@ dns_rdataset_clone(dns_rdataset_t *source, dns_rdataset_t *target) {
        REQUIRE(source->methods != NULL);
        REQUIRE(DNS_RDATASET_VALID(target));
        REQUIRE(target->methods == NULL);
-       
+
        (source->methods->clone)(source, target);
 }
 
@@ -255,7 +255,7 @@ dns_rdataset_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata) {
 #define MAX_SHUFFLE    32
 #define WANT_FIXED(r)  (((r)->attributes & DNS_RDATASETATTR_FIXEDORDER) != 0)
 #define WANT_RANDOM(r) (((r)->attributes & DNS_RDATASETATTR_RANDOMIZE) != 0)
-                        
+
 
 isc_result_t
 dns_rdataset_towire(dns_rdataset_t *rdataset,
index f250a28539e2a1851c92eba029438151c531afa3..1bcd9d2474156a3fe23ef9704701dd2e31f498e9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdatasetiter.c,v 1.9 2000/07/27 09:46:30 tale Exp $ */
+/* $Id: rdatasetiter.c,v 1.10 2000/08/01 01:22:47 tale Exp $ */
 
 #include <config.h>
 
index 2dc63e2b0cb0cb1821f960b0f0922694cbb064a7..552cd953a44dc29d337be28ed59f5f62bcfbd947 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdataslab.c,v 1.14 2000/07/27 09:46:31 tale Exp $ */
+/* $Id: rdataslab.c,v 1.15 2000/08/01 01:22:49 tale Exp $ */
 
 #include <config.h>
 
@@ -118,7 +118,7 @@ dns_rdataslab_size(unsigned char *slab, unsigned int reservelen) {
                length += *current++;
                current += length;
        }
-       
+
        return ((unsigned int)(current - slab));
 }
 
@@ -142,7 +142,7 @@ dns_rdataslab_merge(unsigned char *oslab, unsigned char *nslab,
         * XXX  Need parameter to allow "delete rdatasets in nslab" merge,
         * or perhaps another merge routine for this purpose.
         */
-          
+
        REQUIRE(tslabp != NULL && *tslabp == NULL);
        REQUIRE(oslab != NULL && nslab != NULL);
 
@@ -218,7 +218,7 @@ dns_rdataslab_merge(unsigned char *oslab, unsigned char *nslab,
                return (ISC_R_NOMEMORY);
        memcpy(tstart, nslab, reservelen);
        tcurrent = tstart + reservelen;
-       
+
        /*
         * Write the new count.
         */
@@ -360,7 +360,7 @@ dns_rdataslab_subtract(unsigned char *mslab, unsigned char *sslab,
                return (ISC_R_NOMEMORY);
        memcpy(tstart, mslab, reservelen);
        tcurrent = tstart + reservelen;
-       
+
        /*
         * Write the new count.
         */
index 8eba27253ee9ceca6a94f2096312083c7a523587..fc85384434a1f4e352b7d30dcca67278e0723ccb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: request.c,v 1.30 2000/07/27 09:46:32 tale Exp $ */
+/* $Id: request.c,v 1.31 2000/08/01 01:22:50 tale Exp $ */
 
 #include <config.h>
 
@@ -237,7 +237,7 @@ dns_requestmgr_shutdown(dns_requestmgr_t *requestmgr) {
        UNLOCK(&requestmgr->lock);
 }
 
-static void 
+static void
 mgr_shutdown(dns_requestmgr_t *requestmgr) {
        dns_request_t *request;
 
@@ -495,7 +495,7 @@ dns_request_create(dns_requestmgr_t *requestmgr, dns_message_t *message,
        request->event->result = ISC_R_FAILURE;
        if (key != NULL)
                dns_tsigkey_attach(key, &request->tsigkey);
-       
+
  use_tcp:
        if ((options & DNS_REQUESTOPT_TCP) != 0) {
                result = isc_socket_create(requestmgr->socketmgr,
@@ -631,7 +631,7 @@ dns_request_create(dns_requestmgr_t *requestmgr, dns_message_t *message,
        if (request->mctx != NULL)
                isc_mem_detach(&request->mctx);
        isc_mem_put(mctx, request, sizeof *request);
-       req_log(ISC_LOG_DEBUG(3), "dns_request_create: failed %s", 
+       req_log(ISC_LOG_DEBUG(3), "dns_request_create: failed %s",
                dns_result_totext(result));
        return (result);
 }
@@ -764,7 +764,7 @@ void
 dns_request_destroy(dns_request_t **requestp) {
        dns_request_t *request;
        isc_boolean_t need_destroy = ISC_FALSE;
-       
+
        REQUIRE(requestp != NULL && VALID_REQUEST(*requestp));
 
        request = *requestp;
@@ -810,7 +810,7 @@ req_connected(isc_task_t *task, isc_event_t *event) {
                result = sevent->result;
                if (result == ISC_R_SUCCESS)
                        result = req_send(request, task, NULL);
-                       
+
                if (sevent->result != ISC_R_SUCCESS)
                        dns_request_cancel(request);
        }
@@ -846,7 +846,7 @@ req_response(isc_task_t *task, isc_event_t *event) {
        REQUIRE(event->ev_type == DNS_EVENT_DISPATCH);
 
        UNUSED(task);
-       
+
        req_log(ISC_LOG_DEBUG(3), "req_response: request %p: %s", request,
                dns_result_totext(devent->result));
 
@@ -882,7 +882,7 @@ req_response(isc_task_t *task, isc_event_t *event) {
 static void
 req_timeout(isc_task_t *task, isc_event_t *event) {
        dns_request_t *request = event->ev_arg;
-       
+
        REQUIRE(VALID_REQUEST(request));
 
        req_log(ISC_LOG_DEBUG(3), "req_timeout: request %p", request);
index 8b16654bb9b7e8fa9ea6d4fc7a2d4b79a10766a7..9892104458dbb78e3278757ea9dcb8f6dd8181f2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolver.c,v 1.161 2000/07/29 01:18:36 bwelling Exp $ */
+/* $Id: resolver.c,v 1.162 2000/08/01 01:22:51 tale Exp $ */
 
 #include <config.h>
 
@@ -330,13 +330,13 @@ fctx_startidletimer(fetchctx_t *fctx) {
 static inline void
 resquery_destroy(resquery_t **queryp) {
        resquery_t *query;
-       
+
        REQUIRE(queryp != NULL);
        query = *queryp;
        REQUIRE(!ISC_LINK_LINKED(query, link));
 
        INSIST(query->tcpsocket == NULL);
-       
+
        query->magic = 0;
        isc_mem_put(query->mctx, query, sizeof(*query));
        *queryp = NULL;
@@ -421,7 +421,7 @@ fctx_cancelquery(resquery_t **queryp, dns_dispatchevent_t **deventp,
 
        if (query->dispatch != NULL)
                dns_dispatch_detach(&query->dispatch);
-       
+
        if (! (RESQUERY_CONNECTING(query) || RESQUERY_SENDING(query)))
                /*
                 * It's safe to destroy the query now.
@@ -642,7 +642,7 @@ fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
         * Double the round-trip time and convert to seconds.
         */
        rtt /= 500000;
-       
+
        /*
         * Always wait for at least the doubled round-trip time.
         */
@@ -696,7 +696,7 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
        result = isc_time_now(&query->start);
        if (result != ISC_R_SUCCESS)
                goto cleanup_query;
-       
+
        /*
         * If this is a TCP query, then we need to make a socket and
         * a dispatch for it here.  Otherwise we use the resolver's
@@ -711,7 +711,7 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
 
                pf = isc_sockaddr_pf(&addrinfo->sockaddr);
 
-               result = isc_socket_create(res->socketmgr, pf, 
+               result = isc_socket_create(res->socketmgr, pf,
                                           isc_sockettype_tcp,
                                           &query->tcpsocket);
                if (result != ISC_R_SUCCESS)
@@ -730,7 +730,7 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
                result = isc_socket_bind(query->tcpsocket, &any);
                if (result != ISC_R_SUCCESS)
                        goto cleanup_socket;
-               
+
                /*
                 * A dispatch will be created once the connect succeeds.
                 */
@@ -1076,7 +1076,7 @@ resquery_connected(isc_task_t *task, isc_event_t *event) {
        } else {
                if (sevent->result == ISC_R_SUCCESS) {
                        unsigned int attrs;
-                       
+
                        /*
                         * We are connected.  Create a dispatcher and
                         * send the query.
@@ -1097,7 +1097,7 @@ resquery_connected(isc_task_t *task, isc_event_t *event) {
                                                     query->fctx->res->taskmgr,
                                                     4096, 2, 1, 1, 3, attrs,
                                                     &query->dispatch);
-               
+
                        /*
                         * Regardless of whether dns_dispatch_create()
                         * succeeded or not, we don't need our reference
@@ -1107,7 +1107,7 @@ resquery_connected(isc_task_t *task, isc_event_t *event) {
 
                        if (result == ISC_R_SUCCESS)
                                result = resquery_send(query);
-                       
+
                        if (result != ISC_R_SUCCESS) {
                                fetchctx_t *fctx = query->fctx;
                                fctx_cancelquery(&query, NULL, NULL,
@@ -1119,7 +1119,7 @@ resquery_connected(isc_task_t *task, isc_event_t *event) {
                        fctx_cancelquery(&query, NULL, NULL, ISC_FALSE);
                }
        }
-                                
+
        isc_event_free(&event);
 }
 
@@ -1198,7 +1198,7 @@ bad_server(fetchctx_t *fctx, isc_sockaddr_t *address) {
                if (isc_sockaddr_equal(sa, address))
                        return (ISC_TRUE);
        }
-       
+
        return (ISC_FALSE);
 }
 
@@ -1240,7 +1240,7 @@ mark_bad(fetchctx_t *fctx) {
                else
                        all_bad = ISC_FALSE;
        }
-       
+
        return (all_bad);
 }
 
@@ -1285,7 +1285,7 @@ sort_adbfind(dns_adbfind_t *find) {
                }
                ISC_LIST_UNLINK(find->list, best, publink);
                ISC_LIST_APPEND(sorted, best, publink);
-       } 
+       }
        find->list = sorted;
 }
 
@@ -1646,7 +1646,7 @@ fctx_try(fetchctx_t *fctx) {
                         * Sleep waiting for addresses.
                         */
                        FCTXTRACE("addrwait");
-                       fctx->attributes |= FCTX_ATTR_ADDRWAIT; 
+                       fctx->attributes |= FCTX_ATTR_ADDRWAIT;
                        return;
                } else if (result != ISC_R_SUCCESS) {
                        /*
@@ -1779,7 +1779,7 @@ fctx_shutdown(fetchctx_t *fctx) {
 
        if (fctx->want_shutdown)
                return;
-       
+
        fctx->want_shutdown = ISC_TRUE;
 
        /*
@@ -1808,7 +1808,7 @@ fctx_doshutdown(isc_task_t *task, isc_event_t *event) {
 
        res = fctx->res;
        bucketnum = fctx->bucketnum;
-       
+
        FCTXTRACE("doshutdown");
 
        fctx->attributes |= FCTX_ATTR_SHUTTINGDOWN;
@@ -1819,7 +1819,7 @@ fctx_doshutdown(isc_task_t *task, isc_event_t *event) {
        fctx->attributes &= ~FCTX_ATTR_ADDRWAIT;
 
        LOCK(&res->buckets[bucketnum].lock);
-       
+
        INSIST(fctx->state == fetchstate_active ||
               fctx->state == fetchstate_done);
        INSIST(fctx->want_shutdown);
@@ -1956,7 +1956,7 @@ fctx_join(fetchctx_t *fctx, isc_task_t *task, isc_taskaction_t action,
 
        fetch->magic = DNS_FETCH_MAGIC;
        fetch->private = fctx;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -2028,7 +2028,7 @@ fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type,
        }
 
        INSIST(dns_name_issubdomain(&fctx->name, &fctx->domain));
-       
+
        fctx->type = type;
        fctx->options = options;
        /*
@@ -2058,14 +2058,14 @@ fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type,
        fctx->qmessage = NULL;
        result = dns_message_create(res->mctx, DNS_MESSAGE_INTENTRENDER,
                                    &fctx->qmessage);
-                                   
+
        if (result != ISC_R_SUCCESS)
                goto cleanup_domain;
 
        fctx->rmessage = NULL;
        result = dns_message_create(res->mctx, DNS_MESSAGE_INTENTPARSE,
                                    &fctx->rmessage);
-                                   
+
        if (result != ISC_R_SUCCESS)
                goto cleanup_qmessage;
 
@@ -2170,7 +2170,7 @@ same_question(fetchctx_t *fctx) {
            fctx->res->rdclass != rdataset->rdclass ||
            !dns_name_equal(&fctx->name, name))
                return (DNS_R_FORMERR);
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -2236,7 +2236,7 @@ maybe_destroy(fetchctx_t *fctx) {
        unsigned int bucketnum;
        isc_boolean_t bucket_empty = ISC_FALSE;
        dns_resolver_t *res = fctx->res;
-       
+
        REQUIRE(SHUTTINGDOWN(fctx));
 
        if (fctx->pending != 0 || fctx->validating != 0)
@@ -2277,7 +2277,7 @@ validated(isc_task_t *task, isc_event_t *event) {
        REQUIRE(fctx->validating > 0);
 
        vevent = (dns_validatorevent_t *)event;
-       
+
        FCTXTRACE("received validation completion event");
 
        /*
@@ -2360,20 +2360,20 @@ validated(isc_task_t *task, isc_event_t *event) {
                                         vevent->name, ISC_TRUE, &node);
                if (result != ISC_R_SUCCESS)
                        goto noanswer_response;
-               
+
                result = ncache_adderesult(fctx->rmessage,
                                           fctx->res->view->cachedb, node,
                                           covers, now,
                                           fctx->res->view->maxncachettl,
                                           ardataset, &eresult);
                if (result != ISC_R_SUCCESS)
-                       goto noanswer_response;                 
+                       goto noanswer_response;
 
                goto answer_response;
        }
 
        FCTXTRACE("validation OK");
-       
+
        /*
         * The data was already cached as pending data.
         * Re-cache it as secure and bind the cached
@@ -2403,7 +2403,7 @@ validated(isc_task_t *task, isc_event_t *event) {
        }
 
        if (sentresponse) {
-               /* 
+               /*
                 * If we only deferred the destroy because we wanted to cache
                 * the data, destroy now.
                 */
@@ -2424,7 +2424,7 @@ validated(isc_task_t *task, isc_event_t *event) {
                 */
                goto cleanup_event;
        }
-               
+
        result = ISC_R_SUCCESS;
 
  answer_response:
@@ -2432,9 +2432,9 @@ validated(isc_task_t *task, isc_event_t *event) {
         * Respond with an answer, positive or negative,
         * as opposed to an error.  'node' must be non-NULL.
         */
-       
+
        fctx->attributes |= FCTX_ATTR_HAVEANSWER;
-       
+
        if (hevent != NULL) {
                hevent->result = eresult;
                dns_name_concatenate(vevent->name, NULL,
@@ -2519,7 +2519,7 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, isc_stdtime_t now) {
                        }
                }
        }
-       
+
        /*
         * Find or create the cache node.
         */
@@ -2722,7 +2722,7 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, isc_stdtime_t now) {
        }
 
        if (valrdataset != NULL) {
-               validator = NULL;               
+               validator = NULL;
                result = dns_validator_create(res->view,
                                              name,
                                              fctx->type,
@@ -2826,7 +2826,7 @@ ncache_adderesult(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
                         * cache rdataset (because no fetch is interested
                         * in the outcome), or the cache rdataset is not
                         * a negative cache entry.  Whichever case it is,
-                        * we can return success. 
+                        * we can return success.
                         *
                         * XXXRTH  There's a CNAME/DNAME problem here.
                         */
@@ -2957,8 +2957,8 @@ ncache_message(fetchctx_t *fctx, dns_rdatatype_t covers, isc_stdtime_t now) {
                                   covers, now, res->view->maxncachettl,
                                   ardataset, &eresult);
        if (result != ISC_R_SUCCESS)
-               goto unlock;    
-       
+               goto unlock;
+
        if (!HAVE_ANSWER(fctx)) {
                fctx->attributes |= FCTX_ATTR_HAVEANSWER;
                if (event != NULL) {
@@ -3163,7 +3163,7 @@ noanswer_response(fetchctx_t *fctx, dns_name_t *oqname) {
                if (!dns_name_issubdomain(qname, &fctx->domain))
                        return (ISC_R_SUCCESS);
        }
-       
+
        /*
         * We have to figure out if this is a negative response, or a
         * referral.
@@ -3295,7 +3295,7 @@ noanswer_response(fetchctx_t *fctx, dns_name_t *oqname) {
 
                /*
                 * If the referral name is not a parent of the query
-                * name, consider the responder insane.  
+                * name, consider the responder insane.
                 */
                if (! dns_name_issubdomain(&fctx->name, ns_name)) {
                        FCTXTRACE("referral to non-parent");
@@ -3339,7 +3339,7 @@ noanswer_response(fetchctx_t *fctx, dns_name_t *oqname) {
 
        if (negative_response)
                fctx->attributes |= FCTX_ATTR_WANTNCACHE;
-               
+
        return (ISC_R_SUCCESS);
 }
 
@@ -3828,7 +3828,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
                        truncated = ISC_TRUE;
                        break;
                case DNS_R_FORMERR:
-                       if ((query->options & DNS_FETCHOPT_NOEDNS0) == 0) { 
+                       if ((query->options & DNS_FETCHOPT_NOEDNS0) == 0) {
                                /*
                                 * The problem might be that they
                                 * don't understand EDNS0.  Turn it
@@ -3892,7 +3892,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
         * INSIST() that the message comes from the place we sent it to,
         * since the dispatch code should ensure this.
         *
-        * INSIST() that the message id is correct (this should also be 
+        * INSIST() that the message id is correct (this should also be
         * ensured by the dispatch code).
         */
 
@@ -3902,7 +3902,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
         */
        if ((message->flags & DNS_MESSAGEFLAG_TC) != 0)
                truncated = ISC_TRUE;
-               
+
        if (truncated) {
                if ((options & DNS_FETCHOPT_TCP) != 0) {
                        broken_server = ISC_TRUE;
@@ -4136,7 +4136,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
                        fctx_cancelqueries(fctx, ISC_TRUE);
                        fctx_cleanupfinds(fctx);
                        fctx_cleanupforwaddrs(fctx);
-               }                                         
+               }
                /*
                 * Try again.
                 */
@@ -4340,7 +4340,7 @@ dns_resolver_create(dns_view_t *view,
                goto cleanup_dispatches;
 
        res->magic = RES_MAGIC;
-       
+
        *resp = res;
 
        return (ISC_R_SUCCESS);
@@ -4396,7 +4396,7 @@ dns_resolver_setforwarders(dns_resolver_t *res,
                ISC_LINK_INIT(nsa, link);
                ISC_LIST_APPEND(res->forwarders, nsa, link);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -4450,7 +4450,7 @@ prime_done(isc_task_t *task, isc_event_t *event) {
        isc_event_free(&event);
        dns_resolver_destroyfetch(&fetch);
 }
-       
+
 void
 dns_resolver_prime(dns_resolver_t *res) {
        isc_boolean_t want_priming = ISC_FALSE;
@@ -4471,7 +4471,7 @@ dns_resolver_prime(dns_resolver_t *res) {
                return;
 
        LOCK(&res->lock);
-       
+
        if (!res->exiting && !res->priming) {
                INSIST(res->primefetch == NULL);
                res->priming = ISC_TRUE;
@@ -4563,7 +4563,7 @@ dns_resolver_whenshutdown(dns_resolver_t *res, isc_task_t *task,
        *eventp = NULL;
 
        LOCK(&res->lock);
-       
+
        if (res->exiting && res->activebuckets == 0) {
                /*
                 * We're already shutdown.  Send the event.
@@ -4576,7 +4576,7 @@ dns_resolver_whenshutdown(dns_resolver_t *res, isc_task_t *task,
                event->ev_sender = clone;
                ISC_LIST_APPEND(res->whenshutdown, event, ev_link);
        }
-       
+
        UNLOCK(&res->lock);
 }
 
@@ -4589,7 +4589,7 @@ dns_resolver_shutdown(dns_resolver_t *res) {
        REQUIRE(VALID_RESOLVER(res));
 
        RTRACE("shutdown");
-       
+
        LOCK(&res->lock);
 
        if (!res->exiting) {
@@ -4698,7 +4698,7 @@ dns_resolver_createfetch(dns_resolver_t *res, dns_name_t *name,
                         unsigned int options, isc_task_t *task,
                         isc_taskaction_t action, void *arg,
                         dns_rdataset_t *rdataset,
-                        dns_rdataset_t *sigrdataset, 
+                        dns_rdataset_t *sigrdataset,
                         dns_fetch_t **fetchp)
 {
        dns_fetch_t *fetch;
index 1d7778c30a816a5b801de595363c954c20a450a7..314d3d68c383c32dbe3525b5fb6e4deb50f62ae0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.c,v 1.68 2000/07/27 09:46:35 tale Exp $ */
+/* $Id: result.c,v 1.69 2000/08/01 01:22:52 tale Exp $ */
 
 #include <config.h>
 
index 9eff2493e5a5d8243bf8d8fd065e71302324148d..e9d1f10bc639646bd6785e04b75e06ee6fa6a344 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rootns.c,v 1.14 2000/07/27 09:46:36 tale Exp $ */
+/* $Id: rootns.c,v 1.15 2000/08/01 01:22:53 tale Exp $ */
 
 #include <config.h>
 
@@ -71,7 +71,7 @@ dns_rootns_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
        size_t len;
        dns_rdatacallbacks_t callbacks;
        dns_db_t *db = NULL;
-       
+
        REQUIRE(target != NULL && *target == NULL);
 
        result = dns_db_create(mctx, "rbt", dns_rootname, dns_dbtype_zone,
index 37aa29bfe26a3410a8dec200bab58e092f1f0e4d..cd1089b2eed7bcdc99de96f0867b311f7c9613c1 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.7 2000/07/27 09:50:21 tale Exp $
+# $Id: Makefile.in,v 1.8 2000/08/01 01:26:38 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 435fc29711af4241de59dbaddc68b0c07552cda5..692822815a4e9ba14fadce2452e0c827298c9661 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.9 2000/07/27 09:50:23 tale Exp $
+# $Id: Makefile.in,v 1.10 2000/08/01 01:26:41 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 5bc74383972eb9cfd2520852eac179ae46543c8d..105c1b50e5d8c7eac1813ba946fc7556e567bbde 100644 (file)
@@ -80,7 +80,7 @@ A_SURRENDER_CTX *surrenderContext;
 {
   /* For encryption, we need to track the input length */
   handler->_inputRemainder = (handler->_inputRemainder + partInLen) % 8;
-  
+
   return (AHChooseEncryptEncryptUpdate
           (handler, partOut, partOutLen, maxPartOutLen, partIn, partInLen,
            randomAlgorithm, surrenderContext));
@@ -136,7 +136,7 @@ A_SURRENDER_CTX *surrenderContext;
   int status;
   unsigned char finalBuffer[16], *padBuffer;
   unsigned int padLen, localPartOutLen, i;
-  
+
   do {
     /* For now, the DecrypyFinal operations is set to output 16 bytes.
      */
index 8f4b4e23a6f75197dc96a7e1c9a65e7181a25d5c..dedb7652b0fdaf7988d12238612dc30e4be58aad 100644 (file)
@@ -77,12 +77,12 @@ unsigned int partInLen;
 A_SURRENDER_CTX *surrenderContext;
 {
   int status;
-  
+
   if ((status = (*((A_DIGEST_ALGA *)handler->algaChoice._alga)->Update)
        (handler->algaChoice.context.z.context, partIn, partInLen,
         surrenderContext)) != 0)
     return (ConvertAlgaeError (status));
-  return (0);    
+  return (0);
 }
 
 int AHChooseDigestFinal
@@ -94,12 +94,12 @@ unsigned int maxPartOutLen;
 A_SURRENDER_CTX *surrenderContext;
 {
   int status;
-  
+
   if ((status = (*((A_DIGEST_ALGA *)handler->algaChoice._alga)->Final)
        (handler->algaChoice.context.z.context, partOut, partOutLen,
         maxPartOutLen, surrenderContext)) != 0)
     return (ConvertAlgaeError (status));
-  return (0);    
+  return (0);
 }
 
 static int InitDigestAlga
index 64cf959c34da096824221eac6c8083e5c3c44d7d..efc8b7a4ad8764fa0d4ca77c95a8cfd288454cd3 100644 (file)
@@ -124,7 +124,7 @@ int AHChooseEncryptDecrypt::encryptUpdate
         partIn, partInLen, surrenderContext)) != 0)
     return (ConvertAlgaeError (status));
   return (0);
-}  
+}
  */
 int AHChooseEncryptEncryptUpdate
   (handler, partOut, partOutLen, maxPartOutLen, partIn, partInLen,
index f1d7bd7c5c27c96b50001104acaeeca7aecdf82b..78dcb2776cf969e73ca673b427b5af2856bafce7 100644 (file)
@@ -95,8 +95,8 @@ B_Algorithm *randomAlgorithm;
 A_SURRENDER_CTX *surrenderContext;
 {
   POINTER result;
-  int status;  
-  
+  int status;
+
   if ((status = GenerateResult
        (&handler->generateAlgaChoice, &result, randomAlgorithm,
         surrenderContext)) != 0)
@@ -116,8 +116,8 @@ B_Algorithm *randomAlgorithm;
 A_SURRENDER_CTX *surrenderContext;
 {
   POINTER result;
-  int status;  
-  
+  int status;
+
   if ((status = GenerateResult
        (&handler->generateAlgaChoice, &result, randomAlgorithm,
         surrenderContext)) != 0)
@@ -205,7 +205,7 @@ A_SURRENDER_CTX *surrenderContext;
           surrenderContext)) != 0) {
       if (status != AE_NEED_RANDOM)
         return (ConvertAlgaeError (status));
-      
+
       /* Else continue and try again */
     }
     else
index e565a1d9b0071b22eaf1bc96c6b759dfb3d09a1d..5e927296593f8ca7a3e32ed3e1ea89c4da5d631a 100644 (file)
@@ -77,12 +77,12 @@ unsigned int inputLen;
 A_SURRENDER_CTX *surrenderContext;
 {
   int status;
-  
+
   if ((status = (*((A_RANDOM_ALGA *)handler->algaChoice._alga)->Update)
        (handler->algaChoice.context.z.context, input, inputLen,
         surrenderContext)) != 0)
     return (ConvertAlgaeError (status));
-  return (0);    
+  return (0);
 }
 
 int AHChooseRandomGenerateBytes (handler, output, outputLen, surrenderContext)
@@ -92,12 +92,12 @@ unsigned int outputLen;
 A_SURRENDER_CTX *surrenderContext;
 {
   int status;
-  
+
   if ((status = (*((A_RANDOM_ALGA *)handler->algaChoice._alga)->Generate)
        (handler->algaChoice.context.z.context, output, outputLen,
         surrenderContext)) != 0)
     return (ConvertAlgaeError (status));
-  return (0);    
+  return (0);
 }
 
 static int InitRandomAlga
index d2cb28c48f347a3376b788ec29f0d757ba6fe480..0929fc3fb59d797f35c8dc1d91910565058eaaa3 100644 (file)
@@ -15,7 +15,7 @@
 class AHEncryptDecrypt : public B_TypeCheck {
   AHEncryptDecrypt ();
   virtual ~AHEncryptDecrypt () = 0;
-  
+
   virtual int getBlockLen (unsigned int *) = 0;
   virtual int encryptInit
     (B_Key *, B_ALGORITHM_CHOOSER, A_SURRENDER_CTX *) = 0;
index 307d1fd8b14ba73ec3a271bca67ec7e76a3f2b8d..ba2d1f9dfaf0a4b748f0487c59ecd5656ac04b50 100644 (file)
@@ -109,7 +109,7 @@ UNUSED_ARG (maxPartOutLen)
 UNUSED_ARG (randomAlgorithm)
 UNUSED_ARG (surrenderContext)
   *partOutLen = 0;
-    
+
   if (handler->_inputLen + partInLen > handler->_maxInputLen)
     return (BE_INPUT_LEN);
   T_memcpy
@@ -131,7 +131,7 @@ A_SURRENDER_CTX *surrenderContext;
 {
   int status;
   unsigned int dummyPartOutLen;
-  
+
   /* Encode methodContext in place. */
   if ((status = (*handler->vTable->EncodeBlock)
        (handler, randomAlgorithm, surrenderContext)) != 0)
@@ -148,7 +148,7 @@ A_SURRENDER_CTX *surrenderContext;
        (handler, (unsigned char *)NULL_PTR, &dummyPartOutLen, 0,
         (B_Algorithm *)NULL_PTR, surrenderContext)) != 0)
     return (status);
-    
+
   /* Restart the handle for new input. */
   handler->_inputLen = 0;
   return (0);
@@ -167,7 +167,7 @@ A_SURRENDER_CTX *surrenderContext;
   ITEM output;
   int status;
   unsigned int decryptedLen, dummyPartOutLen;
-  
+
 UNUSED_ARG (randomAlgorithm)
   /* Decrypt block in place.  The block lenghts are already within limits.
    */
@@ -181,23 +181,23 @@ UNUSED_ARG (randomAlgorithm)
        (handler, (unsigned char *)NULL_PTR, &dummyPartOutLen, 0,
         (B_Algorithm *)NULL_PTR, surrenderContext)) != 0)
     return (status);
-    
+
   /* Restart the handle for new input. */
   handler->_inputLen = 0;
-      
+
   /* Now decode the block and copy the result to the partOut.
    */
   if ((status = (*handler->vTable->DecodeBlock)
        (handler, &output, decryptedLen)) != 0)
     return (status);
-      
+
   if (output.len > handler->z.blockLen - 11)
     /* This implies that the block was encrypted with less than
        8 bytes of padding */
     return (BE_INPUT_DATA);
-      
+
   if ((*partOutLen = output.len) > maxPartOutLen)
-    return (BE_OUTPUT_LEN);      
+    return (BE_OUTPUT_LEN);
   T_memcpy ((POINTER)partOut, (POINTER)output.data, output.len);
 
   return (0);
@@ -224,7 +224,7 @@ int encryptFlag;
   handler->_maxInputLen = encryptFlag ? (newBlockLen - 11) : newBlockLen;
 
   handler->_inputLen = 0;
-  
+
   /* Zeroize old block and realloc to new size.
    */
   T_memset ((POINTER)handler->z.block, 0, handler->z.blockLen);
@@ -234,7 +234,7 @@ int encryptFlag;
     handler->z.blockLen = 0;
     return (BE_ALLOC);
   }
-  
+
   handler->z.blockLen = newBlockLen;
   return (0);
 }
index e6fba2b99830cdff4d2652cfb84d630ca9a87940..0b247e5dc3cb6a2c01ef034a6c1ac7bcb5b8063d 100644 (file)
@@ -40,7 +40,7 @@ AH_RSAEncryptionPrivate *handler;
 
   /* Construct base class */
   AH_RSAEncryptionConstructor1 (handler, &AIT_RSAPrivate);
-  
+
   handler->vTable = &ENCRYPTION_V_TABLE;
   return (handler);
 }
@@ -79,19 +79,19 @@ ITEM *output;
 unsigned int block2Len;
 {
   unsigned int i;
-  
+
   if ((handler->z.block[0] != 0) || (handler->z.block[1] != 2))
     return (BE_INPUT_DATA);
-    
+
   /* Should be able to find the data after the first zero byte following
        the random bytes. */
   for (i = 2; i < block2Len && handler->z.block[i] != 0; i++);
   i++;
-    
+
   if (i > block2Len)
     /* The data is not zero terminated. */
     return (BE_INPUT_DATA);
-    
+
   output->len = block2Len - i;
   output->data = handler->z.block + i;
   return (0);
index 000e84201b72bd333e762b4ff68c6e6ee4847b52..a90b3643eb567f8a19848d0e44f54236ab40ba3a 100644 (file)
@@ -40,7 +40,7 @@ AH_RSAEncryptionPublic *handler;
 
   /* Construct base class */
   AH_RSAEncryptionConstructor1 (handler, &AIT_RSAPublic);
-  
+
   handler->vTable = &ENCRYPTION_V_TABLE;
   return (handler);
 }
@@ -76,10 +76,10 @@ A_SURRENDER_CTX *surrenderContext;
            (randomAlgorithm, &randomByte, 1, surrenderContext)) != 0)
         return (status);
     } while (randomByte == 0);
-    
+
     handler->z.block[i] = randomByte;
   }
-  
+
   handler->z.block[2 + padLen] = 0;
   return (0);
 }
@@ -90,17 +90,17 @@ ITEM *output;
 unsigned int block1Len;
 {
   unsigned int i;
-  
+
   /* Locate the digestInfo within the PKCS block 1.
    */
   if (handler->z.block[0] != 0 || handler->z.block[1] != 1)
     return (BE_INPUT_DATA);
-    
+
   /* Should be able to find the data after the first zero byte following
        the 0xff. */
   for (i = 2; i < block1Len && handler->z.block[i] == 0xff; i++);
   i++;
-    
+
   if (i > block1Len || handler->z.block[i - 1] != 0)
     /* The data is not zero terminated, or a byte other than 0xff. */
     return (BE_INPUT_DATA);
index 3612ab0592826ee51df07f3ecd13fa17a1973df2..b4dba4186a6531afaf16e467375d14fcef40a78b 100644 (file)
@@ -22,11 +22,11 @@ POINTER info;
 {
   POINTER newInfo;
   int status;
-  
+
   if ((status = B_MemoryPoolAllocAndCopy
        (&algorithm->infoCache.memoryPool, &newInfo, info, 8)) != 0)
     return (status);
-  
+
   return (B_InfoCacheAddInfo
           (&algorithm->infoCache, (POINTER)infoType, newInfo));
 }
index 9856a0070c9bd7f328116336306ae517d7a7d2a1..08e71817661de3c7bab866d44514970ad65acd86 100644 (file)
@@ -41,7 +41,7 @@ POINTER info;
 {
   A_RSA_KEY_GEN_PARAMS *newInfo;
   int status;
-  
+
   if ((status = B_MemoryPoolAlloc
        (&algorithm->infoCache.memoryPool, (POINTER *)&newInfo,
         sizeof (A_RSA_KEY_GEN_PARAMS))) != 0)
index e8b076990310504629aa6e125e88a1c14757845c..ead0b9f989bfd652e7fb1281e77783f8cce569f5 100644 (file)
@@ -61,7 +61,7 @@ unsigned int contextSize;
     resizeContext->z.contextSize = 0;
     return (BE_ALLOC);
   }
-    
+
   resizeContext->z.contextSize = contextSize;
   return (0);
 }
@@ -93,7 +93,7 @@ A_SURRENDER_CTX *surrenderContext;
            (key, &keyInfo, (*chooser)->keyInfoType)) != 0) {
         if (IS_FATAL_BSAFE_ERROR (status))
           return (status);
-      
+
         /* Update the overall status with this more specific error. */
         overallStatus = status;
         continue;
@@ -154,7 +154,7 @@ int type;
     return (BE_OUTPUT_LEN);
   case AE_PARAMS:
     return (BE_ALGORITHM_INFO);
-    
+
 #if USE_ALLOCED_FRAME
   case AE_ALLOC:
     return (BE_ALLOC);
index d872d2485663ebf85a283d85bf1fdb4af5e386ff..80d305e1d34a6cbc550ab933ff80a3ff4bc1ced0 100644 (file)
@@ -28,7 +28,7 @@ B_ALGORITHM_OBJ *algorithmObject;
 
   /* First construct base class */
   B_AlgorithmConstructor (&algorithmWrap->algorithm);
-  
+
   algorithmWrap->typeTag = &ALGORITHM_TYPE_TAG;
   algorithmWrap->selfCheck = algorithmWrap;
   return (0);
@@ -59,7 +59,7 @@ POINTER info;
 {
   B_AlgorithmInfoType *algorithmInfoType;
   int status;
-  
+
   if ((status = AlgorithmWrapCheck (THE_ALG_WRAP)) != 0)
     return (status);
 
@@ -68,7 +68,7 @@ POINTER info;
    */
   if ((*infoType) ((POINTER *)&algorithmInfoType) != 0)
     return (BE_KEY_OPERATION_UNKNOWN);
-  
+
   return (B_AlgorithmSetInfo
           (&THE_ALG_WRAP->algorithm, algorithmInfoType, info));
 }
@@ -80,7 +80,7 @@ B_INFO_TYPE infoType;
 {
   B_AlgorithmInfoType *algorithmInfoType;
   int status;
-  
+
   if ((status = AlgorithmWrapCheck (THE_ALG_WRAP)) != 0)
     return (status);
 
@@ -89,7 +89,7 @@ B_INFO_TYPE infoType;
    */
   if ((*infoType) ((POINTER *)&algorithmInfoType) != 0)
     return (BE_KEY_OPERATION_UNKNOWN);
-  
+
   return (B_AlgorithmGetInfo
           (&THE_ALG_WRAP->algorithm, info, algorithmInfoType));
 }
index 59b6e1119bca5734d5e745db329289b17eb30447..738fa2bef815f436c9a6bf7f75f01c7ff2ef6dad 100644 (file)
@@ -45,7 +45,7 @@ POINTER params;
       (THE_GEN_PARAMS->modulusBits < MIN_RSA_MODULUS_BITS))
     /* Can't support a keypair of this size. */
     return (AE_MODULUS_LEN);
-  
+
   *contextLen = sizeof (A_RSA_KEY_GEN_CTX);
   *secondContextLen = 0;
   *randomBlockLen =
index b0b9bbb77163513d6086da1e27805bd19c26622d..3ceb848839722505801fb56156ead086d817734c 100644 (file)
@@ -69,7 +69,7 @@ B_AlgorithmInfoType *algorithmInfoType;
 POINTER info;
 {
   int status;
-  
+
   if (algorithm->infoCache.z.infoCount > 0)
     return (BE_ALGORITHM_ALREADY_SET);
 
@@ -93,7 +93,7 @@ POINTER *info;
 B_AlgorithmInfoType *algorithmInfoType;
 {
   int status;
-  
+
   if (algorithm->infoCache.z.infoCount == 0)
     return (BE_ALGORITHM_NOT_SET);
 
@@ -102,7 +102,7 @@ B_AlgorithmInfoType *algorithmInfoType;
   if (B_InfoCacheFindInfo
       (&algorithm->infoCache, info, (POINTER)algorithmInfoType) == 0)
     return (0);
-  
+
   /* Info is not in the cache, go ahead and encode.
    */
   if ((status = (*algorithmInfoType->vTable->MakeInfo)
index 36565f4127ef852af4bbb4c88a10bd49b55767f3..dc4dbdd6b8c00050cbe2712aa83e2d684dff8293 100644 (file)
@@ -14,8 +14,8 @@
 void BigClrbit (a, v)
 UINT2 *a;
 unsigned int v;
-{ 
-  a[v/16] &= ~ (1 << (v % 16)); 
+{
+  a[v/16] &= ~ (1 << (v % 16));
 }
 
 /* BigSetbit (a, v) -- sets v-th bit of a, where v is nonnegative.
@@ -23,6 +23,6 @@ unsigned int v;
 void BigSetbit (a, v)
 UINT2 *a;
 unsigned int v;
-{ 
-  a[v/16] |= (1 << (v % 16)); 
+{
+  a[v/16] |= (1 << (v % 16));
 }
index 1f1a65f4f410cbc67447c5d1cbca5790a8389388..d4d64ee2d73a18bc006bf7d0540d52f819f99ded 100644 (file)
    Assumes a, b, c, d of length n.
    Returns 0, AE_CANCEL.
  */
-int BigModExp (a, b, c, d, n, surrenderContext) 
+int BigModExp (a, b, c, d, n, surrenderContext)
 UINT2 *a, *b, *c, *d;
 unsigned int n;
 A_SURRENDER_CTX *surrenderContext;
 {
   struct BigModExpFrame {
-    UINT2 dInv[MAX_RSA_MODULUS_WORDS + 2], result[MAX_RSA_MODULUS_WORDS], 
+    UINT2 dInv[MAX_RSA_MODULUS_WORDS + 2], result[MAX_RSA_MODULUS_WORDS],
       tab[16][MAX_RSA_MODULUS_WORDS];
   } *frame = (struct BigModExpFrame *)NULL_PTR;
 #if !USE_ALLOCED_FRAME
@@ -47,7 +47,7 @@ A_SURRENDER_CTX *surrenderContext;
     BigInv (frame->dInv, d, n);
     if ((status = CheckSurrender (surrenderContext)) != 0)
       break;
-    
+
     /* precompute small (size 2**w) table of powers of b */
     cLen = BigLen (c, n);
     if (cLen < 4)
@@ -57,7 +57,7 @@ A_SURRENDER_CTX *surrenderContext;
     else if (cLen < 64)
       w = 3;
     else
-      w = 4; 
+      w = 4;
 
     /* zeroth power is one */
     BigConst (frame->tab[0], 1, n);
@@ -111,7 +111,7 @@ A_SURRENDER_CTX *surrenderContext;
         }
         else
           BigCopy (frame->result, frame->tab[power], n);
-      
+
         power = 0;
         didAMultiply = 1;
       }
index 2201b7e9d3d23afe8d99720add4a10be82f254a1..e59af931e4e43664fe1150174a713c1065819f58 100644 (file)
@@ -26,7 +26,7 @@ void BigPegcd (u3, u1, u2, u, v, k)
 UINT2 *u3, *u2, *u1, *u, *v;
 unsigned int k;
 {
-  UINT2 v1[2 * MAX_RSA_PRIME_WORDS], v2[2 * MAX_RSA_PRIME_WORDS], 
+  UINT2 v1[2 * MAX_RSA_PRIME_WORDS], v2[2 * MAX_RSA_PRIME_WORDS],
     v3[2 * MAX_RSA_PRIME_WORDS], q[2 * MAX_RSA_PRIME_WORDS],
     r[2 * MAX_RSA_PRIME_WORDS], t1[2 * MAX_RSA_PRIME_WORDS],
     t2[2 * MAX_RSA_PRIME_WORDS], t3[2 * MAX_RSA_PRIME_WORDS];
index 85026db2c6b5a7c2caa989c5d6eac0b8c6ad4303..36761e37ebdbb497d7a6e87662fe2d7d843d78ba 100644 (file)
@@ -9,7 +9,7 @@
 #include "global.h"
 #include "bigmath.h"
 
-/* Big2Exp (a, v, n) -- a = 2**v, where v is nonnegative int.  
+/* Big2Exp (a, v, n) -- a = 2**v, where v is nonnegative int.
    Sets a to be 2**v.
  */
 void Big2Exp (a, v, n)
index 8b4bcb70fb51ac85f2e10858c6e098a9c61cdf34..a9190cefdc869fc80519666e4f9cf039335270b8 100644 (file)
@@ -16,7 +16,7 @@ UINT2 *a, *b;
 unsigned int n;
 {
   if (BigSign (b, n) >= 0)
-    BigCopy (a, b, n); 
+    BigCopy (a, b, n);
   else
     BigNeg (a, b, n);
 }
index 64af71c6e02455d124b25df134bae24c772f937f..7770db02df8cd987e0f81b642b8b952b50600f5c 100644 (file)
@@ -14,7 +14,7 @@ UINT2 *a;
 unsigned int n;
 {
   register unsigned int i;
-  
+
   for (i = 0; i < n; i++)
     a[i] = 0;
 }
@@ -61,7 +61,7 @@ unsigned int n;
     if (a[i])
       carry = 0;
   }
-  
+
   a[i] = ~b[i] + carry;
 }
 
@@ -77,7 +77,7 @@ unsigned int n;
     if (a[i])
       carry = 0;
   }
-  
+
   if (carry)
     a[i]++;
 }
@@ -94,7 +94,7 @@ unsigned int n;
     if (a[i] != 0xFFFF)
       borrow = 0;
   }
-  
+
   if (borrow)
     a[i]--;
 }
@@ -104,7 +104,7 @@ UINT2 *a;
 unsigned int n;
 {
   register int i;
-  
+
   if (a[n-1] & 0x8000)
     return (-1);
   for (i = n-1; i >= 0; i--)
@@ -118,7 +118,7 @@ UINT2 *a, *b;
 unsigned int n;
 {
   register unsigned int i;
-  
+
   for (i = 0; i < n; i++)
     a[i] = b[i];
 }
@@ -130,7 +130,7 @@ UINT2 *a;
 unsigned int n;
 {
   register int i;
-  
+
   for (i = n-1; i >= 0; i--)
     if (a[i])
       return (i+1);
index 953be1546a8b273001fe7f6501c3454bccaedbdb..42bda60d70ce7f33738f4159a02504975ec1e58e 100644 (file)
@@ -23,9 +23,9 @@ unsigned int n;
     return (1);
   if (aSign < bSign)
     return (-1);
-  
+
   for (i = n-1; i >= 0 && a[i] == b[i]; i--);
-  
+
   if (i == -1)
     return (0);
   if (a[i] > b[i])
index 7c69fd9f4f6e3488f97bad05fdaf08d69cb95e4a..8c01003795a4312e6238c03b5e465b0496ce397b 100644 (file)
@@ -15,7 +15,7 @@ static unsigned int Log2 PROTO_LIST ((unsigned int));
      modding out integers which are < b**2.
      -- assumes a has n+2 words, b has n words.
      -- assumes b is a positive integer.
- */              
+ */
 void BigInv (a, b, n)
 UINT2 *a, *b;
 unsigned int n;
@@ -30,18 +30,18 @@ unsigned int n;
   /* 2** (bl-1) <= b < 2 ** bl */
   bl = BigLen (b, n);
   u = BigU (2 * bl);
-  
+
   /* uw and sw are in words */
   uw = u/16;
   sw = (bl - 2) / 16;
-  
+
   /* since a = floor ((2**u)/b),  2**(u-bl) < a <= 2**(u-bl+1) */
 
   /* Initialize a to 1+2**(u-bl) -- we will converge from below.
    */
   Big2Exp (a, u - bl, n + 2);
   BigInc (a, n + 2);
-  
+
   /* Copy b to local register.
    */
   BigZero (t1, n + 3);
@@ -52,7 +52,7 @@ unsigned int n;
   for (i = 1 + Log2 (u - bl + 1); i > 0; i--) {
     /* use fast squaring routine to compute p = a**2
        2**(2 * (u-bl)) < p <= 2**(2 * (u-bl+1)) */
-    BigPsq (p, a, n + 2); 
+    BigPsq (p, a, n + 2);
 
     /* compute q = b * floor (p/ (2**s))
        2**(2 * (u-bl)-s+bl-1) <= q <= 2**(2 * (u-bl+1)-s+bl
index 6b5acb9aff0d966df2424faf2ca488d0ab67a935..6017fe1d218ad50c10234524915d23b583e72760 100644 (file)
@@ -21,8 +21,8 @@ unsigned int n;
   if (i == -1)
     return (1);  /* len of 0 or -1 */
 
-  for (j = 16, k = 0x8000; 
-       j >= 0 && 0 == (k & (signWord ^ a[i])); 
+  for (j = 16, k = 0x8000;
+       j >= 0 && 0 == (k & (signWord ^ a[i]));
        j--, k >>= 1);
   return (16 * i + j);
 }
index 9a17b06afe67f91b42f13785a44e6c750956002a..0463903d3a8e768a5fa1c336f3ff9f2e5b367bb4 100644 (file)
@@ -17,17 +17,17 @@ void BigMpy (a, b, c, n)
 UINT2 *a, *b, *c;
 unsigned int n;
 {
-  UINT2 prod[2 * MAX_RSA_PRIME_WORDS], absb[MAX_RSA_PRIME_WORDS], 
+  UINT2 prod[2 * MAX_RSA_PRIME_WORDS], absb[MAX_RSA_PRIME_WORDS],
     absc[MAX_RSA_PRIME_WORDS];
   int bSign = BigSign (b, n), cSign = BigSign (c, n);
-  
+
   BigAbs (absb, b, n);
   BigAbs (absc, c, n);
   BigPmpy (prod, absb, absc, n);
 
   if (bSign * cSign >= 0)
     BigCopy (a, prod, 2 * n);
-  else 
+  else
     BigNeg (a, prod, 2 * n);
 
   T_memset ((POINTER)prod, 0, sizeof (prod));
index 23c3f8bcbaef77031d0a9977cc72b33fb4b50af4..b54fd998f242601c160b0cfbde2df6a01b1af0c9 100644 (file)
@@ -16,7 +16,7 @@
      qi assumed to be ll cells
      ri assumed to be kk cells
      restriction uu>=0, vv>0
-       
+
      input  uu in reg of ll cells
      input  vv in reg of kk cells
      output qi assumed to be ll cells
@@ -31,7 +31,7 @@ void BigPdiv (qi, ri, uu, vv, ll, kk)
 UINT2 *qi, *ri, *uu, *vv;
 unsigned int ll, kk;
 {
-  UINT2 u[2 * MAX_RSA_PRIME_WORDS + 2], us[2 * MAX_RSA_PRIME_WORDS + 2], 
+  UINT2 u[2 * MAX_RSA_PRIME_WORDS + 2], us[2 * MAX_RSA_PRIME_WORDS + 2],
     v[2 * MAX_RSA_PRIME_WORDS + 2], vs[2 * MAX_RSA_PRIME_WORDS + 2],
     q[2 * MAX_RSA_PRIME_WORDS + 2], r[2 * MAX_RSA_PRIME_WORDS + 2],
     t1[2 * MAX_RSA_PRIME_WORDS + 2], t2[2 * MAX_RSA_PRIME_WORDS + 2],
@@ -43,7 +43,7 @@ unsigned int ll, kk;
     l = ll + 2;
   else
     l = kk + 2;
-  
+
   mk[0] = 0x00FF;
   mk[1] = 0xFF00;
   b = 0x0100;
@@ -75,7 +75,7 @@ unsigned int ll, kk;
   BigConst (t1, d, l);
   BigPmpyl (t2, t1, v, l);
   BigCopy (v, t2, l);
-  
+
   /* vh=high order digit of normalized v */
   vh = VN;
   if (n % 2 == 1)
@@ -90,7 +90,7 @@ unsigned int ll, kk;
       continue;
     break;
   }
-  
+
   /* calc t = n + m */
   m = t - n;
 
@@ -133,7 +133,7 @@ unsigned int ll, kk;
     BigPmpyl (t1, q, t2, l);
     BigAdd (q, t3, t1, l);
   }
-  
+
   /* Check result.
    */
 
@@ -146,7 +146,7 @@ unsigned int ll, kk;
   /* transfer results to input registers  */
   BigCopy (qi, q, ll);
   BigCopy (ri, t2, kk);
-  
+
   T_memset ((POINTER)u, 0, sizeof (u));
   T_memset ((POINTER)us, 0, sizeof (us));
   T_memset ((POINTER)v, 0, sizeof (v));
index 8ef3b4cd7d08a92369298c3e13473a488564e0c3..7b18ac29096a0afc629a20ae9af1e42502698c01 100644 (file)
@@ -17,7 +17,7 @@ unsigned int n;
 {
   register unsigned int i;
   unsigned int cLen;
-  
+
   BigZero (a, 2*n);
   cLen = BigLenw (c, n);
   for (i = 0; i < n; i++)
index 5bce01e8f0eef532594bfc3c9402d0d70e0e006b..fdbceab2cbd690d734a3de1910f29ad91d240203 100644 (file)
@@ -30,16 +30,16 @@ unsigned int n;
   /* 2**(cl-1) <= c < 2**cl
      2**(u-cl) <= cInv <= 2**(u-cl+1) */
   cl = BigLen (c, n);
-                 
+
   /* u is in bits, uw is in words */
   u = BigU (2 * cl);
   uw = u/16;
-  
+
   /* sw is in words, s is is bits */
   sw = (cl - 2) / 16;
-  
+
   uwsw3 = uw - sw - 3;
-  
+
   if (uwsw3 < 0)
     uwsw3 = 0;
 
@@ -76,7 +76,7 @@ unsigned int n;
     BigSub (r, r, c, n);
     BigInc (q, n);
   }
-  
+
   T_memset ((POINTER)qc, 0, sizeof (qc));
   T_memset ((POINTER)qsc, 0, sizeof (qsc));
   T_memset ((POINTER)t1, 0, sizeof (t1));
index 13e8315d6c7cb2a00b3c089da52261c943caef10..d5f8e5b05b15415b9737511aa62cc8f6340bb9f8 100644 (file)
@@ -24,14 +24,14 @@ UINT2 *wordPointer;
 unsigned int wordCount;
 {
   unsigned int copyCount;
-  
+
   if (BigSign (wordPointer, wordCount) < 0 ||
       (BigLen (wordPointer, wordCount) + 7) / 8 > numBytes)
     return (AE_DATA);
 
   /* start at end of byte vector */
   bytePointer += numBytes-1;
-  
+
   /* copy as much as possible */
   copyCount = (wordCount < numBytes / 2) ? wordCount : numBytes / 2;
   wordCount -= copyCount;
@@ -42,18 +42,18 @@ unsigned int wordCount;
     *bytePointer-- = (unsigned char)(*wordPointer >> 8);
     wordPointer++;
   }
-  
+
   if (wordCount && numBytes & 1) {
     /* The number of output bytes was odd. Copy one last byte */
     *bytePointer-- = (unsigned char)*wordPointer++;
     wordCount--;
     numBytes--;
   }
-  
+
   /* zero fill remainder of byte vector */
   while (numBytes--)
     *bytePointer-- = 0;
-  
+
   return (0);
 }
 
index 34c592a5b32759eeeeb9b3e770a7957bd37756d8..ce4de1a9b0970208196e27179b0b9dcd139ece51 100644 (file)
@@ -17,5 +17,5 @@
 unsigned int BigU (t)
 unsigned int t;
 {
-  return (16 * (((t+1) + 15)/16)); 
+  return (16 * (((t+1) + 15)/16));
 }
index 6bedbf5118125e0bb5482285a3cca18b33e56fd0..99184414e12b60b98681958a0e6af05dc760c27d 100644 (file)
@@ -26,7 +26,7 @@ unsigned int pSize;                                 /* length of p in words */
 A_SURRENDER_CTX *surrenderContext;
 {
   struct BigUnexpFrame {
-    UINT2 t1[2 * MAX_RSA_PRIME_WORDS], t2[2 * MAX_RSA_PRIME_WORDS], 
+    UINT2 t1[2 * MAX_RSA_PRIME_WORDS], t2[2 * MAX_RSA_PRIME_WORDS],
       t3[2 * MAX_RSA_PRIME_WORDS], u1[2 * MAX_RSA_PRIME_WORDS],
       u2[2 * MAX_RSA_PRIME_WORDS], u3[2 * MAX_RSA_PRIME_WORDS];
   } *frame = (struct BigUnexpFrame *)NULL_PTR;
@@ -46,10 +46,10 @@ A_SURRENDER_CTX *surrenderContext;
     /* Just use the buffers allocated on the stack. */
     frame = &stackFrame;
 #endif
-    
+
     BigConst (frame->t1, 0, 2 * pSize);
     BigConst (frame->t2, 0, 2 * pSize);
-  
+
     /* u2=c mod p */
     BigPdiv (frame->u1, frame->u2, c, pp, 2 * pSize, pSize);
     if ((status = CheckSurrender (surrenderContext)) != 0)
@@ -87,7 +87,7 @@ A_SURRENDER_CTX *surrenderContext;
 
     BigAdd (m, m, frame->t2, 2 * pSize);
   } while (0);
-  
+
   if (frame != (struct BigUnexpFrame *)NULL_PTR) {
     T_memset ((POINTER)frame, 0, sizeof (*frame));
 #if USE_ALLOCED_FRAME
index f5c458e336263f1491836925a721220449c0aac2..5fafb8053497059010caadeb3d260365a4cbc7cd 100644 (file)
@@ -27,16 +27,16 @@ POINTER infoType;
 POINTER info;
 {
   int status;
-  
+
   if ((status = B_MemoryPoolRealloc
        (&infoCache->memoryPool, (POINTER *)&infoCache->z.infos,
         (infoCache->z.infoCount + 1) * sizeof (infoCache->z.infos[0]))) != 0)
     return (status);
-    
+
   infoCache->z.infos[infoCache->z.infoCount].infoType = infoType;
   infoCache->z.infos[infoCache->z.infoCount].info = info;
-  infoCache->z.infoCount++;        
-  
+  infoCache->z.infoCount++;
+
   return (0);
 }
 
@@ -49,7 +49,7 @@ POINTER *info;
 POINTER infoType;
 {
   unsigned int i;
-  
+
   for (i = 0; i < infoCache->z.infoCount; ++i) {
     if (infoCache->z.infos[i].infoType == infoType) {
       /* The info has already been constructed. */
@@ -57,7 +57,7 @@ POINTER infoType;
       return (0);
     }
   }
-  
+
   return (BE_NOT_SUPPORTED);
 }
 
index ddd23460735fe613503261854ccc52b0d3214179..210f7691ad6eb982d4e640b0d972d82a59693624 100644 (file)
@@ -33,7 +33,7 @@ POINTER *info;
 B_KeyInfoType *keyInfoType;
 {
   int status;
-  
+
   if (key == (B_Key *)NULL_PTR)
     return (BE_KEY_OBJ);
 
@@ -44,7 +44,7 @@ B_KeyInfoType *keyInfoType;
    */
   if (B_InfoCacheFindInfo (&key->infoCache, info, (POINTER)keyInfoType) == 0)
     return (0);
-  
+
   /* Info is not in the cache, go ahead and encode.
    */
   if ((status = (*keyInfoType->MakeInfo) (info, key)) != 0)
@@ -64,15 +64,15 @@ unsigned int len;
 {
   ITEM *newInfo;
   int status;
-  
+
   if ((status = B_MemoryPoolAlloc
        (&key->infoCache.memoryPool, (POINTER *)&newInfo, sizeof (*newInfo)))
       != 0)
     return (status);
-  
+
   newInfo->data = data;
   newInfo->len = len;
-  
+
   return (B_InfoCacheAddInfo
           (&key->infoCache, (POINTER)&KITItem, (POINTER)newInfo));
 }
@@ -86,14 +86,14 @@ unsigned int integerLen;
 {
   unsigned char mask, byte;
   unsigned int bytes, bits;
-  
+
   for (bytes = 0; bytes < integerLen && integer[bytes] == 0; bytes++);
   if (bytes == integerLen)
     return (0);
-  
+
   /* Get byte to test and increment byte count for final calculation */
   byte = integer[bytes++];
-  
+
   /* Get number of bits in most significant byte */
   for (bits = 8, mask = 0x80; (byte & mask) == 0; bits--, mask >>= 1);
   return (8 * (integerLen - bytes) + bits);
index 5ea9b58141dc0557184a35cfb3d09848573bf794..b4c1edad0993ba71ba661a1df33cb7980f7d09d3 100644 (file)
@@ -16,7 +16,7 @@ typedef struct {
 
   /* For now we don't need to worry about a reserved field.
   struct {
-    POINTER reserved;  
+    POINTER reserved;
   } z;
    */
 } B_Key;
index c7de624f96de0dfdb42df5635c711fe49bceab4c..95ee194c6030c4bc60567f03a946b93d6b17806e 100644 (file)
@@ -18,7 +18,7 @@ void B_MemoryPoolConstructor (memoryPool)
 B_MemoryPool *memoryPool;
 {
   T_memset ((POINTER)&memoryPool->z, 0, sizeof (memoryPool->z));
-} 
+}
 
 void B_MemoryPoolDestructor (memoryPool)
 B_MemoryPool *memoryPool;
@@ -84,10 +84,10 @@ POINTER data;
 unsigned int size;
 {
   int status;
-  
+
   if ((status = B_MemoryPoolAlloc (memoryPool, newData, size)) != 0)
     return (status);
-  
+
   T_memcpy (*newData, data, size);
   return (0);
 }
@@ -101,17 +101,17 @@ unsigned int size;
      to NULL_PTR.
    This routine should be used with caution - it is meant be called
      immediately after an alloc.
-   No check is made as to whether the data is already on the memory pool's 
+   No check is made as to whether the data is already on the memory pool's
      alloced list (which would be a problem since it will get freed twice).
    Returns 0 if successful or BE_ALLOC if cannot expand the alloced list.
- */       
+ */
 int B_MemoryPoolAdoptData (memoryPool, data, size)
 B_MemoryPool *memoryPool;
 POINTER *data;
 unsigned int size;
 {
   int status;
-  
+
   if ((status = B_MemoryPoolAdoptHelper
        (memoryPool, *data, size, (B_MEMORY_POOL_DELETE_FUNCTION)NULL))
       != 0) {
@@ -132,10 +132,10 @@ unsigned int size;
    The object is not passed by reference.  If there is an error,
      the calling routine should clean up the object, such as zeroizing
      and freeing.
-   No check is made as to whether the object is already on the memory pool's 
+   No check is made as to whether the object is already on the memory pool's
      alloced list (which would be a problem since it will get freed twice).
    Returns 0 if successful or BE_ALLOC if cannot expand the alloced list.
- */       
+ */
 int B_MemoryPoolAdoptHelper (memoryPool, object, size, DeleteFunction)
 B_MemoryPool *memoryPool;
 POINTER object;
@@ -153,7 +153,7 @@ B_MEMORY_POOL_DELETE_FUNCTION DeleteFunction;
         == NULL_PTR)
       /* alloc errorm so caller should clean up the object it passed. */
       return (BE_ALLOC);
-    
+
     /* move in new list and free old list */
     T_memcpy
       (newList, (POINTER)memoryPool->z.allocedList,
@@ -162,7 +162,7 @@ B_MEMORY_POOL_DELETE_FUNCTION DeleteFunction;
     memoryPool->z.allocedList = (B_ALLOCED_DATA *)newList;
     memoryPool->z.maxAllocedCount = newMaxCount;
   }
-  
+
   /* Put object on alloced list and increment count.
    */
   memoryPool->z.allocedList[memoryPool->z.allocedCount].object = object;
@@ -202,14 +202,14 @@ unsigned int size;
 
     return (BE_ALLOC);
   }
-  
+
   /* Realloc was successful.
    */
   if (allocedData == (B_ALLOCED_DATA *)NULL_PTR)
     /* The data was not in the memory pool to start with, so adopt it.
        Note that this also happens when the data is initially NULL_PTR. */
     return (B_MemoryPoolAdoptData (memoryPool, data, size));
-  
+
   /* Replace the entry on the alloced list with the new memory.
    */
   allocedData->object = *data;
@@ -230,7 +230,7 @@ B_MemoryPool *memoryPool;
 POINTER *object;
 {
   B_ALLOCED_DATA *allocedData;
-  
+
   if ((allocedData = B_MemoryPoolFindAllocedObject (memoryPool, *object))
       != (B_ALLOCED_DATA *)NULL_PTR) {
     if (allocedData->DeleteFunction !=
@@ -245,7 +245,7 @@ POINTER *object;
     /* Set this entry to NULL_PTR so that reset will not process it. */
     allocedData->object = NULL_PTR;
   }
-  
+
   *object = NULL_PTR;
 }
 
@@ -259,10 +259,10 @@ POINTER object;
 {
   B_ALLOCED_DATA *allocedData;
   unsigned int i;
-  
+
   if (object == NULL_PTR)
     return ((B_ALLOCED_DATA *)NULL_PTR);
-  
+
   for (i = memoryPool->z.allocedCount,
        allocedData = memoryPool->z.allocedList;
        i-- > 0;
index 79b760f7d356d9af1be40e706cac185dad9d09cb..8c097b51fd6eca57bfc87d6e31640085c512c19e 100644 (file)
@@ -23,13 +23,13 @@ unsigned char *bytePointer;
 unsigned int numBytes;
 {
   unsigned int copyCount;
-  
+
   if (A_IntegerBits (bytePointer, numBytes) / 16 + 1 > wordCount)
     return (AE_DATA);
 
   /* start at end of byte vector */
   bytePointer += numBytes-1;
-  
+
   /* copy as much as possible */
   copyCount = (wordCount < numBytes / 2) ? wordCount : numBytes / 2;
   wordCount -= copyCount;
@@ -39,18 +39,18 @@ unsigned int numBytes;
     *wordPointer++ = (UINT2)*bytePointer + (*(bytePointer - 1) << 8);
     bytePointer -= 2;
   }
-  
+
   if (wordCount && numBytes & 1) {
     /* If the number of input bytes was odd.  Copy one last byte.*/
     *wordPointer++ = (UINT2)*bytePointer--;
     wordCount--;
     numBytes--;
   }
-  
+
   /* zero fill remainder of word vector */
   while (wordCount--)
     *wordPointer++ = 0;
-  
+
   return (0);
 }
 
index 36b9d01f95bb90b7fff00bbd61240b56f74be6a6..ff169c04a9c52702f5bbb1609386c570f9c4a060 100644 (file)
@@ -44,11 +44,11 @@ A_RSA_CRT_KEY *key;
       (context->primeP, MAX_RSA_PRIME_WORDS, key->prime[0].data,
        key->prime[0].len))
     return (AE_KEY_INFO);
-    
+
   /* compute significant length of first prime */
   context->primeWords = BITS_TO_WORDS
     (BigLen (context->primeP, MAX_RSA_PRIME_WORDS));
-    
+
   /* convert other private key parameters to bignum format */
   if (CanonicalToBig
       (context->primeQ, context->primeWords, key->prime[1].data,
@@ -99,7 +99,7 @@ A_SURRENDER_CTX *surrenderContext;
     context->inputLen += partInLen;
     return (0);
   }
-  
+
   if (context->inputLen > 0) {
     /* Need to accumulate the rest of the block bytes into the input and
          encrypt from there (otherwise it's OK to encrypt straight from
@@ -111,7 +111,7 @@ A_SURRENDER_CTX *surrenderContext;
        partialLen);
     partIn += partialLen;
     partInLen -= partialLen;
-    
+
     if ((status = RSA_CRT2
          (context, partOut, &localPartOutLen, maxPartOutLen, context->input,
           surrenderContext)) != 0)
@@ -128,14 +128,14 @@ A_SURRENDER_CTX *surrenderContext;
          (context, partOut, &localPartOutLen, maxPartOutLen, partIn,
           surrenderContext)) != 0)
       return (status);
-    
+
     partIn += context->blockLen;
     partInLen -= context->blockLen;
     (*partOutLen) += localPartOutLen;
     partOut += localPartOutLen;
     maxPartOutLen -= localPartOutLen;
   }
-  
+
   /* Copy remaining input bytes to the context's input buffer.
    */
   T_memcpy
@@ -149,7 +149,7 @@ A_RSA_CRT2_CTX *context;
 {
   if (context->inputLen != 0)
     return (AE_INPUT_LEN);
-  
+
   /* Restart context to accumulate a new block.
    */
   context->inputLen = 0;
@@ -180,7 +180,7 @@ A_SURRENDER_CTX *surrenderContext;
   do {
     if ((*outputLen = context->blockLen) > maxOutputLen)
       return (AE_OUTPUT_LEN);
-    
+
 #if USE_ALLOCED_FRAME
     if ((frame = (struct ModExpCRTFrame *)T_malloc (sizeof (*frame)))
         == (struct ModExpCRTFrame *)NULL_PTR) {
@@ -202,7 +202,7 @@ A_SURRENDER_CTX *surrenderContext;
     if (BigCmp
         (frame->bigInBuf, context->modulus, 2 * context->primeWords) >= 0)
       GENERATE_BREAK (AE_INPUT_DATA);
-    
+
     /* Chinese remainder exponentiation. */
     if ((status = BigUnexp
          (frame->bigOutBuf, frame->bigInBuf, context->primeP, context->primeQ,
@@ -216,7 +216,7 @@ A_SURRENDER_CTX *surrenderContext;
     BigToCanonical
       (output, *outputLen, frame->bigOutBuf, 2 * context->primeWords);
   } while (0);
-  
+
   if (frame != (struct ModExpCRTFrame *)NULL_PTR) {
     T_memset ((POINTER)frame, 0, sizeof (*frame));
 #if USE_ALLOCED_FRAME
index e6f9016e5a7312c9d175ce97b4e635d323d97a87..123cbfaaa424f176900fe0465402ed46222646f3 100644 (file)
@@ -36,7 +36,7 @@ unsigned char *input;
 unsigned int inputLen;
 {
   unsigned int i, j, x;
-  
+
   (*digestRandom->vTable->DigestUpdate) (digestRandom, input, inputLen);
   (*digestRandom->vTable->DigestFinal) (digestRandom, digestRandom->_digest);
 
@@ -56,7 +56,7 @@ unsigned char *output;
 unsigned int outputLen;
 {
   unsigned int available, i;
-  
+
   available = digestRandom->_outputAvailable;
 
   while (outputLen > available) {
@@ -79,7 +79,7 @@ unsigned int outputLen;
         break;
   }
 
-  T_memcpy 
+  T_memcpy
     ((POINTER)output,
      (POINTER)&digestRandom->_output[digestRandom->_digestLen-available],
      outputLen);
index ca21ecb7ff55f831d89a36dc7659240ee3b7c484..ce78bffe43546810dad7f4b58193cc038315e87f 100644 (file)
@@ -45,7 +45,7 @@ typedef isc_uint32_t UINT4;
 
 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
    If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
-     returns an empty list.  
+     returns an empty list.
  */
 #if PROTOTYPES
 #define PROTO_LIST(list) list
index 6a60e22ad82624d300b4fffb6891fdf5eacfa206..3bed219498e23018ef55857db730355d52d07f87 100644 (file)
@@ -18,14 +18,14 @@ unsigned int integerLen;
 {
   unsigned char mask, byte;
   unsigned int bytes, bits;
-  
+
   for (bytes = 0; bytes < integerLen && integer[bytes] == 0; bytes++);
   if (bytes == integerLen)
     return (0);
-  
+
   /* Get byte to test and increment byte count for final calculation */
   byte = integer[bytes++];
-  
+
   /* Get number of bits in most significant byte */
   for (bits = 8, mask = 0x80; (byte & mask) == 0; bits--, mask >>= 1);
   return (8 * (integerLen - bytes) + bits);
index a9bcc7e895b32f1313a165309e3fbf17e219fe5f..f4951019f7dfad521f86c5f5b8680e37fc2f12f0 100644 (file)
@@ -31,7 +31,7 @@ B_MemoryPool *memoryPool;
   ITEM sourceItem, *destinationItem;
   int status;
   unsigned int i, offset;
-  
+
   for (i = 0; i < itemCount; i++) {
     offset = (unsigned int)((char *)staticItems[i] - (char *)staticStruct);
     sourceItem = *(ITEM *)((char *)source + offset);
@@ -41,14 +41,14 @@ B_MemoryPool *memoryPool;
       sourceItem.len--;
       sourceItem.data++;
     }
-    
+
     if ((status = B_MemoryPoolAllocAndCopy
          (memoryPool, (POINTER *)&destinationItem->data,
           (POINTER)sourceItem.data, destinationItem->len = sourceItem.len))
         != 0)
       return (status);
   }
-  
+
   return (0);
 }
 
index 4dd5d77c036253b85b47165d3b8bc8a0fd19ff4c..651572f8893e1f251a8612511065b3e7f318f7b8 100644 (file)
@@ -28,7 +28,7 @@ B_KEY_OBJ *keyObject;
 
   /* First construct base class */
   B_KEY_Constructor (&keyWrap->key);
-  
+
   keyWrap->typeTag = &KEY_TYPE_TAG;
   keyWrap->selfCheck = keyWrap;
   return (0);
@@ -43,7 +43,7 @@ B_KEY_OBJ *keyObject;
    */
   if (*keyObject == NULL_PTR)
     return;
-  
+
   if (KeyWrapCheck (keyWrap) == 0) {
     /* zeroize self check to invalidate memory. */
     keyWrap->selfCheck = (KeyWrap *)NULL_PTR;
@@ -64,7 +64,7 @@ POINTER info;
 {
   B_KeyInfoType *keyInfoType;
   int status;
-  
+
   if ((status = KeyWrapCheck (THE_KEY_WRAP)) != 0)
     return (status);
 
@@ -73,7 +73,7 @@ POINTER info;
    */
   if ((*infoType) ((POINTER *)&keyInfoType) == 0)
     return (BE_ALG_OPERATION_UNKNOWN);
-  
+
   return (B_KeySetInfo (&THE_KEY_WRAP->key, keyInfoType, info));
 }
 
@@ -84,7 +84,7 @@ B_INFO_TYPE infoType;
 {
   B_KeyInfoType *keyInfoType;
   int status;
-  
+
   if ((status = KeyWrapCheck (THE_KEY_WRAP)) != 0)
     return (status);
 
@@ -93,7 +93,7 @@ B_INFO_TYPE infoType;
    */
   if ((*infoType) ((POINTER *)&keyInfoType) == 0)
     return (BE_ALG_OPERATION_UNKNOWN);
-  
+
   return (B_KeyGetInfo (&THE_KEY_WRAP->key, info, keyInfoType));
 }
 
index 306cc7b104ef841e41eaa569bf31c2827222d322..82eb8dafb1bccc634fa0b6409a7bead91c793709 100644 (file)
@@ -36,7 +36,7 @@ POINTER info;
 {
   POINTER newData;
   int status;
-  
+
   /* Copy the 8 byte key. */
   if ((status = B_MemoryPoolAllocAndCopy
        (&key->infoCache.memoryPool, &newData, info, 8)) != 0)
@@ -55,7 +55,7 @@ B_Key *key;
 {
   ITEM *item;
   int status;
-  
+
   /* Try to make one from a KI_Item.  Since KI_Item doesn't
        call KI_8Byte, this should not cause an endless loop.
    */
index be358352b05bde70de1f5bbbb227e647e890f0c7..29b65e143ed03790442b6a3d9c4769ae7e6e2d04 100644 (file)
@@ -50,7 +50,7 @@ ITEM *coefficient;
        (&key->infoCache.memoryPool, (POINTER *)&fullKey,
         sizeof (FULL_PRIVATE_KEY))) != 0)
     return (status);
-  
+
   /* Pre-zeroize and only copy in values that are not NULL.
    */
   T_memset ((POINTER)fullKey, 0, sizeof (*fullKey));
@@ -70,7 +70,7 @@ ITEM *coefficient;
   }
   if (coefficient != (ITEM *)NULL_PTR)
     fullKey->coefficient = *coefficient;
-  
+
   return (B_InfoCacheAddInfo
           (&key->infoCache, (POINTER)&KITFullPrivate, (POINTER)fullKey));
 }
@@ -94,7 +94,7 @@ B_Key *key;
 {
   FULL_PRIVATE_KEY *fullKey;
   int status;
-  
+
   if ((status = B_KeyGetInfo
        (key, (POINTER *)&fullKey, &KITFullPrivate)) != 0)
     return (status);
@@ -133,7 +133,7 @@ B_Key *key;
       return (BE_WRONG_KEY_INFO);
     *coefficient = fullKey->coefficient;
   }
-  
+
   return (0);
 }
 
index 9c44d8f1a9d2f38af295ed19f52ffac7d880a464..a8d16921ef21f0e72ea0a6e5a1cc296d41c3f158 100644 (file)
@@ -33,12 +33,12 @@ POINTER info;
 {
   unsigned char *newData;
   int status;
-  
+
   if ((status = B_MemoryPoolAllocAndCopy
        (&key->infoCache.memoryPool, (POINTER *)&newData,
         (POINTER)((ITEM *)info)->data, ((ITEM *)info)->len)) != 0)
     return (status);
-    
+
   return (B_KeyAddItemInfo (key, newData, ((ITEM *)info)->len));
 }
 
index 39c5292c6cc0e6f56a17f9cb2d885276736fbe9b..328c388a6fc471356b40c4bb9a346ec8c863289b 100644 (file)
@@ -48,7 +48,7 @@ typedef int (*KIT_MAKE_INFO) PROTO_LIST ((POINTER *, B_Key *));
 
 
    There is one global instance which is used by B_Key::setInfo, etc.:
-   
+
  KITItem KITItem;
  */
 
index 50c08edb1b5b98b67dbb30ec02efb6d75bdaa9f0..bdc67f44d53a88c5c3a6e65a06dbf67b72f591cb 100644 (file)
@@ -44,7 +44,7 @@ POINTER info;
 {
   A_PKCS_RSA_PRIVATE_KEY *newValue;
   int status;
-  
+
   /* Allocate memory for A_PKCS_RSA_PRIVATE_KEY struct and copy integers
        from supplied value.
    */
@@ -54,11 +54,11 @@ POINTER info;
     return (status);
   if ((status = AllocAndCopyIntegerItems
        ((POINTER)newValue, info, (POINTER)&STATIC_PKCS_RSA_PRIVATE_KEY,
-        PKCS_RSA_PRIVATE_KEY_ITEMS, sizeof (PKCS_RSA_PRIVATE_KEY_ITEMS) / 
+        PKCS_RSA_PRIVATE_KEY_ITEMS, sizeof (PKCS_RSA_PRIVATE_KEY_ITEMS) /
         sizeof (PKCS_RSA_PRIVATE_KEY_ITEMS[0]), &key->infoCache.memoryPool))
       != 0)
     return (status);
-    
+
   /* Cache the full private key info.
    */
   if ((status = CacheFullPrivateKey
@@ -93,7 +93,7 @@ B_Key *key;
        (&key->infoCache.memoryPool, info, sizeof (A_PKCS_RSA_PRIVATE_KEY)))
       != 0)
     return (status);
-    
+
   **(A_PKCS_RSA_PRIVATE_KEY **)info = keyValue;
   return (0);
 }
index fe1ecb934fce332effb573a645971d0dd72bd7e8..afcaf6ca073a2c8462453e22066e24083d64fabb 100644 (file)
@@ -46,7 +46,7 @@ POINTER info;
 {
   A_RSA_CRT_KEY *newValue;
   int status;
-  
+
   /* Allocate memory for A_RSA_CRT_KEY struct and copy integers
        from supplied value.
      */
@@ -94,7 +94,7 @@ B_Key *key;
   if ((status = B_MemoryPoolAlloc
        (&key->infoCache.memoryPool, info, sizeof (A_RSA_CRT_KEY))) != 0)
     return (status);
-    
+
   **(A_RSA_CRT_KEY **)info = keyValue;
   return (0);
 }
index a588ec88684e554b599dc9959f24d06a2dbdaafc..0d0eaa7dcf3cc2b0efc676723e6e6469f1d10124 100644 (file)
@@ -36,7 +36,7 @@ POINTER info;
 {
   POINTER newValue;
   int status;
-  
+
   /* Allocate memory for A_RSA_KEY struct and copy integers
        from supplied value.
      */
@@ -48,7 +48,7 @@ POINTER info;
         sizeof (RSA_KEY_ITEMS) / sizeof (RSA_KEY_ITEMS[0]),
         &key->infoCache.memoryPool)) != 0)
     return (status);
-    
+
   return (B_InfoCacheAddInfo
           (&key->infoCache, (POINTER)&KIT_RSAPublic, newValue));
 }
@@ -59,7 +59,7 @@ B_Key *key;
 {
   A_RSA_KEY keyValue;
   int status;
-  
+
   /* If not already found in the cache, try to get values from
        a full private key info, setting unneeded entries to NULL.
    */
@@ -74,7 +74,7 @@ B_Key *key;
   if ((status = B_MemoryPoolAlloc
        (&key->infoCache.memoryPool, info, sizeof (A_RSA_KEY))) != 0)
     return (status);
-    
+
   **(A_RSA_KEY **)info = keyValue;
   return (0);
 }
index a5865d9ea8cf0bd1bbb2c87001a048b91adc8a46..4388d3642e144bb14a4806c928b4aef3b9048ee4 100644 (file)
@@ -109,15 +109,15 @@ unsigned int inputLen;                              /* length of input block */
   if (inputLen >= partLen) {
     T_memcpy ((POINTER)&context->buffer[index], (POINTER)input, partLen);
     MD5Transform (context->state, context->buffer);
-  
+
     for (i = partLen; i + 63 < inputLen; i += 64)
       MD5Transform (context->state, &input[i]);
-    
+
     index = 0;
   }
   else
     i = 0;
-  
+
   /* Buffer remaining input */
   T_memcpy ((POINTER)&context->buffer[index], (POINTER)&input[i], inputLen-i);
 }
@@ -240,7 +240,7 @@ unsigned char block[64];
   state[1] += b;
   state[2] += c;
   state[3] += d;
-  
+
   /* Zeroize sensitive information.
    */
   T_memset ((POINTER)x, 0, sizeof (x));
index dc0b20ae419b251fca71eb20686873e2ef89d25d..8f0535a40580cfc2e40b7628a198213a8d369557 100644 (file)
@@ -18,7 +18,7 @@ extern "C" {
 
 typedef struct A_MD5_RANDOM_CTX {
   A_DigestRandom digestRandom;                               /* "base class" */
-  
+
   unsigned char state[3 * A_MD5_DIGEST_LEN];
   A_MD5_CTX md5Context;
 } A_MD5_RANDOM_CTX;
index f2832ea1ec2532fafd2506b0fe48112da6af9cd5..014d54c116c74e169655f32c237d27bc3e9a481e 100644 (file)
@@ -32,7 +32,7 @@ A_SURRENDER_CTX *surrenderContext;
   char sieve[1000];
   int status = 0;
   unsigned int i, r, s, testResult;
-  
+
   do {
     /* Create a starting point for the prime from the random block */
     for (i = 0; i < primeWords; i++) {
@@ -42,13 +42,13 @@ A_SURRENDER_CTX *surrenderContext;
 
     /* set high order two bits */
     BigSetbit (prime, primeSizeBits-2);
-    BigSetbit (prime, primeSizeBits-1);   
-    for (i = primeSizeBits; i < (unsigned int)(16 * primeWords); i++) 
+    BigSetbit (prime, primeSizeBits-1);
+    for (i = primeSizeBits; i < (unsigned int)(16 * primeWords); i++)
       BigClrbit (prime, i);
 
     /* force p to be even */
     BigClrbit (prime, 0);
-  
+
     /* clear sieve and mark even positions */
     for (i = 0; i < 1000; i += 2) {
       sieve[i] = 1;
@@ -72,7 +72,7 @@ A_SURRENDER_CTX *surrenderContext;
       for (i = s - r; i < 1000; i += s)
         sieve[i] = 1;
     }
-  
+
     /* t1 = 1 */
     BigConst (t1, 1, modulusWords);
 
@@ -105,7 +105,7 @@ A_SURRENDER_CTX *surrenderContext;
     }
     if (status)
       break;
-    
+
     if (!testResult)
       /* Couldn't find a prime with the supplied random block, so ask
            caller to generate another random block and try again. */
@@ -123,7 +123,7 @@ A_SURRENDER_CTX *surrenderContext;
       If pseudo prime, *testResult = 1, else *testResult = 0.
    Returns 0, AE_CANCEL.
  */
-int PseudoPrime (testResult, prime, primeWords, surrenderContext) 
+int PseudoPrime (testResult, prime, primeWords, surrenderContext)
 unsigned int *testResult;
 UINT2 *prime;
 unsigned int primeWords;
@@ -135,10 +135,10 @@ A_SURRENDER_CTX *surrenderContext;
 
   /* Default testResult to false. */
   *testResult = 0;
-  
+
   /* Prepare for setting base vector to the small prime. */
   T_memset ((POINTER)base, 0, sizeof (base));
-  
+
   for (i = 0; i < 4; i++) {
     /* check to see if target is multiple of SMALL_PRIME */
     if (BigSmod (prime, (unsigned int)SMALL_PRIME[i], primeWords) == 0)
index 8cf24b32ad0e4673ebc98073112698d9596c9626..1e289fcc39427d44b6c10839cf608644ec568cb0 100644 (file)
@@ -85,7 +85,7 @@ A_SURRENDER_CTX *surrenderContext;
     context->inputLen += partInLen;
     return (0);
   }
-  
+
   if (context->inputLen > 0) {
     /* Need to accumulate the rest of the block bytes into the input and
          encrypt from there (otherwise it's OK to encrypt straight from
@@ -97,7 +97,7 @@ A_SURRENDER_CTX *surrenderContext;
        partialLen);
     partIn += partialLen;
     partInLen -= partialLen;
-    
+
     if ((status = RSA
          (context, partOut, &localPartOutLen, maxPartOutLen, context->input,
           surrenderContext)) != 0)
@@ -114,14 +114,14 @@ A_SURRENDER_CTX *surrenderContext;
          (context, partOut, &localPartOutLen, maxPartOutLen, partIn,
           surrenderContext)) != 0)
       return (status);
-    
+
     partIn += context->blockLen;
     partInLen -= context->blockLen;
     (*partOutLen) += localPartOutLen;
     partOut += localPartOutLen;
     maxPartOutLen -= localPartOutLen;
   }
-  
+
   /* Copy remaining input bytes to the context's input buffer.
    */
   T_memcpy
@@ -134,7 +134,7 @@ A_RSA_CTX *context;
 {
   if (context->inputLen != 0)
     return (AE_INPUT_LEN);
-  
+
   /* Restart context to accumulate a new block. */
   context->inputLen = 0;
   return (0);
@@ -163,7 +163,7 @@ A_SURRENDER_CTX *surrenderContext;
   do {
     if ((*outputLen = context->blockLen) > maxOutputLen)
       return (AE_OUTPUT_LEN);
-    
+
 #if USE_ALLOCED_FRAME
     if ((frame = (struct ModExpFrame *)T_malloc (sizeof (*frame)))
         == (struct ModExpFrame *)NULL_PTR) {
@@ -180,11 +180,11 @@ A_SURRENDER_CTX *surrenderContext;
      */
     CanonicalToBig
       (frame->bigInBuf, context->modulusWords, input, context->blockLen);
-  
+
     /* Check for overflow. */
     if (BigCmp (frame->bigInBuf, context->modulus, context->modulusWords) >= 0)
       GENERATE_BREAK (AE_INPUT_DATA);
-    
+
     /* Exponentiate. */
     if ((status = BigModExp
          (frame->bigOutBuf, frame->bigInBuf, context->exponent,
@@ -197,7 +197,7 @@ A_SURRENDER_CTX *surrenderContext;
     BigToCanonical
       (output, *outputLen, frame->bigOutBuf, context->modulusWords);
   } while (0);
-  
+
   if (frame != (struct ModExpFrame *)NULL_PTR) {
     T_memset ((POINTER)frame, 0, sizeof (*frame));
 #if USE_ALLOCED_FRAME
index 685fb71cec88834ba7df8371c29fa26d6673a15c..7623db8f06420e877bbac155e0faa017871a94d9 100644 (file)
@@ -29,12 +29,12 @@ A_RSA_KEY_GEN_CTX *context;
 A_RSA_KEY_GEN_PARAMS *params;
 {
   context->modulusBits = params->modulusBits;
-  
+
   /* Prezeroize big public exponent vector. */
   T_memset
     ((POINTER)context->bigPublicExponent, 0,
      sizeof (context->bigPublicExponent));
-    
+
   /* Copy public exponent into big vector */
   if (CanonicalToBig
       (context->bigPublicExponent, MAX_RSA_MODULUS_WORDS,
@@ -88,7 +88,7 @@ A_SURRENDER_CTX *surrenderContext;
   modulusWords = BITS_TO_WORDS (context->modulusBits);
   primeSizeBits = RSA_PRIME_BITS (context->modulusBits);
   primeWords = BITS_TO_WORDS (RSA_PRIME_BITS (context->modulusBits));
-    
+
   /* Fish for bigPrime1 and bigPrime2 that are compatible with supplied
        publicExponent.
      The randomBlock holds random bytes for two primes.
@@ -117,25 +117,25 @@ A_SURRENDER_CTX *surrenderContext;
   }
 
   /* Calculate the rest of the key components */
-  if ((status = RSAParameters 
+  if ((status = RSAParameters
        (context->bigModulus, context->bigCoefficient,
         context->bigExponentP, context->bigExponentQ,
         context->bigPrivateExponent, context->bigPublicExponent,
         bigPrimeP, bigPrimeQ, primeWords, modulusWords, surrenderContext)) != 0)
     return (status);
-    
+
   /* Copy key components into canonical buffers which are at the
        end of the context. */
   *result = &context->result;
   SetRSAKeyGenResult (*result, context, bigPrimeP, bigPrimeQ);
-  
+
   return (0);
 }
 
 /* Assumes ee, pp, qq are given, calculates other parameters.
    Returns 0, AE_CANCEL.
  */
-static int RSAParameters 
+static int RSAParameters
   (nn, cr, dp, dq, dd, ee, pp, qq, primeWords, modulusWords, surrenderContext)
 UINT2 *nn, *cr, *dp, *dq, *dd, *ee, *pp, *qq;
 unsigned int primeWords, modulusWords;
@@ -143,25 +143,25 @@ A_SURRENDER_CTX *surrenderContext;
 {
   UINT2 t1[2 * MAX_RSA_PRIME_WORDS], t2[MAX_RSA_PRIME_WORDS],
     t3[MAX_RSA_MODULUS_WORDS], u1[MAX_RSA_MODULUS_WORDS],
-    u3[MAX_RSA_MODULUS_WORDS], pm1[MAX_RSA_PRIME_WORDS], 
+    u3[MAX_RSA_MODULUS_WORDS], pm1[MAX_RSA_PRIME_WORDS],
     qm1[MAX_RSA_PRIME_WORDS];
   int status;
-  
+
   do {
     /* N=P*Q */
     BigMpy (t1, pp, qq, primeWords);
     if ((status = CheckSurrender (surrenderContext)) != 0)
       break;
     BigCopy (nn, t1, modulusWords);
-  
+
     /*  qm1=q-1 & pm1=p-1 */
     BigConst (t1, 1, primeWords);
     BigSub (qm1, qq, t1, primeWords);
     BigSub (pm1, pp, t1, primeWords);
-    
+
     /* t3=1 */
     BigConst (t3, 1, modulusWords);
-  
+
     /*t1=phi (N) */
     BigMpy (t1, pm1, qm1, primeWords);
     if ((status = CheckSurrender (surrenderContext)) != 0)
@@ -179,11 +179,11 @@ A_SURRENDER_CTX *surrenderContext;
     BigPdiv (t1, dq, dd, qm1, modulusWords, primeWords);
     if ((status = CheckSurrender (surrenderContext)) != 0)
       break;
-  
+
     /* calc CR = (inv (Q)[modP]) */
     BigPegcd (t1, t2, cr, pp, qq, primeWords);
   } while (0);
-  
+
   T_memset ((POINTER)t1, 0, sizeof (t1));
   T_memset ((POINTER)t2, 0, sizeof (t2));
   T_memset ((POINTER)t3, 0, sizeof (t3));
@@ -204,10 +204,10 @@ UINT2 *bigPrimeQ;
 
   modulusLen = result->modulus.len = result->publicExponent.len =
     result->privateExponent.len = BITS_TO_LEN (context->modulusBits);
-  primeLen = result->prime[0].len = result->prime[1].len = 
+  primeLen = result->prime[0].len = result->prime[1].len =
     result->primeExponent[0].len = result->primeExponent[1].len =
     result->coefficient.len = RSA_PRIME_LEN (context->modulusBits);
-  
+
   result->modulus.data = context->resultBuffer;
   result->publicExponent.data = result->modulus.data + modulusLen;
   result->privateExponent.data = result->publicExponent.data + modulusLen;
@@ -226,11 +226,11 @@ UINT2 *bigPrimeQ;
   BigToCanonical
     (result->privateExponent.data, modulusLen,
      context->bigPrivateExponent, MAX_RSA_MODULUS_WORDS);
-  BigToCanonical 
+  BigToCanonical
     (result->prime[0].data, primeLen, bigPrimeP, MAX_RSA_PRIME_WORDS);
-  BigToCanonical 
+  BigToCanonical
     (result->prime[1].data, primeLen, bigPrimeQ, MAX_RSA_PRIME_WORDS);
-  BigToCanonical 
+  BigToCanonical
     (result->primeExponent[0].data, primeLen, context->bigExponentP,
      MAX_RSA_PRIME_WORDS);
   BigToCanonical
index 52dafd692eda466cfee385b47d19a5da781457b6..e00ee4596aa416304c7720019b9af085547875b0 100644 (file)
@@ -49,7 +49,7 @@ unsigned int inputLen;
     ((POINTER)remainder + *remainderLen, (POINTER)input,
      partialLen = 16 - *remainderLen);
   input += partialLen;
-  inputLen -= partialLen;    
+  inputLen -= partialLen;
 
   /* remainder is full and inputLen is at least 1.  Compute outputLen
        as the size needed to keep remainder as full as possible.
@@ -60,7 +60,7 @@ unsigned int inputLen;
   SecretCBCDecryptBlock
     (context, xorBlock, SecretDecrypt, output, remainder);
   output += 8;
-  
+
   if (inputLen <= 8) {
     /* Shift remaining input bytes into remainder */
     T_memmove ((POINTER)remainder, (POINTER)(remainder + 8), 8);
@@ -109,7 +109,7 @@ unsigned int maxOutputLen;
   if ((*outputLen = remainderLen) == 0)
     /* There was never any data. */
     return (0);
-  
+
   if (remainderLen != 8 && remainderLen != 16)
     return (AE_INPUT_LEN);
 
@@ -134,13 +134,13 @@ unsigned char *in;
 {
   unsigned char tempBuffer[8];
   unsigned int i;
-  
+
   /* Save input to be copied to the xor block. */
   T_memcpy ((POINTER)tempBuffer, (POINTER)in, 8);
   (*SecretDecrypt) (context, out, in);
   for (i = 0; i < 8; i++)
-    out[i] ^= xorBlock[i];  
+    out[i] ^= xorBlock[i];
   T_memcpy ((POINTER)xorBlock, (POINTER)tempBuffer, 8);
-  
+
   T_memset ((POINTER)tempBuffer, 0, sizeof (tempBuffer));
 }
index 6fe5c863b90b76093fc4151942999e324e1faebc..16d12e75175ed54be0d5a2b5378a0e3805bfd89b 100644 (file)
@@ -35,29 +35,29 @@ unsigned int inputLen;
    */
   if ((*outputLen = 8 * (totalLen / 8)) > maxOutputLen)
     return (AE_OUTPUT_LEN);
-  
+
   if (totalLen < 8) {
     /* Not enough to encrypt, just accumulate into remainder.
      */
     T_memcpy
       ((POINTER)remainder + *remainderLen, (POINTER)input, inputLen);
     *remainderLen = totalLen;
-    
+
     return (0);
   }
-  
+
   /* Accumulate enough bytes from input into remainder to encrypt the
        remainder.
    */
   T_memcpy
     ((POINTER)remainder + *remainderLen, (POINTER)input,
      partialLen = 8 - *remainderLen);
-    
+
   for (i = 0; i < 8; i++)
     output[i] = remainder[i] ^ xorBlock[i];
   /* Encrypt in place */
   (*SecretEncrypt) (context, output, output);
-  
+
   T_memcpy ((POINTER)xorBlock, (POINTER)output, 8);
   input += partialLen;
   inputLen -= partialLen;
@@ -79,7 +79,7 @@ unsigned int inputLen;
    */
   T_memcpy ((POINTER)remainder, (POINTER)input, inputLen);
   *remainderLen = inputLen;
-   
+
   return (0);
 }
 
@@ -92,6 +92,6 @@ unsigned int remainderLen;
 {
   if (remainderLen != 0)
     return (AE_INPUT_LEN);
-  
+
   return (0);
 }
index 4f79fc67af6fc2d908e90f9f835302e115f2a87a..c171a058d5f51e68ee6fcf189eacb69bce072bd5 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.14 2000/07/31 19:44:13 bwelling Exp $
+# $Id: Makefile.in,v 1.15 2000/08/01 01:27:43 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index df4370f469c7bfd3196596a9bc504af5f201dffd..faa21a44d5201d1035772546f9cbf0a4d9628fd4 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: bsafe_link.c,v 1.32 2000/06/22 21:19:13 bwelling Exp $
+ * $Id: bsafe_link.c,v 1.33 2000/08/01 01:27:44 tale Exp $
  */
 
 #if defined(DNSSAFE)
@@ -120,7 +120,7 @@ dnssafersa_sign(dst_context_t *dctx, isc_buffer_t *sig) {
        isc_buffer_availableregion(sig, &sig_region);
        if (sig_region.length * 8 < (unsigned int) key->key_size)
                return (ISC_R_NOSPACE);
-               
+
        if (!dnssafersa_isprivate(key))
                return (DST_R_NOTPRIVATEKEY);
 
@@ -250,16 +250,16 @@ dnssafersa_compare(const dst_key_t *key1, const dst_key_t *key2) {
        rkey1 = (RSA_Key *) key1->opaque;
        rkey2 = (RSA_Key *) key2->opaque;
 
-       if (rkey1 == NULL && rkey2 == NULL) 
+       if (rkey1 == NULL && rkey2 == NULL)
                return (ISC_TRUE);
        else if (rkey1 == NULL || rkey2 == NULL)
                return (ISC_FALSE);
 
-       if (rkey1->rk_Public_Key) 
-               (void)B_GetKeyInfo((POINTER *) &public1, rkey1->rk_Public_Key, 
+       if (rkey1->rk_Public_Key)
+               (void)B_GetKeyInfo((POINTER *) &public1, rkey1->rk_Public_Key,
                                   KI_RSAPublic);
-       if (rkey2->rk_Public_Key) 
-               (void)B_GetKeyInfo((POINTER *) &public2, rkey2->rk_Public_Key, 
+       if (rkey2->rk_Public_Key)
+               (void)B_GetKeyInfo((POINTER *) &public2, rkey2->rk_Public_Key,
                                   KI_RSAPublic);
        if (public1 == NULL && public2 == NULL)
                return (ISC_TRUE);
@@ -269,7 +269,7 @@ dnssafersa_compare(const dst_key_t *key1, const dst_key_t *key2) {
        status = itemcmp(public1->modulus, public2->modulus) ||
                 itemcmp(public1->exponent, public2->exponent);
 
-       if (status == ISC_FALSE) 
+       if (status == ISC_FALSE)
                return (ISC_FALSE);
 
        if (rkey1->rk_Private_Key != NULL || rkey2->rk_Private_Key != NULL) {
@@ -281,7 +281,7 @@ dnssafersa_compare(const dst_key_t *key1, const dst_key_t *key2) {
                                   KI_PKCS_RSAPrivate);
                (void)B_GetKeyInfo((POINTER *)&p2, rkey2->rk_Private_Key,
                                   KI_PKCS_RSAPrivate);
-               if (p1 == NULL || p2 == NULL) 
+               if (p1 == NULL || p2 == NULL)
                        return (ISC_FALSE);
 
                status = itemcmp(p1->modulus, p2->modulus) &&
@@ -549,7 +549,7 @@ dnssafersa_fromdns(dst_key_t *key, isc_buffer_t *data) {
        if (bytes == 0)  /* special case for long exponents */
                bytes = isc_buffer_getuint16(data);
 
-       if (bytes > MAX_RSA_MODULUS_LEN) { 
+       if (bytes > MAX_RSA_MODULUS_LEN) {
                dnssafersa_destroy(key);
                return (DST_R_INVALIDPUBLICKEY);
        }
@@ -575,7 +575,7 @@ dnssafersa_fromdns(dst_key_t *key, isc_buffer_t *data) {
 
        isc_buffer_remainingregion(data, &r);
 
-       if (r.length > MAX_RSA_MODULUS_LEN) { 
+       if (r.length > MAX_RSA_MODULUS_LEN) {
                dnssafersa_destroy(key);
                memset(public->exponent.data, 0, bytes);
                isc_mem_put(mctx, public->exponent.data, bytes);
@@ -664,7 +664,7 @@ dnssafersa_tofile(const dst_key_t *key, const char *directory) {
        return (dst__privstruct_writefile(key, &priv, directory));
 }
 
-static isc_result_t 
+static isc_result_t
 dnssafersa_fromfile(dst_key_t *key, const isc_uint16_t id,
                    const char *filename) {
        dst_private_t priv;
@@ -695,7 +695,7 @@ dnssafersa_fromfile(dst_key_t *key, const isc_uint16_t id,
        memset(private, 0, sizeof(*private));
 
        public = (A_RSA_KEY *) isc_mem_get(mctx, sizeof(A_RSA_KEY));
-       if (public == NULL) 
+       if (public == NULL)
                DST_RET(ISC_R_NOMEMORY);
        memset(public, 0, sizeof(*public));
 
@@ -750,7 +750,7 @@ dnssafersa_fromfile(dst_key_t *key, const isc_uint16_t id,
                DST_RET(DST_R_INVALIDPRIVATEKEY);
 
        rkey = (RSA_Key *) isc_mem_get(mctx, sizeof(RSA_Key));
-       if (rkey == NULL) 
+       if (rkey == NULL)
                DST_RET(ISC_R_NOMEMORY);
        memset(rkey, 0, sizeof(*rkey));
        if (B_CreateKeyObject(&(rkey->rk_Public_Key)) != 0)
@@ -816,7 +816,7 @@ void
 dst__dnssafersa_destroy(void) {
 }
 
-/* 
+/*
  * define memory functions for dnssafe that use the isc_mem functions and a
  * static context.
  */
index c779d0bccfd5a744b243124c7c9f765b5ff61b99..1e43d55ae009fd7bde46f59589b3a013d702885a 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: dst_api.c,v 1.57 2000/07/31 19:44:14 bwelling Exp $
+ * $Id: dst_api.c,v 1.58 2000/08/01 01:27:45 tale Exp $
  */
 
 #include <config.h>
@@ -76,7 +76,7 @@ static isc_result_t   read_public_key(const char *filename,
 static isc_result_t    write_public_key(const dst_key_t *key,
                                         const char *directory);
 static isc_result_t    buildfilename(dns_name_t *name,
-                                     const unsigned int id, 
+                                     const unsigned int id,
                                      const unsigned int alg,
                                      const unsigned int type,
                                      const char *directory,
@@ -235,7 +235,7 @@ dst_context_verify(dst_context_t *dctx, isc_region_t *sig) {
 
 isc_result_t
 dst_key_computesecret(const dst_key_t *pub, const dst_key_t *priv,
-                 isc_buffer_t *secret) 
+                 isc_buffer_t *secret)
 {
        REQUIRE(dst_initialized == ISC_TRUE);
        REQUIRE(VALID_KEY(pub) && VALID_KEY(priv));
@@ -259,7 +259,7 @@ dst_key_computesecret(const dst_key_t *pub, const dst_key_t *priv,
        return (pub->func->computesecret(pub, priv, secret));
 }
 
-isc_result_t 
+isc_result_t
 dst_key_tofile(const dst_key_t *key, const int type, const char *directory) {
        isc_result_t ret = ISC_R_SUCCESS;
 
@@ -353,7 +353,7 @@ dst_key_fromnamedfile(const char *filename, const int type, isc_mem_t *mctx,
                *keyp = pubkey;
                return (ISC_R_SUCCESS);
        }
-       
+
        key = get_key_struct(pubkey->key_name, pubkey->key_alg,
                             pubkey->key_flags, pubkey->key_proto, 0, mctx);
        id = pubkey->key_id;
@@ -478,7 +478,7 @@ dst_key_frombuffer(dns_name_t *name, const unsigned int alg,
        return (ISC_R_SUCCESS);
 }
 
-isc_result_t 
+isc_result_t
 dst_key_tobuffer(const dst_key_t *key, isc_buffer_t *target) {
        REQUIRE(dst_initialized == ISC_TRUE);
        REQUIRE(VALID_KEY(key));
@@ -641,7 +641,7 @@ dst_key_isprivate(const dst_key_t *key) {
 isc_boolean_t
 dst_key_iszonekey(const dst_key_t *key) {
        REQUIRE(VALID_KEY(key));
-      
+
        if ((key->key_flags & DNS_KEYTYPE_NOAUTH) != 0)
                return (ISC_FALSE);
        if ((key->key_flags & DNS_KEYFLAG_OWNERMASK) != DNS_KEYOWNER_ZONE)
@@ -655,7 +655,7 @@ dst_key_iszonekey(const dst_key_t *key) {
 isc_boolean_t
 dst_key_isnullkey(const dst_key_t *key) {
        REQUIRE(VALID_KEY(key));
-      
+
        if ((key->key_flags & DNS_KEYFLAG_TYPEMASK) != DNS_KEYTYPE_NOKEY)
                return (ISC_FALSE);
        if ((key->key_flags & DNS_KEYFLAG_OWNERMASK) != DNS_KEYOWNER_ZONE)
@@ -748,15 +748,15 @@ dst_region_computeid(const isc_region_t *source) {
  *** Static methods
  ***/
 
-/* 
- * Allocates a key structure and fills in some of the fields. 
+/*
+ * Allocates a key structure and fills in some of the fields.
  */
 static dst_key_t *
 get_key_struct(dns_name_t *name, const unsigned int alg,
               const unsigned int flags, const unsigned int protocol,
               const unsigned int bits, isc_mem_t *mctx)
 {
-       dst_key_t *key; 
+       dst_key_t *key;
        isc_result_t result;
 
        REQUIRE(dst_algorithm_supported(alg) != ISC_FALSE);
@@ -859,26 +859,26 @@ read_public_key(const char *filename, isc_mem_t *mctx, dst_key_t **keyp) {
                                ISC_FALSE, NULL);
        if (ret != ISC_R_SUCCESS)
                goto cleanup;
-       
+
        /* Read the next word: either TTL, 'IN', or 'KEY' */
        NEXTTOKEN(lex, opt, &token);
 
        /* If it's a TTL, read the next one */
        if (token.type == isc_tokentype_number)
                NEXTTOKEN(lex, opt, &token);
-       
+
        if (token.type != isc_tokentype_string)
                BADTOKEN();
 
        if (strcasecmp(token.value.as_pointer, "IN") == 0)
                NEXTTOKEN(lex, opt, &token);
-       
+
        if (token.type != isc_tokentype_string)
                BADTOKEN();
 
        if (strcasecmp(token.value.as_pointer, "KEY") != 0)
                BADTOKEN();
-       
+
        isc_buffer_init(&b, rdatabuf, sizeof(rdatabuf));
        ret = dns_rdata_fromtext(&rdata, dns_rdataclass_in, dns_rdatatype_key,
                                 lex, NULL, ISC_FALSE, &b, NULL);
@@ -931,7 +931,7 @@ write_public_key(const dst_key_t *key, const char *directory) {
                return (DST_R_INVALIDPUBLICKEY);
 
        isc_buffer_usedregion(&textb, &r);
-       
+
        /*
         * Make the filename.
         */
@@ -958,7 +958,7 @@ write_public_key(const dst_key_t *key, const char *directory) {
 }
 
 static isc_result_t
-buildfilename(dns_name_t *name, const unsigned int id, 
+buildfilename(dns_name_t *name, const unsigned int id,
              const unsigned int alg, const unsigned int type,
              const char *directory, isc_buffer_t *out)
 {
index cd1091fa57fef13c724a07732d5f9d2a135cb5d7..eb5a530b272f06b4d74e446912301f75223c7980 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dst_internal.h,v 1.26 2000/07/31 19:44:15 bwelling Exp $ */
+/* $Id: dst_internal.h,v 1.27 2000/08/01 01:27:46 tale Exp $ */
 
 #ifndef DST_DST_INTERNAL_H
 #define DST_DST_INTERNAL_H 1
index 40d00bc4cdcae9fbf12282e4c35fdb099864eb05..0802a334efb0ad43c9d0068c4cfeed7227745d4f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -17,7 +17,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: dst_lib.c,v 1.5 2000/07/27 09:50:25 tale Exp $
+ * $Id: dst_lib.c,v 1.6 2000/08/01 01:27:48 tale Exp $
  */
 
 #include <config.h>
index 2ad12bf1a0ab457f5e8dd6ee04e43c221e930313..68ed8cc65a36da9132b5832b18c6233cc1fb8155 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: dst_parse.c,v 1.22 2000/06/20 04:13:40 tale Exp $
+ * $Id: dst_parse.c,v 1.23 2000/08/01 01:27:49 tale Exp $
  */
 
 #include <config.h>
@@ -243,7 +243,7 @@ dst__privstruct_parsefile(dst_key_t *key, const isc_uint16_t id,
        if (token.type != isc_tokentype_string ||
            strcmp(token.value.as_pointer, PRIVATE_KEY_STR) != 0)
                goto fail;
-       
+
        NEXTTOKEN(lex, opt, &token);
        if (token.type != isc_tokentype_string ||
            ((char *)token.value.as_pointer)[0] != 'v')
@@ -280,7 +280,7 @@ dst__privstruct_parsefile(dst_key_t *key, const isc_uint16_t id,
                unsigned char *data;
                isc_region_t r;
 
-               iret = isc_lex_gettoken(lex, opt, &token); 
+               iret = isc_lex_gettoken(lex, opt, &token);
                if (iret == ISC_R_EOF)
                        break;
                if (iret != ISC_R_SUCCESS)
@@ -397,7 +397,7 @@ dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv,
                fwrite(r.base, 1, r.length, fp);
                fprintf(fp, "\n");
        }
-       
+
        fclose(fp);
        return (ISC_R_SUCCESS);
 }
index 41fb5bae4f96d682543ac7d8d9bff37de720dfd9..b92041b3d52462d32ec989c71d09ebcc69158979 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dst_parse.h,v 1.14 2000/06/22 21:56:37 tale Exp $ */
+/* $Id: dst_parse.h,v 1.15 2000/08/01 01:27:50 tale Exp $ */
 
 #ifndef DST_DST_PARSE_H
 #define DST_DST_PARSE_H 1
index a0f6d4be5df409b51ebfa946f3de37ae9972020d..432cb7855f8d646b857fbf3f73242000caddf3ee 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -17,7 +17,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: dst_result.c,v 1.13 2000/07/27 09:50:26 tale Exp $
+ * $Id: dst_result.c,v 1.14 2000/08/01 01:27:51 tale Exp $
  */
 
 #include <config.h>
index 84c650c4db7921b78b658be91a0fc2695b639c1a..7a04ca495881951f8ddb83c2536958d0127428ea 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: hmac_link.c,v 1.41 2000/07/31 19:44:18 bwelling Exp $
+ * $Id: hmac_link.c,v 1.42 2000/08/01 01:27:52 tale Exp $
  */
 
 #include <config.h>
@@ -112,7 +112,7 @@ hmacmd5_compare(const dst_key_t *key1, const dst_key_t *key2) {
        hkey1 = (HMAC_Key *)key1->opaque;
        hkey2 = (HMAC_Key *)key2->opaque;
 
-       if (hkey1 == NULL && hkey2 == NULL) 
+       if (hkey1 == NULL && hkey2 == NULL)
                return (ISC_TRUE);
        else if (hkey1 == NULL || hkey2 == NULL)
                return (ISC_FALSE);
@@ -238,7 +238,7 @@ hmacmd5_tofile(const dst_key_t *key, const char *directory) {
        return (dst__privstruct_writefile(key, &priv, directory));
 }
 
-static isc_result_t 
+static isc_result_t
 hmacmd5_fromfile(dst_key_t *key, const isc_uint16_t id, const char *filename) {
        dst_private_t priv;
        isc_result_t ret;
index efb74e6e37049d205042d6dfd417df20f846d969..9d57e20621fcd3a19e402cdd474b4a87ea8efc9b 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.6 2000/07/27 09:50:28 tale Exp $
+# $Id: Makefile.in,v 1.7 2000/08/01 01:27:56 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index cd34c1b0625d4d348c0cb336c7399a117265a315..051a08389f5f3ce1298acf7108027de070d0c7d6 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.7 2000/07/27 09:50:29 tale Exp $
+# $Id: Makefile.in,v 1.8 2000/08/01 01:27:57 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 3acac4c7e6fd04e8c9e9d398ccbd2baa1b7aa06a..eab9ce6411cc154f68798821b59b74646b83897b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dst.h,v 1.33 2000/07/31 19:44:21 bwelling Exp $ */
+/* $Id: dst.h,v 1.34 2000/08/01 01:27:58 tale Exp $ */
 
 #ifndef DST_DST_H
 #define DST_DST_H 1
index 20341dfdecbba22c4367f6fd618066cf247c6fee..7f7294e392490457637a93b7afc4a2dd705de044 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.h,v 1.4 2000/07/27 09:50:31 tale Exp $ */
+/* $Id: lib.h,v 1.5 2000/08/01 01:27:59 tale Exp $ */
 
 #ifndef DST_LIB_H
 #define DST_LIB_H 1
index e4f3057d1734081939d59349b3dbf035e64be60f..5e376f6b2b7e221deeab9df62c8c5e7363ae879a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.h,v 1.16 2000/07/27 09:50:32 tale Exp $ */
+/* $Id: result.h,v 1.17 2000/08/01 01:28:00 tale Exp $ */
 
 #ifndef DST_RESULT_H
 #define DST_RESULT_H 1
index 13bfe16eb542095d185b94e267d8ce00f88da2e0..4017b333483be58afd382ddab7918be56cb58cd0 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: openssl_link.c,v 1.32 2000/07/31 19:44:19 bwelling Exp $
+ * $Id: openssl_link.c,v 1.33 2000/08/01 01:27:53 tale Exp $
  */
 #if defined(OPENSSL)
 
@@ -73,7 +73,7 @@ openssldsa_adddata(dst_context_t *dctx, const isc_region_t *data) {
        isc_sha1_update(sha1ctx, data->base, data->length);
        return (ISC_R_SUCCESS);
 }
-       
+
 static int
 BN_bn2bin_fixed(BIGNUM *bn, unsigned char *buf, int size) {
        int bytes = size - BN_num_bytes(bn);
@@ -81,7 +81,7 @@ BN_bn2bin_fixed(BIGNUM *bn, unsigned char *buf, int size) {
                *buf++ = 0;
        BN_bn2bin(bn, buf);
        return (size);
-}      
+}
 
 static isc_result_t
 openssldsa_sign(dst_context_t *dctx, isc_buffer_t *sig) {
@@ -151,7 +151,7 @@ openssldsa_compare(const dst_key_t *key1, const dst_key_t *key2) {
        dsa1 = (DSA *) key1->opaque;
        dsa2 = (DSA *) key2->opaque;
 
-       if (dsa1 == NULL && dsa2 == NULL) 
+       if (dsa1 == NULL && dsa2 == NULL)
                return (ISC_TRUE);
        else if (dsa1 == NULL || dsa2 == NULL)
                return (ISC_FALSE);
@@ -364,7 +364,7 @@ openssldsa_tofile(const dst_key_t *key, const char *directory) {
        return (dst__privstruct_writefile(key, &priv, directory));
 }
 
-static isc_result_t 
+static isc_result_t
 openssldsa_fromfile(dst_key_t *key, const isc_uint16_t id, const char *filename)
 {
        dst_private_t priv;
index b71ec55f283bdef8b6505b54f8e07ce6ee686866..3e5db76f2756c0ad03f0c4f71a1761e73182459a 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
  * Portions Copyright (C) 1995-2000 by Network Associates, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * NETWORK ASSOCIATES DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: openssldh_link.c,v 1.26 2000/07/31 19:44:20 bwelling Exp $
+ * $Id: openssldh_link.c,v 1.27 2000/08/01 01:27:54 tale Exp $
  */
 
 #if defined(OPENSSL)
@@ -85,7 +85,7 @@ openssldh_compare(const dst_key_t *key1, const dst_key_t *key2) {
        dh1 = (DH *) key1->opaque;
        dh2 = (DH *) key2->opaque;
 
-       if (dh1 == NULL && dh2 == NULL) 
+       if (dh1 == NULL && dh2 == NULL)
                return (ISC_TRUE);
        else if (dh1 == NULL || dh2 == NULL)
                return (ISC_FALSE);
@@ -114,7 +114,7 @@ openssldh_paramcompare(const dst_key_t *key1, const dst_key_t *key2) {
        dh1 = (DH *) key1->opaque;
        dh2 = (DH *) key2->opaque;
 
-       if (dh1 == NULL && dh2 == NULL) 
+       if (dh1 == NULL && dh2 == NULL)
                return (ISC_TRUE);
        else if (dh1 == NULL || dh2 == NULL)
                return (ISC_FALSE);
@@ -419,7 +419,7 @@ openssldh_tofile(const dst_key_t *key, const char *directory) {
        return (dst__privstruct_writefile(key, &priv, directory));
 }
 
-static isc_result_t 
+static isc_result_t
 openssldh_fromfile(dst_key_t *key, const isc_uint16_t id, const char *filename)
 {
        dst_private_t priv;
index f0176fcfdd0250f1bd59c73535a0969be2121e6b..94187be597f6b960cb59e9a0888fcbfa974e3ddd 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.15 2000/07/27 09:50:34 tale Exp $
+# $Id: Makefile.in,v 1.16 2000/08/01 01:28:02 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 21f1c7ed48b15284aa7f480c0662bebb665d2167..fd967e73da4929fa39f794ae3a68ff64062311f0 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 7fbb68a53cceaa0bca483bc651c50f18ff596edb..01aaea5d27bcbb1b111a31f10916e6a6e469c617 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -92,9 +92,9 @@ BN_ULONG bn_mul_add_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
                mul_add(rp[1],ap[1],w,c1); if (--num==0) return c1;
                mul_add(rp[2],ap[2],w,c1); return c1;
                }
-       
+
        return(c1);
-       } 
+       }
 
 BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
        {
@@ -118,7 +118,7 @@ BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
                mul(rp[2],ap[2],w,c1);
                }
        return(c1);
-       } 
+       }
 
 void bn_sqr_words(BN_ULONG *r, BN_ULONG *a, int n)
         {
@@ -167,7 +167,7 @@ BN_ULONG bn_mul_add_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
                rp+=4;
                }
        return(c);
-       } 
+       }
 
 BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
        {
@@ -194,7 +194,7 @@ BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
                rp+=4;
                }
        return(carry);
-       } 
+       }
 
 void bn_sqr_words(BN_ULONG *r, BN_ULONG *a, int n)
         {
index 26b8d9a20611dfb0ccba9fb7dfb8e2a83469a3a2..165152aa37da3bbb97496dc29e3410c7b40e17d7 100644 (file)
@@ -8,7 +8,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
index f81adaae5dfb72adc07445efcbba511d34ecb038..adf113dba3663037cc8e9678ffdb5e99182a53fd 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 47117b16094e37c12742747d155c94108b9d37af..4b4da5e6610100cdb8f94e539a11e62f731495c0 100644 (file)
@@ -7,7 +7,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
index 22f10b41c160b3f16bb71630a7c444e5551efa94..a5365df6c203eacbf3a4c42fa2d58b71f83354d6 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -192,7 +192,7 @@ void atalla_initialize_accelerator_handle(void)
        {
        void *dl_handle;
        int status;
-       unsigned int config_buf[1024]; 
+       unsigned int config_buf[1024];
        static int tested;
 
        if(tested)
@@ -237,7 +237,7 @@ void atalla_initialize_accelerator_handle(void)
                        printf("atasi.so library is present but not initialized\n");
                        printf("No HW acceleration available\n");
                        return;
-                       }    
+                       }
                }
        else
                {
@@ -245,7 +245,7 @@ void atalla_initialize_accelerator_handle(void)
                return ;
                }
 
-       /* 
+       /*
         * It looks like we have acceleration capabilities.  Load up the
         * pointers to our ASI API calls.
         */
@@ -469,7 +469,7 @@ int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
                                if (!BN_mod_mul_reciprocal(r,r,r,&recp,ctx))
                                        goto err;
                                }
-               
+
                /* wvalue will be an odd number < 2^window */
                if (!BN_mod_mul_reciprocal(r,r,&(val[wvalue>>1]),&recp,ctx))
                        goto err;
@@ -618,7 +618,7 @@ int BN_mod_exp_mont(BIGNUM *rr, BIGNUM *a, const BIGNUM *p,
                                if (!BN_mod_mul_montgomery(r,r,r,mont,ctx))
                                        goto err;
                                }
-               
+
                /* wvalue will be an odd number < 2^window */
                if (!BN_mod_mul_montgomery(r,r,&(val[wvalue>>1]),mont,ctx))
                        goto err;
@@ -731,7 +731,7 @@ int BN_mod_exp_simple(BIGNUM *r, BIGNUM *a, BIGNUM *p, BIGNUM *m,
                                if (!BN_mod_mul(r,r,r,m,ctx))
                                        goto err;
                                }
-               
+
                /* wvalue will be an odd number < 2^window */
                if (!BN_mod_mul(r,r,&(val[wvalue>>1]),m,ctx))
                        goto err;
index bd296de38fdbf990b341eb486a6bfcb5db51dea3..c28e10dbd68edef9a33b66d0e076788f6cdebea0 100644 (file)
@@ -8,7 +8,7 @@
 /* I've done some timing with different table sizes.
  * The main hassle is that even with bits set at 3, this requires
  * 63 BIGNUMs to store the pre-calculated values.
- *          512   1024 
+ *          512   1024
  * bits=1  75.4%  79.4%
  * bits=2  61.2%  62.4%
  * bits=3  61.3%  59.3%
@@ -173,7 +173,7 @@ int BN_mod_exp2_mont(BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2,
                                if (!BN_mod_mul_montgomery(r,r,r,mont,ctx))
                                        goto err;
                                }
-               
+
                /* wvalue will be an odd number < 2^window */
                if (xvalue || yvalue)
                        {
index dbc80ae9725f821141c6405244fc42b569a9ea48..72a77541a9417c83dc91e6ba35d502b948e557d7 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 63f3042213397571c184cd67156c4d004c63e2de..e883403ac6870738a56b8fdf84d04d2922dd92f9 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index a0c0b224ce7c210e0e6930f8f8d13b48dad59e04..d2d4caa62ff6416868d2fdf6cb9c1d0e3e7b1842 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -231,7 +231,7 @@ int BN_num_bits_word(BN_ULONG l)
 #if defined(SIXTEEN_BIT) || defined(THIRTY_TWO_BIT) || defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
                        if (l & 0xff00L)
                                return(bits[(int)(l>>8)]+8);
-                       else    
+                       else
 #endif
                                return(bits[(int)(l   )]  );
                        }
@@ -322,7 +322,7 @@ BIGNUM *bn_expand2(BIGNUM *b, int words)
 
        if (words > b->max)
                {
-               bn_check_top(b);        
+               bn_check_top(b);
                if (BN_get_flags(b,BN_FLG_STATIC_DATA))
                        {
                        BNerr(BN_F_BN_EXPAND2,BN_R_EXPAND_ON_STATIC_BIGNUM_DATA);
@@ -340,7 +340,7 @@ BIGNUM *bn_expand2(BIGNUM *b, int words)
                if (B != NULL)
                        {
 #if 0
-                       /* This lot is an unrolled loop to copy b->top 
+                       /* This lot is an unrolled loop to copy b->top
                         * BN_ULONGs from B to A
                         */
 /*
@@ -396,7 +396,7 @@ BIGNUM *bn_expand2(BIGNUM *b, int words)
                                 * a=top&7
                                 * a--;
                                 * goto jump_table[a];
-                                * If top is 0, this makes us jump to 0xffffffc 
+                                * If top is 0, this makes us jump to 0xffffffc
                                 * which is rather bad :-(.
                                 * eric 23-Apr-1998
                                 */
@@ -448,7 +448,7 @@ BIGNUM *bn_expand2(BIGNUM *b, int words)
                        b->d=a;
                        b->max=words;
 #endif
-               
+
 /*             memset(&(p[b->max]),0,((words+1)-b->max)*sizeof(BN_ULONG)); */
 /*     { int i; for (i=b->max; i<words+1; i++) p[i]=i;} */
 
index cb3d245451f4351b2fdab89d1a18946e8b7cc7ee..ee41c0bccce8ce87e2d9c970f6a95cef8d75177b 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -131,7 +131,7 @@ int BN_from_montgomery(BIGNUM *ret, BIGNUM *a, BN_MONT_CTX *mont,
        /* mont->ri is the size of mont->N in bits (rounded up
           to the word size) */
        al=ri=mont->ri/BN_BITS2;
-       
+
        nl=n->top;
        if ((al == 0) || (nl == 0)) { r->top=0; return(1); }
 
@@ -149,7 +149,7 @@ int BN_from_montgomery(BIGNUM *ret, BIGNUM *a, BN_MONT_CTX *mont,
        for (i=r->top; i<max; i++) /* memset? XXX */
                r->d[i]=0;
 #else
-       memset(&(r->d[r->top]),0,(max-r->top)*sizeof(BN_ULONG)); 
+       memset(&(r->d[r->top]),0,(max-r->top)*sizeof(BN_ULONG));
 #endif
 
        r->top=max;
@@ -173,7 +173,7 @@ int BN_from_montgomery(BIGNUM *ret, BIGNUM *a, BN_MONT_CTX *mont,
                        }
                }
        bn_fix_top(r);
-       
+
        /* mont->ri will be a multiple of the word size */
 #if 0
        BN_rshift(ret,r,mont->ri);
@@ -190,7 +190,7 @@ int BN_from_montgomery(BIGNUM *ret, BIGNUM *a, BN_MONT_CTX *mont,
        for (i=0; i<al; i+=4)
                {
                BN_ULONG t1,t2,t3,t4;
-               
+
                t1=ap[i+0];
                t2=ap[i+1];
                t3=ap[i+2];
@@ -204,14 +204,14 @@ int BN_from_montgomery(BIGNUM *ret, BIGNUM *a, BN_MONT_CTX *mont,
        for (; i<al; i++)
                rp[i]=ap[i];
 #endif
-#else /* !MONT_WORD */ 
+#else /* !MONT_WORD */
        BIGNUM *t1,*t2;
 
        BN_CTX_start(ctx);
        t1 = BN_CTX_get(ctx);
        t2 = BN_CTX_get(ctx);
        if (t1 == NULL || t2 == NULL) goto err;
-       
+
        if (!BN_copy(t1,a)) goto err;
        BN_mask_bits(t1,mont->ri);
 
index 86bebbee8fcd43e8925fc33090af6fb6a064d4d1..6c45bf59352fcddca045087ade26b8832ec9b55f 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -98,7 +98,7 @@ void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
        if (n2 == 8)
                {
                bn_mul_comba8(r,a,b);
-               return; 
+               return;
                }
 # endif /* BN_MUL_COMBA */
        if (n2 < BN_MUL_RECURSIVE_SIZE_NORMAL)
@@ -151,7 +151,7 @@ void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
                        bn_mul_comba4(&(t[n2]),t,&(t[n]));
                else
                        memset(&(t[n2]),0,8*sizeof(BN_ULONG));
-               
+
                bn_mul_comba4(r,a,b);
                bn_mul_comba4(&(r[n2]),&(a[n]),&(b[n]));
                }
@@ -161,7 +161,7 @@ void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
                        bn_mul_comba8(&(t[n2]),t,&(t[n]));
                else
                        memset(&(t[n2]),0,16*sizeof(BN_ULONG));
-               
+
                bn_mul_comba8(r,a,b);
                bn_mul_comba8(&(r[n2]),&(a[n]),&(b[n]));
                }
@@ -474,7 +474,7 @@ void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2,
                bn_sub_words(&(r[n]),&(b[n]),&(b[0]),n);
                break;
                }
-               
+
        oneg=neg;
        /* t[10] = (a[0]-a[1])*(b[1]-b[0]) */
        /* r[10] = (a[1]*b[1]) */
@@ -563,7 +563,7 @@ void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2,
                c2-=(int)(bn_sub_words(&(r[0]),&(r[0]),&(t[n]),n));
        else
                c2+=(int)(bn_add_words(&(r[0]),&(r[0]),&(t[n]),n));
-       
+
        if (c1 != 0) /* Add starting at r[0], could be +ve or -ve */
                {
                i=0;
index bbb1439d037b9b3f711d6659a25bb129ff0e540d..89e8e35457d1d2d81878a75a5f882e8262f69cf9 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -63,7 +63,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
@@ -151,7 +151,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, BIGNUM *add,
        else
                rnd=ret;
        BN_init(&t);
-loop: 
+loop:
        /* make a random number and set the top and bottom bits */
        if (add == NULL)
                {
@@ -237,7 +237,7 @@ int BN_is_prime_fasttest(const BIGNUM *a, int checks,
        if (do_trial_division)
                {
                for (i = 1; i < NUMPRIMES; i++)
-                       if (BN_mod_word(a, primes[i]) == 0) 
+                       if (BN_mod_word(a, primes[i]) == 0)
                                return 0;
                if (callback != NULL) callback(1, -1, cb_arg);
                }
@@ -289,7 +289,7 @@ int BN_is_prime_fasttest(const BIGNUM *a, int checks,
                goto err;
        if (!BN_MONT_CTX_set(mont, A, ctx))
                goto err;
-       
+
        for (i = 0; i < checks; i++)
                {
                if (!BN_pseudo_rand(check, BN_num_bits(A1), 0, 0))
@@ -430,7 +430,7 @@ static int probable_prime_dh_safe(BIGNUM *p, int bits, BIGNUM *padd,
        if (qadd == NULL) goto err;
 
        if (!BN_rshift1(qadd,padd)) goto err;
-               
+
        if (!BN_rand(q,bits,0,1)) goto err;
 
        /* we need ((rnd-rem) % add) == 0 */
index d63e3daca0e0d9c4c9dffc404c680da4dd9a63fa..d0033e5a403a193a56eabde761bf34cc77632cf2 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 0527f88672c5fba982c60beac8014e1c0c1b64be..e343deea9a4e41686f4c59e713745e6d02be6311 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 08f6b68ff0e2e15645fbb6ae87bb7935c722ff4a..6ee0916421221b0be9245894da58208ede5ac094 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 6f8202f979fb87161300581660c06a23081d9f6f..1706be08e54e2f565a01d43a328d7657b94b623e 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -199,7 +199,7 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, BIGNUM *m, BN_RECP_CTX *recp,
 err:
        BN_CTX_end(ctx);
        return(ret);
-       } 
+       }
 
 /* len is the expected size of the result
  * We actually calculate with an extra word of precision, so
index 3ea3f1c395b9094397502fa9c0b0d95b3dee01b5..f15f2bd8c6e7f8355e9a611eb47fba85936b6c49 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index daaa548f6f4130517e9104b5c5e81af8d57ae0cd..546f13c7be326d54f13ca09c8539c0b5321ac51b 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -110,7 +110,7 @@ printf("BN_sqr %d * %d\n",a->top,a->top);
                bn_sqr_comba8(rr->d,a->d);
 #endif
                }
-       else 
+       else
                {
 #if defined(BN_RECURSION)
                if (al < BN_SQR_RECURSIVE_SIZE_NORMAL)
index 51d718e1fa8b15f5b4a2fca8835107a75fd535a0..1ba1aca4b92fb1c435056deacc743bfc8e9c9723 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -97,7 +97,7 @@ BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w)
        for (i=a->top-1; i>=0; i--)
                {
                BN_ULONG l,d;
-               
+
                l=a->d[i];
                d=bn_div_words(ret,l,w);
                ret=(l-((d*w)&BN_MASK2))&BN_MASK2;
index acbf48b7f2b568bc7ec349abcb6a1b467adbe516..2fe9f761797c5a30e47a98605c166f70b1377a74 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -136,7 +136,7 @@ char *BUF_strdup(const char *str)
 
        n=strlen(str);
        ret=Malloc(n+1);
-       if (ret == NULL) 
+       if (ret == NULL)
                {
                BUFerr(BUF_F_BUF_STRDUP,ERR_R_MALLOC_FAILURE);
                return(NULL);
index c450c7e13178d7912637993c2639985bda5a401f..7b93025cf2e242694fe1b195746da1f991e3417e 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index de6c17b9bf27ef3c96e29aad8a2f888b4d92fe9e..33be64edc6b2ccae09568a20fd9c8a98d7d9475a 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -69,8 +69,8 @@ extern "C" {
 #include "openssl/e_os.h"
 
 #include <openssl/crypto.h>
-#include <openssl/buffer.h> 
-#include <openssl/bio.h> 
+#include <openssl/buffer.h>
+#include <openssl/bio.h>
 #include <openssl/err.h>
 #include <openssl/opensslconf.h>
 
index b13e356200c880b9a4627d02adaddea5dc824058..6eca42b868498d90cf3b6817e640d5f629747075 100644 (file)
@@ -7,7 +7,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
index 7aff041fb944d330fa69d7c81bed27c8249d299b..bf2dec1f1e4b4ab6083efa52f974cbdb9f33a8e1 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -102,7 +102,7 @@ DH *DH_generate_parameters(int prime_len, int generator,
        t1 = BN_CTX_get(ctx);
        t2 = BN_CTX_get(ctx);
        if (t1 == NULL || t2 == NULL) goto err;
-       
+
        if (generator == DH_GENERATOR_2)
                {
                BN_set_word(t1,24);
@@ -127,7 +127,7 @@ DH *DH_generate_parameters(int prime_len, int generator,
                }
        else
                g=generator;
-       
+
        p=BN_generate_prime(NULL,prime_len,1,t1,t2,callback,cb_arg);
        if (p == NULL) goto err;
        if (callback != NULL) callback(3,0,cb_arg);
index cf2205011071ce1c88c5be0f41d277090bea95af..cf93c0af13d317df06d74dc7515b57902d649126 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -142,7 +142,7 @@ static int generate_key(DH *dh)
 
        if (!dh->meth->bn_mod_exp(dh, pub_key,dh->g,priv_key,dh->p,&ctx,mont))
                                                                goto err;
-               
+
        dh->pub_key=pub_key;
        dh->priv_key=priv_key;
        ok=1;
@@ -166,7 +166,7 @@ static int compute_key(unsigned char *key, BIGNUM *pub_key, DH *dh)
        BN_CTX_init(&ctx);
        BN_CTX_start(&ctx);
        tmp = BN_CTX_get(&ctx);
-       
+
        if (dh->priv_key == NULL)
                {
                DHerr(DH_F_DH_COMPUTE_KEY,DH_R_NO_PRIVATE_VALUE);
index cc6fe21008c96ad758c2c87aa203f0ca6459db1b..4a7bd22f9c4cc533fc5781edf427012d4b5366e2 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 06e233caa149eacd5189ec0710a5c55cb29b05ab..789eb9a21aea8c276dc55f3ea6ad3f9456db98c7 100644 (file)
@@ -7,7 +7,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
index 4de242f88b74c49c35a86395ccb9f7fe893ad703..bd923557264a1cebc03cd4a5c53c268556640cc2 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -67,7 +67,7 @@
  * also Appendix 2.2 of FIPS PUB 186-1 (i.e. use SHA as defined in
  * FIPS PUB 180-1) */
 #define HASH    SHA1
-#endif 
+#endif
 
 #ifndef NO_SHA
 
@@ -106,7 +106,7 @@ DSA *DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len,
 
        if (seed_len < 20)
                seed_in = NULL; /* seed buffer too small -- ignore */
-       if (seed_len > 20) 
+       if (seed_len > 20)
                seed_len = 20; /* App. 2.2 of FIPS PUB 186 allows larger SEED,
                                * but our internal buffers are restricted to 160 bits*/
        if ((seed_in != NULL) && (seed_len == 20))
index 1a247fb1eb132d98910e5b31371c6a2438841080..ebc351cd5b8e3acd50bd15300f6f111297e8d4c5 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index dea1f7bffbcf1dfb4002dce23ae4a7f920e2b4dd..0b083afdbead45b35dc091a23e681e4945d9ae12 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -136,7 +136,7 @@ DSA *DSA_new_method(DSA_METHOD *meth)
                }
        else
                CRYPTO_new_ex_data(dsa_meth,ret,&ret->ex_data);
-       
+
        return(ret);
        }
 
@@ -186,7 +186,7 @@ int DSA_size(DSA *r)
        bs.data=buf;
        bs.type=V_ASN1_INTEGER;
        /* If the top bit is set the asn1 encoding is 1 larger. */
-       buf[0]=0xff;    
+       buf[0]=0xff;
 
        i=i2d_ASN1_INTEGER(&bs,NULL);
        i+=i; /* r and s */
@@ -220,7 +220,7 @@ DH *DSA_dup_DH(DSA *r)
        {
        /* DSA has p, q, g, optional pub_key, optional priv_key.
         * DH has p, optional length, g, optional pub_key, optional priv_key.
-        */ 
+        */
 
        DH *ret = NULL;
 
@@ -229,7 +229,7 @@ DH *DSA_dup_DH(DSA *r)
        ret = DH_new();
        if (ret == NULL)
                goto err;
-       if (r->p != NULL) 
+       if (r->p != NULL)
                if ((ret->p = BN_dup(r->p)) == NULL)
                        goto err;
        if (r->q != NULL)
index 25dc0d35265b484cf92ddd421b531f606baeedf2..7d98f816e7c942c81d22006cbf0274781e8e4f30 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -148,7 +148,7 @@ static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
        if (ret == NULL) goto err;
        ret->r = r;
        ret->s = s;
-       
+
 err:
        if (!ret)
                {
@@ -316,7 +316,7 @@ static int dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
        dsa = dsa; /* BEW - quiet the compiler */
        return BN_mod_exp2_mont(rr, a1, p1, a2, p2, m, ctx, in_mont);
 }
-       
+
 static int dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
                                const BIGNUM *m, BN_CTX *ctx,
                                BN_MONT_CTX *m_ctx)
index bef95bb370e4faa4ec24db2d18ebda5e434d4db5..23f40025c441c89119782c766929c37e9eac40f8 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 2cbaaf7ac1817239f12d83e5f91fc0bfc36dfb01..a3e71669e92e1db6b838361ecff71bc0b072d912 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index da67f60c7cb0a2c8c671425b138f2e53263dd054..a91b386845aebb27bcc986d8c459949f1b72f68f 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -113,7 +113,7 @@ static ERR_STRING_DATA ERR_str_functs[]=
        {ERR_PACK(0,SYS_F_FOPEN,0),             "fopen"},
        {ERR_PACK(0,SYS_F_CONNECT,0),           "connect"},
        {ERR_PACK(0,SYS_F_GETSERVBYNAME,0),     "getservbyname"},
-       {ERR_PACK(0,SYS_F_SOCKET,0),            "socket"}, 
+       {ERR_PACK(0,SYS_F_SOCKET,0),            "socket"},
        {ERR_PACK(0,SYS_F_IOCTLSOCKET,0),       "ioctlsocket"},
        {ERR_PACK(0,SYS_F_BIND,0),              "bind"},
        {ERR_PACK(0,SYS_F_LISTEN,0),            "listen"},
@@ -378,7 +378,7 @@ unsigned long ERR_peek_error_line_data(const char **file, int *line,
 
 static unsigned long get_error_values(int inc, const char **file, int *line,
             const char **data, int *flags)
-       {       
+       {
        int i=0;
        ERR_STATE *es;
        unsigned long ret;
index 0d782d6c9da8c245fecfda3a0ff7b17681eb3891..f62e3d6dd369c7c8b194dd2c465e7de6d6417f01 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 022602a517fde681007f764b6ae1bd2349ef3b50..80579712fdd6b9384f1c91da9903854092bef1a5 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.6 2000/07/27 09:50:35 tale Exp $
+# $Id: Makefile.in,v 1.7 2000/08/01 01:28:55 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index e34a2cf5e3aeaac4673fe95d34098dfa3f732b87..85b85da3d9b0afe6ab47811a7b02dfc9383d9465 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.8 2000/07/27 09:50:36 tale Exp $
+# $Id: Makefile.in,v 1.9 2000/08/01 01:28:56 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 23d702530f5532a9055c69b9ffc1cfda1827e444..f087a51d3d4a81d48e21fb6c3726b69d30887ad4 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -170,7 +170,7 @@ extern "C" {
 
 /* The next two are used in conjunction with the
  * BIO_should_io_special() condition.  After this returns true,
- * BIO *BIO_get_retry_BIO(BIO *bio, int *reason); will walk the BIO 
+ * BIO *BIO_get_retry_BIO(BIO *bio, int *reason); will walk the BIO
  * stack and return the 'reason' for the special and the offending BIO.
  * Given a BIO, BIO_get_retry_reason(bio) will return the code. */
 /* Returned from the SSL bio when the certificate retrieval code had an error */
index d875fe5f92406877516256ba0e0253b678a92161..befd6ebf2372f70e856aca591a270568ad4d16b5 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 247c8ee62ea2413d9e6b2163c36cab43dfadc849..2fae870fc8250771e1d2123c3ac300afcf842f5a 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 2a69c5ab4b3f01f229b76d0a0c7d06091bd81795..53cfa6741f27e2b0b29ac408ec46b513caf4b043 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -184,7 +184,7 @@ typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
 typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
                                        int idx, long argl, void *argp);
 /* Called when we need to dup an object */
-typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d, 
+typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d,
                                        int idx, long argl, void *argp);
 
 /* This stuff is basically class callback functions
index c164c14989234378c85b79f88d0507209d220e44..7982a13e5c626beb4870e54237a39edfb1aecd98 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -69,7 +69,7 @@ extern "C" {
 
 #include <openssl/bn.h>
 #include <openssl/crypto.h>
-       
+
 #define DH_FLAG_CACHE_MONT_P   0x01
 
 typedef struct dh_st DH;
index 243775f4f81dd077324132ced5231ae084f8f2a7..6b8a78ce1faf6652170e8377905579bc91b27088 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 1a3e49d149467dc330198f4a5da579ec71653993..9a15144f4abaabdb90167fa5aa216373a0fa6a04 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -199,7 +199,7 @@ extern "C" {
 #  endif
 
 #  ifdef VMS
-  /* some programs don't include stdlib, so exit() and others give implicit 
+  /* some programs don't include stdlib, so exit() and others give implicit
      function warnings */
 #    include <stdlib.h>
 #    if defined(__DECC)
@@ -359,7 +359,7 @@ extern HINSTANCE _hInstance;
 #define MD2_DIGEST_LENGTH 16
 #endif
 #ifdef NO_MD5
-#define MD5_Init MD5Init 
+#define MD5_Init MD5Init
 #define MD5_Update MD5Update
 #define MD5_Final MD5Final
 #define MD5_DIGEST_LENGTH 16
index 8c5e1ce3149860b69b76306f533f402c3dce1e80..3dff1b0589bf8192ad8c76322e19de74b8840fe4 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -185,7 +185,7 @@ typedef struct err_state_st
 #define SYS_F_WSASTARTUP       9 /* Winsock stuff */
 #define SYS_F_OPENDIR          10
 
-#define ERR_R_FATAL            32      
+#define ERR_R_FATAL            32
 /* reasons */
 #define ERR_R_SYS_LIB  ERR_LIB_SYS
 #define ERR_R_BN_LIB   ERR_LIB_BN
index 8c52bb937636c3974bc3e98665b1238e5377d3c1..117bc207c3524de042dfb7f614fa6c9e3365f325 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 20ff757c9d698d04e39fb9109831783029c04b2c..93bff6261f56e5bfd86e535dc72a1bb55190adf9 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 4e6aa15c75c1e3d75f99690e0a2a8635e06d3554..ea4f0c5c111863e452b6d10d8acc2bbdad61381b 100644 (file)
@@ -6,7 +6,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
index 9113e53e375237f92582511fc5c063af870db34a..11985f788e0c8e4ddbef17a2f544137a52d22e10 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 9779b4557d4a30c64edb0e5688c040caccd9390f..04390a730c1290658ad7bf15da1655ef8e89371b 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 252b59310ceccd0f5cd13e33f51c9c987cca8b3a..70482d2a7846b5b0bf429d7c92a53ee1612eb0a2 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
 
 const char *lh_version="lhash" OPENSSL_VERSION_PTEXT;
 
-#undef MIN_NODES 
+#undef MIN_NODES
 #define MIN_NODES      16
 #define UP_LOAD                (2*LH_LOAD_MULT) /* load times 256  (default 2) */
 #define DOWN_LOAD      (LH_LOAD_MULT)   /* load times 256  (default 1) */
@@ -310,7 +310,7 @@ static void expand(LHASH *lh)
        n2= &(lh->b[p+(int)lh->pmax]);
        *n2=NULL;        /* 27/07/92 - eay - undefined pointer bug */
        nni=lh->num_alloc_nodes;
-       
+
        for (np= *n1; np != NULL; )
                {
 #ifndef NO_HASH_COMP
@@ -442,7 +442,7 @@ unsigned long lh_strhash(const char *c)
 /*
        unsigned char b[16];
        MD5(c,strlen(c),b);
-       return(b[0]|(b[1]<<8)|(b[2]<<16)|(b[3]<<24)); 
+       return(b[0]|(b[1]<<8)|(b[2]<<16)|(b[3]<<24));
 */
 
        n=0x100;
index 300ba43f395132d7e4665bc224f046b41c582170..765dc7f22e8cdd9ba31c27af71f82835f4d1b93e 100644 (file)
@@ -7,7 +7,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
index 40c2c8196b5f48f2b0cf70eb79683fb7fbdec1fd..73784ae15c43a8e0020dddd44a012fdb3d8c6d4c 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 057b18d291b0ec32f08e3eac6edf83275442b351..6cd7e2840ad108901feda67481696f6f89732a02 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 15783c4e4e1716f69fb6c9a214461a886a9b6ae8..6e6051655d5c03d94af3ba6c697b714fe67894ec 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -61,7 +61,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <time.h>      
+#include <time.h>
 #include <openssl/crypto.h>
 #include <openssl/buffer.h>
 #include <openssl/bio.h>
@@ -95,7 +95,7 @@ typedef struct app_mem_info_st
  *   CRYPTO_pop_info()           to pop an entry,
  *   CRYPTO_remove_all_info()    to pop all entries.
  */
-       {       
+       {
        unsigned long thread;
        const char *file;
        int line;
@@ -209,7 +209,7 @@ int CRYPTO_is_mem_check_on(void)
                CRYPTO_w_unlock(CRYPTO_LOCK_MALLOC);
                }
        return(ret);
-       }       
+       }
 
 
 void CRYPTO_dbg_set_options(long bits)
@@ -569,7 +569,7 @@ static void print_leak(MEM *m, MEM_LEAK *l)
        if (options & V_CRYPTO_MDEBUG_TIME)
                {
                lcl = localtime(&m->time);
-       
+
                sprintf(bufp, "[%02d:%02d:%02d] ",
                        lcl->tm_hour,lcl->tm_min,lcl->tm_sec);
                bufp += strlen(bufp);
@@ -590,7 +590,7 @@ static void print_leak(MEM *m, MEM_LEAK *l)
        bufp += strlen(bufp);
 
        BIO_puts(l->bio,buf);
-       
+
        l->chunks++;
        l->bytes+=m->num;
 
@@ -599,7 +599,7 @@ static void print_leak(MEM *m, MEM_LEAK *l)
        if (!amip)
                return;
        ti=amip->thread;
-       
+
        do
                {
                int buf_len;
@@ -623,13 +623,13 @@ static void print_leak(MEM *m, MEM_LEAK *l)
                        buf_len = strlen(buf);
                        }
                sprintf(buf + buf_len, "\"\n");
-               
+
                BIO_puts(l->bio,buf);
 
                amip = amip->next;
                }
        while(amip && amip->thread == ti);
-               
+
 #ifdef LEVITTE_DEBUG
        if (amip)
                {
@@ -683,7 +683,7 @@ void CRYPTO_mem_leaks(BIO *b)
                        }
                if (amih != NULL)
                        {
-                       if (lh_num_items(amih) == 0) 
+                       if (lh_num_items(amih) == 0)
                                {
                                lh_free(amih);
                                amih = NULL;
index 5faf841f757819277e7ad09e6876cfc7eb7511cc..7ec917e622eddad360e1a46f0f1c5795fc7635ca 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index 63de73c8eecb47e62b2e62a8248ac0b3c854813a..1c8a57b79fabaff898e603108ad9aba0d055e1e5 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index c35159b473155d0616f53d99a6fc9a26c726bec6..5aae10a3c40112aafee9d6c71f5574590589bb43 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index ecbe65e8d2e1c83cc57e0b9bdc149287622c13d9..df3fe4df0b1834d1afb05012bf40b5aafd676ff0 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -164,9 +164,9 @@ void HASH_INIT (SHA_CTX *c)
  * I've just become aware of another tweak to be made, again from Wei Dai,
  * in F_40_59, (x&a)|(y&a) -> (x|y)&a
  */
-#define        F_00_19(b,c,d)  ((((c) ^ (d)) & (b)) ^ (d)) 
+#define        F_00_19(b,c,d)  ((((c) ^ (d)) & (b)) ^ (d))
 #define        F_20_39(b,c,d)  ((b) ^ (c) ^ (d))
-#define F_40_59(b,c,d) (((b) & (c)) | (((b)|(c)) & (d))) 
+#define F_40_59(b,c,d) (((b) & (c)) | (((b)|(c)) & (d)))
 #define        F_60_79(b,c,d)  F_20_39(b,c,d)
 
 #define BODY_00_15(i,a,b,c,d,e,f,xi) \
@@ -326,8 +326,8 @@ void HASH_BLOCK_HOST_ORDER (SHA_CTX *c, const void *d, int num)
        BODY_60_79(77,B,C,D,E,T,A,X(13),X(15),X( 5),X(10));
        BODY_60_79(78,A,B,C,D,E,T,X(14),X( 0),X( 6),X(11));
        BODY_60_79(79,T,A,B,C,D,E,X(15),X( 1),X( 7),X(12));
-       
-       c->h0=(c->h0+E)&0xffffffffL; 
+
+       c->h0=(c->h0+E)&0xffffffffL;
        c->h1=(c->h1+T)&0xffffffffL;
        c->h2=(c->h2+A)&0xffffffffL;
        c->h3=(c->h3+B)&0xffffffffL;
@@ -453,8 +453,8 @@ void HASH_BLOCK_DATA_ORDER (SHA_CTX *c, const void *p, int num)
        BODY_60_79(77,B,C,D,E,T,A,X(13),X(15),X( 5),X(10));
        BODY_60_79(78,A,B,C,D,E,T,X(14),X( 0),X( 6),X(11));
        BODY_60_79(79,T,A,B,C,D,E,X(15),X( 1),X( 7),X(12));
-       
-       c->h0=(c->h0+E)&0xffffffffL; 
+
+       c->h0=(c->h0+E)&0xffffffffL;
        c->h1=(c->h1+T)&0xffffffffL;
        c->h2=(c->h2+A)&0xffffffffL;
        c->h3=(c->h3+B)&0xffffffffL;
index e414f4d49c38bcf3258a4a089bdf45648586c225..ccc59aca23cd169dc3ebdfe838fb19f828b16be8 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
@@ -159,7 +159,7 @@ int sk_insert(STACK *st, char *data, int loc)
                t=(char **)&(st->data[1]);
                for (i=st->num; i>=loc; i--)
                        t[i]=f[i];
-                       
+
 #ifdef undef /* no memmove on sunos :-( */
                memmove( (char *)&(st->data[loc+1]),
                        (char *)&(st->data[loc]),
index e1b26d3ed1505341080c9cf876811efadc44fa69..124907c2d4319b18fde4e81286ce83b306065af5 100644 (file)
@@ -5,21 +5,21 @@
  * This package is an SSL implementation written
  * by Eric Young (eay@cryptsoft.com).
  * The implementation was written so as to conform with Netscapes SSL.
- * 
+ *
  * This library is free for commercial and non-commercial use as long as
  * the following conditions are aheared to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
+ *
  * Copyright remains Eric Young's, and as such any Copyright notices in
  * the code are not to be removed.
  * If this package is used in a product, Eric Young should be given attribution
  * as the author of the parts of the library used.
  * This can be in the form of a textual message at program startup or
  * in documentation (online or textual) provided with the package.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *     Eric Young (eay@cryptsoft.com)"
  *    The word 'cryptographic' can be left out if the rouines from the library
  *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
+ * 4. If you include any Windows specific code (or a derivative thereof) from
  *    the apps directory (application code) you must include an acknowledgement:
  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -49,7 +49,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- * 
+ *
  * The licence and distribution terms for any publically available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
index b4ddc84648753e69e9b0661a4f51f058f2da66be..78eca83de3941d70bb43fed06b28e7e75c384cd5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rename.h,v 1.9 2000/07/27 09:50:22 tale Exp $ */
+/* $Id: rename.h,v 1.10 2000/08/01 01:26:39 tale Exp $ */
 
 #ifndef SEC_RENAME_H
 #define SEC_RENAME_H 1
index 9c39345108a3860d8c4933dbcc63f0f30fd84d1c..143512c69bb55593ca940f50628ac63e60e7535d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: ssu.c,v 1.12 2000/07/27 09:46:37 tale Exp $
+ * $Id: ssu.c,v 1.13 2000/08/01 01:22:55 tale Exp $
  * Principal Author: Brian Wellington
  */
 
@@ -281,7 +281,7 @@ dns_ssutable_checkrules(dns_ssutable_t *table, dns_name_t *signer,
                else if (rule->matchtype == DNS_SSUMATCHTYPE_WILDCARD) {
                        if (!dns_name_matcheswildcard(name, rule->name))
                                continue;
-                       
+
                }
                else if (rule->matchtype == DNS_SSUMATCHTYPE_SELF) {
                        if (!dns_name_equal(signer, name))
index 2a63eca13090a33070fd3f11063e748aad407499..89fe5fe25f8c69330bbb8a6051e50486137185b6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tcpmsg.c,v 1.21 2000/07/27 09:46:38 tale Exp $ */
+/* $Id: tcpmsg.c,v 1.22 2000/08/01 01:22:56 tale Exp $ */
 
 #include <config.h>
 
index ca50be4c14793f5bce8e210640f9a25555415471..3b887f4aae4a1efaca9e59d4b914ee880de4d4dc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.c,v 1.15 2000/07/27 09:46:39 tale Exp $ */
+/* $Id: time.c,v 1.16 2000/08/01 01:22:57 tale Exp $ */
 
 #include <config.h>
 
index 6cc53b5a3079294a8919711bd0af219b05e1f935..e3afba4e018d42de56d0417da1f461c65261041b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: tkey.c,v 1.48 2000/07/27 09:46:41 tale Exp $
+ * $Id: tkey.c,v 1.49 2000/08/01 01:22:58 tale Exp $
  * Principal Author: Brian Wellington
  */
 
index d85610072c43a7398fe8beb034c0c6a4923426d4..36600c95184b45d286e877dab8acf730335117a6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tkeyconf.c,v 1.12 2000/07/27 09:46:42 tale Exp $ */
+/* $Id: tkeyconf.c,v 1.13 2000/08/01 01:22:59 tale Exp $ */
 
 #include <config.h>
 
index 276a5ca63f29bd0048a0bb9319bfce6abba68d18..d384db7d5b0c91f67461a0ac95f562596b0257ab 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: tsig.c,v 1.81 2000/07/31 21:07:11 tale Exp $
+ * $Id: tsig.c,v 1.82 2000/08/01 01:23:00 tale Exp $
  * Principal Author: Brian Wellington
  */
 
@@ -167,7 +167,7 @@ dns_tsigkey_create(dns_name_t *name, dns_name_t *algorithm,
                                 isc_result_totext(ret));
                return (ISC_R_UNEXPECTED);
        }
-       
+
        tkey->magic = TSIG_MAGIC;
 
        if (key != NULL)
@@ -310,7 +310,7 @@ dns_tsig_sign(dns_message_t *msg) {
                isc_buffer_putuint32(&otherbuf,
                                     (isc_uint32_t)(tsig.timesigned &
                                                    0xFFFFFFFF));
-               
+
        }
        if (!dns_tsigkey_empty(key) && tsig.error != dns_tsigerror_badsig) {
                unsigned char header[DNS_MESSAGE_HEADERLEN];
@@ -606,7 +606,7 @@ dns_tsig_verify(isc_buffer_t *source, dns_message_t *msg,
                if (ret != ISC_R_SUCCESS)
                        return (ret);
        }
-       
+
        /*
         * Do the key name and algorithm match that of the query?
         */
@@ -630,7 +630,7 @@ dns_tsig_verify(isc_buffer_t *source, dns_message_t *msg,
                ret = ISC_R_NOTFOUND;
                if (ring1 != NULL)
                        ret = dns_tsigkey_find(&tsigkey, keyname,
-                                              &tsig.algorithm, ring1); 
+                                              &tsig.algorithm, ring1);
                if (ret == ISC_R_NOTFOUND && ring2 != NULL)
                        ret = dns_tsigkey_find(&tsigkey, keyname,
                                               &tsig.algorithm, ring2);
@@ -855,7 +855,7 @@ tsig_verify_tcp(isc_buffer_t *source, dns_message_t *msg) {
                ret = dns_rdata_tostruct(&rdata, &tsig, NULL);
                if (ret != ISC_R_SUCCESS)
                        goto cleanup_querystruct;
-       
+
                /*
                 * Do the key name and algorithm match that of the query?
                 */
@@ -1067,7 +1067,7 @@ isc_result_t
 dns_tsigkeyring_create(isc_mem_t *mctx, dns_tsig_keyring_t **ringp) {
        isc_result_t result;
        dns_tsig_keyring_t *ring;
-       
+
        REQUIRE(mctx != NULL);
        REQUIRE(ringp != NULL);
        REQUIRE(*ringp == NULL);
@@ -1075,7 +1075,7 @@ dns_tsigkeyring_create(isc_mem_t *mctx, dns_tsig_keyring_t **ringp) {
        ring = isc_mem_get(mctx, sizeof(dns_tsig_keyring_t));
        if (ring == NULL)
                return (ISC_R_NOMEMORY);
-               
+
        result = isc_rwlock_init(&ring->lock, 0, 0);
        if (result != ISC_R_SUCCESS) {
                UNEXPECTED_ERROR(__FILE__, __LINE__,
@@ -1083,7 +1083,7 @@ dns_tsigkeyring_create(isc_mem_t *mctx, dns_tsig_keyring_t **ringp) {
                                 isc_result_totext(result));
                return (ISC_R_UNEXPECTED);
        }
-       
+
        ring->keys = NULL;
        result = dns_rbt_create(mctx, free_tsignode, NULL, &ring->keys);
        if (result != ISC_R_SUCCESS) {
index 639fe82e278722cf26e22286bde3306045fa1060..f146d61d9e9a77b5dae16aa95c7842136c2dfc02 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: tsigconf.c,v 1.10 2000/07/27 09:46:44 tale Exp $ */
+/* $Id: tsigconf.c,v 1.11 2000/08/01 01:23:02 tale Exp $ */
 
 #include <config.h>
 
@@ -135,7 +135,7 @@ dns_tsigkeyring_fromconfig(dns_c_view_t *confview, dns_c_ctx_t *confctx,
                goto failure;
 
        if (confview != NULL) {
-               keylist = NULL; 
+               keylist = NULL;
                result = dns_c_view_getkeydefs(confview, &keylist);
                if (result == ISC_R_SUCCESS)
                        result = add_initial_keys(keylist, ring, mctx);
index 3c36a1742ae1eaad696b5e11f80be4cebea84738..72d491e7cf5bbe443a8072d000950cc943031715 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ttl.c,v 1.19 2000/07/27 09:46:45 tale Exp $ */
+/* $Id: ttl.c,v 1.20 2000/08/01 01:23:03 tale Exp $ */
 
 #include <config.h>
 
@@ -114,7 +114,7 @@ dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) {
        if (x == 1 && !verbose) {
                isc_region_t region;
                /*
-                * The unit letter is the last character in the 
+                * The unit letter is the last character in the
                 * used region of the buffer.
                 *
                 * toupper() does not need its argument to be masked of cast
index 408bec3815256aef60d971056fb9059fe69a92ef..c65bbe5193d8eb9fe24f478e2418e7035254daf9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: validator.c,v 1.70 2000/07/27 18:42:06 bwelling Exp $ */
+/* $Id: validator.c,v 1.71 2000/08/01 01:23:04 tale Exp $ */
 
 #include <config.h>
 
@@ -114,7 +114,7 @@ validator_done(dns_validator_t *val, isc_result_t result) {
        val->event->ev_action = val->action;
        val->event->ev_arg = val->arg;
        isc_task_sendanddetach(&task, (isc_event_t **)&val->event);
-       
+
 }
 
 static void
@@ -324,7 +324,7 @@ keyvalidated(isc_task_t *task, isc_event_t *event) {
                        goto out;
                }
        } else {
-               validator_log(val, ISC_LOG_DEBUG(3), 
+               validator_log(val, ISC_LOG_DEBUG(3),
                              "keyvalidated: got %s",
                              dns_result_totext(eresult));
                validator_done(val, eresult);
@@ -438,7 +438,7 @@ authvalidated(isc_task_t *task, isc_event_t *event) {
        validator_log(val, ISC_LOG_DEBUG(3), "in authvalidated");
        LOCK(&val->lock);
        if (eresult != ISC_R_SUCCESS) {
-               validator_log(val, ISC_LOG_DEBUG(3), 
+               validator_log(val, ISC_LOG_DEBUG(3),
                              "authvalidated: got %s",
                              dns_result_totext(eresult));
                result = nxtvalidate(val, ISC_TRUE);
@@ -486,7 +486,7 @@ negauthvalidated(isc_task_t *task, isc_event_t *event) {
                auth_nonpending(val->event->message);
                validator_done(val, ISC_R_SUCCESS);
        } else {
-               validator_log(val, ISC_LOG_DEBUG(3), 
+               validator_log(val, ISC_LOG_DEBUG(3),
                              "negauthvalidated: got %s",
                              dns_result_totext(eresult));
                validator_done(val, eresult);
@@ -547,7 +547,7 @@ nullkeyvalidated(isc_task_t *task, isc_event_t *event) {
  * Try to find a null zone key among those in 'rdataset'.  If found, build
  * a dst_key_t for it and point val->key at it.
  */
-static inline isc_boolean_t 
+static inline isc_boolean_t
 containsnullkey(dns_validator_t *val, dns_rdataset_t *rdataset) {
        isc_result_t result;
        dst_key_t *key = NULL;
@@ -586,7 +586,7 @@ containsnullkey(dns_validator_t *val, dns_rdataset_t *rdataset) {
  *
  * If val->key is non-NULL, this returns the next matching key.
  */
-static inline isc_result_t 
+static inline isc_result_t
 get_dst_key(dns_validator_t *val, dns_rdata_sig_t *siginfo,
            dns_rdataset_t *rdataset)
 {
@@ -923,13 +923,13 @@ validate(dns_validator_t *val, isc_boolean_t resume) {
                if (val->siginfo == NULL)
                        return (ISC_R_NOMEMORY);
                dns_rdata_tostruct(&rdata, val->siginfo, NULL);
-               
+
                /*
                 * At this point we could check that the signature algorithm
                 * was known and "sufficiently good".  For now, any algorithm
                 * is acceptable.
                 */
-               
+
                if (!resume) {
                        result = get_key(val, val->siginfo);
                        if (result == DNS_R_CONTINUE)
@@ -1089,7 +1089,7 @@ nxtvalidate(dns_validator_t *val, isc_boolean_t resume) {
                        if (result != ISC_R_SUCCESS)
                                return (result);
                        return (DNS_R_WAIT);
-                                                     
+
                }
        }
        if (result == ISC_R_NOMORE)
@@ -1204,7 +1204,7 @@ proveunsecure(dns_validator_t *val, isc_boolean_t resume) {
                                      "found keyset, looking for null key");
                        if (!containsnullkey(val, &val->frdataset))
                                continue;
-               
+
                        if (val->frdataset.trust >= dns_trust_secure) {
                                validator_log(val, ISC_LOG_DEBUG(3),
                                              "insecurity proof succeeded");
@@ -1286,7 +1286,7 @@ validator_start(isc_task_t *task, isc_event_t *event) {
        val = vevent->validator;
 
        validator_log(val, ISC_LOG_DEBUG(3), "starting");
-       
+
        LOCK(&val->lock);
 
        if (val->event->rdataset != NULL && val->event->sigrdataset != NULL) {
@@ -1299,7 +1299,7 @@ validator_start(isc_task_t *task, isc_event_t *event) {
                 */
                validator_log(val, ISC_LOG_DEBUG(3),
                              "attempting positive response validation");
-       
+
                result = validate(val, ISC_FALSE);
                if (result == DNS_R_NOVALIDSIG &&
                    (val->attributes & VALATTR_TRIEDVERIFY) == 0)
@@ -1318,7 +1318,7 @@ validator_start(isc_task_t *task, isc_event_t *event) {
                 */
                validator_log(val, ISC_LOG_DEBUG(3),
                              "attempting insecurity proof");
-       
+
                result = proveunsecure(val, ISC_FALSE);
        } else if (val->event->rdataset == NULL &&
                 val->event->sigrdataset == NULL)
@@ -1328,7 +1328,7 @@ validator_start(isc_task_t *task, isc_event_t *event) {
                 */
                validator_log(val, ISC_LOG_DEBUG(3),
                              "attempting negative response validation");
-       
+
                result = nxtvalidate(val, ISC_FALSE);
        } else {
                /*
@@ -1423,7 +1423,7 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
  cleanup_val:
        dns_view_detach(&val->view);
        isc_mem_put(view->mctx, val, sizeof *val);
-       
+
        return (result);
 }
 
@@ -1519,7 +1519,7 @@ validator_logv(dns_validator_t *val, isc_logcategory_t *category,
                char typebuf[256];
                isc_buffer_t b;
                isc_region_t r;
-               
+
                dns_name_format(val->event->name, namebuf, sizeof(namebuf));
 
                isc_buffer_init(&b, (unsigned char *)typebuf, sizeof(typebuf));
@@ -1536,7 +1536,7 @@ validator_logv(dns_validator_t *val, isc_logcategory_t *category,
        } else {
                isc_log_write(dns_lctx, category, module, level,
                              "validator @%p: %s", val, msgbuf);
-               
+
        }
 }
 
index ec7f811b032c3f835228e3f9df24ef4b0e0f7b30..52d15b41f2832f0e652559277566fb9afa7193a4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.c,v 1.7 2000/07/27 09:46:47 tale Exp $ */
+/* $Id: version.c,v 1.8 2000/08/01 01:23:05 tale Exp $ */
 
 char dns_version[] = VERSION;
 
index 7658208e53124c9c424a9387d88cfa768f089ff1..56f360783ade19f0a05a56938434fc7b367cdd34 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: view.c,v 1.73 2000/07/31 21:06:59 explorer Exp $ */
+/* $Id: view.c,v 1.74 2000/08/01 01:23:06 tale Exp $ */
 
 #include <config.h>
 
@@ -136,7 +136,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
 
        /*
         * Initialize configuration data with default values.
-        */     
+        */
        view->recursion = ISC_TRUE;
        view->auth_nxdomain = ISC_FALSE; /* Was true in BIND 8 */
        view->additionalfromcache = ISC_TRUE;
@@ -164,20 +164,20 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
                       DNS_EVENT_VIEWREQSHUTDOWN, req_shutdown,
                       view, NULL, NULL, NULL);
        view->magic = DNS_VIEW_MAGIC;
-       
+
        *viewp = view;
 
        return (ISC_R_SUCCESS);
 
  cleanup_dynkeys:
-       dns_tsigkeyring_destroy(&view->dynamickeys);    
+       dns_tsigkeyring_destroy(&view->dynamickeys);
 
  cleanup_trustedkeys:
        dns_keytable_detach(&view->trustedkeys);
 
  cleanup_secroots:
        dns_keytable_detach(&view->secroots);
-       
+
  cleanup_zt:
        dns_zt_detach(&view->zonetable);
 
@@ -207,9 +207,9 @@ destroy(dns_view_t *view) {
 
        if (view->peers != NULL)
                dns_peerlist_detach(&view->peers);
-       if (view->dynamickeys != NULL)  
+       if (view->dynamickeys != NULL)
                dns_tsigkeyring_destroy(&view->dynamickeys);
-       if (view->statickeys != NULL)   
+       if (view->statickeys != NULL)
                dns_tsigkeyring_destroy(&view->statickeys);
        if (view->adb != NULL)
                dns_adb_detach(&view->adb);
@@ -339,13 +339,13 @@ static void
 resolver_shutdown(isc_task_t *task, isc_event_t *event) {
        dns_view_t *view = event->ev_arg;
        isc_boolean_t done;
-       
+
        REQUIRE(event->ev_type == DNS_EVENT_VIEWRESSHUTDOWN);
        REQUIRE(DNS_VIEW_VALID(view));
        REQUIRE(view->task == task);
 
        UNUSED(task);
-       
+
        LOCK(&view->lock);
 
        view->attributes |= DNS_VIEWATTR_RESSHUTDOWN;
@@ -363,13 +363,13 @@ static void
 adb_shutdown(isc_task_t *task, isc_event_t *event) {
        dns_view_t *view = event->ev_arg;
        isc_boolean_t done;
-       
+
        REQUIRE(event->ev_type == DNS_EVENT_VIEWADBSHUTDOWN);
        REQUIRE(DNS_VIEW_VALID(view));
        REQUIRE(view->task == task);
 
        UNUSED(task);
-       
+
        LOCK(&view->lock);
 
        view->attributes |= DNS_VIEWATTR_ADBSHUTDOWN;
@@ -387,13 +387,13 @@ static void
 req_shutdown(isc_task_t *task, isc_event_t *event) {
        dns_view_t *view = event->ev_arg;
        isc_boolean_t done;
-       
+
        REQUIRE(event->ev_type == DNS_EVENT_VIEWREQSHUTDOWN);
        REQUIRE(DNS_VIEW_VALID(view));
        REQUIRE(view->task == task);
 
        UNUSED(task);
-       
+
        LOCK(&view->lock);
 
        view->attributes |= DNS_VIEWATTR_REQSHUTDOWN;
@@ -543,7 +543,7 @@ dns_view_addzone(dns_view_t *view, dns_zone_t *zone) {
 
 void
 dns_view_freeze(dns_view_t *view) {
-       
+
        /*
         * Freeze view.
         */
index 3327f390bc24a03be14bc771e8291835fd10981e..452a1a8e578819e298040f06f7374d2bb6c865f3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: xfrin.c,v 1.86 2000/07/27 09:46:50 tale Exp $ */
+/* $Id: xfrin.c,v 1.87 2000/08/01 01:23:07 tale Exp $ */
 
 #include <config.h>
 
@@ -99,7 +99,7 @@ struct dns_xfrin_ctx {
        int                     sends;          /* Send in progress */
        int                     recvs;          /* Receive in progress */
        isc_boolean_t           shuttingdown;
-       
+
        dns_name_t              name;           /* Name of zone to transfer */
        dns_rdataclass_t        rdclass;
 
@@ -126,7 +126,7 @@ struct dns_xfrin_ctx {
        dns_dbversion_t         *ver;
        dns_diff_t              diff;           /* Pending database changes */
        int                     difflen;        /* Number of pending tuples */
-       
+
        xfrin_state_t           state;
        isc_uint32_t            end_serial;
        isc_boolean_t           is_ixfr;
@@ -141,20 +141,20 @@ struct dns_xfrin_ctx {
 
        /*
         * AXFR- and IXFR-specific data.  Only one is used at a time
-        * according to the is_ixfr flag, so this could be a union, 
-        * but keeping them separate makes it a bit simpler to clean 
+        * according to the is_ixfr flag, so this could be a union,
+        * but keeping them separate makes it a bit simpler to clean
         * things up when destroying the context.
         */
        struct {
                dns_addrdatasetfunc_t add_func;
                dns_dbload_t          *add_private;
        } axfr;
-       
+
        struct {
                isc_uint32_t    request_serial;
                isc_uint32_t    end_serial;
                dns_journal_t   *journal;
-               
+
        } ixfr;
 };
 
@@ -215,7 +215,7 @@ static isc_result_t
 render(dns_message_t *msg, isc_buffer_t *buf);
 
 static void
-xfrin_logv(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr, 
+xfrin_logv(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr,
           const char *fmt, va_list ap);
 static void
 xfrin_log1(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr,
@@ -313,7 +313,7 @@ ixfr_init(dns_xfrin_ctx_t *xfr) {
        isc_result_t result;
 
        if (xfr->reqtype != dns_rdatatype_ixfr) {
-               xfrin_log(xfr, ISC_LOG_ERROR, 
+               xfrin_log(xfr, ISC_LOG_ERROR,
                          "got incremental response to AXFR request");
                return (DNS_R_FORMERR);
        }
@@ -443,7 +443,7 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl,
                }
                xfr->state = XFRST_FIRSTDATA;
                break;
-               
+
        case XFRST_FIRSTDATA:
                /*
                 * If the transfer begins with one SOA record, it is an AXFR,
@@ -469,7 +469,7 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl,
                CHECK(ixfr_putdata(xfr, DNS_DIFFOP_DEL, name, ttl, rdata));
                xfr->state = XFRST_IXFR_DEL;
                break;
-               
+
        case XFRST_IXFR_DEL:
                if (rdata->type == dns_rdatatype_soa) {
                        isc_uint32_t soa_serial = dns_soa_getserial(rdata);
@@ -479,13 +479,13 @@ xfr_rr(dns_xfrin_ctx_t *xfr, dns_name_t *name, isc_uint32_t ttl,
                }
                CHECK(ixfr_putdata(xfr, DNS_DIFFOP_DEL, name, ttl, rdata));
                break;
-               
+
        case XFRST_IXFR_ADDSOA:
                INSIST(rdata->type == dns_rdatatype_soa);
                CHECK(ixfr_putdata(xfr, DNS_DIFFOP_ADD, name, ttl, rdata));
                xfr->state = XFRST_IXFR_ADD;
                break;
-               
+
        case XFRST_IXFR_ADD:
                if (rdata->type == dns_rdatatype_soa) {
                        isc_uint32_t soa_serial = dns_soa_getserial(rdata);
@@ -535,7 +535,7 @@ dns_xfrin_create(dns_zone_t *zone, dns_rdatatype_t xfrtype,
        REQUIRE(xfrp != NULL && *xfrp == NULL);
 
        (void)dns_zone_getdb(zone, &db);
-       
+
        CHECK(xfrin_create(mctx, zone, db, task, timermgr, socketmgr, zonename,
                           dns_zone_getclass(zone), xfrtype, masteraddr,
                           tsigkey, &xfr));
@@ -611,7 +611,7 @@ xfrin_create(isc_mem_t *mctx,
        isc_result_t result;
        isc_interval_t maxinterval, idleinterval;
        isc_time_t expires;
-       
+
        xfr = isc_mem_get(mctx, sizeof(*xfr));
        if (xfr == NULL)
                return (ISC_R_NOMEMORY);
@@ -629,7 +629,7 @@ xfrin_create(isc_mem_t *mctx,
        xfr->sends = 0;
        xfr->recvs = 0;
        xfr->shuttingdown = ISC_FALSE;
-       
+
        dns_name_init(&xfr->name, NULL);
        xfr->rdclass = rdclass;
        xfr->reqtype = reqtype;
@@ -670,11 +670,11 @@ xfrin_create(isc_mem_t *mctx,
        xfr->axfr.add_private = NULL;
 
        CHECK(dns_name_dup(zonename, mctx, &xfr->name));
-       
+
        isc_interval_set(&maxinterval, dns_zone_getmaxxfrin(xfr->zone), 0);
        CHECK(isc_time_nowplusinterval(&expires, &maxinterval));
        isc_interval_set(&idleinterval, dns_zone_getidlein(xfr->zone), 0);
-       
+
        CHECK(isc_timer_create(timermgr, isc_timertype_once,
                               &expires, &idleinterval, task,
                               xfrin_timeout, xfr, &xfr->timer));
@@ -691,14 +691,14 @@ xfrin_create(isc_mem_t *mctx,
        default:
                INSIST(0);
        }
-       
+
        isc_buffer_init(&xfr->qbuffer, xfr->qbuffer_data,
                        sizeof(xfr->qbuffer_data));
 
        xfr->magic = XFRIN_MAGIC;
        *xfrp = xfr;
        return (ISC_R_SUCCESS);
-       
+
  failure:
        xfrin_fail(xfr, result, "creating transfer context");
        return (result);
@@ -760,17 +760,17 @@ xfrin_connect_done(isc_task_t *task, isc_event_t *event) {
                maybe_free(xfr);
                return;
        }
-       
+
        CHECK(evresult);
        xfrin_log(xfr, ISC_LOG_DEBUG(3), "connected");
-       
+
        dns_tcpmsg_init(xfr->mctx, xfr->socket, &xfr->tcpmsg);
        xfr->tcpmsg_valid = ISC_TRUE;
 
        CHECK(xfrin_send_request(xfr));
  failure:
        if (result != ISC_R_SUCCESS)
-               xfrin_fail(xfr, result, "connect"); 
+               xfrin_fail(xfr, result, "connect");
 }
 
 /*
@@ -791,7 +791,7 @@ tuple2msgname(dns_difftuple_t *tuple, dns_message_t *msg, dns_name_t **target)
        CHECK(dns_message_gettemprdata(msg, &rdata));
        dns_rdata_init(rdata);
        *rdata = tuple->rdata; /* Struct assignment. */
-       
+
        CHECK(dns_message_gettemprdatalist(msg, &rdl));
        dns_rdatalist_init(rdl);
        rdl->type = tuple->rdata.type;
@@ -812,7 +812,7 @@ tuple2msgname(dns_difftuple_t *tuple, dns_message_t *msg, dns_name_t **target)
  failure:
        return (result);
 }
-               
+
 
 /*
  * Build an *XFR request and send its length prefix.
@@ -844,7 +844,7 @@ xfrin_send_request(dns_xfrin_ctx_t *xfr) {
        dns_rdataset_init(qrdataset);
        dns_rdataset_makequestion(qrdataset, xfr->rdclass, xfr->reqtype);
        ISC_LIST_APPEND(qname->list, qrdataset, link);
-       
+
        dns_message_addname(msg, qname, DNS_SECTION_QUESTION);
 
        if (xfr->reqtype == dns_rdatatype_ixfr) {
@@ -914,13 +914,13 @@ xfrin_sendlen_done(isc_task_t *task, isc_event_t *event) {
 
        INSIST(event->ev_type == ISC_SOCKEVENT_SENDDONE);
        isc_event_free(&event);
-       
+
        xfr->sends--;
        if (xfr->shuttingdown) {
                maybe_free(xfr);
                return;
        }
-       
+
        xfrin_log(xfr, ISC_LOG_DEBUG(3), "sent request length prefix");
        CHECK(evresult);
 
@@ -946,7 +946,7 @@ xfrin_send_done(isc_task_t *task, isc_event_t *event) {
 
        INSIST(event->ev_type == ISC_SOCKEVENT_SENDDONE);
 
-       xfr->sends--;   
+       xfr->sends--;
        xfrin_log(xfr, ISC_LOG_DEBUG(3), "sent request data");
        CHECK(sev->result);
 
@@ -972,11 +972,11 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
        REQUIRE(VALID_XFRIN(xfr));
 
        UNUSED(task);
-       
+
        INSIST(ev->ev_type == DNS_EVENT_TCPMSG);
        tcpmsg = ev->ev_sender;
        isc_event_free(&ev);
-       
+
        xfr->recvs--;
        if (xfr->shuttingdown) {
                maybe_free(xfr);
@@ -989,7 +989,7 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
                  tcpmsg->buffer.used);
 
        CHECK(isc_timer_touch(xfr->timer));
-       
+
        CHECK(dns_message_create(xfr->mctx, DNS_MESSAGE_INTENTPARSE, &msg));
 
        dns_message_settsigkey(msg, xfr->tsigkey);
@@ -1027,7 +1027,7 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
             result = dns_message_nextname(msg, DNS_SECTION_ANSWER))
        {
                dns_rdataset_t *rds;
-               
+
                name = NULL;
                dns_message_currentname(msg, DNS_SECTION_ANSWER, &name);
                if (!dns_name_issubdomain(name, &xfr->name)) {
@@ -1084,7 +1084,7 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
         * Update the number of messages received.
         */
        xfr->nmsg++;
-       
+
        /*
         * Copy the context back.
         */
@@ -1119,7 +1119,7 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
                xfr->recvs++;
        }
        return;
-       
+
  failure:
        if (msg != NULL)
                dns_message_destroy(&msg);
@@ -1178,28 +1178,28 @@ maybe_free(dns_xfrin_ctx_t *xfr) {
 
        if (xfr->tcpmsg_valid)
                dns_tcpmsg_invalidate(&xfr->tcpmsg);
-       
+
        if ((xfr->name.attributes & DNS_NAMEATTR_DYNAMIC) != 0)
                dns_name_free(&xfr->name, xfr->mctx);
 
        if (xfr->ver != NULL)
                dns_db_closeversion(xfr->db, &xfr->ver, ISC_FALSE);
 
-       if (xfr->db != NULL) 
+       if (xfr->db != NULL)
                dns_db_detach(&xfr->db);
 
        if (xfr->zone != NULL)
                dns_zone_detach(&xfr->zone);
-               
+
        isc_mem_put(xfr->mctx, xfr, sizeof(*xfr));
 }
 
 /*
  * Log incoming zone transfer messages in a format like
- * transfer of <zone> from <address>: <message> 
+ * transfer of <zone> from <address>: <message>
  */
 static void
-xfrin_logv(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr, 
+xfrin_logv(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr,
           const char *fmt, va_list ap)
 {
        char zntext[1024];
@@ -1210,7 +1210,7 @@ xfrin_logv(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr,
        isc_sockaddr_format(masteraddr, mastertext, sizeof(mastertext));
        vsnprintf(msgtext, sizeof(msgtext), fmt, ap);
 
-       isc_log_write(dns_lctx, DNS_LOGCATEGORY_XFER_IN, 
+       isc_log_write(dns_lctx, DNS_LOGCATEGORY_XFER_IN,
                      DNS_LOGMODULE_XFER_IN, level,
                      "transfer of '%s' from %s: %s",
                      zntext, mastertext, msgtext);
@@ -1221,7 +1221,7 @@ xfrin_logv(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr,
  */
 
 static void
-xfrin_log1(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr, 
+xfrin_log1(int level, dns_name_t *zonename, isc_sockaddr_t *masteraddr,
           const char *fmt, ...)
 {
         va_list ap;
index 09623310b69817f542715b0f384d8bbadb17ec1e..03e8847df755a13e7c72a4739d4f28aa79df74e3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.171 2000/07/28 20:13:47 bwelling Exp $ */
+/* $Id: zone.c,v 1.172 2000/08/01 01:23:09 tale Exp $ */
 
 #include <config.h>
 
@@ -163,13 +163,13 @@ struct dns_zone {
        isc_uint32_t            sigvalidityinterval;
        dns_view_t              *view;
        /*
-        * Zones in certain states such as "waiting for zone transfer" 
+        * Zones in certain states such as "waiting for zone transfer"
         * or "zone transfer in progress" are kept on per-state linked lists
         * in the zone manager using the 'statelink' field.  The 'statelist'
         * field points at the list the zone is currently on.  It the zone
         * is not on any such list, statelist is NULL.
         */
-       ISC_LINK(dns_zone_t)    statelink;      
+       ISC_LINK(dns_zone_t)    statelink;
        dns_zonelist_t          *statelist;
 };
 
@@ -184,7 +184,7 @@ struct dns_zone {
 #define DNS_ZONEFLG_EXITING      0x00000040U     /* zone is being destroyed */
 #define DNS_ZONEFLG_EXPIRED      0x00000080U     /* zone has expired */
 #define DNS_ZONEFLG_NEEDREFRESH        0x00000100U     /* refresh check needed */
-#define DNS_ZONEFLG_UPTODATE   0x00000200U     /* zone contents are 
+#define DNS_ZONEFLG_UPTODATE   0x00000200U     /* zone contents are
                                                 * uptodate */
 #define DNS_ZONEFLG_NEEDNOTIFY 0x00000400U     /* need to send out notify
                                                 * messages */
@@ -212,7 +212,7 @@ struct dns_zonemgr {
        dns_zonelist_t          zones;
        dns_zonelist_t          waiting_for_xfrin;
        dns_zonelist_t          xfrin_in_progress;
-       
+
        /* Locked by conflock. */
        int                     transfersin;
        int                     transfersperns;
@@ -318,7 +318,7 @@ isc_result_t
 dns_zone_create(dns_zone_t **zonep, isc_mem_t *mctx) {
        isc_result_t result;
        dns_zone_t *zone;
-       
+
        REQUIRE(zonep != NULL && *zonep == NULL);
        REQUIRE(mctx != NULL);
 
@@ -393,7 +393,7 @@ dns_zone_create(dns_zone_t **zonep, isc_mem_t *mctx) {
        zone->view = NULL;
        ISC_LINK_INIT(zone, statelink);
        zone->statelist = NULL;
-       
+
        zone->magic = ZONE_MAGIC;
        ISC_EVENT_INIT(&zone->ctlevent, sizeof(zone->ctlevent), 0, NULL,
                       DNS_EVENT_ZONECONTROL, zone_shutdown, zone, zone,
@@ -423,12 +423,12 @@ zone_free(dns_zone_t *zone) {
                dns_request_destroy(&zone->request); /* XXXMPA */
 
        INSIST(zone->statelist == NULL);
-       
+
        if (zone->task != NULL)
                isc_task_detach(&zone->task);
        if (zone->zmgr)
                dns_zonemgr_releasezone(zone->zmgr, zone);
-       
+
        /* Unmanaged objects */
        if (zone->dbname != NULL)
                isc_mem_free(zone->mctx, zone->dbname);
@@ -546,7 +546,7 @@ dns_zone_setview(dns_zone_t *zone, dns_view_t *view) {
                dns_view_weakdetach(&zone->view);
        dns_view_weakattach(view, &zone->view);
 }
-     
+
 
 dns_view_t *
 dns_zone_getview(dns_zone_t *zone) {
@@ -554,7 +554,7 @@ dns_zone_getview(dns_zone_t *zone) {
 
        return (zone->view);
 }
-     
+
 
 isc_result_t
 dns_zone_setorigin(dns_zone_t *zone, dns_name_t *origin) {
@@ -599,7 +599,7 @@ default_journal(dns_zone_t *zone) {
        REQUIRE(DNS_ZONE_VALID(zone));
        REQUIRE(zone->dbname != NULL);
 
-       if (zone->journal != NULL) 
+       if (zone->journal != NULL)
                isc_mem_free(zone->mctx, zone->journal);
        len = strlen(zone->dbname) + sizeof ".jnl";     /* includes '\0' */
        zone->journal = isc_mem_allocate(zone->mctx, len);
@@ -794,7 +794,7 @@ dns_zone_load(dns_zone_t *zone) {
                        isc_time_t t;
 
                        result = isc_file_getmodtime(zone->dbname, &t);
-                                                    
+
                        if (result == ISC_R_SUCCESS)
                                zone->expiretime = isc_time_seconds(&t) +
                                                   zone->expire;
@@ -821,7 +821,7 @@ dns_zone_load(dns_zone_t *zone) {
                                                    sizeof(isc_event_t));
                dns_db_ondestroy(db, zone->task, &e);
        }
-#endif 
+#endif
 
        if (zone->db != NULL) {
                result = zone_replacedb(zone, db, ISC_FALSE);
@@ -831,7 +831,7 @@ dns_zone_load(dns_zone_t *zone) {
                dns_db_attach(db, &zone->db);
                zone->flags |= DNS_ZONEFLG_LOADED|DNS_ZONEFLG_NEEDNOTIFY;
        }
-       result = ISC_R_SUCCESS; 
+       result = ISC_R_SUCCESS;
 
  cleanup:
        UNLOCK(&zone->lock);
@@ -1011,19 +1011,19 @@ void
 dns_zone_detach(dns_zone_t **zonep) {
        dns_zone_t *zone;
        isc_boolean_t free_now = ISC_FALSE;
-       
+
        REQUIRE(zonep != NULL && DNS_ZONE_VALID(*zonep));
 
        zone = *zonep;
        LOCK(&zone->lock);
-       
+
        REQUIRE(zone->erefs > 0);
        zone->erefs--;
        if (zone->erefs == 0) {
                /*
                 * We just detached the last external reference.
                 */
-               if (zone->task != NULL) {       
+               if (zone->task != NULL) {
                        /*
                         * This zone is being managed.  Post
                         * its control event and let it clean
@@ -1257,7 +1257,7 @@ dns_zone_setalsonotify(dns_zone_t *zone, isc_sockaddr_t *notify,
        REQUIRE(DNS_ZONE_VALID(zone));
        REQUIRE((notify == NULL && count == 0) ||
                (notify != NULL && count != 0));
-       
+
        LOCK(&zone->lock);
        if (zone->notify != NULL) {
                isc_mem_put(zone->mctx, zone->notify,
@@ -1428,7 +1428,7 @@ dns_zone_getdb(dns_zone_t *zone, dns_db_t **dpb) {
 /*
  * Co-ordinates the starting of routine jobs.
  */
+
 void
 dns_zone_maintenance(dns_zone_t *zone) {
        const char me[] = "dns_zone_maintenance";
@@ -1441,13 +1441,13 @@ dns_zone_maintenance(dns_zone_t *zone) {
        /*
         * Configuring the view of this zone may have
         * failed, for example because the config file
-        * had a syntax error.  In that case, the view 
+        * had a syntax error.  In that case, the view
         * adb or resolver, and we had better not try
         * to do maintenance on it.
         */
        if (zone->view == NULL || zone->view->adb == NULL)
                return;
-       
+
        isc_stdtime_get(&now);
 
        /*
@@ -1457,7 +1457,7 @@ dns_zone_maintenance(dns_zone_t *zone) {
        case dns_zone_slave:
        case dns_zone_stub:
                LOCK(&zone->lock);
-               if (now >= zone->expiretime && 
+               if (now >= zone->expiretime &&
                    DNS_ZONE_FLAG(zone, DNS_ZONEFLG_LOADED)) {
                        zone_expire(zone);
                        zone->refreshtime = now;
@@ -1621,7 +1621,7 @@ zone_dump(dns_zone_t *zone) {
        int buflen;
        FILE *f = NULL;
        int n;
-       
+
        /*
         * 'zone' locked by caller.
         */
@@ -1792,7 +1792,7 @@ process_adb_event(isc_task_t *task, isc_event_t *ev) {
 
        notify = ev->ev_arg;
        REQUIRE(DNS_NOTIFY_VALID(notify));
-       INSIST(task == notify->zone->task);     
+       INSIST(task == notify->zone->task);
        result = ev->ev_type;
        isc_event_free(&ev);
        dns_zone_iattach(notify->zone, &zone);
@@ -2049,7 +2049,7 @@ dns_zone_notify(dns_zone_t *zone) {
                                     dns_rdatatype_none, 0, &soardset, NULL);
        if (result != ISC_R_SUCCESS)
                goto cleanup2;
-       
+
        /*
         * Find master server's name.
         */
@@ -2077,7 +2077,7 @@ dns_zone_notify(dns_zone_t *zone) {
                                     dns_rdatatype_none, 0, &nsrdset, NULL);
        if (result != ISC_R_SUCCESS)
                goto cleanup3;
-       
+
        result = dns_rdataset_first(&nsrdset);
        while (result == ISC_R_SUCCESS) {
                dns_rdataset_current(&nsrdset, &rdata);
@@ -2131,8 +2131,8 @@ dns_zone_notify(dns_zone_t *zone) {
  *** Private
  ***/
 
-static inline isc_result_t 
-save_nsrrset(dns_message_t *message, dns_name_t *name, 
+static inline isc_result_t
+save_nsrrset(dns_message_t *message, dns_name_t *name,
             dns_db_t *db, dns_dbversion_t *version)
 {
        dns_rdataset_t *nsrdataset = NULL;
@@ -2433,7 +2433,7 @@ refresh_callback(isc_task_t *task, isc_event_t *event) {
        isc_sockaddr_format(&zone->masteraddr, master, sizeof(master));
 
        isc_stdtime_get(&now);
-       
+
        if (revent->result != ISC_R_SUCCESS) {
                zone_log(zone, me, ISC_LOG_INFO, "failure for %s: %s",
                         master, dns_result_totext(revent->result));
@@ -2664,9 +2664,9 @@ queue_soa_query(dns_zone_t *zone) {
        /*
         * Attach so that we won't clean up
         * until the event is delivered.
-        */     
+        */
        dns_zone_iattach(zone, &dummy);
-       
+
        e->ev_arg = zone;
        e->ev_sender = NULL;
        result = isc_ratelimiter_enqueue(zone->zmgr->rl, zone->task, &e);
@@ -2752,7 +2752,7 @@ soa_query(isc_task_t *task, isc_event_t *event) {
                return;
        }
 
-       /* 
+       /*
         * XXX Optimisation: Create message when zone is setup and reuse.
         */
        result = create_query(zone, dns_rdatatype_soa, &message);
@@ -2778,7 +2778,7 @@ soa_query(isc_task_t *task, isc_event_t *event) {
                                                zone->view->dynamickeys);
        }
 
-       options = DNS_ZONE_FLAG(zone, DNS_ZONEFLG_USEVC) ? 
+       options = DNS_ZONE_FLAG(zone, DNS_ZONEFLG_USEVC) ?
                  DNS_REQUESTOPT_TCP : 0;
        result = dns_request_create(zone->view->requestmgr, message,
                                    &zone->masteraddr, options, key,
@@ -2886,7 +2886,7 @@ ns_query(dns_zone_t *zone, dns_rdataset_t *soardataset, dns_stub_t *stub) {
 
        }
 
-       /* 
+       /*
         * XXX Optimisation: Create message when zone is setup and reuse.
         */
        result = create_query(zone, dns_rdatatype_ns, &message);
@@ -2955,7 +2955,7 @@ zone_shutdown(isc_task_t *task, isc_event_t *event) {
        UNUSED(task);
        REQUIRE(DNS_ZONE_VALID(zone));
        INSIST(event->ev_type == DNS_EVENT_ZONECONTROL);
-       INSIST(zone->erefs == 0);       
+       INSIST(zone->erefs == 0);
        zone_log(zone, "zone_shutdown", ISC_LOG_DEBUG(3), "shutting down");
        LOCK(&zone->lock);
        zone->flags |= DNS_ZONEFLG_EXITING;
@@ -2972,7 +2972,7 @@ zone_shutdown(isc_task_t *task, isc_event_t *event) {
                RWUNLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
                zone->statelist = NULL;
        }
-       
+
        if (zone->xfr != NULL)
                dns_xfrin_shutdown(zone->xfr);
 
@@ -2996,7 +2996,7 @@ zone_shutdown(isc_task_t *task, isc_event_t *event) {
 
        if (zone->view != NULL)
                dns_view_weakdetach(&zone->view);
-           
+
        exit_check(zone);
 }
 
@@ -3012,7 +3012,7 @@ zone_timer(isc_task_t *task, isc_event_t *event) {
        /* XXX if we use a view, we need to lock its configuration, too. */
        dns_zone_maintenance(zone);
        dns_zonemgr_unlockconf(zone->zmgr, isc_rwlocktype_read);
-       
+
        isc_event_free(&event);
 }
 
@@ -3142,7 +3142,7 @@ notify_createmessage(dns_zone_t *zone, dns_message_t **messagep)
        dns_message_addname(message, tempname, DNS_SECTION_QUESTION);
        tempname = NULL;
        temprdataset = NULL;
-       
+
        /*
         * If the zone is dialup we are done as we don't want to send
         * the current soa so as to force a refresh query.
@@ -3265,7 +3265,7 @@ dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
         * against the zones serial and return if <= current serial
         *
         * If a refresh check is progress, if so just record the
-        * fact we received a NOTIFY and from where and return. 
+        * fact we received a NOTIFY and from where and return.
         * We will perform a new refresh check when the current one
         * completes. Return ISC_R_SUCCESS.
         *
@@ -3323,7 +3323,7 @@ dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
                result = dns_message_findname(msg, DNS_SECTION_ANSWER,
                                              &zone->origin,
                                              dns_rdatatype_soa,
-                                             dns_rdatatype_none, NULL, 
+                                             dns_rdatatype_none, NULL,
                                              &rdataset);
                if (result == ISC_R_SUCCESS)
                        result = dns_rdataset_first(rdataset);
@@ -3341,7 +3341,7 @@ dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
                                        return (ISC_R_SUCCESS);
                                }
                        }
-               } 
+               }
        }
 
        /*
@@ -3477,7 +3477,7 @@ dns_zone_getchecknames(dns_zone_t *zone) {
 
 void
 dns_zone_setjournalsize(dns_zone_t *zone, isc_int32_t size) {
-       
+
        REQUIRE(DNS_ZONE_VALID(zone));
 
        zone->journalsize = size;
@@ -3485,7 +3485,7 @@ dns_zone_setjournalsize(dns_zone_t *zone, isc_int32_t size) {
 
 isc_int32_t
 dns_zone_getjournalsize(dns_zone_t *zone) {
-       
+
        REQUIRE(DNS_ZONE_VALID(zone));
 
        return (zone->journalsize);
@@ -3534,7 +3534,7 @@ message_count(dns_message_t *msg, dns_section_t section, dns_rdatatype_t type)
                name = NULL;
                dns_message_currentname(msg, section, &name);
 
-               for (curr = ISC_LIST_TAIL(name->list); curr != NULL; 
+               for (curr = ISC_LIST_TAIL(name->list); curr != NULL;
                     curr = ISC_LIST_PREV(curr, link)) {
                        if (curr->type == type)
                                count++;
@@ -3648,7 +3648,7 @@ notify_done(isc_task_t *task, isc_event_t *event) {
         const char me[] = "notify_done";
        dns_notify_t *notify;
        dns_zone_t *zone = NULL;
-       
+
        UNUSED(task);
 
        notify = event->ev_arg;
@@ -3751,7 +3751,7 @@ dns_zone_equal(dns_zone_t *oldzone, dns_zone_t *newzone) {
 isc_result_t
 dns_zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
        isc_result_t result;
-       
+
        REQUIRE(DNS_ZONE_VALID(zone));
        LOCK(&zone->lock);
        result = zone_replacedb(zone, db, dump);
@@ -3770,7 +3770,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
        dns_db_currentversion(db, &ver);
 
        /*
-        * The initial version of a slave zone is always dumped; 
+        * The initial version of a slave zone is always dumped;
         * subsequent versions may be journalled instead if this
         * is enabled in the configuration.
         */
@@ -3815,13 +3815,13 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
        isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
                      DNS_LOGMODULE_ZONE, ISC_LOG_DEBUG(3),
                      "replacing zone database");
-       
+
        if (zone->db != NULL)
                dns_db_detach(&zone->db);
        dns_db_attach(db, &zone->db);
        zone->flags |= DNS_ZONEFLG_LOADED|DNS_ZONEFLG_NEEDNOTIFY;
        return (ISC_R_SUCCESS);
-       
+
  fail:
        dns_db_closeversion(db, &ver, ISC_FALSE);
        return (result);
@@ -3906,7 +3906,7 @@ zone_xfrdone(dns_zone_t *zone, isc_result_t result) {
                        zone->refreshtime = now + zone->refresh;
                        zone->expiretime = now + zone->expire;
                }
-       
+
                break;
 
        default:
@@ -3936,13 +3936,13 @@ zone_xfrdone(dns_zone_t *zone, isc_result_t result) {
         * This transfer finishing freed up a transfer quota slot.
         * Let any zones waiting for quota have it.
         */
-       RWLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);      
+       RWLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
        ISC_LIST_UNLINK(zone->zmgr->xfrin_in_progress, zone, statelink);
        zone->statelist = NULL;
        if (!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_EXITING))
                zmgr_resume_xfrs(zone->zmgr);
        RWUNLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write);
-       
+
        /*
         * Retry with a different server if necessary.
         */
@@ -3967,14 +3967,14 @@ dns_zone_setssutable(dns_zone_t *zone, dns_ssutable_t *table) {
 
 void
 dns_zone_setsigvalidityinterval(dns_zone_t *zone, isc_uint32_t interval) {
-       REQUIRE(DNS_ZONE_VALID(zone));     
+       REQUIRE(DNS_ZONE_VALID(zone));
 
        zone->sigvalidityinterval = interval;
 }
 
 isc_uint32_t
 dns_zone_getsigvalidityinterval(dns_zone_t *zone) {
-       REQUIRE(DNS_ZONE_VALID(zone));          
+       REQUIRE(DNS_ZONE_VALID(zone));
 
        return (zone->sigvalidityinterval);
 }
@@ -3989,11 +3989,11 @@ queue_xfrin(dns_zone_t *zone) {
 
        INSIST(zone->statelist == NULL);
 
-       RWLOCK(&zmgr->rwlock, isc_rwlocktype_write);    
+       RWLOCK(&zmgr->rwlock, isc_rwlocktype_write);
        ISC_LIST_APPEND(zmgr->waiting_for_xfrin, zone, statelink);
        zone->statelist = &zmgr->waiting_for_xfrin;
        result = zmgr_start_xfrin_ifquota(zmgr, zone);
-       RWUNLOCK(&zmgr->rwlock, isc_rwlocktype_write);  
+       RWUNLOCK(&zmgr->rwlock, isc_rwlocktype_write);
 
        if (result == ISC_R_QUOTA) {
                zone_log(zone, me, ISC_LOG_DEBUG(1),
@@ -4023,27 +4023,27 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) {
        isc_netaddr_t masterip;
        isc_boolean_t gotkey = ISC_FALSE;
        dns_view_t *view = NULL;
-       
+
        UNUSED(task);
-       
+
        INSIST(task == zone->task);
 
        if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_EXITING)) {
                result = ISC_R_CANCELED;
                goto cleanup;
        }
-       
+
        isc_sockaddr_format(&zone->masteraddr, mastertext, sizeof(mastertext));
-       
+
        isc_netaddr_fromsockaddr(&masterip, &zone->masteraddr);
        (void)dns_peerlist_peerbyaddr(zone->view->peers,
                                      &masterip, &peer);
-       
+
        /*
         * Decide whether we should request IXFR or AXFR.
         */
        if (zone->db == NULL) {
-               zone_log(zone, me, ISC_LOG_DEBUG(3), 
+               zone_log(zone, me, ISC_LOG_DEBUG(3),
                         "no database exists yet, requesting AXFR of "
                         "initial version from %s", mastertext);
                xfrtype = dns_rdatatype_axfr;
@@ -4052,7 +4052,7 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) {
                if (peer != NULL &&
                    dns_peer_getrequestixfr(peer, &use_ixfr) ==
                    ISC_R_SUCCESS) {
-                       ; /* Using peer setting */ 
+                       ; /* Using peer setting */
                } else {
                        use_ixfr = zone->view->requestixfr;
                }
@@ -4060,7 +4060,7 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) {
                        zone_log(zone, me, ISC_LOG_DEBUG(3),
                                 "IXFR disabled, requesting AXFR from %s",
                                 mastertext);
-                       xfrtype = dns_rdatatype_axfr;                   
+                       xfrtype = dns_rdatatype_axfr;
                } else {
                        zone_log(zone, me, ISC_LOG_DEBUG(3),
                                 "requesting IXFR from %s",
@@ -4121,7 +4121,7 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) {
 
        if (tsigkey != NULL)
                dns_tsigkey_detach(&tsigkey);
-       
+
        isc_event_free(&event);
 
        dns_zone_detach(&zone); /* XXXAG */
@@ -4130,7 +4130,7 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) {
 }
 
 /***
- ***   Zone manager. 
+ ***   Zone manager.
  ***/
 
 isc_result_t
@@ -4176,9 +4176,9 @@ dns_zonemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
 
        zmgr->transfersin = 10;
        zmgr->transfersperns = 2;
-       
+
        /* Create the zone task pool. */
-       result = isc_taskpool_create(taskmgr, mctx, 
+       result = isc_taskpool_create(taskmgr, mctx,
                                     8 /* XXX */, 0, &zmgr->zonetasks);
        if (result != ISC_R_SUCCESS)
                goto free_conflock;
@@ -4205,7 +4205,7 @@ dns_zonemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
  free_task:
        isc_task_detach(&zmgr->task);
  free_taskpool:
-       isc_taskpool_destroy(&zmgr->zonetasks); 
+       isc_taskpool_destroy(&zmgr->zonetasks);
  free_conflock:
        isc_rwlock_destroy(&zmgr->conflock);
  free_rwlock:
@@ -4219,7 +4219,7 @@ dns_zonemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
 isc_result_t
 dns_zonemgr_managezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
        isc_result_t result;
-       
+
        REQUIRE(DNS_ZONE_VALID(zone));
        REQUIRE(DNS_ZONEMGR_VALID(zmgr));
 
@@ -4256,7 +4256,7 @@ dns_zonemgr_managezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
 
  cleanup_task:
        isc_task_detach(&zone->task);
-       
+
  unlock:
        UNLOCK(&zone->lock);
        RWUNLOCK(&zmgr->rwlock, isc_rwlocktype_write);
@@ -4266,7 +4266,7 @@ dns_zonemgr_managezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
 void
 dns_zonemgr_releasezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
        isc_boolean_t free_now = ISC_FALSE;
-       
+
        REQUIRE(DNS_ZONE_VALID(zone));
        REQUIRE(DNS_ZONEMGR_VALID(zmgr));
        REQUIRE(zone->zmgr == zmgr);
@@ -4279,7 +4279,7 @@ dns_zonemgr_releasezone(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
        zmgr->refs--;
        if (zmgr->refs == 0)
                free_now = ISC_TRUE;
-       
+
        UNLOCK(&zone->lock);
        RWUNLOCK(&zmgr->rwlock, isc_rwlocktype_write);
 
@@ -4305,7 +4305,7 @@ void
 dns_zonemgr_detach(dns_zonemgr_t **zmgrp) {
        dns_zonemgr_t *zmgr;
        isc_boolean_t free_now = ISC_FALSE;
-       
+
        REQUIRE(zmgrp != NULL);
        zmgr = *zmgrp;
        REQUIRE(DNS_ZONEMGR_VALID(zmgr));
@@ -4420,7 +4420,7 @@ static void
 zmgr_resume_xfrs(dns_zonemgr_t *zmgr) {
        static char me[] = "zmgr_resume_xfrs";
        dns_zone_t *zone;
-       
+
        for (zone = ISC_LIST_HEAD(zmgr->waiting_for_xfrin);
             zone != NULL;
             zone = ISC_LIST_NEXT(zone, statelink))
@@ -4434,21 +4434,21 @@ zmgr_resume_xfrs(dns_zonemgr_t *zmgr) {
                        break;
                } else if (result == ISC_R_QUOTA) {
                        /*
-                        * Not enough quota.  This is probably the per-server 
-                        * quota, because we only get called when a unit of 
-                        * global quota has just been freed.  Try the next 
+                        * Not enough quota.  This is probably the per-server
+                        * quota, because we only get called when a unit of
+                        * global quota has just been freed.  Try the next
                         * zone, it may succeed if it uses another master.
                         */
                        continue;
                } else {
-                       zone_log(zone, me, ISC_LOG_DEBUG(3), 
+                       zone_log(zone, me, ISC_LOG_DEBUG(3),
                                 "starting zone transfer: %s",
                                 isc_result_totext(result));
                        break;
                }
        }
 }
-               
+
 /*
  * Try to start an incoming zone transfer for 'zone', quota permitting.
  *
@@ -4489,7 +4489,7 @@ zmgr_start_xfrin_ifquota(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
        if (peer != NULL)
                (void)dns_peer_gettransfers(peer, &maxtransfersperns);
 
-       /* 
+       /*
         * Count the total number of transfers that are in progress,
         * and the number of transfers in progress from this master.
         * We linearly scan a list of all transfers; if this turns
@@ -4541,7 +4541,7 @@ zmgr_start_xfrin_ifquota(dns_zonemgr_t *zmgr, dns_zone_t *zone) {
        zone->erefs++;
        isc_task_send(zone->task, &e);
        UNLOCK(&zone->lock);
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -4554,7 +4554,7 @@ dns_zonemgr_dbdestroyed(isc_task_t *task, isc_event_t *event) {
        UNUSED(task);
 
        isc_event_free(&event);
-       
+
        isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
                      DNS_LOGMODULE_ZONE, ISC_LOG_INFO,
                      "database (%p) destroyed", (void*) db);
index 9353903cf7538e050e8c4d22174cfba5f8a4873b..237bad5d2fab0c24da77de0b30c5047e5a936fb3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zoneconf.c,v 1.50 2000/07/31 19:36:48 explorer Exp $ */
+/* $Id: zoneconf.c,v 1.51 2000/08/01 01:23:10 tale Exp $ */
 
 #include <config.h>
 
@@ -199,7 +199,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
 
                } else
                        RETERR(dns_zone_setalsonotify(zone, NULL, 0));
-               
+
                RETERR(configure_zone_acl(czone, cctx, cview, ac, zone,
                                          dns_c_zone_getallowtransfer,
                                          dns_c_view_gettransferacl,
@@ -219,10 +219,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setmaxxfrout(zone, uintval);
 
                result = dns_c_zone_getmaxtransidleout(czone, &uintval);
-               if (result != ISC_R_SUCCESS && cview != NULL) 
+               if (result != ISC_R_SUCCESS && cview != NULL)
                        result = dns_c_view_getmaxtransferidleout(cview,
                                                                  &uintval);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getmaxtransferidleout(cctx,
                                                                 &uintval);
                if (result != ISC_R_SUCCESS)
@@ -280,13 +280,13 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
 #else /* NOMINUM_PUBLIC */
                        result = dns_zone_setmasters(zone, iplist->ips,
                                                     iplist->nextidx);
-#endif /* NOMINUM_PUBLIC */                
+#endif /* NOMINUM_PUBLIC */
                else
                        result = dns_zone_setmasters(zone, NULL, 0);
                RETERR(result);
 
                result = dns_c_zone_getmaxtranstimein(czone, &uintval);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getmaxtransfertimein(cctx,
                                                                &uintval);
                if (result != ISC_R_SUCCESS)
@@ -294,7 +294,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setmaxxfrin(zone, uintval);
 
                result = dns_c_zone_getmaxtransidlein(czone, &uintval);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_getmaxtransferidlein(cctx,
                                                                &uintval);
                if (result != ISC_R_SUCCESS)
@@ -312,10 +312,10 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setxfrsource4(zone, &sockaddr);
 
                result = dns_c_zone_gettransfersourcev6(czone, &sockaddr);
-               if (result != ISC_R_SUCCESS && cview != NULL) 
+               if (result != ISC_R_SUCCESS && cview != NULL)
                        result = dns_c_view_gettransfersourcev6(cview,
                                                                &sockaddr);
-               if (result != ISC_R_SUCCESS) 
+               if (result != ISC_R_SUCCESS)
                        result = dns_c_ctx_gettransfersourcev6(cctx,
                                                               &sockaddr);
                if (result != ISC_R_SUCCESS)
@@ -323,7 +323,7 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_c_view_t *cview,
                dns_zone_setxfrsource6(zone, &sockaddr);
 
                break;
-               
+
        default:
                break;
        }
@@ -348,12 +348,12 @@ dns_zone_reusable(dns_zone_t *zone, dns_c_zone_t *czone) {
 
        return (ISC_TRUE);
 }
-       
+
 isc_result_t
 dns_zonemgr_configure(dns_c_ctx_t *cctx, dns_zonemgr_t *zmgr) {
        isc_uint32_t val;
        isc_result_t result;
-       
+
        result = dns_c_ctx_gettransfersin(cctx, &val);
        if (result != ISC_R_SUCCESS)
                val = 10;
index cc02aa2a3dd69f95df86be1de400a371bed95510..18215206748380823eb05605039bfd0a7ac7f6e0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zt.c,v 1.23 2000/07/27 09:46:54 tale Exp $ */
+/* $Id: zt.c,v 1.24 2000/08/01 01:23:12 tale Exp $ */
 
 #include <config.h>
 
@@ -181,7 +181,7 @@ dns_zt_detach(dns_zt_t **ztp) {
        zt = *ztp;
 
        RWLOCK(&zt->rwlock, isc_rwlocktype_write);
-       
+
        INSIST(zt->references > 0);
        zt->references--;
        if (zt->references == 0)
@@ -260,7 +260,7 @@ dns_zt_apply(dns_zt_t *zt, isc_boolean_t stop,
                /*
                 * The tree is empty.
                 */
-               result = ISC_R_NOMORE; 
+               result = ISC_R_NOMORE;
        }
        while (result == DNS_R_NEWORIGIN || result == ISC_R_SUCCESS) {
                result = dns_rbtnodechain_current(&chain, NULL, NULL,
@@ -292,6 +292,6 @@ auto_detach(void *data, void *arg) {
        dns_zone_t *zone = data;
 
        UNUSED(arg);
-       
+
        dns_zone_detach(&zone);
 }
index 31d20b5530ae4aa48093aa7c83a45f0cb68c0160..dfc74eb4356bf1a91e072b81db6a532c611655d8 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.63 2000/07/27 09:50:37 tale Exp $
+# $Id: Makefile.in,v 1.64 2000/08/01 01:29:12 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 73a64b145b936c7e970e342498d21a3289abc1b4..8011ca9d026bd6940520e3eecedbbc8f32196523 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: assertions.c,v 1.11 2000/07/27 09:50:38 tale Exp $ */
+/* $Id: assertions.c,v 1.12 2000/08/01 01:29:13 tale Exp $ */
 
 #include <config.h>
 
index afd038387ce4b1d7a851387169e312f19c9b24f4..d595c171f3fa50ac9a67f343169be992a3b19593 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: base64.c,v 1.17 2000/07/27 09:50:40 tale Exp $ */
+/* $Id: base64.c,v 1.18 2000/08/01 01:29:14 tale Exp $ */
 
 #include <config.h>
 
@@ -106,7 +106,7 @@ isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
        char *s;
        int n;
 
-       
+
        while (!seen_end && (length != 0)) {
                if (length > 0)
                        RETERR(gettoken(lexer, &token, isc_tokentype_string,
@@ -182,7 +182,7 @@ isc_base64_decodestring(isc_mem_t *mctx, char *cstr, isc_buffer_t *target) {
        if (result == ISC_R_SUCCESS) {
                isopen = ISC_TRUE;
                result = isc_base64_tobuffer(lex, target, -1);
-       }       
+       }
 
        if (isopen)
                (void)isc_lex_close(lex);
index c221f6e3e5c272b6044842fff444d957ea918858..4f6a609ded5de87c9ab009b905001eedc760bdc1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: bitstring.c,v 1.6 2000/07/27 09:50:41 tale Exp $ */
+/* $Id: bitstring.c,v 1.7 2000/08/01 01:29:15 tale Exp $ */
 
 #include <config.h>
 
@@ -102,7 +102,7 @@ isc_bitstring_copy(isc_bitstring_t *source, unsigned int sbitpos,
                tbitpos = PADDED(target->size) - tbitpos - 1;
                REQUIRE(tbitpos >= n - 1);
                tbitpos -= n - 1;
-       } else          
+       } else
                REQUIRE(tlast<= target->size);
 
        if (tlast > target->length)
index afac1c2d11350a47ae39357b199aff8d50e6cb0d..1c43589e677983028d80c7323820b536ef68b231 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: buffer.c,v 1.33 2000/07/27 09:50:42 tale Exp $ */
+/* $Id: buffer.c,v 1.34 2000/08/01 01:29:16 tale Exp $ */
 
 #include <config.h>
 
@@ -46,7 +46,7 @@ isc__buffer_invalidate(isc_buffer_t *b) {
        REQUIRE(ISC_BUFFER_VALID(b));
        REQUIRE(!ISC_LINK_LINKED(b, link));
        REQUIRE(b->mctx == NULL);
-       
+
        ISC__BUFFER_INVALIDATE(b);
 }
 
@@ -355,7 +355,7 @@ isc_buffer_copyregion(isc_buffer_t *b, isc_region_t *r) {
        REQUIRE(r != NULL);
 
        /*
-        * XXXDCL 
+        * XXXDCL
         */
        base = isc_buffer_used(b);
        available = isc_buffer_availablelength(b);
index 979a049d601c2daa3ecd7de325111a63f19ee82b..73b91f30c0d18ecc59150eb5ae174884c4403851 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: bufferlist.c,v 1.10 2000/07/27 09:50:43 tale Exp $ */
+/* $Id: bufferlist.c,v 1.11 2000/08/01 01:29:18 tale Exp $ */
 
 #include <config.h>
 
index 2fec57268d0d6d7083ad5687e3dc98c916f09f97..62bda7accce83446e0677b590286ee3a83435aff 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -48,7 +48,7 @@
  * SUCH DAMAGE.
  */
 
-/* $Id: commandline.c,v 1.9 2000/07/27 09:50:44 tale Exp $ */
+/* $Id: commandline.c,v 1.10 2000/08/01 01:29:19 tale Exp $ */
 
 /*
  * This file was adapted from the NetBSD project's source tree, RCS ID:
index e3cb36aee92b2eb49458bdb934f3d1c94e605eab..3f58a57c50bda4114a2bc11b216359d400acd2fe 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: error.c,v 1.12 2000/07/27 09:50:45 tale Exp $ */
+/* $Id: error.c,v 1.13 2000/08/01 01:29:20 tale Exp $ */
 
 #include <config.h>
 
index d1a5d13bcd3e843898d033c7a58f9cbab4e25f75..b4420d290416bcbf8a0b9db243f8cf42350229f4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: event.c,v 1.12 2000/07/27 09:50:46 tale Exp $ */
+/* $Id: event.c,v 1.13 2000/08/01 01:29:21 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -77,7 +77,7 @@ isc_event_allocate(isc_mem_t *mctx, void *sender, isc_eventtype_t type,
 void
 isc_event_free(isc_event_t **eventp) {
        isc_event_t *event;
-       
+
        REQUIRE(eventp != NULL);
        event = *eventp;
        REQUIRE(event != NULL);
index 440613858a976df1a59175a45ce2a556c4139da9..a713d879665fd7a7a452711ca986cb8bd1583d53 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: fsaccess.c,v 1.3 2000/07/27 09:50:48 tale Exp $ */
+/* $Id: fsaccess.c,v 1.4 2000/08/01 01:29:22 tale Exp $ */
 
 /*
  * This file contains the OS-independent functionality of the API.
index 39c3c41f5e429dcef657bcb0661202da0b8a0fd9..9c724f3d6d5fa96f8b6b56e787a5e2e14dd02559 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: heap.c,v 1.25 2000/07/27 09:50:49 tale Exp $ */
+/* $Id: heap.c,v 1.26 2000/08/01 01:29:23 tale Exp $ */
 
 /*
  * Heap implementation of priority queues adapted from the following:
@@ -94,7 +94,7 @@ isc_heap_create(isc_mem_t *mctx, isc_heapcompare_t compare,
        heap->index = index;
 
        *heapp = heap;
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -128,7 +128,7 @@ resize(isc_heap_t *heap) {
                return (ISC_FALSE);
        if (heap->array != NULL) {
                memcpy(new_array, heap->array, heap->size * sizeof (void *));
-               isc_mem_put(heap->mctx, heap->array, 
+               isc_mem_put(heap->mctx, heap->array,
                            heap->size * sizeof (void *));
        }
        heap->size = new_size;
@@ -141,7 +141,7 @@ static void
 float_up(isc_heap_t *heap, unsigned int i, void *elt) {
        unsigned int p;
 
-       for (p = heap_parent(i); 
+       for (p = heap_parent(i);
             i > 1 && heap->compare(elt, heap->array[p]);
             i = p, p = heap_parent(i)) {
                heap->array[i] = heap->array[p];
@@ -189,7 +189,7 @@ isc_heap_insert(isc_heap_t *heap, void *elt) {
        i = ++heap->last;
        if (heap->last >= heap->size && !resize(heap))
                return (ISC_R_NOMEMORY);
-       
+
        float_up(heap, i, elt);
 
        return (ISC_R_SUCCESS);
@@ -220,7 +220,7 @@ void
 isc_heap_increased(isc_heap_t *heap, unsigned int i) {
        REQUIRE(VALID_HEAP(heap));
        REQUIRE(i >= 1 && i <= heap->last);
-       
+
        float_up(heap, i, heap->array[i]);
 }
 
@@ -228,7 +228,7 @@ void
 isc_heap_decreased(isc_heap_t *heap, unsigned int i) {
        REQUIRE(VALID_HEAP(heap));
        REQUIRE(i >= 1 && i <= heap->last);
-       
+
        sink_down(heap, i, heap->array[i]);
 }
 
index 78cebb593642880e4cc5795b6e5d76a909adcd78..3341ba4fb0291a951091625e2cfafa3667e4369d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: hmacmd5.c,v 1.3 2000/07/27 09:50:50 tale Exp $ */
+/* $Id: hmacmd5.c,v 1.4 2000/08/01 01:29:24 tale Exp $ */
 
 /*
  * This code implements the HMAC-MD5 keyed hash algorithm
index 4e5b2f3696f6bce33e904967c86938007ed2e199..ccab7ff158d24a1816c8bc2a6d63605766d6112d 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.8 2000/07/27 09:51:22 tale Exp $
+# $Id: Makefile.in,v 1.9 2000/08/01 01:29:56 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index f61fd946e945176a94a95fde08b2bf148fcd534b..1cb186beca8ebaad9ad7b299b5f2a7d3aa4dfbbc 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.41 2000/07/27 09:51:23 tale Exp $
+# $Id: Makefile.in,v 1.42 2000/08/01 01:29:57 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 7ab563ef092c4b0db2073d297bf8c7421967e5e9..fbe31be27544ac16366c8376dea2e07ec21546cc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: assertions.h,v 1.12 2000/07/27 09:51:24 tale Exp $
+ * $Id: assertions.h,v 1.13 2000/08/01 01:29:58 tale Exp $
  */
 
 #ifndef ISC_ASSERTIONS_H
index 18973c01cb40b4251e694a75ab6e59b7630fb444..b8b7a0a061bda3ad64dac33615a6b5b70aeece49 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: base64.h,v 1.11 2000/07/27 09:51:25 tale Exp $ */
+/* $Id: base64.h,v 1.12 2000/08/01 01:29:59 tale Exp $ */
 
 #ifndef ISC_BASE64_H
 #define ISC_BASE64_H 1
@@ -36,7 +36,7 @@ isc_base64_totext(isc_region_t *source, int wordlength,
  * Convert data into base64 encoded text.
  *
  * Notes:
- *     The base64 encoded text in 'target' will be divided into 
+ *     The base64 encoded text in 'target' will be divided into
  *     words of at most 'wordlength' characters, separated by
  *     the 'wordbreak' string.  No parentheses will surround
  *     the text.
@@ -85,7 +85,7 @@ isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length);
  *     'length' is an integer
  *
  * Ensures:
- *     target will contain the data represented by the base64 encoded 
+ *     target will contain the data represented by the base64 encoded
  *     string parsed by the lexer.  No more than length bytes will be read,
  *     if length is positive.  The 'used' pointer in target will be
  *     advanced as necessary.
index cc215dca35c22a40a9bb742abef30b779440532f..ed798a7e624327de60d9bd065e52d0075ea27ce2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: bitstring.h,v 1.4 2000/07/27 09:51:26 tale Exp $ */
+/* $Id: bitstring.h,v 1.5 2000/08/01 01:30:00 tale Exp $ */
 
 #ifndef ISC_BITSTRING_H
 #define ISC_BITSTRING_H 1
index 9e09395a6e2ac855aa5911df0f9ebd35f4b56db7..4d53ff9b889d14d7bd7b08a6d2bc25d02417bcd3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: boolean.h,v 1.10 2000/07/27 09:51:27 tale Exp $ */
+/* $Id: boolean.h,v 1.11 2000/08/01 01:30:01 tale Exp $ */
 
 #ifndef ISC_BOOLEAN_H
 #define ISC_BOOLEAN_H 1
index 77ce1a05c057f945a83d681655b0e4c027fbf115..963e74d56ef129174267a99e1b80c3fbe5a40829 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: buffer.h,v 1.34 2000/07/27 09:51:28 tale Exp $ */
+/* $Id: buffer.h,v 1.35 2000/08/01 01:30:02 tale Exp $ */
 
 #ifndef ISC_BUFFER_H
 #define ISC_BUFFER_H 1
@@ -237,7 +237,7 @@ isc__buffer_invalidate(isc_buffer_t *b);
  *     If assertion checking is enabled, future attempts to use 'b' without
  *     calling isc_buffer_init() on it will cause an assertion failure.
  */
-               
+
 void
 isc__buffer_region(isc_buffer_t *b, isc_region_t *r);
 /*
index 1e3de3a557c37221fa7c8916932757564b58c2f6..92f8f2ae2c38e5f5a68b71608e0f9f5f4003279d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: bufferlist.h,v 1.8 2000/07/27 09:51:30 tale Exp $ */
+/* $Id: bufferlist.h,v 1.9 2000/08/01 01:30:04 tale Exp $ */
 
 #ifndef ISC_BUFFERLIST_H
 #define ISC_BUFFERLIST_H 1
index e15ad658b8ad38a495158bedcc4d1b2e82c0d51e..4171ff8ef016c12160627deafd24e589726a879e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: commandline.h,v 1.5 2000/07/27 09:51:31 tale Exp $ */
+/* $Id: commandline.h,v 1.6 2000/08/01 01:30:05 tale Exp $ */
 
 #ifndef ISC_COMMANDLINE_H
 #define ISC_COMMANDLINE_H 1
index 2542a61e1e1350052e222ceb38fee5a0d1dcd285..375bb904954a73767615aba4328fe7d2ebe13709 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: entropy.h,v 1.20 2000/07/27 09:51:32 tale Exp $ */
+/* $Id: entropy.h,v 1.21 2000/08/01 01:30:06 tale Exp $ */
 
 #ifndef ISC_ENTROPY_H
 #define ISC_ENTROPY_H 1
@@ -27,7 +27,7 @@
 /*
  * Entropy
  *
- * The entropy API 
+ * The entropy API
  *
  * MP:
  *     The entropy object is locked internally.  All callbacks into
index 9b7c8abc3744704b7a65d87500fa5041a1951568..3eb28400516d7d2726c12890d4614bf75e318a51 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: error.h,v 1.11 2000/07/27 09:51:33 tale Exp $ */
+/* $Id: error.h,v 1.12 2000/08/01 01:30:07 tale Exp $ */
 
 #ifndef ISC_ERROR_H
 #define ISC_ERROR_H 1
index 4bffeaf64093a5bdd48fd4ba0dc97eebd3d8373e..274f6de72372bd77dec1a1611fc6874b6d601a3c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: event.h,v 1.21 2000/07/27 09:51:34 tale Exp $ */
+/* $Id: event.h,v 1.22 2000/08/01 01:30:08 tale Exp $ */
 
 #ifndef ISC_EVENT_H
 #define ISC_EVENT_H 1
@@ -52,7 +52,7 @@ typedef void (*isc_eventdestructor_t)(isc_event_t *);
  * The ISC_EVENTATTR_CANCELED attribute is intended to indicate
  * that an event is delivered as a result of a canceled operation
  * rather than successful completion, by mutual agreement
- * between the sender and receiver.  It is not set or used by 
+ * between the sender and receiver.  It is not set or used by
  * the task system.
  */
 #define ISC_EVENTATTR_CANCELED         0x00000002
@@ -70,11 +70,11 @@ do { \
        (event)->ev_destroy_arg = (da); \
        ISC_LINK_INIT((event), ev_link); \
 } while (0)
-       
+
 /*
  * This structure is public because "subclassing" it may be useful when
  * defining new event types.
- */ 
+ */
 struct isc_event {
        ISC_EVENT_COMMON(struct isc_event);
 };
index ff9457c439453fa2c9dbed0d8353577907ad4554..8d1ebad7bb84ef9e955606311182eb652774db24 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: eventclass.h,v 1.10 2000/07/27 09:51:35 tale Exp $ */
+/* $Id: eventclass.h,v 1.11 2000/08/01 01:30:09 tale Exp $ */
 
 #ifndef ISC_EVENTCLASS_H
 #define ISC_EVENTCLASS_H 1
index 85d24009e507a359a515618555e3d46ee3754885..a2ea5c6ed9bbc9d262da5de739da4cbb406771b4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: file.h,v 1.8 2000/07/27 09:51:36 tale Exp $ */
+/* $Id: file.h,v 1.9 2000/08/01 01:30:10 tale Exp $ */
 
 #ifndef ISC_FILE_H
 #define ISC_FILE_H 1
@@ -60,7 +60,7 @@ isc_file_getmodtime(const char *file, isc_time_t *time);
  *             Hardware error interacting with the filesystem.
  *     ISC_R_UNEXPECTED
  *             Something totally unexpected happened.
- *     
+ *
  */
 
 isc_result_t
@@ -100,7 +100,7 @@ isc_result_t
 isc_file_openunique(char *templet, FILE **fp);
 /*
  * Create and open a file with a unique name based on 'templet'.
- * 
+ *
  * Notes:
  *     'template' is a reserved work in C++.  If you want to complain
  *     about the spelling of 'templet', first look it up in the
index 19795f6dbb25772d25e4db12d4343fb544ed6525..ffb8aa9dd80ddde1d8156ddf2c95db27cf341cd8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: formatcheck.h,v 1.4 2000/07/27 09:51:37 tale Exp $ */
+/* $Id: formatcheck.h,v 1.5 2000/08/01 01:30:11 tale Exp $ */
 
 #ifndef ISC_FORMATCHECK_H
 #define ISC_FORMATCHECK_H 1
index 76e28f9ea1778f7b05ac6aac1064c021cae123b8..16d383cfbedbf7da9d705661fc8cdb90db580cff 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: fsaccess.h,v 1.5 2000/07/27 09:51:38 tale Exp $ */
+/* $Id: fsaccess.h,v 1.6 2000/08/01 01:30:12 tale Exp $ */
 
 #ifndef ISC_FSACCESS_H
 #define ISC_FSACCESS_H 1
@@ -38,7 +38,7 @@
  * in BIND9, and so resolving how to handle the various incompatibilities has
  * been a purely theoretical exercise with no operational experience to
  * indicate how flawed the thinking may be.
- * 
+ *
  * Some of the more notable dumbing down of NT for this API includes:
  *
  *   o Each of FILE_READ_DATA and FILE_READ_EA are set with ISC_FSACCESS_READ.
@@ -92,7 +92,7 @@
  *
  * The Windows standard access right "DELETE" doesn't have a direct
  * equivalent in the Unix world, so it isn't clear what should be done
- * with it. 
+ * with it.
  *
  * The Unix sticky bit is not supported.  While NT does have a concept
  * of allowing users to create files in a directory but not delete or
index e633be9de3275f0f526bdfbe00dbec7c4dce948c..b7a8c60aeae6a41dbb813440db638ab21b49f56d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: heap.h,v 1.14 2000/07/27 09:51:39 tale Exp $ */
+/* $Id: heap.h,v 1.15 2000/08/01 01:30:14 tale Exp $ */
 
 #ifndef ISC_HEAP_H
 #define ISC_HEAP_H 1
@@ -25,7 +25,7 @@
 
 ISC_LANG_BEGINDECLS
 
-/* 
+/*
  * The comparision function returns ISC_TRUE if the first argument has
  * higher priority than the second argument, and ISC_FALSE otherwise.
  */
index 7a175e33e3436ba98e2b8b568e4477bbdf13b714..31f1abfcc9415efa2f45d53fceebe032ab4cffb8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: hmacmd5.h,v 1.2 2000/07/27 09:51:40 tale Exp $ */
+/* $Id: hmacmd5.h,v 1.3 2000/08/01 01:30:15 tale Exp $ */
 
 /*
  * This is the header file for the HMAC-MD5 keyed hash algorithm
index ebd83efac32b2b1860bf0079dce778093cd023ff..a09835f1ba05c004f40189b8ec7ddc6bb09327c1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: interfaceiter.h,v 1.8 2000/07/27 09:51:42 tale Exp $ */
+/* $Id: interfaceiter.h,v 1.9 2000/08/01 01:30:16 tale Exp $ */
 
 #ifndef ISC_INTERFACEITER_H
 #define ISC_INTERFACEITER_H 1
@@ -52,7 +52,7 @@
 
 struct isc_interface {
        char name[32];                  /* Interface name, null-terminated. */
-       unsigned int af;                /* Address family. */ 
+       unsigned int af;                /* Address family. */
        isc_netaddr_t address;          /* Local address. */
        isc_netaddr_t netmask;          /* Network mask. */
        isc_netaddr_t dstaddress;       /* Destination address
@@ -93,7 +93,7 @@ isc_interfaceiter_first(isc_interfaceiter_t *iter);
  *     ISC_R_SUCCESS           Success.
  *     ISC_R_NOMORE            There are no interfaces.
  */
-     
+
 isc_result_t
 isc_interfaceiter_current(isc_interfaceiter_t *iter,
                          isc_interface_t *ifdata);
@@ -108,7 +108,7 @@ isc_interfaceiter_current(isc_interfaceiter_t *iter,
  * Returns:
  *     ISC_R_SUCCESS           Success.
  */
-     
+
 isc_result_t
 isc_interfaceiter_next(isc_interfaceiter_t *iter);
 /*
index 09ff86b22e3ee251d70655fb2846799a980937cc..65680c4764248e35c40c4f9e2b87627117c4f5db 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipv6.h,v 1.15 2000/07/27 09:51:43 tale Exp $ */
+/* $Id: ipv6.h,v 1.16 2000/08/01 01:30:17 tale Exp $ */
 
 #ifndef ISC_IPV6_H
 #define ISC_IPV6_H 1
index f90008f149fdec00f07d6fe4fd1ce2dc9ec96e49..e35a9d795dcab5aad6233e8f16c0916335abf8ae 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lang.h,v 1.4 2000/07/27 09:51:44 tale Exp $ */
+/* $Id: lang.h,v 1.5 2000/08/01 01:30:18 tale Exp $ */
 
 #ifndef ISC_LANG_H
 #define ISC_LANG_H 1
index a29ed1271b67bc52192c20dae85182c6c1c00843..7fe8ae7ce40f5727b12bac16a2d4295a62888ff3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lex.h,v 1.21 2000/07/27 09:51:45 tale Exp $ */
+/* $Id: lex.h,v 1.22 2000/08/01 01:30:19 tale Exp $ */
 
 #ifndef ISC_LEX_H
 #define ISC_LEX_H 1
@@ -209,7 +209,7 @@ isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_t specials);
  * whitespace, they delimit strings and numbers.
  *
  * Note:
- *     Comment processing takes precedence over special character      
+ *     Comment processing takes precedence over special character
  *     recognition.
  *
  * Requires:
index bbd243d3d3a5309aa1c792e0fa6ba6a9ee2cab3f..99359292201e9222fef953713db4a2058b5ddf02 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lfsr.h,v 1.7 2000/07/27 09:51:46 tale Exp $ */
+/* $Id: lfsr.h,v 1.8 2000/08/01 01:30:20 tale Exp $ */
 
 #ifndef ISC_LFSR_H
 #define ISC_LFSR_H 1
index d7821cfe8f8d07f5f7ba3fd07c1ffc82c045b336..acf28c0b16e6647dc819505f10f6f56e7ce2e454 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.h,v 1.4 2000/07/27 09:51:47 tale Exp $ */
+/* $Id: lib.h,v 1.5 2000/08/01 01:30:21 tale Exp $ */
 
 #ifndef ISC_LIB_H
 #define ISC_LIB_H 1
index e5a5c7d2adbd0fa5e1d1784d6649e7a38c5d7365..a97d655d966317a1e76e76f61d9162c159638824 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: list.h,v 1.12 2000/07/27 09:51:48 tale Exp $ */
+/* $Id: list.h,v 1.13 2000/08/01 01:30:22 tale Exp $ */
 
 #ifndef ISC_LIST_H
 #define ISC_LIST_H 1
index 52c46a572c16a41f3524e4dd0acb722bc4873239..d0d815a8f662461f009c2384405502063c285cb4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.h,v 1.27 2000/07/27 09:51:49 tale Exp $ */
+/* $Id: log.h,v 1.28 2000/08/01 01:30:23 tale Exp $ */
 
 #ifndef ISC_LOG_H
 #define ISC_LOG_H 1
@@ -157,7 +157,7 @@ isc_log_create(isc_mem_t *mctx, isc_log_t **lctxp, isc_logconfig_t **lcfgp);
  * Ensures:
  *     *lctxp will point to a valid logging context if all of the necessary
  *     memory was allocated, or NULL otherwise.
- *     *lcfgp will point to a valid logging configuration if all of the 
+ *     *lcfgp will point to a valid logging configuration if all of the
  *     necessary memory was allocated, or NULL otherwise.
  *     On failure, no additional memory is allocated.
  *
@@ -470,7 +470,7 @@ isc_log_usechannel(isc_logconfig_t *lcfg, const char *name,
  *
  * Requires:
  *     lcfg is a valid logging configuration.
- *     
+ *
  *     category is NULL or has an id that is in the range of known ids.
  *
  *     module is NULL or has an id that is in the range of known ids.
@@ -622,7 +622,7 @@ isc_log_getdebuglevel(isc_log_t *lctx);
  *
  * Requires:
  *     lctx is a valid logging context.
- *     
+ *
  * Ensures:
  *     The current logging debugging level is returned.
  */
@@ -784,7 +784,7 @@ isc_logcategory_t *
 isc_log_categorybyname(isc_log_t *lctx, const char *name);
 /*
  * Find a category by its name.
- * 
+ *
  * Notes:
  *     The string name of a category is not required to be unique.
  *
@@ -802,7 +802,7 @@ isc_logmodule_t *
 isc_log_modulebyname(isc_log_t *lctx, const char *name);
 /*
  * Find a module by its name.
- * 
+ *
  * Notes:
  *     The string name of a module is not required to be unique.
  *
index 4c11b364161b866e2c2d05d024536268420874d8..3405373d7cc8c0f35a2a2d81f6a2f3e5ae15ee2d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: magic.h,v 1.9 2000/07/27 09:51:50 tale Exp $ */
+/* $Id: magic.h,v 1.10 2000/08/01 01:30:25 tale Exp $ */
 
 #ifndef ISC_MAGIC_H
 #define ISC_MAGIC_H 1
index 34b17303761556066a1d1e295f743a7924a8953e..e2f5f527ba4f45bef231c259385e2e5536b7d515 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: md5.h,v 1.6 2000/07/27 09:51:51 tale Exp $ */
+/* $Id: md5.h,v 1.7 2000/08/01 01:30:26 tale Exp $ */
 
 /*
  * This is the header file for the MD5 message-digest algorithm.
index 6498e2f30ef8f2260e6921df67bcc319eb2edbc9..5e1d77fe3bbf95e184653d5c587ea3c37f8ec342 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mem.h,v 1.39 2000/07/27 09:51:53 tale Exp $ */
+/* $Id: mem.h,v 1.40 2000/08/01 01:30:27 tale Exp $ */
 
 #ifndef ISC_MEM_H
 #define ISC_MEM_H 1
index 8b378828e2ff4364128e072ab539d8937998eb79..cd7cbed6ddd9887f6a874a5663c602e2854d4f8d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: msgcat.h,v 1.6 2000/07/27 09:51:54 tale Exp $ */
+/* $Id: msgcat.h,v 1.7 2000/08/01 01:30:28 tale Exp $ */
 
 #ifndef ISC_MSGCAT_H
 #define ISC_MSGCAT_H 1
index 5ade63a2f21c8537892bfe5420790a8ef66bc670..3931d3cf33d61d3e9e1249b2d7c23f4f39f8c486 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mutexblock.h,v 1.8 2000/07/27 09:51:55 tale Exp $ */
+/* $Id: mutexblock.h,v 1.9 2000/08/01 01:30:29 tale Exp $ */
 
 #ifndef ISC_MUTEXBLOCK_H
 #define ISC_MUTEXBLOCK_H 1
index 185ca630857acbf123b2cb22e4dd5bb1eb79e2e2..9cc2d0e313d64934bf46072075688066b6f24262 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netaddr.h,v 1.14 2000/07/27 09:51:56 tale Exp $ */
+/* $Id: netaddr.h,v 1.15 2000/08/01 01:30:30 tale Exp $ */
 
 #ifndef ISC_NETADDR_H
 #define ISC_NETADDR_H 1
@@ -63,7 +63,7 @@ isc_result_t
 isc_netaddr_totext(const isc_netaddr_t *netaddr, isc_buffer_t *target);
 /*
  * Append a text representation of 'sockaddr' to the buffer 'target'.
- * The text is NOT null terminated.  Handles IPv4 and IPv6 addresses.  
+ * The text is NOT null terminated.  Handles IPv4 and IPv6 addresses.
  *
  * Returns:
  *     ISC_R_SUCCESS
index 595c89628a01c5078fbba44131204bfd281d0b50..30d867a48b4e48b4a2c9ab0074bcb21bec40b206 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ondestroy.h,v 1.5 2000/07/27 09:51:57 tale Exp $ */
+/* $Id: ondestroy.h,v 1.6 2000/08/01 01:30:31 tale Exp $ */
 
 #ifndef ISC_ONDESTROY_H
 #define ISC_ONDESTROY_H 1
@@ -30,7 +30,7 @@ ISC_LANG_BEGINDECLS
  *
  * Any class ``X'' of objects that wants to send out notifications
  * on its destruction should declare a field of type isc_ondestroy_t
- * (call it 'ondest'). 
+ * (call it 'ondest').
  *
  *     typedef struct {
  *             ...
@@ -41,14 +41,14 @@ ISC_LANG_BEGINDECLS
  * When an object ``A'' of type X is created
  * it must initialize the field ondest with a call to
  *
- *     isc_ondestroy_init(&A->ondest). 
+ *     isc_ondestroy_init(&A->ondest).
  *
  * X should also provide a registration function for third-party
  * objects to call to register their interest in being told about
  * the destruction of a particular instance of X.
  *
  *     isc_result_t
- *     X_ondestroy(X *instance, isc_task_t *task, 
+ *     X_ondestroy(X *instance, isc_task_t *task,
  *                  isc_event_t **eventp) {
  *             return(isc_ondestroy_register(&instance->ondest, task,eventp));
  *     }
index c66c977139b4b761b50092ec5b06e995ed851bd8..45a86bbb3321436df63fae43ca95b58154fdf2fd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.h,v 1.3 2000/07/27 09:51:58 tale Exp $ */
+/* $Id: os.h,v 1.4 2000/08/01 01:30:32 tale Exp $ */
 
 #ifndef ISC_OS_H
 #define ISC_OS_H 1
index 0f012840f1495ca8e872f4a6c9d7d0e901d10650..d99e2295097b2a2228550dc57b3d3d29b1639429 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: platform.h.in,v 1.13 2000/07/27 09:51:59 tale Exp $ */
+/* $Id: platform.h.in,v 1.14 2000/08/01 01:30:33 tale Exp $ */
 
 #ifndef ISC_PLATFORM_H
 #define ISC_PLATFORM_H 1
index b52eef105ab6884d000dbd83e1985191879b4f1c..1c6fb69747c2be50bc8be0440cbe10ab4ec90d02 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: print.h,v 1.9 2000/07/27 09:52:00 tale Exp $ */
+/* $Id: print.h,v 1.10 2000/08/01 01:30:34 tale Exp $ */
 
 #ifndef ISC_PRINT_H
 #define ISC_PRINT_H 1
index 1d64e2637be81a0aa1d67e43d651ce7d353df4a8..8e4e3c5b616a16cb5f156d76c302f274b1975471 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: quota.h,v 1.6 2000/07/27 09:52:01 tale Exp $ */
+/* $Id: quota.h,v 1.7 2000/08/01 01:30:36 tale Exp $ */
 
 #ifndef ISC_QUOTA_H
 #define ISC_QUOTA_H 1
@@ -58,7 +58,7 @@ struct isc_quota {
 isc_result_t
 isc_quota_init(isc_quota_t *quota, int max);
 /*
- * Initialize a quota object. 
+ * Initialize a quota object.
  *
  * Returns:
  *     ISC_R_SUCCESS
index 234aa543cdd68461a66e56c89d967007489f16ce..65a318d1709239031a7a177343529aa0eac232d4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: random.h,v 1.6 2000/07/27 09:52:02 tale Exp $ */
+/* $Id: random.h,v 1.7 2000/08/01 01:30:37 tale Exp $ */
 
 #ifndef ISC_RANDOM_H
 #define ISC_RANDOM_H 1
index 610648c84e15fc1b043eb010b01b73631deebfe3..e366ced98661069f5c40895371529f1e0a7a50c4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ratelimiter.h,v 1.11 2000/07/27 09:52:04 tale Exp $ */
+/* $Id: ratelimiter.h,v 1.12 2000/08/01 01:30:38 tale Exp $ */
 
 #ifndef ISC_RATELIMITER_H
 #define ISC_RATELIMITER_H 1
@@ -26,7 +26,7 @@
 
 /*
  * A rate limiter is a mechanism for dispatching events at a limited
- * rate.  This is intended to be used when sending zone maintenance 
+ * rate.  This is intended to be used when sending zone maintenance
  * SOA queries, NOTIFY messages, etc.
  */
 
@@ -82,7 +82,7 @@ isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
  * Requires:
  *     An interval has been set by calling
  *     isc_ratelimiter_setinterval().
- *     
+ *
  *     'task' to be non NULL.
  *     '(*eventp)->ev_sender' to be NULL.
  */
index d0757618e8f97c0cbf6c52d26abadd2200897ac9..e28cb32d2d13e1f89a6aa58694d81880309269a1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: region.h,v 1.13 2000/07/27 09:52:05 tale Exp $ */
+/* $Id: region.h,v 1.14 2000/08/01 01:30:39 tale Exp $ */
 
 #ifndef ISC_REGION_H
 #define ISC_REGION_H 1
index f4db1de3f0d02e62a01711d7f87e7d4d19eaa4e5..06c7f9f049666bc993f04dae3de508db3ed22449 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.h,v 1.46 2000/07/27 09:52:06 tale Exp $ */
+/* $Id: result.h,v 1.47 2000/08/01 01:30:40 tale Exp $ */
 
 #ifndef ISC_RESULT_H
 #define ISC_RESULT_H 1
index 1197341dc8bb00bdd27d9afe3c646a5299673e9d..abe1ec463433b66faca8688e3f9310caa25f70a5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resultclass.h,v 1.8 2000/07/27 09:52:07 tale Exp $ */
+/* $Id: resultclass.h,v 1.9 2000/08/01 01:30:41 tale Exp $ */
 
 #ifndef ISC_RESULTCLASS_H
 #define ISC_RESULTCLASS_H 1
index b677bde0f4b23788a4116adf185f604d8c9e2afc..a30439015060855b8fcb9c9967aa0ab856e8744b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rwlock.h,v 1.12 2000/07/27 09:52:08 tale Exp $ */
+/* $Id: rwlock.h,v 1.13 2000/08/01 01:30:42 tale Exp $ */
 
 #ifndef ISC_RWLOCK_H
 #define ISC_RWLOCK_H 1
index 1a8546aeef4d5b3a2d4431a9c96b5cf21e54ea05..0bcbfe42ee348cbe3050dedf2167ef70db4bc00e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: serial.h,v 1.7 2000/07/27 09:52:09 tale Exp $ */
+/* $Id: serial.h,v 1.8 2000/08/01 01:30:43 tale Exp $ */
 
 #ifndef ISC_SERIAL_H
 #define ISC_SERIAL_H 1
index 697a0b18f3527b1ddb7a95f6e7b90e5928d5c920..52068ba5da07c3396be1aa10d0e5af47982feb52 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 #ifndef ISC_SHA1_H
 #define ISC_SHA1_H 1
 
-/* $Id: sha1.h,v 1.6 2000/07/27 09:52:10 tale Exp $ */
+/* $Id: sha1.h,v 1.7 2000/08/01 01:30:44 tale Exp $ */
 
 /*     $NetBSD: sha1.h,v 1.2 1998/05/29 22:55:44 thorpej Exp $ */
 
 
 typedef struct {
        isc_uint32_t state[5];
-       isc_uint32_t count[2];  
+       isc_uint32_t count[2];
        unsigned char buffer[64];
 } isc_sha1_t;
-  
+
 ISC_LANG_BEGINDECLS
 
 void
index 6fa9b3664c9843a9b8cef9057526998871b29776..43b6c5bc21702c93467eef0cfa4df88376f315bf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sockaddr.h,v 1.31 2000/07/27 09:52:11 tale Exp $ */
+/* $Id: sockaddr.h,v 1.32 2000/08/01 01:30:45 tale Exp $ */
 
 #ifndef ISC_SOCKADDR_H
 #define ISC_SOCKADDR_H 1
index 669562d64c37908088f8340c708ab1a57ee90eb4..e1c2068b84cf555c7a24473460dbf2c8572a4234 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.h,v 1.48 2000/07/27 09:52:12 tale Exp $ */
+/* $Id: socket.h,v 1.49 2000/08/01 01:30:47 tale Exp $ */
 
 #ifndef ISC_SOCKET_H
 #define ISC_SOCKET_H 1
@@ -238,7 +238,7 @@ isc_socket_cancel(isc_socket_t *sock, isc_task_t *task,
  *     Cancel pending isc_socket_connect() call.
  */
 
-void 
+void
 isc_socket_shutdown(isc_socket_t *sock, unsigned int how);
 /*
  * Shutdown 'socket' according to 'how'.
@@ -278,7 +278,7 @@ isc_socket_attach(isc_socket_t *sock, isc_socket_t **socketp);
  *     *socketp is attached to socket.
  */
 
-void 
+void
 isc_socket_detach(isc_socket_t **socketp);
 /*
  * Detach *socketp from its socket.
@@ -630,7 +630,7 @@ isc_socketmgr_destroy(isc_socketmgr_t **managerp);
  * Destroy a socket manager.
  *
  * Notes:
- *     
+ *
  *     This routine blocks until there are no sockets left in the manager,
  *     so if the caller holds any socket references using the manager, it
  *     must detach them before calling isc_socketmgr_destroy() or it will
index 6fa05288a788e913edc7f549d7f24b173df0a3cf..d69290885be3d0122ba7908d605a6a1bdbeb8b5e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: stdio.h,v 1.4 2000/07/27 09:52:13 tale Exp $ */
+/* $Id: stdio.h,v 1.5 2000/08/01 01:30:48 tale Exp $ */
 
 #ifndef ISC_STDIO_H
 #define ISC_STDIO_H 1
index 7227fd8d5985052dd217440d5f93b60d72a64290..2bf687c527dc6b7f7f6c821d3b4d6dd7e73fcb2f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: string.h,v 1.7 2000/07/27 09:52:14 tale Exp $ */
+/* $Id: string.h,v 1.8 2000/08/01 01:30:49 tale Exp $ */
 
 #ifndef ISC_STRING_H
 #define ISC_STRING_H 1
@@ -32,10 +32,10 @@ isc_uint64_t
 isc_string_touint64(char *source, char **endp, int base);
 /*
  * Convert the string pointed to by 'source' to isc_uint64_t.
- * 
+ *
  * On successful conversion 'endp' points to the first character
  * after conversion is complete.
- * 
+ *
  * 'base': 0 or 2..36
  *
  * If base is 0 the base is computed from the string type.
@@ -45,7 +45,7 @@ isc_string_touint64(char *source, char **endp, int base);
 
 
 char *
-isc_string_separate(char **stringp, const char *delim); 
+isc_string_separate(char **stringp, const char *delim);
 
 #ifdef ISC_PLATFORM_NEEDSTRSEP
 #define strsep isc_string_separate
index ce39722cb600e794e2355c53c847eafc4c2452e7..eab9b289a52dd8255ad27c83244a66bf3b59cffb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: symtab.h,v 1.13 2000/07/27 09:52:16 tale Exp $ */
+/* $Id: symtab.h,v 1.14 2000/08/01 01:30:50 tale Exp $ */
 
 #ifndef ISC_SYMTAB_H
 #define ISC_SYMTAB_H 1
index 9eac6aae1f3afef6b6e31d3548521720b4803c0c..bfa0055f28fb92dc2a6e6d65be5655828a9a08ed 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task.h,v 1.46 2000/07/27 09:52:17 tale Exp $ */
+/* $Id: task.h,v 1.47 2000/08/01 01:30:51 tale Exp $ */
 
 #ifndef ISC_TASK_H
 #define ISC_TASK_H 1
@@ -230,7 +230,7 @@ isc_task_purgerange(isc_task_t *task, void *sender, isc_eventtype_t first,
  *     Events in the event queue of 'task' whose sender is 'sender', whose
  *     type is >= first and <= last, and whose tag is 'tag' will be purged,
  *     unless they are marked as unpurgable.
- *     
+ *
  *     A sender of NULL will match any sender.  A NULL tag matches any
  *     tag.
  *
@@ -320,7 +320,7 @@ isc_task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first,
  *     Events in the event queue of 'task' whose sender is 'sender', whose
  *     type is >= first and <= last, and whose tag is 'tag' will be dequeued
  *     and appended to *events.
- *     
+ *
  *     A sender of NULL will match any sender.  A NULL tag matches any
  *     tag.
  *
index a35f8bb87605f3f4085cd240b3b75e09ccf128df..8556cda1bdbc72c9bd77d2b0c32152a13470ebbb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: taskpool.h,v 1.5 2000/07/27 09:52:18 tale Exp $ */
+/* $Id: taskpool.h,v 1.6 2000/08/01 01:30:52 tale Exp $ */
 
 #ifndef ISC_TASKPOOL_H
 #define ISC_TASKPOOL_H 1
 /*
  * Task Pool
  *
- * A task pool is a mechanism for sharing a small number of tasks 
+ * A task pool is a mechanism for sharing a small number of tasks
  * among a large number of objects such that each object is
  * assigned a unique task, but each task may be shared by several
  * objects.
  *
- * Task pools are used to let objects that can exist in large 
+ * Task pools are used to let objects that can exist in large
  * numbers (e.g., zones) use tasks for synchronization without
- * the memory overhead and unfair scheduling competition that 
+ * the memory overhead and unfair scheduling competition that
  * could result from creating a separate task for each object.
  */
 
@@ -65,7 +65,7 @@ isc_taskpool_create(isc_taskmgr_t *tmgr, isc_mem_t *mctx,
 /*
  * Create a task pool of "ntasks" tasks, each with quantum
  * "quantum".
- * 
+ *
  * Requires:
  *
  *     'tmgr' is a valid task manager.
index b6f447e975abc43e3545b9800f8763258611f05f..4990fc4c7f3e03d3ead6456bc32c2d503509d13d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.h,v 1.26 2000/07/27 09:52:19 tale Exp $ */
+/* $Id: timer.h,v 1.27 2000/08/01 01:30:53 tale Exp $ */
 
 #ifndef ISC_TIMER_H
 #define ISC_TIMER_H 1
@@ -41,7 +41,7 @@
  *     'inactive' timers generate no events.
  *
  * Timers can change type.  It is typical to create a timer as
- * an 'inactive' timer and then change it into a 'ticker' or 
+ * an 'inactive' timer and then change it into a 'ticker' or
  * 'once' timer.
  *
  * MP:
@@ -245,7 +245,7 @@ isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp);
  *     *timerp is attached to timer.
  */
 
-void 
+void
 isc_timer_detach(isc_timer_t **timerp);
 /*
  * Detach *timerp from its timer.
@@ -305,7 +305,7 @@ isc_timermgr_destroy(isc_timermgr_t **managerp);
  * Destroy a timer manager.
  *
  * Notes:
- *     
+ *
  *     This routine blocks until there are no timers left in the manager,
  *     so if the caller holds any timer references using the manager, it
  *     must detach them before calling isc_timermgr_destroy() or it will
index b84fb8855b4579be7489194761587cdfecaac943..f05afe4baa9bb483a00d8f92725c8a6f2753a187 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: types.h,v 1.28 2000/07/27 09:52:20 tale Exp $ */
+/* $Id: types.h,v 1.29 2000/08/01 01:30:54 tale Exp $ */
 
 #ifndef ISC_TYPES_H
 #define ISC_TYPES_H 1
index 0c0e9a6a0b86ed5920bdfdedba75a0cdf6bb4a81..e5d2aa3f558ff108850a6aadbee5dec798e7b11a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: util.h,v 1.14 2000/07/27 09:52:21 tale Exp $ */
+/* $Id: util.h,v 1.15 2000/08/01 01:30:55 tale Exp $ */
 
 #ifndef ISC_UTIL_H
 #define ISC_UTIL_H 1
index cf44a6d8b8a1820d5d7a4b9c9e7c79f3af3ecd5e..bcb671481093cf8a89f7abc767971238887cdfaf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Portions Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 /*
  * Copyright (c) 1983, 1990, 1993
  *    The Regents of the University of California.  All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -34,7 +34,7 @@
  * 4. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 
 /*
  * Portions Copyright (c) 1993 by Digital Equipment Corporation.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies, and that
  * the name of Digital Equipment Corporation not be used in advertising or
  * publicity pertaining to distribution of the document or software without
  * specific, written prior permission.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
@@ -70,7 +70,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)inet_addr.c        8.1 (Berkeley) 6/17/93";
-static char rcsid[] = "$Id: inet_aton.c,v 1.13 2000/07/27 09:50:51 tale Exp $";
+static char rcsid[] = "$Id: inet_aton.c,v 1.14 2000/08/01 01:29:25 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
@@ -81,7 +81,7 @@ static char rcsid[] = "$Id: inet_aton.c,v 1.13 2000/07/27 09:50:51 tale Exp $";
 #include <isc/types.h>
 #include <isc/net.h>
 
-/* 
+/*
  * Check whether "cp" is a valid ascii representation
  * of an Internet address and convert to a binary address.
  * Returns 1 if the address is valid, 0 if not.
index 1fbacf54f90e2da6ee4d650eb5cc0c6a0868f0a2..84f613a011d38081ee05255be873ebcd24ad06c8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -17,7 +17,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char rcsid[] =
-       "$Id: inet_ntop.c,v 1.8 2000/07/27 09:50:52 tale Exp $";
+       "$Id: inet_ntop.c,v 1.9 2000/08/01 01:29:26 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
@@ -38,7 +38,7 @@ static char rcsid[] =
 
 static const char *inet_ntop4(const unsigned char *src, char *dst,
                              size_t size);
-                                 
+
 #ifdef AF_INET6
 static const char *inet_ntop6(const unsigned char *src, char *dst,
                              size_t size);
@@ -175,7 +175,7 @@ inet_ntop6(const unsigned char *src, char *dst, size_t size)
                tp += sprintf(tp, "%x", words[i]);
        }
        /* Was it a trailing run of 0x00's? */
-       if (best.base != -1 && (best.base + best.len) == 
+       if (best.base != -1 && (best.base + best.len) ==
            (NS_IN6ADDRSZ / NS_INT16SZ))
                *tp++ = ':';
        *tp++ = '\0';
index 939201c70e191408f0796b6ec01fc0572cfed53d..4cccf1e3fb343763eaf67520f46134cd65b9e2ab 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -17,7 +17,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char rcsid[] =
-       "$Id: inet_pton.c,v 1.7 2000/07/27 09:50:53 tale Exp $";
+       "$Id: inet_pton.c,v 1.8 2000/08/01 01:29:28 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
index 41b43c1f701bdd42b621408c130387cc709bc55d..b259294c80bed06a7531af041c48112e03a3e05b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lex.c,v 1.34 2000/07/27 09:50:54 tale Exp $ */
+/* $Id: lex.c,v 1.35 2000/08/01 01:29:29 tale Exp $ */
 
 #include <config.h>
 
@@ -90,7 +90,7 @@ isc_lex_create(isc_mem_t *mctx, size_t max_token, isc_lex_t **lexp) {
        /*
         * Create a lexer.
         */
-       
+
        REQUIRE(lexp != NULL && *lexp == NULL);
        REQUIRE(max_token > 0);
 
@@ -111,7 +111,7 @@ isc_lex_create(isc_mem_t *mctx, size_t max_token, isc_lex_t **lexp) {
        memset(lex->specials, 0, 256);
        INIT_LIST(lex->sources);
        lex->magic = LEX_MAGIC;
-       
+
        *lexp = lex;
 
        return (ISC_R_SUCCESS);
@@ -229,7 +229,7 @@ isc_lex_openfile(isc_lex_t *lex, const char *filename) {
                return (result);
 
        flockfile(stream);
-       
+
        return (new_source(lex, ISC_TRUE, ISC_TRUE, stream, filename));
 }
 
@@ -279,7 +279,7 @@ isc_lex_close(isc_lex_t *lex) {
        source = HEAD(lex->sources);
        if (source == NULL)
                return (ISC_R_NOMORE);
-       
+
        UNLINK(lex->sources, source, link);
        if (source->is_file) {
                funlockfile((FILE *)(source->input));
@@ -306,7 +306,7 @@ typedef enum {
 
 #define IWSEOL (ISC_LEXOPT_INITIALWS | ISC_LEXOPT_EOL)
 
-static void 
+static void
 pushback(inputsource *source, int c) {
        INSIST(source->char_count < 2);
        source->chars[source->char_count++] = c;
@@ -404,7 +404,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
 
                if (c == '\n')
                        source->line++;
-               
+
                if (lex->comment_ok && !no_comments) {
                        if (!escaped && c == ';' &&
                            ((lex->comments & ISC_LEXCOMMENT_DNSMASTERFILE)
@@ -534,7 +534,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
                                                v = &(tokenp->value);
                                                v->as_textregion.base =
                                                        lex->data;
-                                               v->as_textregion.length = 
+                                               v->as_textregion.length =
                                                        lex->max_token -
                                                        remaining;
                                        }
@@ -566,7 +566,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
                                pushback(source, c);
                                tokenp->type = isc_tokentype_string;
                                tokenp->value.as_textregion.base = lex->data;
-                               tokenp->value.as_textregion.length = 
+                               tokenp->value.as_textregion.length =
                                        lex->max_token - remaining;
                                done = ISC_TRUE;
                                continue;
@@ -647,7 +647,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
                                        tokenp->type = isc_tokentype_qstring;
                                        tokenp->value.as_textregion.base =
                                                lex->data;
-                                       tokenp->value.as_textregion.length = 
+                                       tokenp->value.as_textregion.length =
                                                lex->max_token - remaining;
                                        no_comments = ISC_FALSE;
                                        done = ISC_TRUE;
@@ -693,7 +693,7 @@ isc_lex_ungettoken(isc_lex_t *lex, isc_token_t *tokenp) {
        REQUIRE(source != NULL);
        REQUIRE(!source->have_token);
        REQUIRE(tokenp != NULL);
-       
+
        source->token = *tokenp;
        source->have_token = ISC_TRUE;
 }
index 860eb64434fca257188e9cdade917124db4034d9..f98147d373570f57693c2a68a1c5c8b9069dd333 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lfsr.c,v 1.9 2000/07/27 09:50:55 tale Exp $ */
+/* $Id: lfsr.c,v 1.10 2000/08/01 01:29:30 tale Exp $ */
 
 #include <config.h>
 
index 418da9cac4032da9b898cf8da22a2226dd725ccd..0fbbf7469314274689a69227c7731d4a9033ace9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.c,v 1.5 2000/07/27 09:50:57 tale Exp $ */
+/* $Id: lib.c,v 1.6 2000/08/01 01:29:31 tale Exp $ */
 
 #include <config.h>
 
index 1a61c2efa5f2caf085e9aff22cb967eefcbff90b..c612afabada54c27fe39054f25cacbbcae8540c9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.41 2000/07/27 09:50:58 tale Exp $ */
+/* $Id: log.c,v 1.42 2000/08/01 01:29:32 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -262,7 +262,7 @@ isc_log_create(isc_mem_t *mctx, isc_log_t **lctxp, isc_logconfig_t **lcfgp) {
                lctx->debug_level = 0;
 
                ISC_LIST_INIT(lctx->messages);
-               
+
                RUNTIME_CHECK(isc_mutex_init(&lctx->lock) == ISC_R_SUCCESS);
 
                /*
@@ -290,7 +290,7 @@ isc_log_create(isc_mem_t *mctx, isc_log_t **lctxp, isc_logconfig_t **lcfgp) {
                *lctxp = lctx;
                if (lcfgp != NULL)
                        *lcfgp = lcfg;
-       
+
        } else
                if (lctx != NULL)
                        isc_log_destroy(&lctx);
@@ -523,7 +523,7 @@ isc_logconfig_destroy(isc_logconfig_t **lcfgp) {
 
        lcfg->dynamic = ISC_FALSE;
        if (lcfg->tag != NULL)
-               isc_mem_free(lcfg->lctx->mctx, lcfg->tag);      
+               isc_mem_free(lcfg->lctx->mctx, lcfg->tag);
        lcfg->tag = NULL;
        lcfg->highest_level = 0;
        lcfg->duplicate_interval = 0;
@@ -738,7 +738,7 @@ isc_log_createchannel(isc_logconfig_t *lcfg, const char *name,
                isc_mem_put(mctx, channel, sizeof(*channel));
                return (ISC_R_UNEXPECTED);
        }
-       
+
        ISC_LIST_PREPEND(lcfg->channels, channel, link);
 
        /*
@@ -888,7 +888,7 @@ isc_log_getduplicateinterval(isc_logconfig_t *lcfg) {
 isc_result_t
 isc_log_settag(isc_logconfig_t *lcfg, const char *tag) {
        REQUIRE(VALID_CONFIG(lcfg));
-       
+
        if (tag != NULL && *tag != '\0') {
                lcfg->tag = isc_mem_strdup(lcfg->lctx->mctx, tag);
                if (lcfg->tag == NULL)
@@ -992,7 +992,7 @@ sync_channellist(isc_logconfig_t *lcfg) {
        unsigned int bytes;
        isc_log_t *lctx;
        void *lists;
-       
+
        REQUIRE(VALID_CONFIG(lcfg));
 
        lctx = lcfg->lctx;
@@ -1104,7 +1104,7 @@ roll_log(isc_logchannel_t *channel) {
         * Since the highest number is one less than FILE_VERSIONS(channel)
         * when not doing infinite log rolling, greatest will need to be
         * decremented when it is equal to -- or greater than --
-        * FILE_VERSIONS(channel).  When greatest is less than 
+        * FILE_VERSIONS(channel).  When greatest is less than
         * FILE_VERSIONS(channel), it is already suitable for use as
         * the maximum version number.
         */
@@ -1205,7 +1205,7 @@ isc_log_wouldlog(isc_log_t *lctx, int level) {
         * messages that the debug level is not high enough to print.
         *
         * If the level is (mathematically) less than or equal to the
-        * highest_level, or if there is a dynamic channel and the level is 
+        * highest_level, or if there is a dynamic channel and the level is
         * less than or equal to the debug level, the main loop must be
         * entered to see if the message should really be output.
         *
@@ -1218,7 +1218,7 @@ isc_log_wouldlog(isc_log_t *lctx, int level) {
 
        if (lctx == NULL)
                return (ISC_FALSE);
-       
+
        return (ISC_TF(level <= lctx->logconfig->highest_level ||
                       (lctx->logconfig->dynamic &&
                        level <= lctx->debug_level)));
@@ -1300,7 +1300,7 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
                         * default channel.
                         */
                        category_channels = &default_channel;
+
                if (category_channels->module != NULL &&
                    category_channels->module != module) {
                        category_channels = ISC_LIST_NEXT(category_channels,
@@ -1422,7 +1422,7 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
                                                 *
                                                 * Setting the interval to be
                                                 * to be longer will obviously
-                                                * not cause the expired 
+                                                * not cause the expired
                                                 * message to spring back into
                                                 * existence.
                                                 */
index 3dcd1a0b81469cbef3d11d5ec19708eade6e0269..17e46579de84549f625e89a77a4abad61f23e6fd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: md5.c,v 1.7 2000/07/27 09:50:59 tale Exp $ */
+/* $Id: md5.c,v 1.8 2000/08/01 01:29:33 tale Exp $ */
 
 /*
  * This code implements the MD5 message-digest algorithm.
@@ -214,7 +214,7 @@ isc_md5_update(isc_md5_t *ctx, const unsigned char *buf, unsigned int len) {
 }
 
 /*
- * Final wrapup - pad to 64-byte boundary with the bit pattern 
+ * Final wrapup - pad to 64-byte boundary with the bit pattern
  * 1 0* (64-bit count of bits processed, MSB-first)
  */
 void
index 50501945cb5cd7eacc5324668bc7e1080dd36132..b1df780eebdfd901955215df245329238a5424b8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mem.c,v 1.57 2000/07/27 23:31:20 explorer Exp $ */
+/* $Id: mem.c,v 1.58 2000/08/01 01:29:34 tale Exp $ */
 
 #include <config.h>
 
@@ -424,7 +424,7 @@ more_frags(isc_mem_t *ctx, size_t new_size) {
                         * hit the quota for this context.
                         */
                        /*
-                        * XXXRTH  "At quota" notification here. 
+                        * XXXRTH  "At quota" notification here.
                         */
                        /*
                         * Maybe we can split one of our existing
@@ -490,7 +490,7 @@ mem_getunlocked(isc_mem_t *ctx, size_t size) {
                goto done;
        }
 
-       /* 
+       /*
         * If there are no blocks in the free list for this size, get a chunk
         * of memory and then break it up into "new_size"-sized blocks, adding
         * them to the free list.
@@ -504,7 +504,7 @@ mem_getunlocked(isc_mem_t *ctx, size_t size) {
        ret = ctx->freelists[new_size];
        ctx->freelists[new_size] = ctx->freelists[new_size]->next;
 
-       /* 
+       /*
         * The stats[] uses the _actual_ "size" requested by the
         * caller, with the caveat (in the code above) that "size" >= the
         * max. size (max_size) ends up getting recorded as a call to
@@ -558,7 +558,7 @@ mem_putunlocked(isc_mem_t *ctx, void *mem, size_t size) {
        ((element *)mem)->next = ctx->freelists[new_size];
        ctx->freelists[new_size] = (element *)mem;
 
-       /* 
+       /*
         * The stats[] uses the _actual_ "size" requested by the
         * caller, with the caveat (in the code above) that "size" >= the
         * max. size (max_size) ends up getting recorded as a call to
@@ -694,7 +694,7 @@ destroy(isc_mem_t *ctx) {
                memset(ctx->basic_table[i], 0x0,
                       NUM_BASIC_BLOCKS * ctx->mem_target);
 #endif
-       
+
 
        for (i = 0; i < ctx->basic_table_count; i++)
                (ctx->memfree)(ctx->arg, ctx->basic_table[i]);
@@ -774,7 +774,7 @@ isc_mem_destroy(isc_mem_t **ctxp) {
 isc_result_t
 isc_mem_ondestroy(isc_mem_t *ctx, isc_task_t *task, isc_event_t **event) {
        isc_result_t res;
-       
+
        LOCK(&ctx->lock);
        res = isc_ondestroy_register(&ctx->ondestroy, task, event);
        UNLOCK(&ctx->lock);
@@ -787,7 +787,7 @@ isc_result_t
 isc_mem_restore(isc_mem_t *ctx) {
        isc_result_t result;
 
-       result = isc_mutex_init(&ctx->lock); 
+       result = isc_mutex_init(&ctx->lock);
        if (result != ISC_R_SUCCESS)
                ctx->magic = 0;
 
@@ -852,7 +852,7 @@ isc_mem_preallocate(isc_mem_t *ctx) {
                }
                mem_putunlocked(ctx, ptr, i);
        }
-               
+
        UNLOCK(&ctx->lock);
 
        return (result);
@@ -1015,7 +1015,7 @@ isc__mem_strdup(isc_mem_t *mctx, const char *s FLARG) {
 
        if (ns != NULL)
                strncpy(ns, s, len + 1);
-       
+
        return (ns);
 }
 
@@ -1246,7 +1246,7 @@ isc_mempool_destroy(isc_mempool_t **mpctxp) {
         * Remove our linked list entry from the memory context.
         */
        ISC_LIST_UNLINK(mctx->pools, mpctx, link);
-       
+
        mpctx->magic = 0;
 
        mem_putunlocked(mpctx->mctx, mpctx, sizeof(isc_mempool_t));
index 7f8659393cfa95a31cc550f69e701ca9250d7de3..d57066d2bcf5fb3637db087d0aa28d9c76138826 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mutexblock.c,v 1.9 2000/07/27 09:51:01 tale Exp $ */
+/* $Id: mutexblock.c,v 1.10 2000/08/01 01:29:35 tale Exp $ */
 
 #include <config.h>
 
index f14e185345062b386d27c3cc575b22a8063e9889..0bf067c6e73f180a2ba557bd6d923495fbb81a8a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netaddr.c,v 1.11 2000/07/27 09:51:02 tale Exp $ */
+/* $Id: netaddr.c,v 1.12 2000/08/01 01:29:37 tale Exp $ */
 
 #include <config.h>
 
@@ -59,12 +59,12 @@ isc_netaddr_eqprefix(const isc_netaddr_t *a, const isc_netaddr_t *b,
        unsigned int ipabytes; /* Length of whole IP address in bytes */
        unsigned int nbytes;   /* Number of significant whole bytes */
        unsigned int nbits;    /* Number of significant leftover bits */
-       
+
        REQUIRE(a != NULL && b != NULL);
 
        if (a->family != b->family)
                return (ISC_FALSE);
-       
+
        switch (a->family) {
        case AF_INET:
                pa = (const unsigned char *) &a->type.in;
@@ -125,7 +125,7 @@ isc_netaddr_totext(const isc_netaddr_t *netaddr, isc_buffer_t *target) {
 
        if (alen > isc_buffer_availablelength(target))
                return (ISC_R_NOSPACE);
-           
+
        isc_buffer_putmem(target, (unsigned char *)abuf, alen);
 
        return (ISC_R_SUCCESS);
@@ -148,7 +148,7 @@ isc_netaddr_format(isc_netaddr_t *na, char *array, unsigned int size) {
                else
                        result = ISC_R_NOSPACE;
        }
-               
+
        if (result != ISC_R_SUCCESS) {
                snprintf(array, size,
                         "<unknown address, family %u>",
@@ -161,7 +161,7 @@ isc_result_t
 isc_netaddr_masktoprefixlen(const isc_netaddr_t *s, unsigned int *lenp) {
        unsigned int nbits, nbytes, ipbytes, i;
        const unsigned char *p;
-       
+
        switch (s->family) {
        case AF_INET:
                p = (const unsigned char *) &s->type.in;
index 5967f9bb1f51ae10049bde29561f72ca9001fae1..d48bb85f013f0d605e020684284a63ae5be62f2b 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.9 2000/07/27 09:52:23 tale Exp $
+# $Id: Makefile.in,v 1.10 2000/08/01 01:30:57 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 91e48bf5000dd57a8f49bd0b66617074737c567b..f9600c60273ad704daa58e3064f5ddc7e76c46a9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: msgcat.c,v 1.7 2000/07/27 09:52:24 tale Exp $ */
+/* $Id: msgcat.c,v 1.8 2000/08/01 01:30:58 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
index 79b762f136b4aa0e4934dc83f83d092d5408c339..ea6064a8e22b2deda0653c6c8ff5e71adc156f74 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ondestroy.c,v 1.8 2000/07/27 09:51:03 tale Exp $ */
+/* $Id: ondestroy.c,v 1.9 2000/08/01 01:29:38 tale Exp $ */
 
 #include <config.h>
 
@@ -54,7 +54,7 @@ isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task,
        isc_task_attach(task, &thetask);
 
        theevent->ev_sender = thetask;
-       
+
        ISC_LIST_APPEND(ondest->events, theevent, ev_link);
 
        return (ISC_R_SUCCESS);
@@ -64,7 +64,7 @@ void
 isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender) {
        isc_event_t *eventp;
        isc_task_t *task;
-       
+
        REQUIRE(VALID_ONDESTROY(ondest));
 
        eventp = ISC_LIST_HEAD(ondest->events);
@@ -73,11 +73,11 @@ isc_ondestroy_notify(isc_ondestroy_t *ondest, void *sender) {
 
                task = eventp->ev_sender;
                eventp->ev_sender = sender;
-               
+
                isc_task_sendanddetach(&task, &eventp);
 
                eventp = ISC_LIST_HEAD(ondest->events);
        }
 }
 
-       
+
index 522efc5f717ecb4f1c17b2ae62a6863bbfcc882b..7d7c02e5e7a0c32302628cb2ee56181c9b8cc8b6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: print.c,v 1.12 2000/07/27 09:51:05 tale Exp $ */
+/* $Id: print.c,v 1.13 2000/08/01 01:29:39 tale Exp $ */
 
 #include <config.h>
 
@@ -83,7 +83,7 @@ isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) {
        long double ldbl;
 #endif
        char fmt[32];
-       
+
        INSIST(str != NULL);
        INSIST(format != NULL);
 
@@ -141,7 +141,7 @@ isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) {
                        char *e;
                        width = strtoul(format, &e, 10);
                        format = e;
-               } 
+               }
 
                /*
                 * Precision.
@@ -380,7 +380,7 @@ isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) {
                                        size--;
                                        pad--;
                                }
-                       if (precision != 0) 
+                       if (precision != 0)
                                while (precision > 0 && *cp != '\0' &&
                                       size > 1) {
                                        *str++ = *cp++;
@@ -406,7 +406,7 @@ isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) {
                                if (left) {
                                        *str++ = c;
                                        size--;
-                               } 
+                               }
                                while (width-- > 0 && size > 1) {
                                        *str++ = ' ';
                                        size--;
@@ -497,7 +497,7 @@ isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) {
                         *
                         * precisions > 324 don't make much sence.
                         * if we cap the precision at 512 we will not
-                        * overflow buf. 
+                        * overflow buf.
                         */
                        if (precision > 512)
                                precision = 512;
index a8e1bcaec5ee19b9fc6f6b7d2a7397a4d3f8e05d..800998808bfb2df7b0d94562686f97f0d0407e33 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.13 2000/07/27 09:52:25 tale Exp $
+# $Id: Makefile.in,v 1.14 2000/08/01 01:30:59 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 1f71d9cf9b163c51ad3c1e902c6615e581d56625..a72d69772f41bcf9b177e00130ae5a5c37d9dd3d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: condition.c,v 1.23 2000/07/27 09:52:26 tale Exp $ */
+/* $Id: condition.c,v 1.24 2000/08/01 01:31:00 tale Exp $ */
 
 #include <config.h>
 
index 7d64aa2c8d6e698e88820e80fc2b852202bb86ab..57d11ac279d65ac56264154a3108bf78dd21b252 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.9 2000/07/27 09:52:28 tale Exp $
+# $Id: Makefile.in,v 1.10 2000/08/01 01:31:03 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 0ad55a306a876cb44d4e0ec24999e0e04b3246db..c174c6f63e3b60ca05f4ec22c446749e9f16c1d3 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.10 2000/07/27 09:52:30 tale Exp $
+# $Id: Makefile.in,v 1.11 2000/08/01 01:31:04 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index b5681bc60b8bcb1ee13c345d89a79dbe56023010..4c5a6c49baa80463021f3b4deb39db85e8b015c8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: condition.h,v 1.17 2000/07/27 09:52:31 tale Exp $ */
+/* $Id: condition.h,v 1.18 2000/08/01 01:31:05 tale Exp $ */
 
 #ifndef ISC_CONDITION_H
 #define ISC_CONDITION_H 1
index dd129206bc7b23e09410d1ee3238a5995d8ba650..269122b6d8147880a13c4ccd8f0fe45ef05c7b9e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mutex.h,v 1.15 2000/07/27 09:52:32 tale Exp $ */
+/* $Id: mutex.h,v 1.16 2000/08/01 01:31:06 tale Exp $ */
 
 #ifndef ISC_MUTEX_H
 #define ISC_MUTEX_H 1
index a9c3a8a587956e21d8f11d4fd30bf40dd0d0a514..e75e4424861e669e727df1168051e889abf66bf1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: once.h,v 1.6 2000/07/27 09:52:33 tale Exp $ */
+/* $Id: once.h,v 1.7 2000/08/01 01:31:07 tale Exp $ */
 
 #ifndef ISC_ONCE_H
 #define ISC_ONCE_H 1
index cb7785240d3adba0d2b44475ea6dd90775daa27a..e1b7528029355045f055f02ca9295459a47af5b6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: thread.h,v 1.17 2000/07/27 09:52:34 tale Exp $ */
+/* $Id: thread.h,v 1.18 2000/08/01 01:31:08 tale Exp $ */
 
 #ifndef ISC_THREAD_H
 #define ISC_THREAD_H 1
index fbee251bd0439ab9a12f36ee4cde374dd645546f..578d3d61268fc833121e71156f333a94542f8e23 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: thread.c,v 1.6 2000/07/27 09:52:27 tale Exp $ */
+/* $Id: thread.c,v 1.7 2000/08/01 01:31:01 tale Exp $ */
 
 #include <config.h>
 
index 75c8d5a1e4a78fed82219dd1d3065237b39477a5..c6dd2fab7d018d0b64a36d245843275bff9246a6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: quota.c,v 1.7 2000/07/27 09:51:06 tale Exp $ */
+/* $Id: quota.c,v 1.8 2000/08/01 01:29:40 tale Exp $ */
 
 #include <config.h>
 
@@ -56,7 +56,7 @@ isc_quota_release(isc_quota_t *quota) {
        LOCK(&quota->lock);
        INSIST(quota->used > 0);
        quota->used--;
-       UNLOCK(&quota->lock);   
+       UNLOCK(&quota->lock);
 }
 
 isc_result_t
index cb8a62a317c11ed3394b5ed0bd85c9f6673ae930..43e85795f6027d60f08187df5f42e72f2e84c811 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: random.c,v 1.8 2000/07/27 09:51:07 tale Exp $ */
+/* $Id: random.c,v 1.9 2000/08/01 01:29:41 tale Exp $ */
 
 #include <config.h>
 
@@ -100,7 +100,7 @@ isc_random_get(isc_random_t *r, isc_uint32_t *val)
        REQUIRE(val != NULL);
 
        UNUSED(r);
-       
+
        initialize();
 
 #if 0
index a4c68202731cc4e750b14afdfc5009aa64b712bb..5c3a4c3f31febba2e7c289d20cf0b5435e26a119 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ratelimiter.c,v 1.15 2000/07/27 09:51:08 tale Exp $ */
+/* $Id: ratelimiter.c,v 1.16 2000/08/01 01:29:42 tale Exp $ */
 
 #include <config.h>
 
@@ -60,7 +60,7 @@ isc_ratelimiter_create(isc_mem_t *mctx, isc_timermgr_t *timermgr,
        isc_result_t result;
        isc_ratelimiter_t *rl;
        INSIST(ratelimiterp != NULL && *ratelimiterp == NULL);
-       
+
        rl = isc_mem_get(mctx, sizeof(*rl));
        if (rl == NULL)
                return ISC_R_NOMEMORY;
@@ -87,7 +87,7 @@ isc_ratelimiter_create(isc_mem_t *mctx, isc_timermgr_t *timermgr,
         * (soon) have events outstanding.
         */
        rl->refs++;
-       
+
        ISC_EVENT_INIT(&rl->shutdownevent,
                       sizeof(isc_event_t),
                       0, NULL, ISC_RATELIMITEREVENT_SHUTDOWN,
@@ -125,7 +125,7 @@ isc_ratelimiter_setpertic(isc_ratelimiter_t *rl, isc_uint32_t pertic) {
                pertic = 1;
        rl->pertic = pertic;
 }
-                       
+
 isc_result_t
 isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
                        isc_event_t **eventp)
@@ -224,14 +224,14 @@ isc_ratelimiter_shutdown(isc_ratelimiter_t *rl) {
         */
        ev = &rl->shutdownevent;
        isc_task_send(rl->task, &ev);
-       
+
        UNLOCK(&rl->lock);
 }
 
 static void
 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event) {
        isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg;
-       
+
        UNUSED(task);
 
        isc_ratelimiter_detach(&rl);
index 8dfe61260fae314e77f5fb4cf844928135e09caf..a6d7c33bee641b98338c5eabdbc48233426c8b41 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.c,v 1.45 2000/07/27 09:51:09 tale Exp $ */
+/* $Id: result.c,v 1.46 2000/08/01 01:29:43 tale Exp $ */
 
 #include <config.h>
 
index 0b39d4704b06c1e311d3e2e52c40008e48fb0db8..02277d1f159a2d3b1bbe9be6971e3ecc9a67df94 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rwlock.c,v 1.18 2000/07/30 17:57:48 bwelling Exp $ */
+/* $Id: rwlock.c,v 1.19 2000/08/01 01:29:44 tale Exp $ */
 
 #include <config.h>
 
index 449870fd9e14a403d453576e0ceec4ca0ca32ecb..7f5ba638f2bd10568bc553ff9fd12c071a586a47 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: serial.c,v 1.5 2000/07/27 09:51:11 tale Exp $ */
+/* $Id: serial.c,v 1.6 2000/08/01 01:29:45 tale Exp $ */
 #include <config.h>
 
 #include <isc/serial.h>
index 3f8fa9e378283bb5afd026d198ba3382574f7679..91f5a7cd46ac7642871117e59cef7b03d4dfd335 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sha1.c,v 1.8 2000/07/27 09:51:12 tale Exp $ */
+/* $Id: sha1.c,v 1.9 2000/08/01 01:29:47 tale Exp $ */
 
 /*     $NetBSD: sha1.c,v 1.5 2000/01/22 22:19:14 mycroft Exp $ */
 /*     $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $       */
index e02c8c291472476a69b8de0e2da6dd1afb142e9c..70de863e067b1691d387ecf8259977c4e562c7e9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sockaddr.c,v 1.43 2000/07/27 09:51:13 tale Exp $ */
+/* $Id: sockaddr.c,v 1.44 2000/08/01 01:29:48 tale Exp $ */
 
 #include <config.h>
 
@@ -122,7 +122,7 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target) {
 
        /*
         * Do the port first, giving us the opportunity to check for
-        * unsupported address families before calling 
+        * unsupported address families before calling
         * isc_netaddr_fromsockaddr().
         */
        switch (sockaddr->type.sa.sa_family) {
@@ -135,18 +135,18 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target) {
        default:
                return (ISC_R_FAILURE);
        }
-       
+
        plen = strlen(pbuf);
        INSIST(plen < sizeof(pbuf));
-       
+
        isc_netaddr_fromsockaddr(&netaddr, sockaddr);
        result = isc_netaddr_totext(&netaddr, target);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        if (1 + plen + 1 > isc_buffer_availablelength(target))
                return (ISC_R_NOSPACE);
-           
+
        isc_buffer_putmem(target, (const unsigned char *)"#", 1);
        isc_buffer_putmem(target, (const unsigned char *)pbuf, plen);
 
@@ -181,7 +181,7 @@ isc_sockaddr_hash(const isc_sockaddr_t *sockaddr, isc_boolean_t address_only) {
        const unsigned char *s;
        unsigned int h = 0;
        unsigned int g;
-       
+
        /*
         * Provide a hash value for 'sockaddr'.
         */
@@ -336,7 +336,7 @@ isc_sockaddr_fromnetaddr(isc_sockaddr_t *sockaddr, const isc_netaddr_t *na,
                sockaddr->type.sin.sin_port = htons(port);
                break;
        case AF_INET6:
-               sockaddr->length = sizeof sockaddr->type.sin6;          
+               sockaddr->length = sizeof sockaddr->type.sin6;
 #ifdef ISC_PLATFORM_HAVESALEN
                sockaddr->type.sin6.sin6_len = sizeof sockaddr->type.sin6;
 #endif
index 8a0f9cb8901879e699e0c581f825a64679432184..2e476e7e7dd1b38c42985eb3ff9b023883a3c154 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: string.c,v 1.4 2000/07/27 09:51:15 tale Exp $ */
+/* $Id: string.c,v 1.5 2000/08/01 01:29:49 tale Exp $ */
 
 #include <config.h>
 
@@ -32,7 +32,7 @@ isc_string_touint64(char *source, char **end, int base) {
        char *s = source;
        char *o;
        char c;
-       
+
        if ((base < 0) || (base == 1) || (base > 36)) {
                *end = source;
                return (0);
@@ -58,7 +58,7 @@ isc_string_touint64(char *source, char **end, int base) {
        overflow = ~0;
        overflow /= base;
        tmp = 0;
-               
+
        while ((c = *s) != 0) {
                c = tolower(c);
                /* end ? */
index 093620789af36ef3eb028967644556d635dfa64e..66012a403e4f0fcbba2a460acb615da78f38cd86 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: symtab.c,v 1.19 2000/07/27 09:51:16 tale Exp $ */
+/* $Id: symtab.c,v 1.20 2000/08/01 01:29:50 tale Exp $ */
 
 #include <config.h>
 
index 530cbf2446fa4058f3abcb0e81f3c2d7b2f69a78..60dac065f35390593092158e7439ad9a2d925de8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task.c,v 1.68 2000/07/27 22:24:54 bwelling Exp $ */
+/* $Id: task.c,v 1.69 2000/08/01 01:29:51 tale Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -224,7 +224,7 @@ static inline isc_boolean_t
 task_shutdown(isc_task_t *task) {
        isc_boolean_t was_idle = ISC_FALSE;
        isc_event_t *event, *prev;
-       
+
        /*
         * Caller must be holding the task's lock.
         */
@@ -331,7 +331,7 @@ static inline isc_boolean_t
 task_send(isc_task_t *task, isc_event_t **eventp) {
        isc_boolean_t was_idle = ISC_FALSE;
        isc_event_t *event;
-       
+
        /*
         * Caller must be holding the task lock.
         */
@@ -355,7 +355,7 @@ task_send(isc_task_t *task, isc_event_t **eventp) {
        *eventp = NULL;
 
        return (was_idle);
-}      
+}
 
 void
 isc_task_send(isc_task_t *task, isc_event_t **eventp) {
@@ -710,7 +710,7 @@ run(void *uap) {
        /*
         * Again we're trying to hold the lock for as short a time as possible
         * and to do as little locking and unlocking as possible.
-        * 
+        *
         * In both while loops, the appropriate lock must be held before the
         * while body starts.  Code which acquired the lock at the top of
         * the loop would be more readable, but would result in a lot of
@@ -738,7 +738,7 @@ run(void *uap) {
         * unlocks.  Also note that the lock is not held when the while
         * condition is tested, which may or may not be important, depending
         * on the expression.
-        * 
+        *
         * As written:
         *
         *      LOCK();
@@ -772,7 +772,7 @@ run(void *uap) {
                        XTHREADTRACE("awake");
                }
                XTHREADTRACE("working");
-               
+
                task = HEAD(manager->ready_tasks);
                if (task != NULL) {
                        unsigned int dispatch_count = 0;
@@ -785,7 +785,7 @@ run(void *uap) {
 
                        /*
                         * Note we only unlock the manager lock if we actually
-                        * have a task to do.  We must reacquire the manager 
+                        * have a task to do.  We must reacquire the manager
                         * lock before exiting the 'if (task != NULL)' block.
                         */
                        DEQUEUE(manager->ready_tasks, task, ready_link);
@@ -816,7 +816,7 @@ run(void *uap) {
                                    EMPTY(task->events) &&
                                    !TASK_SHUTTINGDOWN(task)) {
                                        isc_boolean_t was_idle;
-                                       
+
                                        /*
                                         * There are no references and no
                                         * pending events for this task,
@@ -930,7 +930,7 @@ manager_free(isc_taskmgr_t *manager) {
 }
 
 isc_result_t
-isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers, 
+isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
                   unsigned int default_quantum, isc_taskmgr_t **managerp)
 {
        unsigned int i, started = 0;
@@ -987,7 +987,7 @@ isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
         */
        for (i = 0; i < workers; i++) {
                if (isc_thread_create(run, manager,
-                                     &manager->threads[manager->workers]) == 
+                                     &manager->threads[manager->workers]) ==
                    ISC_R_SUCCESS) {
                        manager->workers++;
                        started++;
@@ -998,7 +998,7 @@ isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
        if (started == 0) {
                manager_free(manager);
                return (ISC_R_NOTHREADS);
-       }               
+       }
 
        *managerp = manager;
 
index 87440f4cb358ed8d5698540fc0782a99c9ab55a0..3320a148886c577e4b511462c36f856dde629af6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: taskpool.c,v 1.8 2000/07/27 09:51:18 tale Exp $ */
+/* $Id: taskpool.c,v 1.9 2000/08/01 01:29:52 tale Exp $ */
 
 #include <config.h>
 
@@ -28,7 +28,7 @@
  ***/
 
 struct isc_taskpool {
-       isc_mem_t *                     mctx;           
+       isc_mem_t *                     mctx;
        unsigned int                    ntasks;
        isc_task_t **                   tasks;
 };
@@ -44,7 +44,7 @@ isc_taskpool_create(isc_taskmgr_t *tmgr, isc_mem_t *mctx,
        unsigned int i;
        isc_taskpool_t *pool;
        isc_result_t result;
-       
+
        INSIST(ntasks > 0);
        pool = isc_mem_get(mctx, sizeof *pool);
        if (pool == NULL)
@@ -52,7 +52,7 @@ isc_taskpool_create(isc_taskmgr_t *tmgr, isc_mem_t *mctx,
        pool->mctx = mctx;
        pool->ntasks = ntasks;
        pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
-       for (i = 0; i < ntasks; i++) 
+       for (i = 0; i < ntasks; i++)
                pool->tasks[i] = NULL;
        for (i = 0; i < ntasks; i++) {
                result = isc_task_create(tmgr, quantum, &pool->tasks[i]);
index 8a3784e9964d04c7eba8f06479177da94d76dc01..bc84c6a9760623643238b6a720007f1ce1cceb48 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.53 2000/07/27 09:51:19 tale Exp $ */
+/* $Id: timer.c,v 1.54 2000/08/01 01:29:53 tale Exp $ */
 
 #include <config.h>
 
@@ -92,7 +92,7 @@ schedule(isc_timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) {
        isc_time_t due;
        int cmp;
 
-       /* 
+       /*
         * Note: the caller must ensure locking.
         */
 
@@ -115,7 +115,7 @@ schedule(isc_timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) {
                else
                        due = timer->expires;
        }
-       
+
        /*
         * Schedule the timer.
         */
@@ -168,7 +168,7 @@ deschedule(isc_timer_t *timer) {
        isc_boolean_t need_wakeup = ISC_FALSE;
        isc_timermgr_t *manager;
 
-       /* 
+       /*
         * The caller must ensure locking.
         */
 
@@ -317,7 +317,7 @@ isc_timer_create(isc_timermgr_t *manager, isc_timertype_t type,
                result = ISC_R_SUCCESS;
        if (result == ISC_R_SUCCESS)
                APPEND(manager->timers, timer, link);
-       
+
        UNLOCK(&manager->lock);
 
        if (result != ISC_R_SUCCESS) {
@@ -461,11 +461,11 @@ isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) {
        LOCK(&timer->lock);
        timer->references++;
        UNLOCK(&timer->lock);
-       
+
        *timerp = timer;
 }
 
-void 
+void
 isc_timer_detach(isc_timer_t **timerp) {
        isc_timer_t *timer;
        isc_boolean_t free_timer = ISC_FALSE;
@@ -484,7 +484,7 @@ isc_timer_detach(isc_timer_t **timerp) {
        if (timer->references == 0)
                free_timer = ISC_TRUE;
        UNLOCK(&timer->lock);
-       
+
        if (free_timer)
                destroy(timer);
 
@@ -550,7 +550,7 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
                                        UNEXPECTED_ERROR(__FILE__, __LINE__,
                                                 "couldn't allocate event");
                        }
-                                       
+
                        timer->index = 0;
                        isc_heap_delete(manager->heap, 1);
                        manager->nscheduled--;
@@ -566,7 +566,7 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
                        manager->due = timer->due;
                        done = ISC_TRUE;
                }
-       } 
+       }
 }
 
 static isc_threadresult_t
@@ -641,7 +641,7 @@ isc_timermgr_create(isc_mem_t *mctx, isc_timermgr_t **managerp) {
        manager = isc_mem_get(mctx, sizeof *manager);
        if (manager == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        manager->magic = TIMER_MANAGER_MAGIC;
        manager->mctx = NULL;
        manager->done = ISC_FALSE;
index 44e2b33913ef32b31695e8e2c6a592a76f58bb0e..f8b196602a163c9cb6898b6a233b1e42f038a81c 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.30 2000/07/27 09:52:35 tale Exp $
+# $Id: Makefile.in,v 1.31 2000/08/01 01:31:10 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index a976108649d2cf2a2c0e6105a75e636f1f93e538..53f373736c69f3e743fef8faa6d75fed8ea06882 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: app.c,v 1.22 2000/07/27 09:52:36 tale Exp $ */
+/* $Id: app.c,v 1.23 2000/08/01 01:31:11 tale Exp $ */
 
 #include <config.h>
 
@@ -91,7 +91,7 @@ handle_signal(int sig, void (*handler)(int)) {
                                 strerror(errno));
                return (ISC_R_UNEXPECTED);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
@@ -112,7 +112,7 @@ isc_app_start(void) {
        presult = pthread_init();
        if (presult != 0) {
                UNEXPECTED_ERROR(__FILE__, __LINE__,
-                                "isc_app_start() pthread_init: %s", 
+                                "isc_app_start() pthread_init: %s",
                                 strerror(presult));
                return (ISC_R_UNEXPECTED);
        }
@@ -185,14 +185,14 @@ isc_app_start(void) {
            sigaddset(&sset, SIGINT) != 0 ||
            sigaddset(&sset, SIGTERM) != 0) {
                UNEXPECTED_ERROR(__FILE__, __LINE__,
-                                "isc_app_start() sigsetops: %s", 
+                                "isc_app_start() sigsetops: %s",
                                 strerror(errno));
                return (ISC_R_UNEXPECTED);
        }
        presult = pthread_sigmask(SIG_BLOCK, &sset, NULL);
        if (presult != 0) {
                UNEXPECTED_ERROR(__FILE__, __LINE__,
-                                "isc_app_start() pthread_sigmask: %s", 
+                                "isc_app_start() pthread_sigmask: %s",
                                 strerror(presult));
                return (ISC_R_UNEXPECTED);
        }
@@ -232,7 +232,7 @@ isc_app_onrun(isc_mem_t *mctx, isc_task_t *task, isc_taskaction_t action,
                result = ISC_R_NOMEMORY;
                goto unlock;
        }
-       
+
        ISC_LIST_APPEND(on_run, event, ev_link);
 
        result = ISC_R_SUCCESS;
@@ -280,7 +280,7 @@ isc_app_run(void) {
                }
 
        }
-       
+
        UNLOCK(&lock);
 
 #ifndef HAVE_SIGWAIT
@@ -311,7 +311,7 @@ isc_app_run(void) {
                    sigaddset(&sset, SIGINT) != 0 ||
                    sigaddset(&sset, SIGTERM) != 0) {
                        UNEXPECTED_ERROR(__FILE__, __LINE__,
-                                        "isc_app_run() sigsetops: %s", 
+                                        "isc_app_run() sigsetops: %s",
                                         strerror(errno));
                        return (ISC_R_UNEXPECTED);
                }
@@ -343,7 +343,7 @@ isc_app_run(void) {
                 */
                if (sigemptyset(&sset) != 0) {
                        UNEXPECTED_ERROR(__FILE__, __LINE__,
-                                        "isc_app_run() sigsetops: %s", 
+                                        "isc_app_run() sigsetops: %s",
                                         strerror(errno));
                        return (ISC_R_UNEXPECTED);
                }
@@ -368,7 +368,7 @@ isc_app_shutdown(void) {
         */
 
        LOCK(&lock);
-       
+
        REQUIRE(running);
 
        if (shutdown_requested)
@@ -381,7 +381,7 @@ isc_app_shutdown(void) {
        if (want_kill) {
 #ifdef HAVE_LINUXTHREADS
                int result;
-               
+
                result = pthread_kill(main_thread, SIGTERM);
                if (result != 0) {
                        UNEXPECTED_ERROR(__FILE__, __LINE__,
@@ -411,7 +411,7 @@ isc_app_reload(void) {
         */
 
        LOCK(&lock);
-       
+
        REQUIRE(running);
 
        /*
@@ -425,7 +425,7 @@ isc_app_reload(void) {
        if (want_kill) {
 #ifdef HAVE_LINUXTHREADS
                int result;
-               
+
                result = pthread_kill(main_thread, SIGHUP);
                if (result != 0) {
                        UNEXPECTED_ERROR(__FILE__, __LINE__,
index 36997fe959fa6158797b4d4b5e6342c81c1bb466..bf7ba4338019b885f1977d0dcff7ca5541fd08b2 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dir.c,v 1.12 2000/07/27 09:52:38 tale Exp $ */
+/* $Id: dir.c,v 1.13 2000/08/01 01:31:12 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -51,7 +51,7 @@ isc_dir_init(isc_dir_t *dir) {
 }
 
 /*
- * Allocate workspace and open directory stream. If either one fails, 
+ * Allocate workspace and open directory stream. If either one fails,
  * NULL will be returned.
  */
 isc_result_t
@@ -92,7 +92,7 @@ isc_dir_read(isc_dir_t *dir) {
                return (ISC_R_NOMORE);
 
        /*
-        * Make sure that the space for the name is long enough. 
+        * Make sure that the space for the name is long enough.
         */
        if (sizeof(dir->entry.name) <= strlen(entry->d_name))
            return (ISC_R_UNEXPECTED);
index 4b9e259808626e31c8e88332cd1460dd328a0754..d4d3c2206b3cf1bf2cc9f2dfc7270b43004107ef 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: entropy.c,v 1.46 2000/07/27 09:52:39 tale Exp $ */
+/* $Id: entropy.c,v 1.47 2000/08/01 01:31:13 tale Exp $ */
 
 #include <config.h>
 
@@ -708,7 +708,7 @@ isc_entropy_getdata(isc_entropy_t *ent, void *data, unsigned int length,
                isc_sha1_update(&hash, (void *)(ent->pool.pool),
                                RND_POOLWORDS * 4);
                isc_sha1_final(&hash, digest);
-    
+
                /*
                 * Stir the extracted data (all of it) back into the pool.
                 */
index 86f2d3e9bb2942b5aa2d846935eb257e3daab34b..4c626b81eb32d90c449d8127dab1dcdd9d32e484 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: errno2result.c,v 1.3 2000/07/27 09:52:40 tale Exp $ */
+/* $Id: errno2result.c,v 1.4 2000/08/01 01:31:14 tale Exp $ */
 
 #include <config.h>
 
index 34cf2f2f94a344b458dbd7edd0fd0de029872839..af7ff31c0e2f4f1820de72251e688b4b78c845c8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: errno2result.h,v 1.4 2000/07/27 09:52:41 tale Exp $ */
+/* $Id: errno2result.h,v 1.5 2000/08/01 01:31:15 tale Exp $ */
 
 #ifndef UNIX_ERRNO2RESULT_H
 #define UNIX_ERRNO2RESULT_H 1
index 115147614214a8c57a7cc002dd22c0920789acec..48beaea7a99b9ebd65baae7e492fed2673e39f6d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: file.c,v 1.19 2000/07/27 09:52:42 tale Exp $ */
+/* $Id: file.c,v 1.20 2000/08/01 01:31:16 tale Exp $ */
 
 #include <config.h>
 
 static isc_result_t
 file_stats(const char *file, struct stat *stats) {
        isc_result_t result = ISC_R_SUCCESS;
-       
+
        if (stat(file, stats) != 0)
                result = isc__errno2result(errno);
-               
+
        return (result);
 }
 
@@ -126,20 +126,20 @@ isc_file_mktemplate(const char *path, char *buf, size_t buflen) {
        if (s != NULL) {
                if ((s - path + 1 + sizeof(TEMPLATE)) > buflen)
                        return (ISC_R_NOSPACE);
-               
+
                strncpy(buf, path, s - path + 1);
                buf[s - path + 1] = '\0';
                strcat(buf, TEMPLATE);
        } else {
                if (sizeof(TEMPLATE) > buflen)
                        return (ISC_R_NOSPACE);
-               
+
                strcpy(buf, TEMPLATE);
        }
-       
+
        return (ISC_R_SUCCESS);
 }
+
 isc_result_t
 isc_file_openunique(char *templet, FILE **fp) {
        int fd;
@@ -173,7 +173,7 @@ isc_file_openunique(char *templet, FILE **fp) {
 isc_result_t
 isc_file_remove(const char *filename) {
        int r;
-       
+
        r = unlink(filename);
        if (r == 0)
                return (ISC_R_SUCCESS);
index 8132b7c2260dc4aa3440301b0ac8d45b048d1ad7..b820795fdac6f8e3819999721c79b2585b4007bd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: fsaccess.c,v 1.4 2000/07/27 09:52:43 tale Exp $ */
+/* $Id: fsaccess.c,v 1.5 2000/08/01 01:31:18 tale Exp $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
index 3dd03b0bd1a89afa8534a38100b6e269b06385fc..526e1700e7294bba47d0fed88b77525298f98ed0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_ioctl.c,v 1.12 2000/07/27 09:52:44 tale Exp $ */
+/* $Id: ifiter_ioctl.c,v 1.13 2000/08/01 01:31:19 tale Exp $ */
 
 /*
  * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
  * See netintro(4).
- */ 
+ */
 #ifndef SIOCGLIFCONF
 #define SIOCGLIFCONF SIOCGIFCONF
 #define lifc_len ifc_len
@@ -45,7 +45,7 @@
 #endif
 
 
-#define IFITER_MAGIC           0x49464954U     /* IFIT. */     
+#define IFITER_MAGIC           0x49464954U     /* IFIT. */
 #define VALID_IFITER(t)                ((t) != NULL && (t)->magic == IFITER_MAGIC)
 
 struct isc_interfaceiter {
@@ -77,7 +77,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
        REQUIRE(mctx != NULL);
        REQUIRE(iterp != NULL);
        REQUIRE(*iterp == NULL);
-       
+
        iter = isc_mem_get(mctx, sizeof(*iter));
        if (iter == NULL)
                return (ISC_R_NOMEMORY);
@@ -95,7 +95,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
                result = ISC_R_UNEXPECTED;
                goto socket_failure;
        }
-       
+
        /*
         * Get the interface configuration, allocating more memory if
         * necessary.
@@ -108,7 +108,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
                        result = ISC_R_NOMEMORY;
                        goto alloc_failure;
                }
-               
+
                memset(&iter->ifc.lifc_len, 0, sizeof(iter->ifc.lifc_len));
 #ifdef ISC_HAVE_LIFC_FAMILY
                iter->ifc.lifc_family = AF_UNSPEC;
@@ -146,18 +146,18 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
                         * retry.
                         */
                        if (iter->ifc.lifc_len + 2 * sizeof(struct lifreq)
-                           < iter->bufsize) 
+                           < iter->bufsize)
                                break;
                }
                if (iter->bufsize >= IFCONF_BUFSIZE_MAX) {
-                       UNEXPECTED_ERROR(__FILE__, __LINE__, 
+                       UNEXPECTED_ERROR(__FILE__, __LINE__,
                                         "get interface configuration: "
                                         "maximum buffer size exceeded");
                        result = ISC_R_UNEXPECTED;
                        goto ioctl_failure;
                }
                isc_mem_put(mctx, iter->buf, iter->bufsize);
-               
+
                iter->bufsize *= 2;
        }
 
@@ -167,7 +167,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
         */
        iter->pos = (unsigned int) -1;
        iter->result = ISC_R_FAILURE;
-       
+
        iter->magic = IFITER_MAGIC;
        *iterp = iter;
        return (ISC_R_SUCCESS);
@@ -177,7 +177,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
 
  alloc_failure:
        (void) close(iter->socket);
-       
+
  socket_failure:
        isc_mem_put(mctx, iter, sizeof *iter);
        return (result);
@@ -196,25 +196,25 @@ internal_current(isc_interfaceiter_t *iter) {
        struct lifreq *ifrp;
        struct lifreq lifreq;
        int family;
-       
+
        REQUIRE(VALID_IFITER(iter));
        REQUIRE (iter->pos < (unsigned int) iter->ifc.lifc_len);
-       
+
        ifrp = (struct lifreq *)((char *) iter->ifc.lifc_req + iter->pos);
-       
+
        memset(&lifreq, 0, sizeof lifreq);
        memcpy(&lifreq, ifrp, sizeof lifreq);
 
        family = lifreq.lifr_addr.ss_family;
        if (family != AF_INET)
-               return (ISC_R_IGNORE); 
-       
+               return (ISC_R_IGNORE);
+
        memset(&iter->current, 0, sizeof(iter->current));
        iter->current.af = family;
-       
+
        INSIST(sizeof(lifreq.lifr_name) <= sizeof(iter->current.name));
        memcpy(iter->current.name, lifreq.lifr_name, sizeof(lifreq.lifr_name));
-       
+
        get_addr(family, &iter->current.address,
                 (struct sockaddr *)&lifreq.lifr_addr);
 
@@ -223,20 +223,20 @@ internal_current(isc_interfaceiter_t *iter) {
         */
 
        iter->current.flags = 0;
-       
+
        /*
         * Ignore the HP/UX warning about "interger overflow during
         * conversion.  It comes from its own macro definition,
         * and is really hard to shut up.
         */
        if (ioctl(iter->socket, SIOCGLIFFLAGS, (char *) &lifreq) < 0) {
-               UNEXPECTED_ERROR(__FILE__, __LINE__, 
+               UNEXPECTED_ERROR(__FILE__, __LINE__,
                                 "%s: getting interface flags: %s",
                                 lifreq.lifr_name,
                                 strerror(errno));
                return (ISC_R_IGNORE);
        }
-       
+
        if ((lifreq.lifr_flags & IFF_UP) != 0)
                iter->current.flags |= INTERFACE_F_UP;
 
@@ -257,7 +257,7 @@ internal_current(isc_interfaceiter_t *iter) {
                 */
                if (ioctl(iter->socket, SIOCGLIFDSTADDR, (char *)&lifreq)
                    < 0) {
-                       UNEXPECTED_ERROR(__FILE__, __LINE__, 
+                       UNEXPECTED_ERROR(__FILE__, __LINE__,
                                         "%s: getting destination address: %s",
                                         lifreq.lifr_name,
                                         strerror(errno));
@@ -269,7 +269,7 @@ internal_current(isc_interfaceiter_t *iter) {
 
        /*
         * Get the network mask.
-        */ 
+        */
        memset(&lifreq, 0, sizeof lifreq);
        memcpy(&lifreq, ifrp, sizeof lifreq);
        switch (family) {
@@ -288,7 +288,7 @@ internal_current(isc_interfaceiter_t *iter) {
                        return (ISC_R_IGNORE);
                }
                get_addr(family, &iter->current.netmask,
-                        (struct sockaddr *)&lifreq.lifr_addr);         
+                        (struct sockaddr *)&lifreq.lifr_addr);
                break;
        case AF_INET6: {
 #ifdef lifr_addrlen
@@ -308,12 +308,12 @@ internal_current(isc_interfaceiter_t *iter) {
                break;
        }
        }
-       
+
        return (ISC_R_SUCCESS);
 }
 
 /*
- * Step the iterator to the next interface.  Unlike 
+ * Step the iterator to the next interface.  Unlike
  * isc_interfaceiter_next(), this may leave the iterator
  * positioned on an interface that will ultimately
  * be ignored.  Return ISC_R_NOMORE if there are no more
@@ -324,9 +324,9 @@ internal_next(isc_interfaceiter_t *iter) {
        struct lifreq *ifrp;
 
        REQUIRE (iter->pos < (unsigned int) iter->ifc.lifc_len);
-       
+
        ifrp = (struct lifreq *)((char *) iter->ifc.lifc_req + iter->pos);
-               
+
 #ifdef ISC_PLATFORM_HAVESALEN
        if (ifrp->lifr_addr.sa_len > sizeof(struct sockaddr))
                iter->pos += sizeof(ifrp->lifr_name) + ifrp->lifr_addr.sa_len;
@@ -336,7 +336,7 @@ internal_next(isc_interfaceiter_t *iter) {
 
        if (iter->pos >= (unsigned int) iter->ifc.lifc_len)
                return (ISC_R_NOMORE);
-       
+
        return (ISC_R_SUCCESS);
 }
 
index 7b903c77df3adb60a63ca206602abfecaf814bbd..7740188ca2069619cc2a97144b6fb420dedcc0fb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_sysctl.c,v 1.9 2000/07/27 09:52:45 tale Exp $ */
+/* $Id: ifiter_sysctl.c,v 1.10 2000/08/01 01:31:20 tale Exp $ */
 
 /*
  * Obtain the list of network interfaces using sysctl.
  * See TCP/IP Illustrated Volume 2, sections 19.8, 19.14,
  * and 19.16.
- */ 
+ */
 
 #include <sys/param.h>
 #include <sys/sysctl.h>
@@ -39,7 +39,7 @@
                     : sizeof(long))
 #endif
 
-#define IFITER_MAGIC           0x49464953U     /* IFIS. */     
+#define IFITER_MAGIC           0x49464953U     /* IFIS. */
 #define VALID_IFITER(t)                ((t) != NULL && (t)->magic == IFITER_MAGIC)
 
 struct isc_interfaceiter {
@@ -56,23 +56,23 @@ struct isc_interfaceiter {
 
 static int mib[6] = {
        CTL_NET,
-       PF_ROUTE, 
-        0, 
+       PF_ROUTE,
+        0,
        0,                      /* Any address family. */
-        NET_RT_IFLIST, 
+        NET_RT_IFLIST,
        0                       /* Flags. */
 };
-       
+
 isc_result_t
 isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
        isc_interfaceiter_t *iter;
        isc_result_t result;
        size_t bufsize;
-       size_t bufused; 
+       size_t bufused;
        REQUIRE(mctx != NULL);
        REQUIRE(iterp != NULL);
        REQUIRE(*iterp == NULL);
-       
+
        iter = isc_mem_get(mctx, sizeof(*iter));
        if (iter == NULL)
                return (ISC_R_NOMEMORY);
@@ -85,7 +85,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
         */
        bufsize = 0;
        if (sysctl(mib, 6, NULL, &bufsize, NULL, (size_t) 0) < 0) {
-               UNEXPECTED_ERROR(__FILE__, __LINE__, 
+               UNEXPECTED_ERROR(__FILE__, __LINE__,
                                 "getting interface list size: sysctl: %s",
                                 strerror(errno));
                result = ISC_R_UNEXPECTED;
@@ -101,7 +101,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
 
        bufused = bufsize;
        if (sysctl(mib, 6, iter->buf, &bufused, NULL, (size_t) 0) < 0) {
-               UNEXPECTED_ERROR(__FILE__, __LINE__, 
+               UNEXPECTED_ERROR(__FILE__, __LINE__,
                                 "getting interface list: sysctl: %s",
                                 strerror(errno));
                result = ISC_R_UNEXPECTED;
@@ -116,7 +116,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
         */
        iter->pos = (unsigned int) -1;
        iter->result = ISC_R_FAILURE;
-       
+
        iter->magic = IFITER_MAGIC;
        *iterp = iter;
        return (ISC_R_SUCCESS);
@@ -139,34 +139,34 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
 static isc_result_t
 internal_current(isc_interfaceiter_t *iter) {
        struct ifa_msghdr *ifam, *ifam_end;
-       
+
        REQUIRE(VALID_IFITER(iter));
        REQUIRE (iter->pos < (unsigned int) iter->bufused);
 
        ifam = (struct ifa_msghdr *) ((char *) iter->buf + iter->pos);
        ifam_end = (struct ifa_msghdr *) ((char *) iter->buf + iter->bufused);
-       
+
        if (ifam->ifam_type == RTM_IFINFO) {
                struct if_msghdr *ifm = (struct if_msghdr *) ifam;
                struct sockaddr_dl *sdl = (struct sockaddr_dl *) (ifm + 1);
                unsigned int namelen;
 
                memset(&iter->current, 0, sizeof(iter->current));
-               
+
                namelen = sdl->sdl_nlen;
                if (namelen > sizeof(iter->current.name) - 1)
                        namelen = sizeof(iter->current.name) - 1;
-                   
+
                memcpy(iter->current.name, sdl->sdl_data, namelen);
 
                iter->current.flags = 0;
 
                if ((ifam->ifam_flags & IFF_UP) != 0)
                        iter->current.flags |= INTERFACE_F_UP;
-               
+
                if ((ifam->ifam_flags & IFF_POINTOPOINT) != 0)
                        iter->current.flags |= INTERFACE_F_POINTTOPOINT;
-               
+
                if ((ifam->ifam_flags & IFF_LOOPBACK) != 0)
                        iter->current.flags |= INTERFACE_F_LOOPBACK;
 
@@ -191,7 +191,7 @@ internal_current(isc_interfaceiter_t *iter) {
                                continue;
 
                        INSIST(sa < (struct sockaddr *) ifam_end);
-                       
+
                        switch (i) {
                        case RTAX_NETMASK: /* Netmask */
                                mask_sa = sa;
@@ -223,18 +223,18 @@ internal_current(isc_interfaceiter_t *iter) {
 
                if (addr_sa == NULL)
                        return (ISC_R_IGNORE);
-               
+
                family = addr_sa->sa_family;
                if (family != AF_INET) /* XXX IP6 */
                        return (ISC_R_IGNORE);
 
                iter->current.af = family;
-               
+
                get_addr(family, &iter->current.address, addr_sa);
 
                if (mask_sa != NULL)
                        get_addr(family, &iter->current.netmask, mask_sa);
-               
+
                if (dst_sa != NULL &&
                    (iter->current.flags & IFF_POINTOPOINT) != 0)
                        get_addr(family, &iter->current.dstaddress, dst_sa);
@@ -247,7 +247,7 @@ internal_current(isc_interfaceiter_t *iter) {
 }
 
 /*
- * Step the iterator to the next interface.  Unlike 
+ * Step the iterator to the next interface.  Unlike
  * isc_interfaceiter_next(), this may leave the iterator
  * positioned on an interface that will ultimately
  * be ignored.  Return ISC_R_NOMORE if there are no more
@@ -257,14 +257,14 @@ static isc_result_t
 internal_next(isc_interfaceiter_t *iter) {
        struct ifa_msghdr *ifam;
        REQUIRE (iter->pos < (unsigned int) iter->bufused);
-       
+
        ifam = (struct ifa_msghdr *) ((char *) iter->buf + iter->pos);
 
        iter->pos += ifam->ifam_msglen;
 
        if (iter->pos >= iter->bufused)
                return (ISC_R_NOMORE);
-       
+
        return (ISC_R_SUCCESS);
 }
 
index 58b0addf0a96e34f414a89fe3e6b2bb0d323903e..dd3b10fad0770884a79485cf602073e9a5b319ff 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.9 2000/07/27 09:52:57 tale Exp $
+# $Id: Makefile.in,v 1.10 2000/08/01 01:31:31 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 1467ed3a6af4b286dc52dba91807b16be4e9eab0..6da25ed16a71574a4b20c5bb5da987ed9c9962c7 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.22 2000/07/27 09:52:58 tale Exp $
+# $Id: Makefile.in,v 1.23 2000/08/01 01:31:32 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 76c03fef33639f8d4a3867cfd9c3b18f71db3bcf..2e2955291aebea238dadf6bdd5e205ba61d6a44d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: app.h,v 1.7 2000/07/27 09:52:59 tale Exp $ */
+/* $Id: app.h,v 1.8 2000/08/01 01:31:34 tale Exp $ */
 
 #ifndef ISC_APP_H
 #define ISC_APP_H 1
index 33584cba696e95424acdf9fefa926e797a916f8a..44d73a10f6c7380de646865483ef6b98ebffabff 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dir.h,v 1.10 2000/07/27 09:53:00 tale Exp $ */
+/* $Id: dir.h,v 1.11 2000/08/01 01:31:35 tale Exp $ */
 
 /* Principal Authors: DCL */
 
index 2c1569d15168f0869e362dfc4b3eab39961247cd..d1a640ef20c80b9378eb83ba2757a6659bdf6430 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: int.h,v 1.7 2000/07/27 09:53:01 tale Exp $ */
+/* $Id: int.h,v 1.8 2000/08/01 01:31:36 tale Exp $ */
 
 #ifndef ISC_INT_H
 #define ISC_INT_H 1
index 7bd9e89f6ea55caf0d0fb869903a2fc2d4adb960..26b2c86776445292188edf82821eaaf87ac148eb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keyboard.h,v 1.4 2000/07/31 20:36:08 bwelling Exp $ */
+/* $Id: keyboard.h,v 1.5 2000/08/01 01:31:37 tale Exp $ */
 
 #ifndef ISC_KEYBOARD_H
 #define ISC_KEYBOARD_H 1
index 2cbb12d72f19621b55c311ec8c52bac210b22cc3..4cd94e63889e78eb54bacfd7d8191ef4646c3b0f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.h,v 1.22 2000/07/27 09:53:04 tale Exp $ */
+/* $Id: net.h,v 1.23 2000/08/01 01:31:38 tale Exp $ */
 
 #ifndef ISC_NET_H
 #define ISC_NET_H 1
index aa390f1fc39509aa25eb743a49015648df37db98..dcca04000a140ddb3220710af252bb779458ecd8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netdb.h,v 1.4 2000/07/27 09:53:05 tale Exp $ */
+/* $Id: netdb.h,v 1.5 2000/08/01 01:31:39 tale Exp $ */
 
 #ifndef ISC_NETDB_H
 #define ISC_NETDB_H 1
index a7e356024d8f932562e98b5bacc3143560dc4461..a63ab443c6e267209b71f9ed46a241e0fa41d10e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: offset.h,v 1.8 2000/07/27 09:53:06 tale Exp $ */
+/* $Id: offset.h,v 1.9 2000/08/01 01:31:40 tale Exp $ */
 
 #ifndef ISC_OFFSET_H
 #define ISC_OFFSET_H 1
index 6062716f29ea60034f57c6f2749f516d30bb1368..5dfa31ea6e406f161c63d9251b852a61875363bf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: stdtime.h,v 1.6 2000/07/27 09:53:07 tale Exp $ */
+/* $Id: stdtime.h,v 1.7 2000/08/01 01:31:41 tale Exp $ */
 
 #ifndef ISC_STDTIME_H
 #define ISC_STDTIME_H 1
index 1b114a74bf89cfe3483c7767e34a41199a588a9f..366d3670921d13bb5257b4b99033d94b556a591e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.h,v 1.23 2000/07/27 09:53:08 tale Exp $ */
+/* $Id: time.h,v 1.24 2000/08/01 01:31:42 tale Exp $ */
 
 #ifndef ISC_TIME_H
 #define ISC_TIME_H 1
index c0ad61c879744298494895c36f97bd937b680fa4..f8ddb803a24861c6f9bf7319671887ab69b603cd 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: interfaceiter.c,v 1.18 2000/07/27 09:52:46 tale Exp $ */
+/* $Id: interfaceiter.c,v 1.19 2000/08/01 01:31:21 tale Exp $ */
 
 #include <config.h>
 
 
 /*
  * Extract the network address part from a "struct sockaddr".
- * 
+ *
  * The address family is given explicity
  * instead of using src->sa_family, because the latter does not work
  * for copying a network mask obtained by SIOCGIFNETMASK (it does
  * not have a valid address family).
  */
 
-static void 
+static void
 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src) {
        dst->family = family;
        switch (family) {
@@ -98,12 +98,12 @@ isc_result_t
 isc_interfaceiter_first(isc_interfaceiter_t *iter) {
        isc_result_t result;
 
-       REQUIRE(VALID_IFITER(iter));    
+       REQUIRE(VALID_IFITER(iter));
 
        iter->pos = 0;
        for (;;) {
                result = internal_current(iter);
-               if (result != ISC_R_IGNORE) 
+               if (result != ISC_R_IGNORE)
                        break;
                result = internal_next(iter);
                if (result != ISC_R_SUCCESS)
@@ -116,7 +116,7 @@ isc_interfaceiter_first(isc_interfaceiter_t *iter) {
 isc_result_t
 isc_interfaceiter_next(isc_interfaceiter_t *iter) {
        isc_result_t result;
-               
+
        REQUIRE(VALID_IFITER(iter));
        REQUIRE(iter->result == ISC_R_SUCCESS);
 
index f765dc660631637f8aed8c2c89c475e4bf9d4e33..3a96dd8e2381e84e4850160c641b34b4806b743f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipv6.c,v 1.5 2000/07/27 09:52:47 tale Exp $ */
+/* $Id: ipv6.c,v 1.6 2000/08/01 01:31:22 tale Exp $ */
 
 #include <isc/ipv6.h>
 
index beb5b4d30b4178ff1244554572342199cf94fa0a..fbcaa48b84a882d44c489c2f8afff44531dcc17f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keyboard.c,v 1.6 2000/07/31 20:36:07 bwelling Exp $ */
+/* $Id: keyboard.c,v 1.7 2000/08/01 01:31:23 tale Exp $ */
 
 #include <config.h>
 
index e589032a280725b95bf71e9ac2cc56d5323e6e3d..2e2afdcd90ae8a37d1e689bca9a4f05baf82d630 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.c,v 1.11 2000/07/27 09:52:50 tale Exp $ */
+/* $Id: net.c,v 1.12 2000/08/01 01:31:24 tale Exp $ */
 
 #include <config.h>
 
index ce48cbf6346137b5a9a85a3b9b01d73feb9aeb37..a8c11e9772a69faff5e347485b70d6097595ad7a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.4 2000/07/27 09:52:51 tale Exp $ */
+/* $Id: os.c,v 1.5 2000/08/01 01:31:25 tale Exp $ */
 
 #include <config.h>
 
index b6d23982087c70531e701b61d8103dca96f1dfb3..52b36069f308348ec1fe781dc657a0531ee8bba9 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.152 2000/07/27 09:52:52 tale Exp $ */
+/* $Id: socket.c,v 1.153 2000/08/01 01:31:27 tale Exp $ */
 
 #include <config.h>
 
@@ -1256,7 +1256,7 @@ isc_socket_attach(isc_socket_t *sock, isc_socket_t **socketp) {
        LOCK(&sock->lock);
        sock->references++;
        UNLOCK(&sock->lock);
-       
+
        *socketp = sock;
 }
 
@@ -1264,7 +1264,7 @@ isc_socket_attach(isc_socket_t *sock, isc_socket_t **socketp) {
  * Dereference a socket.  If this is the last reference to it, clean things
  * up by destroying the socket.
  */
-void 
+void
 isc_socket_detach(isc_socket_t **socketp) {
        isc_socket_t *sock;
        isc_boolean_t kill_socket = ISC_FALSE;
@@ -1279,7 +1279,7 @@ isc_socket_detach(isc_socket_t **socketp) {
        if (sock->references == 0)
                kill_socket = ISC_TRUE;
        UNLOCK(&sock->lock);
-       
+
        if (kill_socket)
                destroy(&sock);
 
@@ -1810,7 +1810,7 @@ watcher(void *uap) {
                                }
                        }
 #endif
-                                       
+
                        UNLOCK(&manager->lock);
 
                        cc = select(maxfd, &readfds, &writefds, NULL, NULL);
@@ -1931,9 +1931,9 @@ watcher(void *uap) {
                                manager->fdstate[i] = CLOSED;
                                FD_CLR(i, &manager->read_fds);
                                FD_CLR(i, &manager->write_fds);
-                               
+
                                close(i);
-                               
+
                                continue;
                        }
 
@@ -1995,7 +1995,7 @@ isc_socketmgr_create(isc_mem_t *mctx, isc_socketmgr_t **managerp) {
        manager = isc_mem_get(mctx, sizeof *manager);
        if (manager == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        manager->magic = SOCKET_MANAGER_MAGIC;
        manager->mctx = NULL;
        memset(manager->fds, 0, sizeof(manager->fds));
index 0e2f5bb0e5109c5ac3d9a179ac7823d2a08a258c..67e42b65b4bea37efc4d02adb744842fc4259214 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: stdio.c,v 1.3 2000/07/27 09:52:53 tale Exp $ */
+/* $Id: stdio.c,v 1.4 2000/08/01 01:31:28 tale Exp $ */
 
 #include <config.h>
 
@@ -29,7 +29,7 @@
 isc_result_t
 isc_stdio_open(const char *filename, const char *mode, FILE **fp) {
        FILE *f;
-       
+
        f = fopen(filename, mode);
        if (f == NULL)
                return (isc__errno2result(errno));
@@ -63,7 +63,7 @@ isc_result_t
 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) {
        isc_result_t result = ISC_R_SUCCESS;
        size_t r;
-       
+
        clearerr(f);
        r = fread(ptr, size, nmemb, f);
        if (r != nmemb) {
@@ -83,7 +83,7 @@ isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f,
 {
        isc_result_t result = ISC_R_SUCCESS;
        size_t r;
-       
+
        clearerr(f);
        r = fwrite(ptr, size, nmemb, f);
        if (r != nmemb)
@@ -96,7 +96,7 @@ isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f,
 isc_result_t
 isc_stdio_flush(FILE *f) {
        int r;
-       
+
        r = fflush(f);
        if (r == 0)
                return (ISC_R_SUCCESS);
@@ -107,7 +107,7 @@ isc_stdio_flush(FILE *f) {
 isc_result_t
 isc_stdio_sync(FILE *f) {
        int r;
-       
+
        r = fsync(fileno(f));
        if (r == 0)
                return (ISC_R_SUCCESS);
index d6fa1f5dc47db069f9560dba85ddfd0b574cfe46..9db52e17fe707346d3e6ab9c2d13ec1dec3d32fc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: stdtime.c,v 1.8 2000/07/27 09:52:55 tale Exp $ */
+/* $Id: stdtime.c,v 1.9 2000/08/01 01:31:29 tale Exp $ */
 
 #include <config.h>
 
@@ -32,9 +32,9 @@ isc_stdtime_get(isc_stdtime_t *t) {
         * Set 't' to the number of seconds since 00:00:00 UTC, January 1,
         * 1970.
         */
-       
+
        REQUIRE(t != NULL);
-       
+
        RUNTIME_CHECK(gettimeofday(&tv, NULL) != -1);
 
        INSIST(tv.tv_usec >= 0 && tv.tv_usec < 1000000);
index 0893bbc804bd551766d703751778e80899cbc18d..f6dc61e0bbdf6a669f8960315f06e5f22e36c1ab 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.c,v 1.27 2000/07/27 09:52:56 tale Exp $ */
+/* $Id: time.c,v 1.28 2000/08/01 01:31:30 tale Exp $ */
 
 #include <config.h>
 
@@ -34,7 +34,7 @@
 #define US_PER_S       1000000         /* Microseconds per second. */
 
 /*
- * All of the INSIST()s checks of nanoseconds < NS_PER_S are for 
+ * All of the INSIST()s checks of nanoseconds < NS_PER_S are for
  * consistency checking of the type. In lieu of magic numbers, it
  * is the best we've got.  The check is only performed on functions which
  * need an initialized type.
@@ -137,9 +137,9 @@ isc_time_now(isc_time_t *t) {
        /*
         * Set *t to the current absolute time.
         */
-       
+
        REQUIRE(t != NULL);
-       
+
        if (gettimeofday(&tv, NULL) == -1) {
                UNEXPECTED_ERROR(__FILE__, __LINE__, strerror(errno));
                return (ISC_R_UNEXPECTED);
@@ -156,7 +156,7 @@ isc_time_now(isc_time_t *t) {
                return (ISC_R_UNEXPECTED);
 
        /*
-        * Ensure the tv_sec value fits in t->seconds. 
+        * Ensure the tv_sec value fits in t->seconds.
         */
        if (sizeof(tv.tv_sec) > sizeof(t->seconds) &&
            ((tv.tv_sec | (unsigned int)-1) ^ (unsigned int)-1) != 0)
@@ -175,7 +175,7 @@ isc_time_nowplusinterval(isc_time_t *t, isc_interval_t *i) {
        /*
         * Set *t to the current absolute time + i.
         */
-       
+
        REQUIRE(t != NULL);
        REQUIRE(i != NULL);
        INSIST(i->nanoseconds < NS_PER_S);
@@ -342,7 +342,7 @@ isc_time_secondsastimet(isc_time_t *t, time_t *secondsp) {
         * about "signed versus unsigned" while trying to determine if the
         * the unsigned int t->seconds is out range for tv_sec, which is
         * pretty much only true if time_t is a signed integer of the same
-        * size as the return value of isc_time_seconds. 
+        * size as the return value of isc_time_seconds.
         *
         * The use of the 64 bit integer ``i'' takes advantage of C's
         * conversion rules to either zero fill or sign extend the widened
index 6d1f3eed422992b50853bd26d16e6fdb55b61f56..a1aa355bfadf5d3f1d6f1be1ada97679c721a43a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.c,v 1.7 2000/07/27 09:51:20 tale Exp $ */
+/* $Id: version.c,v 1.8 2000/08/01 01:29:54 tale Exp $ */
 
 char isc_version[] = VERSION;
 
index 10670cc17d97534d1c8ec18c048ea414e6e2dcf3..75d9efadd93443d9485cbd1a48155128fd3413ed 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.6 2000/07/27 09:53:09 tale Exp $
+# $Id: Makefile.in,v 1.7 2000/08/01 01:31:44 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 7f8eb2459cf0542c1a6e9f23d89c6d41fe4134e2..f9b04f49ae2e768d3fbd4912c52430065ba58007 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: condition.c,v 1.13 2000/07/27 09:53:10 tale Exp $ */
+/* $Id: condition.c,v 1.14 2000/08/01 01:31:45 tale Exp $ */
 
 #include <config.h>
 
@@ -28,7 +28,7 @@
 isc_result_t
 isc_condition_init(isc_condition_t *cond) {
        HANDLE h;
-       
+
        REQUIRE(cond != NULL);
 
        cond->waiters = 0;
@@ -51,7 +51,7 @@ isc_condition_init(isc_condition_t *cond) {
 
 isc_result_t
 isc_condition_signal(isc_condition_t *cond) {
-       
+
        /*
         * Unlike pthreads, the caller MUST hold the lock associated with
         * the condition variable when calling us.
@@ -69,7 +69,7 @@ isc_condition_signal(isc_condition_t *cond) {
 
 isc_result_t
 isc_condition_broadcast(isc_condition_t *cond) {
-               
+
        /*
         * Unlike pthreads, the caller MUST hold the lock associated with
         * the condition variable when calling us.
@@ -87,7 +87,7 @@ isc_condition_broadcast(isc_condition_t *cond) {
 
 isc_result_t
 isc_condition_destroy(isc_condition_t *cond) {
-               
+
        REQUIRE(cond != NULL);
 
        (void)CloseHandle(cond->events[SIGNAL]);
index b687b6edb44bde57db1217e2f9404c5cfcb2a5fd..00a579df66b1746c61eac9c18bdd015757a46d34 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dir.c,v 1.5 2000/07/27 09:53:12 tale Exp $ */
+/* $Id: dir.c,v 1.6 2000/08/01 01:31:46 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -48,7 +48,7 @@ isc_dir_init(isc_dir_t *dir) {
 }
 
 /*
- * Allocate workspace and open directory stream. If either one fails, 
+ * Allocate workspace and open directory stream. If either one fails,
  * NULL will be returned.
  */
 isc_result_t
@@ -118,7 +118,7 @@ isc_dir_read(isc_dir_t *dir) {
        }
 
        /*
-        * Make sure that the space for the name is long enough. 
+        * Make sure that the space for the name is long enough.
         */
        strcpy(dir->entry.name, dir->entry.find_data.cFileName);
        dir->entry.length = strlen(dir->entry.name);
@@ -169,7 +169,7 @@ isc_dir_reset(isc_dir_t *dir) {
  */
 static isc_result_t
 start_directory(isc_dir_t *dir)
-{ 
+{
        REQUIRE(VALID_DIR(dir));
        REQUIRE(dir->search_handle == INVALID_HANDLE_VALUE);
 
@@ -195,7 +195,7 @@ start_directory(isc_dir_t *dir)
        }
 
        /*
-        * Make sure that the space for the name is long enough. 
+        * Make sure that the space for the name is long enough.
         */
        INSIST(sizeof(dir->entry.name) >
               strlen(dir->entry.find_data.cFileName));
index 0b3b016c03ff1ad7f497b5e2c13896842a23675c..44f32e3f62b385a057c137a5ee6d9b715c78886e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: file.c,v 1.4 2000/07/27 09:53:13 tale Exp $ */
+/* $Id: file.c,v 1.5 2000/08/01 01:31:47 tale Exp $ */
 
 #include <string.h>
 
index 9594ed34295521dd5cc0e6871cc88143ca0cde7d..5fbe72ce80166e5c32308c36724c45bbbd9b422b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: fsaccess.c,v 1.4 2000/07/27 09:53:14 tale Exp $ */
+/* $Id: fsaccess.c,v 1.5 2000/08/01 01:31:48 tale Exp $ */
 
 #include <windows.h>
 #include <winerror.h>
@@ -56,7 +56,7 @@ isc_fsaccess_set(const char *path, isc_fsaccess_t access) {
        result = check_bad_bits(access, is_dir);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        winerror = GetNamedSecurityInfo(path, SE_FILE_OBJECT,
                                        OWNER_SECURITY_INFORMATION |
                                        GROUP_SECURITY_INFORMATION,
@@ -123,7 +123,7 @@ isc_fsaccess_set(const char *path, isc_fsaccess_t access) {
                        /*
                         * Setting world.
                         */
-                       SID_IDENTIFIER_AUTHORITY authworld = 
+                       SID_IDENTIFIER_AUTHORITY authworld =
                                SECURITY_WORLD_SID_AUTHORITY;
 
                        if (AllocateAndInitializeSid(&authworld, 1,
index 433ae704048e9f90c7d3004e2339d4e53a7c5608..c8d66a37ad4b864baebda4b9fa090fddc0b9151d 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.4 2000/07/27 09:53:19 tale Exp $
+# $Id: Makefile.in,v 1.5 2000/08/01 01:31:54 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 4a374713a542bce4aedeb10e1f02dc8ba35650f6..84262304a106f4a36d7d9a596cedc8f4bf4b92d1 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.5 2000/07/27 09:53:21 tale Exp $
+# $Id: Makefile.in,v 1.6 2000/08/01 01:31:55 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 2d05f8b2b670e5c2c4decb89b3de24d480b4c40d..3f27d27400f2a75fb527656e136bce1a54048cb0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: condition.h,v 1.11 2000/07/27 09:53:22 tale Exp $ */
+/* $Id: condition.h,v 1.12 2000/08/01 01:31:56 tale Exp $ */
 
 #ifndef ISC_CONDITION_H
 #define ISC_CONDITION_H 1
@@ -27,7 +27,7 @@
 #include <isc/types.h>
 
 typedef struct isc_condition {
-       HANDLE          events[2];      
+       HANDLE          events[2];
        unsigned int    waiters;
 } isc_condition_t;
 
index 348301d9c1c41fd5c928f6d2545234bc41cbad69..e3a55c5a4f3936acee31d48c8f73da50e6084134 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dir.h,v 1.6 2000/07/27 09:53:23 tale Exp $ */
+/* $Id: dir.h,v 1.7 2000/08/01 01:31:57 tale Exp $ */
 
 /* Principal Authors: DCL */
 
index ec825f8dd8da0a01577a32fe11cc3b2c276e925d..585e12e160f8ffee3cb392eb060225ce8efec212 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: int.h,v 1.5 2000/07/27 09:53:24 tale Exp $ */
+/* $Id: int.h,v 1.6 2000/08/01 01:31:58 tale Exp $ */
 
 #ifndef ISC_INT_H
 #define ISC_INT_H 1
index 36aeeb5f94de00a1a77f5593126950c43b844907..ed797d5812b2aa5a67ec3ce470b144257d04ef5f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: mutex.h,v 1.11 2000/07/27 09:53:25 tale Exp $ */
+/* $Id: mutex.h,v 1.12 2000/08/01 01:31:59 tale Exp $ */
 
 #ifndef ISC_MUTEX_H
 #define ISC_MUTEX_H 1
index 72e58551133173e86afc7a96904a3a59589de085..aa82a98ce700390e4965fb7dc03a300bface566f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.h,v 1.10 2000/07/27 09:53:26 tale Exp $ */
+/* $Id: net.h,v 1.11 2000/08/01 01:32:01 tale Exp $ */
 
 #ifndef ISC_NET_H
 #define ISC_NET_H 1
index 5e5e89b12bca83f5afd2248dac0f55f36353b01c..fe5eb5d87e8fbc8d81d82a4461bbd59f52726c16 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netdb.h,v 1.4 2000/07/27 09:53:27 tale Exp $ */
+/* $Id: netdb.h,v 1.5 2000/08/01 01:32:02 tale Exp $ */
 
 #ifndef ISC_NETDB_H
 #define ISC_NETDB_H 1
index 0bb66570454e176b1b63553d8bc2148532e8aff4..dc1ebeba32ba02c596f8aa7661dcfaf8bb5b3131 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: once.h,v 1.4 2000/07/27 09:53:28 tale Exp $ */
+/* $Id: once.h,v 1.5 2000/08/01 01:32:03 tale Exp $ */
 
 #ifndef ISC_ONCE_H
 #define ISC_ONCE_H 1
index cc7e655962ad7d977863bb43c77e056b3ee6ad18..54159fbea8a4bb1906e1e7156642fba6ff1af2ba 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: stdtime.h,v 1.5 2000/07/27 09:53:29 tale Exp $ */
+/* $Id: stdtime.h,v 1.6 2000/08/01 01:32:04 tale Exp $ */
 
 #ifndef ISC_STDTIME_H
 #define ISC_STDTIME_H 1
index 37ee0d1aeb0e7ca6b89561f222a4ddae64bb5f6d..df4a6f4c29253871e2488af7f5aa4f37ad360566 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: thread.h,v 1.11 2000/07/27 09:53:31 tale Exp $ */
+/* $Id: thread.h,v 1.12 2000/08/01 01:32:05 tale Exp $ */
 
 #ifndef ISC_THREAD_H
 #define ISC_THREAD_H 1
index 6415c34b53570e79bfa18ad2835dc0b14abf12a8..fee01475aa9e28d77c88968a61605434d90f7053 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.h,v 1.17 2000/07/27 09:53:32 tale Exp $ */
+/* $Id: time.h,v 1.18 2000/08/01 01:32:06 tale Exp $ */
 
 #ifndef ISC_TIME_H
 #define ISC_TIME_H 1
index 34b76b601214a0a75758b7005881b7072a118e8f..4dc7b97f70431fdfcdafeddab50b27d93050f66a 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: once.c,v 1.4 2000/07/27 09:53:15 tale Exp $ */
+/* $Id: once.c,v 1.5 2000/08/01 01:31:49 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -30,8 +30,8 @@ isc_once_do(isc_once_t *controller, void(*function)(void))
 {
        REQUIRE(controller != NULL && function != NULL);
 
-       if (controller->status == ISC_ONCE_INIT_NEEDED) {       
-       
+       if (controller->status == ISC_ONCE_INIT_NEEDED) {
+
                if (InterlockedDecrement(&controller->counter) == 0) {
                        if (controller->status == ISC_ONCE_INIT_NEEDED) {
                                function();
index 796a1803df887e0bc922567484e283b8790f253f..57a84154921a41c2246851dbe469fb0bfffaf1ca 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: stdtime.c,v 1.5 2000/07/27 09:53:16 tale Exp $ */
+/* $Id: stdtime.c,v 1.6 2000/08/01 01:31:50 tale Exp $ */
 
 #include <time.h>
 
index 7000a80ff91b22981ec5f11341f159786066873d..b7fa686f3f418dba7d8be3b333e9e0ef16e9d653 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: thread.c,v 1.12 2000/07/27 09:53:17 tale Exp $ */
+/* $Id: thread.c,v 1.13 2000/08/01 01:31:51 tale Exp $ */
 
 #include <config.h>
 
@@ -24,7 +24,7 @@
 #include <isc/thread.h>
 
 isc_result_t
-isc_thread_create(isc_threadfunc_t start, isc_threadarg_t arg, 
+isc_thread_create(isc_threadfunc_t start, isc_threadarg_t arg,
                  isc_thread_t *threadp)
 {
        isc_thread_t thread;
index 5a45f3e806394f5886beab087849af4c38393040..17b05ea56b8585d42f20aaff61910ae200ef93c3 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1998-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.c,v 1.18 2000/07/27 09:53:18 tale Exp $ */
+/* $Id: time.c,v 1.19 2000/08/01 01:31:52 tale Exp $ */
 
 #include <config.h>
 
@@ -139,7 +139,7 @@ isc_time_now(isc_time_t *t) {
        /*
         * Set *t to the current absolute time.
         */
-       
+
        REQUIRE(t != NULL);
 
        GetSystemTimeAsFileTime(&t->absolute);
@@ -154,10 +154,10 @@ isc_time_nowplusinterval(isc_time_t *t, isc_interval_t *i) {
        /*
         * Set *t to the current absolute time + i.
         */
-       
+
        REQUIRE(t != NULL);
        REQUIRE(i != NULL);
-       
+
        GetSystemTimeAsFileTime(&t->absolute);
 
        i1.LowPart = t->absolute.dwLowDateTime;
index b9adea033612b721829ae40f3264513a745e63ce..44a5cf151485a2348cd1eb2d834602306250208c 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.19 2000/07/27 09:53:33 tale Exp $
+# $Id: Makefile.in,v 1.20 2000/08/01 01:32:07 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 2d6aaa3d66540032db372ba8b30d87deb7947b09..cf965c0ddc64f50aacf53e77ef81939ef02337d4 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: assert_p.h,v 1.7 2000/07/27 09:53:34 tale Exp $ */
+/* $Id: assert_p.h,v 1.8 2000/08/01 01:32:08 tale Exp $ */
 
 #ifndef LWRES_ASSERT_P_H
 #define LWRES_ASSERT_P_H 1
index 7582b39acfbd91e658fd4c025cdd99dbe7a1a053..b680aee74cc5cd84617bc2d4b09ea73e6c2941f5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: context.c,v 1.27 2000/07/27 09:53:35 tale Exp $ */
+/* $Id: context.c,v 1.28 2000/08/01 01:32:10 tale Exp $ */
 
 #include <config.h>
 
index 694bee95784cdde8a699fe2af1f3ab64ad2cfa22..ff88b24bd10d92e10101caf01876f2254d810a26 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: context_p.h,v 1.9 2000/07/27 09:53:36 tale Exp $ */
+/* $Id: context_p.h,v 1.10 2000/08/01 01:32:11 tale Exp $ */
 
 #ifndef LWRES_CONTEXT_P_H
 #define LWRES_CONTEXT_P_H 1
index af4741e4562d5dea8a290de98588542c1ddeea8f..f912d6de94a2fcac4b0322539967063095c0a1d8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gai_strerror.c,v 1.11 2000/07/27 09:53:38 tale Exp $ */
+/* $Id: gai_strerror.c,v 1.12 2000/08/01 01:32:12 tale Exp $ */
 
 #include <lwres/netdb.h>
 
@@ -40,7 +40,7 @@ lwres_gai_strerror(int ecode) {
                const char *const_ptr;
                char *deconst_ptr;
        } ptr;
-                      
+
        if ((ecode < 0) || (ecode > EAI_MAX))
                ptr.const_ptr = "invalid error code";
        else
index e3f306c7b93713c3f57d50de63797362bcbc2902..257c11165958520a1fb5a99c630ca067917657c8 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * This code is derived from software contributed to Internet Software
  * Consortium by Berkeley Software Design, Inc.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM AND
  * BERKELEY SOFTWARE DESIGN, INC DISCLAIM ALL WARRANTIES WITH REGARD TO
  * THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
@@ -19,8 +19,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: getaddrinfo.c,v 1.29 2000/07/07 19:43:08 bwelling Exp $ */
-  
+/* $Id: getaddrinfo.c,v 1.30 2000/08/01 01:32:13 tale Exp $ */
+
 #include <config.h>
 
 #include <sys/types.h>
index 2559df1a92fee7a006da81d31358241350ac6c9d..1a7e65b11d018236f7187a86b92ba05818e33f39 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gethost.c,v 1.22 2000/07/27 09:53:39 tale Exp $ */
+/* $Id: gethost.c,v 1.23 2000/08/01 01:32:14 tale Exp $ */
 
 #include <config.h>
 
@@ -64,7 +64,7 @@ struct hostent *
 lwres_gethostbyaddr(const char *addr, int len, int type) {
        int error;
 
-       if (he != NULL) 
+       if (he != NULL)
                lwres_freehostent(he);
 
        he = lwres_getipnodebyaddr(addr, len, type, &error);
@@ -180,7 +180,7 @@ copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) {
         }
         len += strlen(he->h_name) + 1;
         len += nptr * sizeof(char*);
-        
+
         if (len > buflen) {
                 return (-1);
         }
index e3d30d8473e10035ed58f1e48ad7e6994746dd1b..53f0866185b39955e0387d3b8056db5d95935b0d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: getipnode.c,v 1.24 2000/07/27 09:53:40 tale Exp $ */
+/* $Id: getipnode.c,v 1.25 2000/08/01 01:32:15 tale Exp $ */
 
 #include <config.h>
 
@@ -169,7 +169,7 @@ lwres_getipnodebyname(const char *name, int af, int flags, int *error_num) {
        (void) lwres_conf_parse(lwrctx, "/etc/resolv.conf");
        tmp_err = NO_RECOVERY;
        if (have_v6 && af == AF_INET6) {
-               
+
                n = lwres_getaddrsbyname(lwrctx, name, LWRES_ADDRTYPE_V6, &by);
                if (n == 0) {
                        he1 = hostfromname(by, AF_INET6);
@@ -201,7 +201,7 @@ lwres_getipnodebyname(const char *name, int af, int flags, int *error_num) {
                        else
                                *error_num = NO_RECOVERY;
                        goto cleanup;
-               } 
+               }
        } else
                *error_num = tmp_err;
 
@@ -237,7 +237,7 @@ lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num) {
                *error_num = NO_RECOVERY;
                return (NULL);
        }
-               
+
        switch (af) {
        case AF_INET:
                if (len != INADDRSZ) {
@@ -428,7 +428,7 @@ scan_interfaces(int *have_v4, int *have_v6) {
                        /*
                         * Some OS's just return what will fit rather
                         * than set EINVAL if the buffer is too small
-                        * to fit all the interfaces in.  If 
+                        * to fit all the interfaces in.  If
                         * ifc.ifc_len is too near to the end of the
                         * buffer we will grow it just in case and
                         * retry.
@@ -491,7 +491,7 @@ scan_interfaces(int *have_v4, int *have_v6) {
                                if ((ifreq.ifr_flags & IFF_UP) == 0)
                                        break;
                                *have_v4 = 1;
-                       } 
+                       }
                        break;
                case AF_INET6:
                        if (*have_v6 == 0) {
index a3b471d2678acfd2a3a7b69df3d529cc05ff4902..ff0e0f570de6b1fb2097351bc59f4cbe20fd1cc7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Portions Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: getnameinfo.c,v 1.24 2000/07/27 09:53:41 tale Exp $ */
+/* $Id: getnameinfo.c,v 1.25 2000/08/01 01:32:16 tale Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
  * All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -36,7 +36,7 @@
  * 4. Neither the name of the project nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -140,7 +140,7 @@ lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
        if (len != salen)
                ERR(ENI_SALEN);
 #endif
-       
+
        family = sa->sa_family;
        for (i = 0; afdl[i].a_af; i++)
                if (afdl[i].a_af == family) {
@@ -148,11 +148,11 @@ lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
                        goto found;
                }
        ERR(ENI_FAMILY);
-       
+
  found:
        if (salen != afd->a_socklen)
                ERR(ENI_SALEN);
-       
+
        switch (family) {
        case AF_INET:
                port = ((const struct sockaddr_in *)sa)->sin_port;
@@ -195,7 +195,7 @@ lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
                        flags |= NI_NUMERICHOST;
                v4a >>= IN_CLASSA_NSHIFT;
                if (v4a == 0 || v4a == IN_LOOPBACKNET)
-                       flags |= NI_NUMERICHOST;                        
+                       flags |= NI_NUMERICHOST;
                break;
 
        case AF_INET6:
index 46c2c77a37d58179ce48283d9146a7bf40836e9a..27802a15acad6dae55507e217f271440f948d1d8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Portions Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 /*
  * Copyright (c) 1987, 1993
  *    The Regents of the University of California.  All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -34,7 +34,7 @@
  * 4. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -51,7 +51,7 @@
 #if defined(LIBC_SCCS) && !defined(lint)
 static const char sccsid[] = "@(#)herror.c     8.1 (Berkeley) 6/4/93";
 static const char rcsid[] =
-       "$Id: herror.c,v 1.6 2000/07/27 09:53:42 tale Exp $";
+       "$Id: herror.c,v 1.7 2000/08/01 01:32:17 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
index 24aa2d88bd634bd79642d1f8e182e0ea2ffced84..3829841fc2c8c88e538aaf1bca5f9cb3327c94c0 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.3 2000/07/27 09:53:56 tale Exp $
+# $Id: Makefile.in,v 1.4 2000/08/01 01:32:31 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 89682f0e261c5cfd42c16b599b71bb11172c9f85..74acccdbab4c6cdeadbc07596a30404ad0c505d0 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.11 2000/07/27 09:53:57 tale Exp $
+# $Id: Makefile.in,v 1.12 2000/08/01 01:32:32 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index fbb13a27d28c9d9b4ba9f3bbbf4bbc66e8b2ab09..dae9919b4b068d85ac35f44935a4850c551423bc 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: context.h,v 1.10 2000/07/27 09:53:58 tale Exp $ */
+/* $Id: context.h,v 1.11 2000/08/01 01:32:33 tale Exp $ */
 
 #ifndef LWRES_CONTEXT_H
 #define LWRES_CONTEXT_H 1
index 12c0163efd57e8d82e75bcb92f68b2355446af15..97a08fa3de2486f7ec7f0d7de4a70c5734a3f2a1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: int.h,v 1.5 2000/07/27 09:53:59 tale Exp $ */
+/* $Id: int.h,v 1.6 2000/08/01 01:32:34 tale Exp $ */
 
 #ifndef LWRES_INT_H
 #define LWRES_INT_H 1
index 3cf685e410e533d11606fdbcac924e3dd4c15e45..0da3b0abc985ec2cdaaee5d034aa1fcd3427f8fa 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ipv6.h,v 1.6 2000/07/27 09:54:00 tale Exp $ */
+/* $Id: ipv6.h,v 1.7 2000/08/01 01:32:36 tale Exp $ */
 
 #ifndef LWRES_IPV6_H
 #define LWRES_IPV6_H 1
index 12a1fd9f2a58f255d3d1560e2cfe3fd9796fd6dc..3a27c62a21df31082bbe0ce6fe4ae9c4434607da 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lang.h,v 1.4 2000/07/27 09:54:01 tale Exp $ */
+/* $Id: lang.h,v 1.5 2000/08/01 01:32:37 tale Exp $ */
 
 #ifndef LWRES_LANG_H
 #define LWRES_LANG_H 1
index 0dda2eca134e079bba84dd7b51fd7ce549d2415d..45243e3229395c98dcef95c995edcd794f9847a7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1997-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: list.h,v 1.5 2000/07/27 09:54:02 tale Exp $ */
+/* $Id: list.h,v 1.6 2000/08/01 01:32:38 tale Exp $ */
 
 #ifndef LWRES_LIST_H
 #define LWRES_LIST_H 1
index 358796cf2ee97b1e675f1578be28ed1b6b731b21..3eb5957b8f9a748c2c4d4ba241e55ef463791f88 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwbuffer.h,v 1.13 2000/07/27 09:54:03 tale Exp $ */
+/* $Id: lwbuffer.h,v 1.14 2000/08/01 01:32:39 tale Exp $ */
 
 #ifndef LWRES_LWBUFFER_H
 #define LWRES_LWBUFFER_H 1
@@ -181,7 +181,7 @@ lwres_buffer_invalidate(lwres_buffer_t *b);
  *     If assertion checking is enabled, future attempts to use 'b' without
  *     calling lwres_buffer_init() on it will cause an assertion failure.
  */
-               
+
 void
 lwres_buffer_add(lwres_buffer_t *b, unsigned int n);
 /*
index 59b9d941253b1560c3eb722ceb29900eace9429e..d7f9c6b136f070c1b08e41745cc247e88a77ebeb 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwpacket.h,v 1.15 2000/07/27 09:54:04 tale Exp $ */
+/* $Id: lwpacket.h,v 1.16 2000/08/01 01:32:40 tale Exp $ */
 
 #ifndef LWRES_LWPACKET_H
 #define LWRES_LWPACKET_H 1
@@ -57,7 +57,7 @@ struct lwres_lwpacket {
  * is a request or a response.
  *
  * "serial" is set by the requestor and is returned in all replies.  If two
- * packets from the same source have the same serial number and are from 
+ * packets from the same source have the same serial number and are from
  * the same source, they are assumed to be duplicates and the latter ones
  * may be dropped.  (The library does not do this by default on replies, but
  * does so on requests.)
index 77f26d2e289ee4a6e8d71f5329691f371e196b41..9e05d30885976e909343eab67fed42d6e2c5e430 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwres.h,v 1.42 2000/07/27 09:54:06 tale Exp $ */
+/* $Id: lwres.h,v 1.43 2000/08/01 01:32:41 tale Exp $ */
 
 #ifndef LWRES_LWRES_H
 #define LWRES_LWRES_H 1
@@ -210,7 +210,7 @@ typedef struct {
        struct {
                lwres_addr_t addr;
                /* mask has a non-zero 'family' and 'length' if set */
-               lwres_addr_t mask;      
+               lwres_addr_t mask;
        } sortlist[LWRES_CONFMAXSORTLIST];
        lwres_uint8_t   sortlistnxt;
 
@@ -218,7 +218,7 @@ typedef struct {
        lwres_uint8_t   ndots;         /* set to n in 'options ndots:n' */
        lwres_uint8_t   no_tld_query;  /* non-zero if 'options no_tld_query' */
 } lwres_conf_t;
-       
+
 #define LWRES_ADDRTYPE_V4              0x00000001U     /* ipv4 */
 #define LWRES_ADDRTYPE_V6              0x00000002U     /* ipv6 */
 
@@ -449,7 +449,7 @@ lwres_conf_init(lwres_context_t *ctx);
 void
 lwres_conf_clear(lwres_context_t *ctx);
 /*
- * frees all internally allocated memory in confdata. Uses the memory 
+ * frees all internally allocated memory in confdata. Uses the memory
  * routines supplied by ctx.
  *
  * Requires:
index 89fed731422bd6d5a7e7e46fecc1d0d045aa5a08..aff090ca5246abe31346bf7e1cd699bca11dfe7c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.h,v 1.7 2000/07/27 09:54:07 tale Exp $ */
+/* $Id: net.h,v 1.8 2000/08/01 01:32:42 tale Exp $ */
 
 #ifndef LWRES_NET_H
 #define LWRES_NET_H 1
index 8c43896300eba190eb3ea437bf5fdc02130ab7b8..ab0545fe1989209166fe59de6226f43118eb744b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netdb.h.in,v 1.26 2000/07/27 09:54:08 tale Exp $ */
+/* $Id: netdb.h.in,v 1.27 2000/08/01 01:32:43 tale Exp $ */
 
 #ifndef LWRES_NETDB_H
 #define LWRES_NETDB_H 1
index 5f931d653508a53e28a9408b4858a3bf1d43d433..5a404835d213d3c951f06e6760aade1d30fd599e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: platform.h.in,v 1.7 2000/07/27 09:54:09 tale Exp $ */
+/* $Id: platform.h.in,v 1.8 2000/08/01 01:32:44 tale Exp $ */
 
 #ifndef LWRES_PLATFORM_H
 #define LWRES_PLATFORM_H 1
index 23d38b133a0b210aadd69542d12bfec50494eab4..0e908394e2597a5db62f0ad88d74e9b54aedcc0c 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.h,v 1.9 2000/07/27 09:54:10 tale Exp $ */
+/* $Id: result.h,v 1.10 2000/08/01 01:32:45 tale Exp $ */
 
 #ifndef LWRES_RESULT_H
 #define LWRES_RESULT_H 1
index 7665e7fda194d135a85e0bc771c8446b970fb732..83947670fb893dff00948f97dc0c447d9e5114a1 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwbuffer.c,v 1.8 2000/07/27 09:53:43 tale Exp $ */
+/* $Id: lwbuffer.c,v 1.9 2000/08/01 01:32:18 tale Exp $ */
 
 #include <config.h>
 
@@ -50,7 +50,7 @@ lwres_buffer_invalidate(lwres_buffer_t *b)
         */
 
        REQUIRE(LWRES_BUFFER_VALID(b));
-       
+
        b->magic = 0;
        b->base = NULL;
        b->length = 0;
@@ -268,7 +268,7 @@ lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base,
        cp = (unsigned char *)b->base + b->used;
        memcpy(cp, base, length);
        b->used += length;
-}      
+}
 
 void
 lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base,
@@ -284,4 +284,4 @@ lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base,
        b->current += length;
 
        memcpy(base, cp, length);
-}      
+}
index 35d0aa08bacbe885bb953cb7652b065d38640581..29ceaf18650ae9bbba653cec157d622efbc384c5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwconfig.c,v 1.23 2000/07/27 09:53:44 tale Exp $ */
+/* $Id: lwconfig.c,v 1.24 2000/08/01 01:32:20 tale Exp $ */
 
 /***
  *** Module for parsing resolv.conf files.
@@ -94,14 +94,14 @@ lwres_resetaddr(lwres_addr_t *addr);
 static lwres_result_t
 lwres_create_addr(const char *buff, lwres_addr_t *addr);
 
-static int lwresaddr2af(int lwresaddrtype); 
+static int lwresaddr2af(int lwresaddrtype);
 
 
 static int
 lwresaddr2af(int lwresaddrtype)
 {
        int af = 0;
-       
+
        switch (lwresaddrtype) {
        case LWRES_ADDRTYPE_V4:
                af = AF_INET;
@@ -171,7 +171,7 @@ getword(FILE *fp, char *buffer, size_t size) {
 
        if (ch == EOF)
                return (EOF);
-       
+
        do {
                *p = '\0';
 
@@ -293,8 +293,8 @@ lwres_conf_parsenameserver(lwres_context_t *ctx,  FILE *fp) {
                return (LWRES_R_FAILURE); /* Nothing on line. */
        else if (res == ' ' || res == '\t')
                res = eatwhite(fp);
-       
-       if (res != EOF && res != '\n') 
+
+       if (res != EOF && res != '\n')
                return (LWRES_R_FAILURE); /* Extra junk on line. */
 
        res = lwres_create_addr(word,
@@ -318,7 +318,7 @@ lwres_conf_parsedomain(lwres_context_t *ctx,  FILE *fp) {
                return (LWRES_R_FAILURE); /* Nothing else on line. */
        else if (res == ' ' || res == '\t')
                res = eatwhite(fp);
-               
+
        if (res != EOF && res != '\n')
                return (LWRES_R_FAILURE); /* Extra junk on line. */
 
@@ -622,7 +622,7 @@ lwres_conf_print(lwres_context_t *ctx, FILE *fp) {
 
                        tmpaddr = confdata->sortlist[i].mask;
                        memset(&tmpaddr.address, 0xff, tmpaddr.length);
-                       
+
                        if (memcmp(&tmpaddr.address,
                                   confdata->sortlist[i].mask.address,
                                   confdata->sortlist[i].mask.length) != 0) {
index 342eea55d291b0e2bbfb8a514fa55821ecbd143e..fdadc9669b0669df9aa0037b9a102f7148b37ec7 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Portions Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -18,7 +18,7 @@
 /*
  * Copyright (c) 1983, 1990, 1993
  *    The Regents of the University of California.  All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -34,7 +34,7 @@
  * 4. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 
 /*
  * Portions Copyright (c) 1993 by Digital Equipment Corporation.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies, and that
  * the name of Digital Equipment Corporation not be used in advertising or
  * publicity pertaining to distribution of the document or software without
  * specific, written prior permission.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
@@ -70,7 +70,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)inet_addr.c        8.1 (Berkeley) 6/17/93";
-static char rcsid[] = "$Id: lwinetaton.c,v 1.8 2000/07/27 09:53:45 tale Exp $";
+static char rcsid[] = "$Id: lwinetaton.c,v 1.9 2000/08/01 01:32:21 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
@@ -84,7 +84,7 @@ static char rcsid[] = "$Id: lwinetaton.c,v 1.8 2000/07/27 09:53:45 tale Exp $";
 
 #include "assert_p.h"
 
-/* 
+/*
  * Check whether "cp" is a valid ascii representation
  * of an Internet address and convert to a binary address.
  * Returns 1 if the address is valid, 0 if not.
index f8f6f59c14bbad21e81da72256613fb66ee696fa..18edd0fbc62071b032e71936626b3b09696af11d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -17,7 +17,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char rcsid[] =
-       "$Id: lwinetntop.c,v 1.4 2000/07/27 09:53:46 tale Exp $";
+       "$Id: lwinetntop.c,v 1.5 2000/08/01 01:32:22 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
@@ -38,7 +38,7 @@ static char rcsid[] =
 
 static const char *inet_ntop4(const unsigned char *src, char *dst,
                              size_t size);
-                                 
+
 #ifdef AF_INET6
 static const char *inet_ntop6(const unsigned char *src, char *dst,
                              size_t size);
@@ -172,7 +172,7 @@ inet_ntop6(const unsigned char *src, char *dst, size_t size) {
                tp += sprintf(tp, "%x", words[i]);
        }
        /* Was it a trailing run of 0x00's? */
-       if (best.base != -1 && (best.base + best.len) == 
+       if (best.base != -1 && (best.base + best.len) ==
            (NS_IN6ADDRSZ / NS_INT16SZ))
                *tp++ = ':';
        *tp++ = '\0';
index a7b48578b3c3ddbfdcf4f7f15febbee72ae688ae..865c56b1857af16815fb9c6a6aeb5f44d531f167 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -16,7 +16,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$Id: lwinetpton.c,v 1.4 2000/07/27 09:53:47 tale Exp $";
+static char rcsid[] = "$Id: lwinetpton.c,v 1.5 2000/08/01 01:32:23 tale Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
index 856af6985589e07fa0cd2c4e3f501b2d403f2505..a7d13c5ab3faec1f252885ab066d3feecf2d33e6 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwpacket.c,v 1.11 2000/07/27 09:53:49 tale Exp $ */
+/* $Id: lwpacket.c,v 1.12 2000/08/01 01:32:24 tale Exp $ */
 
 #include <config.h>
 
index 33de3ada39aabdc683a1d0976079930d37210c0c..13bf93945a163b63e24e5aad6b5e7bcf848239c8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwres_gabn.c,v 1.23 2000/07/27 09:53:50 tale Exp $ */
+/* $Id: lwres_gabn.c,v 1.24 2000/08/01 01:32:25 tale Exp $ */
 
 #include <config.h>
 
index ec3253b6f413434ff68209922891166b8e5dc077..073529fcc2eb59a220ccb7c6a25b9d1bd3a99b05 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwres_gnba.c,v 1.18 2000/07/27 09:53:51 tale Exp $ */
+/* $Id: lwres_gnba.c,v 1.19 2000/08/01 01:32:26 tale Exp $ */
 
 #include <config.h>
 
@@ -80,7 +80,7 @@ lwres_gnbarequest_render(lwres_context_t *ctx, lwres_gnbarequest_t *req,
        lwres_buffer_putuint32(b, req->flags);
        lwres_buffer_putuint32(b, req->addr.family);
        lwres_buffer_putuint16(b, req->addr.length);
-       lwres_buffer_putmem(b, (unsigned char *)req->addr.address, 
+       lwres_buffer_putmem(b, (unsigned char *)req->addr.address,
                            req->addr.length);
 
        INSIST(LWRES_BUFFER_AVAILABLECOUNT(b) == 0);
index 73f06f1864dd943186071b1665ad2bedc8e17f8f..b81ea1a41d700c3fccfa17e8239f32d98860484f 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwres_noop.c,v 1.12 2000/07/27 09:53:52 tale Exp $ */
+/* $Id: lwres_noop.c,v 1.13 2000/08/01 01:32:27 tale Exp $ */
 
 #include <config.h>
 
index feec7a6431f4120a86f93a4fb99f7b7946b95fea..beaa6b3d5aaa1016d55dab2c7a3d526ab5e36664 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwresutil.c,v 1.22 2000/07/27 09:53:53 tale Exp $ */
+/* $Id: lwresutil.c,v 1.23 2000/08/01 01:32:29 tale Exp $ */
 
 #include <config.h>
 
@@ -162,7 +162,7 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name,
                exact_first = 1;
        else
                exact_first = 0;
-       
+
        current_suffix = 0;
        tried_exact = 0;
        tried_search = 0;
index 9f22585a4f93357da3ee3921e15c143eb9954fa0..31577c3d2d0c67dd2bab6156d9bd7a569192bd1a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres.3,v 1.2 2000/07/27 09:44:02 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres.3,v 1.3 2000/08/01 01:20:24 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES 3
 .Os BIND9 9
@@ -42,9 +42,9 @@ Clients use the functions provided by the lightweight resolver library
 to encode requests and decode responses.
 The server for the lightweight resolver is
 .Nm lwresd .
-In reality this is implemented by the name server, 
+In reality this is implemented by the name server,
 .Nm named ,
-though when operating as the lightweight resolver server, 
+though when operating as the lightweight resolver server,
 .Nm lwresd
 is functionally and logically distinct from the actual name server.
 The protocol consists of a number of opcodes, each of which has a
@@ -97,7 +97,7 @@ character.
 This simplifies structure handling and parsing for both the server
 receiving a request and the client receiving a reply.
 It also eliminates data copying by enabling a mapping structure to
-directly point at data in the actual receive buffer. 
+directly point at data in the actual receive buffer.
 .Sh OPCODES
 .Pp
 Every lightweight resolver operation uses a unique opcode.
@@ -105,12 +105,12 @@ Each opcode is assigned a number.
 Opcodes in the range 0x00000000 and 0x03ffffff are reserved for use by
 the lightweight resolver library.
 Opcodes between 0x04000000 and 0xffffffff have been set aside for use by
-applications. 
+applications.
 .Pp
 Three opcodes are currently defined:
 .Bl -tag -width LWRES_OPCODE_GETADDRSBYNAME
 .It Li LWRES_OPCODE_NOOP
-The no-op opcode is essentially an echo operation, comparable to 
+The no-op opcode is essentially an echo operation, comparable to
 .Xr ping 1 .
 The server simply returns the entire data region that had been sent by
 the client.
@@ -165,24 +165,24 @@ function translates from the canonical form to the op-code specific
 structure.
 Memory allocated to the opcode's request or reply structures is
 discarded using the
-.Ar free 
+.Ar free
 function.
 Clients will typically use the op-code specific
 .Ar xxx_request_render ,
-.Ar xxx_response_parse 
+.Ar xxx_response_parse
 and
 .Ar xxx_response_free
 functions.
 The name server will use the
 .Ar xxx_request_parse ,
 .Ar xxx_response_render
-and 
+and
 .Ar xxx_request_free
 functions.
 .Pp
 For example, the no-op opcode -
 .Dv LWRES_OPCODE_NOOP
-- uses 
+- uses
 .Dv lwres_nooprequest_t
 and
 .Dv lwres_noopresponse_t
@@ -214,7 +214,7 @@ releases the memory allocated to the
 and
 .Dv lwres_noopresponse_t
 structures respectively.
-.\" 
+.\"
 .\"    XXXJR
 .\"    NOT YET.
 .\"    This is just a placeholder to indicate where the section on the
@@ -251,9 +251,9 @@ primitives on that context structure or else create a context for each
 thread.
 See
 .Xr lwres_context 3 .
-Once the context has been created, 
+Once the context has been created,
 .Fn lwres_conf_init
-is called to read 
+is called to read
 .Pa /etc/resolv.conf
 so that various options such as sort lists, search lists and so on can
 be applied.
@@ -285,6 +285,6 @@ described above.
 .Xr lwres_context 3 ,
 .Xr lwres_config 3 ,
 .Xr resolver 5 ,
-.Xr lwres_getipnode 3 
+.Xr lwres_getipnode 3
 .Xr lwresd 8 ,
 .Xr named 8 .
index 6bab942584359dd4d3c4d355fc48d856626d47d5..11345fbe250969ff47b543eae0cd7a70f98c277a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_addr_parse.3,v 1.2 2000/07/27 09:44:03 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_addr_parse.3,v 1.3 2000/08/01 01:20:25 tale Exp $
+.\"
 .so lwres_resutil.3
index 401aebe76f591d0fdd5e490c3d865e914336b734..ec69ae6c87fd5255fe02d8b3d01055acfa51252e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer.3,v 1.2 2000/07/27 09:44:04 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer.3,v 1.3 2000/08/01 01:20:26 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_BUFFER 3
 .Os BIND9 9
@@ -39,7 +39,7 @@
 .Nd lightweight resolver buffer management
 .Sh SYNOPSIS
 .Fd #include <lwres/lwbuffer.h>
-.Fd 
+.Fd
 .Ft void
 .Fo lwres_buffer_init
 .Fa "lwres_buffer_t *b"
@@ -132,7 +132,7 @@ struct lwres_buffer {
        unsigned int            active;
 };
 .Ed
-The main reason for making the buffer structure public is so that 
+The main reason for making the buffer structure public is so that
 buffer operations can be implemented using macros.
 Applications should not manipulate this structure directly.
 They should use the functions listed below.
@@ -166,7 +166,7 @@ It extends from the current offset to an offset in the
 remaining region.
 Initially, the active region is empty.
 If the current offset advances beyond the chosen offset,
-the active region will also be empty.   
+the active region will also be empty.
 .Pp
 Except for
 .Fn lwres_buffer_init ,
@@ -193,7 +193,7 @@ The
 .Fa *b
 is invalidated by
 .Fn lwres_buffer_invalidate .
-.Fa *b 
+.Fa *b
 must be a valid lightweight resolver buffer.
 .Pp
 The functions
@@ -206,7 +206,7 @@ buffer
 by
 .Fa n
 bytes.
-.Fa *b 
+.Fa *b
 .Fn lwres_buffer_add
 checks for buffer overflow and
 .Fn lwres_buffer_subtract
@@ -219,9 +219,9 @@ A lightweight resolver buffer is re-initialised by
 .Fn lwres_buffer_clear .
 The function sets
 .Li b->used ,
-.Li b->current 
+.Li b->current
 and
-.Li b->active 
+.Li b->active
 to zero.
 .Pp
 .Fn lwres_buffer_first
@@ -289,11 +289,11 @@ respectively.
 .Fn lwres_buffer_putmem
 copies
 .Fa length
-bytes of memory at 
+bytes of memory at
 .Fa base
 to
 .Fa b.
-Conversely, 
+Conversely,
 .Fn lwres_buffer_getmem
 copies
 .Fa length
index 00bd2561f114096ff746588b4c9058807bc8042c..3694e497cad136c17b419402e4d91185f0a89b56 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_add.3,v 1.2 2000/07/27 09:44:05 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_add.3,v 1.3 2000/08/01 01:20:27 tale Exp $
+.\"
 .so lwres_buffer.3
index 811657e69a780b7dfc089e83c8d61b81603770bb..552b635cfe47f89d8858451903dba88d94e7e8f3 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_back.3,v 1.2 2000/07/27 09:44:06 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_back.3,v 1.3 2000/08/01 01:20:28 tale Exp $
+.\"
 .so lwres_buffer.3
index 2737e2475ca93a9afd8a50fda5997c75a3d71515..6b78222349b57d0bbb991f1ec8f165ea2edb1a4b 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_clear.3,v 1.2 2000/07/27 09:44:07 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_clear.3,v 1.3 2000/08/01 01:20:29 tale Exp $
+.\"
 .so lwres_buffer.3
index 99f3a466f777e889d877e8cd380f389171f7634d..57373d02b4adecad0cecdd323e5a86cd3d6094fc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_first.3,v 1.2 2000/07/27 09:44:08 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_first.3,v 1.3 2000/08/01 01:20:30 tale Exp $
+.\"
 .so lwres_buffer.3
index fcebbeb7c8c8122697c625adf178e9460fc04d1d..04bcfe3b9812299d7bb7b824c9c4d2a1d4225004 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_forward.3,v 1.2 2000/07/27 09:44:09 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_forward.3,v 1.3 2000/08/01 01:20:31 tale Exp $
+.\"
 .so lwres_buffer.3
index 09e50498c86ad33faab4fe8e527cccf3f38588a3..c057924444bdd5795842ceef0258f1b707d3b5df 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getmem.3,v 1.2 2000/07/27 09:44:10 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getmem.3,v 1.3 2000/08/01 01:20:33 tale Exp $
+.\"
 .so lwres_buffer.3
index c3a5873a21a4da2e5561b612140a75fa6633f0cb..b7142d6eb3ce7796526fb04addd969485bea736d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getuint16.3,v 1.2 2000/07/27 09:44:12 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getuint16.3,v 1.3 2000/08/01 01:20:34 tale Exp $
+.\"
 .so lwres_buffer.3
index eeed1336b3ed87dee7be456e270989f65d8e6777..1cc7564e9992b44e3fdde4e8dded7dbdf4980cef 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getuint32.3,v 1.2 2000/07/27 09:44:13 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getuint32.3,v 1.3 2000/08/01 01:20:35 tale Exp $
+.\"
 .so lwres_buffer.3
index e7633793ad611a7390137412067463e8d3652845..63f50650ae209428b1baf5181eb7e28c03a64ec7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_getuint8.3,v 1.2 2000/07/27 09:44:14 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_getuint8.3,v 1.3 2000/08/01 01:20:36 tale Exp $
+.\"
 .so lwres_buffer.3
index ffc200e917bd46d52ce1340a0fabd50db07cfd18..35601e65c76db73d6976bbf53a47f8d8edb476b9 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_init.3,v 1.2 2000/07/27 09:44:15 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_init.3,v 1.3 2000/08/01 01:20:37 tale Exp $
+.\"
 .so lwres_buffer.3
index f281800361af0567f95643d4a11c415329e66695..d149f42c58c99a1b77d001d9b74b933aa1b9ceb6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_invalidate.3,v 1.2 2000/07/27 09:44:16 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_invalidate.3,v 1.3 2000/08/01 01:20:38 tale Exp $
+.\"
 .so lwres_buffer.3
index c092c0e9986f324d149dafafc57c25cf7ab26e52..7fabb0f1e5a3da44002113b1ed05ae64aeb4be61 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putmem.3,v 1.2 2000/07/27 09:44:17 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putmem.3,v 1.3 2000/08/01 01:20:39 tale Exp $
+.\"
 .so lwres_buffer.3
index 435a12f82d876c48495366b674f405e5519acc4b..c54379c6a415b21f6b346ef2553aa4d50942e973 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putuint16.3,v 1.2 2000/07/27 09:44:18 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putuint16.3,v 1.3 2000/08/01 01:20:40 tale Exp $
+.\"
 .so lwres_buffer.3
index 5fb450a0d3a2e19ba44566deb388458e3060d183..01312598e059e982fdf617d7d99f8d4259f13647 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putuint32.3,v 1.2 2000/07/27 09:44:19 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putuint32.3,v 1.3 2000/08/01 01:20:41 tale Exp $
+.\"
 .so lwres_buffer.3
index 25afe81a252ff1445bba6d59932cf53078fcd934..f6e8c07920e136c53b2b1b2558975db9b6ed00d0 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_putuint8.3,v 1.2 2000/07/27 09:44:20 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_putuint8.3,v 1.3 2000/08/01 01:20:42 tale Exp $
+.\"
 .so lwres_buffer.3
index f0e2c6df9e11352f226dc9933036227202ae2077..dc4f74d1e878f00d319c46f0185d145c51787863 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_buffer_subtract.3,v 1.2 2000/07/27 09:44:21 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_buffer_subtract.3,v 1.3 2000/08/01 01:20:43 tale Exp $
+.\"
 .so lwres_buffer.3
index debb6f0a58a14de32cd2ed76df9f4685f211c515..98cb907f3f1249b8ddedab306e4d708874349ddf 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_clear.3,v 1.2 2000/07/27 09:44:22 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_clear.3,v 1.3 2000/08/01 01:20:45 tale Exp $
+.\"
 .so lwres_config.3
index eec9ddcf471c931de2e534729b82586b467302e0..92b1431bb094ffabf448463da4a348e4a5dd1a49 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_get.3,v 1.2 2000/07/27 09:44:23 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_get.3,v 1.3 2000/08/01 01:20:46 tale Exp $
+.\"
 .so lwres_config.3
index 61c3864e7b6c71bba0e0131afef1f2cfd1cfddd7..06eba65af27b0e2ef349d49c42d34aa5e4e45ea6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_init.3,v 1.2 2000/07/27 09:44:25 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_init.3,v 1.3 2000/08/01 01:20:47 tale Exp $
+.\"
 .so lwres_config.3
index 432efb5de41fc6e84ca89ac92b54892a126dc788..c5d31959073eefb3c5d8032f0a5d431aa3af70f7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_parse.3,v 1.2 2000/07/27 09:44:26 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_parse.3,v 1.3 2000/08/01 01:20:48 tale Exp $
+.\"
 .so lwres_config.3
index eddce357861067ba92654c9ced971a34662150f8..06a3249329d7c7e57bc9b8e189e6fded4c437b3c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_conf_print.3,v 1.2 2000/07/27 09:44:27 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_conf_print.3,v 1.3 2000/08/01 01:20:50 tale Exp $
+.\"
 .so lwres_config.3
index be18178f3fff962a7845e0143edf3ba1461f60ac..dfd89fe70544e81c2326e07187904842d06f747e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_config.3,v 1.2 2000/07/27 09:44:28 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_config.3,v 1.3 2000/08/01 01:20:51 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_CONFIG 3
 .Os BIND9 9
@@ -59,7 +59,7 @@ structure for lightweight resolver context
 .Fa ctx .
 .Pp
 .Fn lwres_conf_clear
-frees up all the internal memory used by 
+frees up all the internal memory used by
 that
 .Dv lwres_conf_t
 structure in resolver context
@@ -83,7 +83,7 @@ to the
 .Fa fp.
 .Sh RETURN VALUES
 .Fn lwres_conf_parse
-returns 
+returns
 .Er LWRES_R_SUCCESS
 if it successfully read and parsed
 .Fa filename .
@@ -91,7 +91,7 @@ It returns
 .Er LWRES_R_FAILURE
 if
 .Fa filename
-could not be opened or contained incorrect 
+could not be opened or contained incorrect
 resolver statements.
 .Pp
 .Fn lwres_conf_print
index e2437a66624efe67ead0a8f32c834c800b8ee2e9..2ae8205992c5a1158d7708db0be93268f5cbfeff 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context.3,v 1.2 2000/07/27 09:44:29 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context.3,v 1.3 2000/08/01 01:20:52 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_CONTEXT 3
 .Os BIND9 9
 .Nd lightweight resolver memory allocation routines
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_context_create
 .Fa "lwres_context_t **contextp"
 .Fa "void *arg"
 .Fa "lwres_malloc_t malloc_function"
 .Fa "lwres_free_t free_function"
-.Fc 
+.Fc
 .Ft lwres_result_t
 .Fo lwres_context_destroy
 .Fa "lwres_context_t **contextp"
@@ -155,7 +155,7 @@ is not NULL.
 .Fn lwres_context_initserial
 sets the serial number for context
 .Fa *ctx
-to 
+to
 .Fa serial .
 .Fn lwres_context_nextserial
 returns the current serial number for the context and increments
@@ -219,7 +219,7 @@ returned in
 .Fa *recvd_len .
 .Sh RETURN VALUES
 .Fn lwres_context_create
-returns 
+returns
 .Er LWRES_R_NOMEMORY
 if memory for the
 .Dv "struct lwres_context"
@@ -240,7 +240,7 @@ completes successfully.
 is returned if an I/O error occurs and
 .Er LWRES_R_TIMEOUT
 is returned if the
-.Xr recvfrom 2 
+.Xr recvfrom 2
 call times out.
 .Sh SEE ALSO
 .Xr lwres_conf_init 3 ,
index f139cbaadb086ab286260e416883d507719ae850..6d4aa2bdfd5ec226b30d37a765d5d1b61a580c71 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_allocmem.3,v 1.2 2000/07/27 09:44:30 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_allocmem.3,v 1.3 2000/08/01 01:20:53 tale Exp $
+.\"
 .so lwres_context.3
index 3d19c22703ef4b6e8483540dedc1acd3798b227f..617ff64f37650103407e3043149a6f28548b42ec 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_create.3,v 1.2 2000/07/27 09:44:31 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_create.3,v 1.3 2000/08/01 01:20:54 tale Exp $
+.\"
 .so lwres_context.3
index 42f53ef23e774114c01e0155aa1cabc2ed4f9e66..f47ccbcd4b8a27bbdb10d2fbe0228d612b3c2361 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_destroy.3,v 1.2 2000/07/27 09:44:32 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_destroy.3,v 1.3 2000/08/01 01:20:55 tale Exp $
+.\"
 .so lwres_context.3
index 52e3e99d9f6617e8f64e191e1550a1ac234c4383..1cd987a4e904543923ecbc3d76599e0acd4a1466 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_freemem.3,v 1.2 2000/07/27 09:44:33 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_freemem.3,v 1.3 2000/08/01 01:20:56 tale Exp $
+.\"
 .so lwres_context.3
index ae30577aec979ecc1df834282a4374adc3084632..9de6c3edb01333d11cfde2a255542a25ff91b1c6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_initserial.3,v 1.2 2000/07/27 09:44:34 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_initserial.3,v 1.3 2000/08/01 01:20:57 tale Exp $
+.\"
 .so lwres_context.3
index 78f751cb4a073c0db9b86f619019459d7761f47a..82867c3dbc68bb4b14fb5bacef539e2142e1fb36 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_nextserial.3,v 1.2 2000/07/27 09:44:35 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_nextserial.3,v 1.3 2000/08/01 01:20:58 tale Exp $
+.\"
 .so lwres_context.3
index 8d2cfb7066ec010b7f02ec2b6e135259f2bd54d8..7b94ab584caac6369e5788ab7cfbfcb526f8195d 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_context_sendrecv.3,v 1.2 2000/07/27 09:44:36 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_context_sendrecv.3,v 1.3 2000/08/01 01:20:59 tale Exp $
+.\"
 .so lwres_context.3
index 231ab21487e0b23bda35361deb148137ac2e6137..62f7a61defbd104110a7557f5902db530a8e757a 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_endhostent.3,v 1.2 2000/07/27 09:44:38 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_endhostent.3,v 1.3 2000/08/01 01:21:00 tale Exp $
+.\"
 .so lwres_gethostent.3
index 4c5a898e496333c58d02e77661f7e8c9bb98ac98..a5f651ea21a2de0144e9bd39a64b47af1f3ad276 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_endhostent_r.3,v 1.2 2000/07/27 09:44:39 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_endhostent_r.3,v 1.3 2000/08/01 01:21:01 tale Exp $
+.\"
 .so lwres_gethostent.3
index 4fd640c5db455c77ee45eb6138beb62c1764585e..5583a99cc3d0182a9e6479c5dc78babff5f8eda5 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_freeaddrinfo.3,v 1.2 2000/07/27 09:44:40 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_freeaddrinfo.3,v 1.3 2000/08/01 01:21:02 tale Exp $
+.\"
 .so lwres_getaddrinfo.3
index 2bfd986665c2445b27a74eccaa9b581f10a83f30..3b3d8511d2a34849d0108955ca07257ef3985ab7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_freehostent.3,v 1.2 2000/07/27 09:44:41 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_freehostent.3,v 1.3 2000/08/01 01:21:04 tale Exp $
+.\"
 .so lwres_getipnode.3
index 57ddc1f15838d57241dc134e5565bc413b55cf9a..4e0b35385408e61cce7292435bbaa669f9e3bd4e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabn.3,v 1.2 2000/07/27 09:44:42 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabn.3,v 1.3 2000/08/01 01:21:05 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GABN 3
 .Os BIND9 9
@@ -29,7 +29,7 @@
 .Nd lightweight resolver getaddrbyname functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_gabnrequest_render
 .Fa "lwres_context_t *ctx"
@@ -91,9 +91,9 @@ These structures are defined in
 They are shown below.
 .Bd -literal -offset indent
 #define LWRES_OPCODE_GETADDRSBYNAME    0x00010001U
+
 typedef struct lwres_addr lwres_addr_t;
-typedef LWRES_LIST(lwres_addr_t) lwres_addrlist_t; 
+typedef LWRES_LIST(lwres_addr_t) lwres_addrlist_t;
 
 typedef struct {
        lwres_uint32_t  flags;
@@ -140,7 +140,7 @@ uses context
 .Fa ctx
 to convert the contents of packet
 .Fa pkt
-to a 
+to a
 .Dv lwres_gabnrequest_t
 structure.
 Buffer
@@ -187,7 +187,7 @@ if memory allocation fails.
 is returned if the available space in the buffer
 .Fa b
 is too small to accommodate the packet header or the
-.Dv lwres_gabnrequest_t 
+.Dv lwres_gabnrequest_t
 and
 .Dv lwres_gabnresponse_t
 structures.
@@ -205,4 +205,4 @@ in the packet header structure
 .Dv lwres_lwpacket_t
 indicate that the packet is not a response to an earlier query.
 .Sh SEE ALSO
-.Xr lwres_packet 3 
+.Xr lwres_packet 3
index 4767669a770148faab281d21dee252fd8af5acf6..749c5ab1d23f8c8094bf8dd41dbcc1cb5cad038f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnrequest_free.3,v 1.2 2000/07/27 09:44:43 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnrequest_free.3,v 1.3 2000/08/01 01:21:06 tale Exp $
+.\"
 .so lwres_gabn.3
index bac556421f262cf24f93f3b48590a22bac5cc247..537c99b70cf9ce98b7d8aeb0cac32ce77944254f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnrequest_parse.3,v 1.2 2000/07/27 09:44:44 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnrequest_parse.3,v 1.3 2000/08/01 01:21:07 tale Exp $
+.\"
 .so lwres_gabn.3
index bdbbd586682c39e8840c306604d806abcf49583e..15eee1fa06c21fa7c78c5f4e4823af4ced9937f4 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnrequest_render.3,v 1.2 2000/07/27 09:44:45 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnrequest_render.3,v 1.3 2000/08/01 01:21:08 tale Exp $
+.\"
 .so lwres_gabn.3
index ce1e7a56b2a101557c7966bd4b795c281bded2c4..59039418d7d276bac0af82077957a05a789f495e 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnresponse_free.3,v 1.2 2000/07/27 09:44:46 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnresponse_free.3,v 1.3 2000/08/01 01:21:09 tale Exp $
+.\"
 .so lwres_gabn.3
index cc935353ff6d372bf037e2d8e2ef4c7dfa3972a7..001bdb772407c80755019a033d6682dd32679880 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnresponse_parse.3,v 1.2 2000/07/27 09:44:47 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnresponse_parse.3,v 1.3 2000/08/01 01:21:10 tale Exp $
+.\"
 .so lwres_gabn.3
index ecb88418cf9bcd01695e2b6914dfd2fb63c21e4b..45e34be2255cf6840d673ad2b5faa294f74d086f 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gabnresponse_render.3,v 1.2 2000/07/27 09:44:48 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gabnresponse_render.3,v 1.3 2000/08/01 01:21:11 tale Exp $
+.\"
 .so lwres_gabn.3
index 8db5b5528d77d1233011e1db43760b79b58fb35b..d36140f3c0fa1128e2a0da924f3e7a9e4be4df54 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gai_strerror.3,v 1.2 2000/07/27 09:44:49 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gai_strerror.3,v 1.3 2000/08/01 01:21:12 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GAI_STRERROR 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd print suitable error string
 .Sh SYNOPSIS
 .Fd #include <lwres/netdb.h>
-.Fd 
+.Fd
 .Ft char *
 .Fo gai_strerror
 .Fa "int ecode"
index 090b7ef6f27ca8befb3268d89571440bf1e8014c..6039a1ff07d1425492e041ee50deeac2bea29c74 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getaddrinfo.3,v 1.2 2000/07/27 09:44:50 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getaddrinfo.3,v 1.3 2000/08/01 01:21:13 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETADDRINFO 3
 .Os BIND9 9
@@ -25,7 +25,7 @@
 .Nd socket address structure to host and service name
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft int
 .Fo lwres_getaddrinfo
 .Fa "const char *hostname"
@@ -88,14 +88,14 @@ The caller can supply the following structure elements in
 the protocol family that should be used.
 When
 .Li ai_family
-is set to 
+is set to
 .Dv PF_UNSPEC ,
 it means the caller will accept any protocol family supported by the
 operating system.
 .It Dv ai_socktype
 denotes the type of socket -
 .Dv SOCK_STREAM ,
-.Dv SOCK_DGRAM 
+.Dv SOCK_DGRAM
 or
 .Dv SOCK_RAW
 - that is wanted.
@@ -139,9 +139,9 @@ does not set the
 .Dv AI_PASSIVE
 bit, the returned socket address structure will be ready
 for use in a call to
-.Xr connect 2 
+.Xr connect 2
 for a connection-oriented protocol or
-.Xr connect 2 , 
+.Xr connect 2 ,
 .Xr sendto 2 ,
 or
 .Xr sendmsg 2
@@ -153,7 +153,7 @@ is a
 .Dv NULL
 pointer and
 .Dv AI_PASSIVE
-is not set in 
+is not set in
 .Li ai_flags .
 .Pp
 If
@@ -161,7 +161,7 @@ If
 is set to
 .Dv AI_NUMERICHOST
 it indicates that
-the 
+the
 .Dv non-NuLL
 .Fa hostname
 should be treated as a numeric string defining an IPv4 or IPv6 address.
@@ -177,7 +177,7 @@ passed via
 .Fa arg
 must be zero.
 .Pp
-If 
+If
 .Fa arg
 is not supplied, a
 .Dv NULL
@@ -200,7 +200,7 @@ the
 .Li ai_next
 pointer, until a
 .Dv NULL
-pointer is encountered. 
+pointer is encountered.
 The three members
 .Li ai_family ,
 ai_socktype,
@@ -237,7 +237,7 @@ is a pointer to a
 returns zero on success or one of the error codes listed in
 .Xr gai_strerror 3
 if an error occurs.
-If both 
+If both
 .Fa hostname
 and
 .Fa servname
@@ -253,8 +253,8 @@ returns
 .Xr RFC2133 ,
 .Xr getservbyname 3 ,
 .Xr bind 2
-.Xr connect 2 
-.Xr connect 2 , 
+.Xr connect 2
+.Xr connect 2 ,
 .Xr sendto 2 ,
 .Xr sendmsg 2 ,
 .Xr socket 2 .
index d24868795403953dbf8d2d787c0edf57949a33de..6e6a88f83d40c6a95fc9831f1ce566439b09b5ac 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getaddrsbyname.3,v 1.2 2000/07/27 09:44:52 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getaddrsbyname.3,v 1.3 2000/08/01 01:21:15 tale Exp $
+.\"
 .so lwres_resutil.3
index f5c9ae936c6ffc2206e0e5bb534c8910eb19a9ee..721d18e1574a7df9086ccd48ed83e4e2c9bee749 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyaddr.3,v 1.2 2000/07/27 09:44:53 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyaddr.3,v 1.3 2000/08/01 01:21:16 tale Exp $
+.\"
 .so lwres_gethostent.3
index 93a93f7504487b06763f6ae085a9ccb364498539..1d36c82e8bb1b089a66625f2a7fcc0c9db3b4b06 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyaddr_r.3,v 1.2 2000/07/27 09:44:54 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyaddr_r.3,v 1.3 2000/08/01 01:21:17 tale Exp $
+.\"
 .so lwres_gethostent.3
index 8b457e3fd0aed1620361a48e88e909e5415685c2..f8e60eddae4b70b0ff6b52351a76a8cab6683504 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyname.3,v 1.2 2000/07/27 09:44:55 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyname.3,v 1.3 2000/08/01 01:21:18 tale Exp $
+.\"
 .so lwres_gethostent.3
index c198c01f95914d311680e80bbbd2414c1ed542af..9c8c7b5be8c6e3d056f23d9b12706eae8ada1448 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyname2.3,v 1.2 2000/07/27 09:44:56 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyname2.3,v 1.3 2000/08/01 01:21:19 tale Exp $
+.\"
 .so lwres_gethostent.3
index beeb795a94bb9a1f0c5bc1f6932ac899763fa639..6433a236e0e4fa5e5b4c1fa02539349563bf0230 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostbyname_r.3,v 1.2 2000/07/27 09:44:57 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostbyname_r.3,v 1.3 2000/08/01 01:21:20 tale Exp $
+.\"
 .so lwres_gethostent.3
index 288296bf9629be880304b3def05fb2ab75038351..c997d6f2e6aacd6825ddc92284a0a8ffda6ffccc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostent.3,v 1.2 2000/07/27 09:44:58 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostent.3,v 1.3 2000/08/01 01:21:21 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETHOSTENT 3
 .Os BIND9 9
@@ -34,7 +34,7 @@
 .Nd lightweight resolver get network host entry
 .Sh SYNOPSIS
 .Fd #include <lwres/netdb.h>
-.Fd 
+.Fd
 .Ft struct hostent *
 .Fo lwres_gethostbyname
 .Fa "const char *name"
@@ -100,7 +100,7 @@ These functions define the interface to the lightweight resolver
 daemon \fPNOT IF IT IS GOING AWAY\fP
 for looking up hostnames and addresses. They are similar to the
 standard
-.Xr gethostent 3 
+.Xr gethostent 3
 functions provided by as part of the standard system software.
 They use a
 .Dv "struct hostent"
@@ -125,7 +125,7 @@ The official (canonical) name of the host.
 A NULL-terminated array of alternate names (nicknames) for the host.
 .It Li h_addrtype
 The type of address being returned -
-.Dv PF_INET 
+.Dv PF_INET
 or
 .Dv PF_INET6 .
 .It Li h_length
@@ -137,7 +137,7 @@ terminated array of network addresses for the host.
 Host addresses are returned in network byte order.
 .El
 .Pp
-For backward compatibility with very old software, 
+For backward compatibility with very old software,
 .Li h_addr
 is the first address in
 .Li h_addr_list.
@@ -168,10 +168,10 @@ always looks for an IPv4 address while
 .Fn lwres_gethostbyname2
 looks for an address of protocol family
 .Fa af :
-either 
+either
 .Dv PF_INET
 or
-.Dv PF_INET6 
+.Dv PF_INET6
 - IPv4 or IPV6 addresses respectively.
 Both functions call
 .Fn lwres_getipnodebyname
@@ -206,15 +206,15 @@ It also calls
 .Fn lwres_getipnodebyname
 to lookup the hostname
 .Fa name .
-If 
+If
 .Fn lwres_getipnodebyname
 encounters an error, the error code is returned in
-.Fa *error . 
+.Fa *error .
 .Fa resbuf
 is a pointer to a
 .Dv "struct hostent"
 which is initialised by a successful call to
-.Fn lwres_gethostbyname_r . 
+.Fn lwres_gethostbyname_r .
 .Fa buf
 is a buffer of length
 .Fa len
@@ -259,7 +259,7 @@ The other function parameters are identical to those in
 is a pointer to a
 .Dv "struct hostent"
 which is initialised by a successful call to
-.Fn lwres_gethostbyaddr_r . 
+.Fn lwres_gethostbyaddr_r .
 .Fa buf
 is a buffer of length
 .Fa len
@@ -281,11 +281,11 @@ which is a pointer to the
 it created.
 .Sh RETURN VALUES
 .Pp
-The functions 
+The functions
 .Fn lwres_gethostbyname ,
 .Fn lwres_gethostbyname2 ,
 .Fn lwres_gethostbyaddr ,
-and 
+and
 .Fn lwres_gethostent
 are not thread-safe because they free any memory that had been allocated
 in a previous call to those functions before they perform a lookup.
@@ -348,7 +348,7 @@ and
 .Li h_addr_list
 elements of the
 .Dv "struct hostent" .
-If 
+If
 .Fa buf
 was too small, both
 .Fn lwres_gethostbyname_r
@@ -366,7 +366,7 @@ to
 Although
 .Fn lwres_gethostbyname ,
 .Fn lwres_gethostbyname2 ,
-.Fn lwres_gethostbyaddr 
+.Fn lwres_gethostbyaddr
 and
 .Fn lwres_endhostent
 call thread-safe functions to perform lookups, these 3 functions
@@ -386,7 +386,7 @@ calls to those routines.
 Thread-safe versions for name and address lookup are provided by
 .Fn lwres_gethostbyname_r ,
 and
-.Fn lwres_gethostbyaddr_r 
+.Fn lwres_gethostbyaddr_r
 respectively.
 .Pp
 Although the above functions can be considered as drop-in replacements
@@ -400,6 +400,6 @@ or in
 .Dv NIS/YP
 or
 .Dv NIS+
-maps which could be supported by the operating system's 
+maps which could be supported by the operating system's
 .Xr gethostent 3
 functions.
index f9f4719dab7d36c11dc3213c0941ae1d162be353..76a45bbc571214ccac3965b327e81007a36866a6 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gethostent_r.3,v 1.2 2000/07/27 09:44:59 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gethostent_r.3,v 1.3 2000/08/01 01:21:23 tale Exp $
+.\"
 .so lwres_gethostent.3
index be7b2fdf4643d5ddd860c18e42986530b5a5c29a..ff4b80c9020f894626cf38a7c0b733dd33f51e71 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getipnode.3,v 1.2 2000/07/27 09:45:00 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getipnode.3,v 1.3 2000/08/01 01:21:24 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETIPNODE 3
 .Os BIND9 9
@@ -26,7 +26,7 @@
 .Nd lookup functions for the lightweight resolver
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft struct hostent *
 .Fo lwres_getipnodebyname
 .Fa "const char *name"
@@ -69,7 +69,7 @@ The official (canonical) name of the host.
 A NULL-terminated array of alternate names (nicknames) for the host.
 .It Li h_addrtype
 The type of address being returned -
-.Dv PF_INET 
+.Dv PF_INET
 or
 .Dv PF_INET6 .
 .It Li h_length
@@ -81,7 +81,7 @@ terminated array of network addresses for the host.
 Host addresses are returned in network byte order.
 .El
 .Pp
-For backward compatibility with very old software, 
+For backward compatibility with very old software,
 .Li h_addr
 is the first address in
 .Li h_addr_list.
@@ -170,7 +170,7 @@ gets discarded.
 .Pp
 .Fn lwres_freehostent
 releases all the memory associated with
-the 
+the
 .Dv "struct hostent"
 pointer
 .Fa he .
index 9edc2ca4b1dac12f25aa96d368dec6879d73bd0d..9dd965c37d915a88cfdff965262bf7f4259fd1a3 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getipnodebyaddr.3,v 1.2 2000/07/27 09:45:02 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getipnodebyaddr.3,v 1.3 2000/08/01 01:21:25 tale Exp $
+.\"
 .so lwres_getipnode.3
index c044391730df7c08552912911ff96d483accb443..52a9749e656578156dbbd72fee3b6f103a7b94da 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getipnodebyname.3,v 1.2 2000/07/27 09:45:03 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getipnodebyname.3,v 1.3 2000/08/01 01:21:26 tale Exp $
+.\"
 .so lwres_getipnode.3
index 53ba12ece6ae5866c57cd2acd4ab46f72b9b99ff..efea2d004231c9b038ca77eb77c37adff291472c 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getnamebyaddr.3,v 1.2 2000/07/27 09:45:04 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getnamebyaddr.3,v 1.3 2000/08/01 01:21:27 tale Exp $
+.\"
 .so lwres_resutil.3
index 4d8dde7bf7b342b2401a08aea8f2e78c6f032330..c7e8986735dd1d53a68b07e72b2e388cf58b8203 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_getnameinfo.3,v 1.3 2000/07/27 09:45:05 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_getnameinfo.3,v 1.4 2000/08/01 01:21:28 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GETNAMEINFO 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd lightweight resolver socket address structure to hostname and service name
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft int
 .Fo lwres_getnameinfo
 .Fa "const struct sockaddr *sa"
@@ -109,7 +109,7 @@ is called immediately before
 .Fn lwres_getnameinfo
 returns so that the created resolver context gets discarded.
 .Sh RETURN VALUES
-.Fn lwres_getnameinfo 
+.Fn lwres_getnameinfo
 returns 0 on success or a non-zero error code if an error occurs.
 .\"
 .\"    The error codes below were invented by the ISC/Nominum. They
index dc92cf5d56d7f5ae572367a15cca4295409ddbcd..d25661261b3c50fff681a4ee0b3b397acd7d1bd2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnba.3,v 1.2 2000/07/27 09:45:06 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnba.3,v 1.3 2000/08/01 01:21:29 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_GNBA 3
 .Os BIND9 9
@@ -29,7 +29,7 @@
 .Nd lightweight resolver getnamebyaddress functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_gnbarequest_render
 .Fa "lwres_context_t *ctx"
@@ -133,7 +133,7 @@ uses context
 .Fa ctx
 to convert the contents of packet
 .Fa pkt
-to a 
+to a
 .Dv lwres_gnbarequest_t
 structure.
 Buffer
@@ -180,7 +180,7 @@ if memory allocation fails.
 is returned if the available space in the buffer
 .Fa b
 is too small to accommodate the packet header or the
-.Dv lwres_gnbarequest_t 
+.Dv lwres_gnbarequest_t
 and
 .Dv lwres_gnbaresponse_t
 structures.
@@ -198,4 +198,4 @@ in the packet header structure
 .Dv lwres_lwpacket_t
 indicate that the packet is not a response to an earlier query.
 .Sh SEE ALSO
-.Xr lwres_packet 3 
+.Xr lwres_packet 3
index 5212f560d40c7b4acfda3a8c24ef27103aa1384f..6557e2e039dca59e8282fe870c981e3c6ec40abc 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbarequest_free.3,v 1.2 2000/07/27 09:45:08 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbarequest_free.3,v 1.3 2000/08/01 01:21:30 tale Exp $
+.\"
 .so lwres_gnba.3
index 1c3bf275f06250b918e6b2a74efd9948701aa541..288581aa70e4010c51ac2d4569dbc3b35ecdb092 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbarequest_parse.3,v 1.2 2000/07/27 09:45:09 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbarequest_parse.3,v 1.3 2000/08/01 01:21:31 tale Exp $
+.\"
 .so lwres_gnba.3
index 980a8dea1a7815ede1eca007ea70f84ed24074c0..fbfed7f15695191ed534908a265bd9afaf75b3af 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbarequest_render.3,v 1.2 2000/07/27 09:45:10 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbarequest_render.3,v 1.3 2000/08/01 01:21:33 tale Exp $
+.\"
 .so lwres_gnba.3
index e5d76319b227ce6583f9f5b05cad79719669fb8a..682aa01c71fad1bea0bf243a6535d85f7c1e3d43 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbaresponse_free.3,v 1.2 2000/07/27 09:45:11 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbaresponse_free.3,v 1.3 2000/08/01 01:21:34 tale Exp $
+.\"
 .so lwres_gnba.3
index bd18d82a90c96a624c87f6e11681f610fabbedd8..f713f0d4ddd7d7ce6b231e4f6362bee503957861 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbaresponse_parse.3,v 1.2 2000/07/27 09:45:13 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbaresponse_parse.3,v 1.3 2000/08/01 01:21:35 tale Exp $
+.\"
 .so lwres_gnba.3
index 0befce742f7413e7f636e71ed54f19d076771812..133808779e7efec9feb9f6f71081012980d9a098 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_gnbaresponse_render.3,v 1.2 2000/07/27 09:45:14 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_gnbaresponse_render.3,v 1.3 2000/08/01 01:21:36 tale Exp $
+.\"
 .so lwres_gnba.3
index 2c6ff76502f17afa36216d841c21ddabd9d6168f..644c5e6f4b80cc762d36cc0ff68b4f319b444754 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_herror.3,v 1.2 2000/07/27 09:45:15 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_herror.3,v 1.3 2000/08/01 01:21:37 tale Exp $
+.\"
 .so lwres_hstrerror.3
index 9833b8caee7b410c17deb797f16f9483cdb39120..8e922c84421385181ba448ee56dc22f32c2639d9 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_hstrerror.3,v 1.2 2000/07/27 09:45:16 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_hstrerror.3,v 1.3 2000/08/01 01:21:38 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_ERROR 3
 .Os BIND9 9
@@ -25,7 +25,7 @@
 .Nd lightweight resolver error message generation
 .Sh SYNOPSIS
 .Fd #include <lwres/netdb.h>
-.Fd 
+.Fd
 .Ft void
 .Fo lwres_herror
 .Fa "const char *s"
@@ -63,7 +63,7 @@ The values of the error codes and messages are as follows:
 .Sh RETURN VALUES
 The string \*qUnknown resolver error\*q is returned by
 .Fn lwres_hstrerror
-when the value of 
+when the value of
 .Li lwres_h_errno
 is not a valid error code.
 .Sh SEE ALSO
index b245ce50be9eab800893eb9d18d00adf98bf2bbd..c69fdfc75d2bdb937b354ddf26a199660ee48762 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_inetntop.3,v 1.2 2000/07/27 09:45:19 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_inetntop.3,v 1.3 2000/08/01 01:21:41 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_INETNTOP 3
 .Os BIND9 9
@@ -24,7 +24,7 @@
 .Nd lightweight resolver IP address presentation
 .Sh SYNOPSIS
 .Fd #include <lwres/net.h>
-.Fd 
+.Fd
 .Ft const char *
 .Fo lwres_net_ntop
 .Fa "int af"
@@ -35,7 +35,7 @@
 .Sh DESCRIPTION
 .Fn lwres_net_ntop
 converts an IP address of protocol family
-.Fa af 
+.Fa af
 - IPv4 or IPv6 - at location
 .Fa src
 from network format to its conventional representation as a string.
index 45daafec995ac1bf94f77319def195770e377867..ebaada062e8e97f926ab20f40844da88bacc28d7 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_lwpacket_parseheader.3,v 1.2 2000/07/27 09:45:22 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_lwpacket_parseheader.3,v 1.3 2000/08/01 01:21:43 tale Exp $
+.\"
 .so lwres_packet.3
index 735268ac8bf4be1fc14049e2b746fcbed4c87c95..b439d1f6c2ca1d6d693cd5c07368cb80c4509c09 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_lwpacket_renderheader.3,v 1.2 2000/07/27 09:45:23 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_lwpacket_renderheader.3,v 1.3 2000/08/01 01:21:44 tale Exp $
+.\"
 .so lwres_packet.3
index ee38d8378fa719468add4ea39b0ba0bd4d44bc7d..8e14b35a256f5e3f1f8b6b6af045f1c174e08e97 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_net_ntop.3,v 1.2 2000/07/27 09:45:25 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_net_ntop.3,v 1.3 2000/08/01 01:21:46 tale Exp $
+.\"
 .so lwres_inetntop.3
index 4272c9fb799123a81f9de02fe0789f0ee5418e5a..3846f41bd10a572a8591495579918d8beea0413b 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noop.3,v 1.2 2000/07/27 09:45:28 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noop.3,v 1.3 2000/08/01 01:21:48 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_NOOP 3
 .Os BIND9 9
@@ -29,7 +29,7 @@
 .Nd lightweight resolver no-op functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_nooprequest_render
 .Fa "lwres_context_t *ctx"
@@ -132,7 +132,7 @@ uses context
 .Fa ctx
 to convert the contents of packet
 .Fa pkt
-to a 
+to a
 .Dv lwres_nooprequest_t
 structure.
 Buffer
@@ -177,7 +177,7 @@ if memory allocation fails.
 is returned if the available space in the buffer
 .Fa b
 is too small to accommodate the packet header or the
-.Dv lwres_nooprequest_t 
+.Dv lwres_nooprequest_t
 and
 .Dv lwres_noopresponse_t
 structures.
@@ -195,4 +195,4 @@ in the packet header structure
 .Dv lwres_lwpacket_t
 indicate that the packet is not a response to an earlier query.
 .Sh SEE ALSO
-.Xr lwres_packet 3 
+.Xr lwres_packet 3
index e7e8ab38fc4cce719fea679115f8c17e0c94b726..5750ec73d10d8266a6f1c1cfe822c31f6140ab49 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_nooprequest_free.3,v 1.2 2000/07/27 09:45:29 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_nooprequest_free.3,v 1.3 2000/08/01 01:21:50 tale Exp $
+.\"
 .so lwres_noop.3
index 2759d8afe7a9662f2c2545b33761d21dc041a8fd..2cd32707c95ad11073449ee425bbd989248001f8 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_nooprequest_parse.3,v 1.2 2000/07/27 09:45:31 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_nooprequest_parse.3,v 1.3 2000/08/01 01:21:51 tale Exp $
+.\"
 .so lwres_noop.3
index 3c4dc593b377f5d631d3dafceafec146069777c5..57ea067f09177890ecb2aeab4dee087b9cc2f977 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_nooprequest_render.3,v 1.2 2000/07/27 09:45:32 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_nooprequest_render.3,v 1.3 2000/08/01 01:21:52 tale Exp $
+.\"
 .so lwres_noop.3
index 7cb18fb2007dd796c9b6521a10a0a1e7cdde74f8..201c9702af3320996130a79358c0116fbef72a81 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noopresponse_free.3,v 1.2 2000/07/27 09:45:33 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noopresponse_free.3,v 1.3 2000/08/01 01:21:53 tale Exp $
+.\"
 .so lwres_noop.3
index 12fc9797237fc27d0e49faf9efaa8f1622bf89cd..5f6c4371507eaf2b7b1ebcbf958fb449bc510697 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noopresponse_parse.3,v 1.2 2000/07/27 09:45:34 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noopresponse_parse.3,v 1.3 2000/08/01 01:21:54 tale Exp $
+.\"
 .so lwres_noop.3
index 4b7545eb9fe9f5bc869153507f4ab61aa776a9ba..b5e25864a09900c80d63d9d5e9df7670867331f0 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_noopresponse_render.3,v 1.2 2000/07/27 09:45:35 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_noopresponse_render.3,v 1.3 2000/08/01 01:21:55 tale Exp $
+.\"
 .so lwres_noop.3
index 18c3a3dda266eaefd7270601c8681d35f4d8cfe3..ddab3c659043b252d8d848c58de2736313087a39 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_packet.3,v 1.2 2000/07/27 09:45:38 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_packet.3,v 1.3 2000/08/01 01:21:56 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_PACKET 3
 .Os BIND9 9
@@ -27,7 +27,7 @@
 .Fd #include <lwres/lwbuffer.h>
 .Fd #include <lwres/lwpacket.h>
 .Fd #include <lwres/result.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_lwpacket_renderheader
 .Fa "lwres_buffer_t *b"
@@ -72,7 +72,7 @@ is a request or a reply. Flag values can be set, but not defined by
 the caller.
 .It Li serial
 is set by the requestor and is returned in all replies. If two or more
-packets from the same source have the same serial number and are from 
+packets from the same source have the same serial number and are from
 the same source, they are assumed to be duplicates and the latter ones
 may be dropped.
 .It Li opcode
@@ -82,7 +82,7 @@ reserved for use by the lightweight resolver library. Opcodes between
 0x04000000 and 0xffffffff are application defined.
 .It Li result
 is only valid for replies.
-Results between 0x04000000 and 0xffffffff are application defined. 
+Results between 0x04000000 and 0xffffffff are application defined.
 Results between 0x00000000 and 0x03ffffff are reserved for library use.
 .It Li recvlength
 is the maximum buffer size that the receiver can handle on requests
@@ -140,6 +140,6 @@ return
 If there is insufficient space to copy data between the buffer
 .Fa *b
 and lightweight resolver packet
-.Fa *pkt 
+.Fa *pkt
 both functions return
 .Er LWRES_R_UNEXPECTEDEND .
index 3fb330dfb9ed6f60256ed5984c3a66b4f7c0b996..94f1262fbd4f18fb8148347c3d6320c5315370fa 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,9 +12,9 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_resutil.3,v 1.2 2000/07/27 09:45:39 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_resutil.3,v 1.3 2000/08/01 01:21:57 tale Exp $
+.\"
 .Dd Jun 30, 2000
 .Dt LWRES_RESUTIL 3
 .Os BIND9 9
@@ -27,7 +27,7 @@
 .Nd lightweight resolver utility functions
 .Sh SYNOPSIS
 .Fd #include <lwres/lwres.h>
-.Fd 
+.Fd
 .Ft lwres_result_t
 .Fo lwres_string_parse
 .Fa "lwres_buffer_t *b"
@@ -68,7 +68,7 @@ and the length of that string is given by
 .Fa *len .
 The buffer's current pointer is advanced to point at the character
 following the string length, the encoded string, and the trailing
-.Dv NULL 
+.Dv NULL
 character.
 .Fn lwres_string_parse
 has an assertion check that
@@ -117,7 +117,7 @@ typedef struct {
 .Ed
 The contents of this structure are not manipulated directly but
 they are controlled through the
-.Xr lwres_gabn 3 
+.Xr lwres_gabn 3
 functions.
 .Pp
 The lightweight resolver uses
@@ -139,7 +139,7 @@ Results of the lookup are returned in
 .Fa *structp .
 .Fn lwres_getaddrsbyname
 checks that its pointer arguments are not
-.Dv NULL 
+.Dv NULL
 and that
 .Fa addrtypes
 is non-zero.
@@ -165,8 +165,8 @@ Like
 .Fn lwres_getaddrsbyname ,
 .Fn lwres_getnamebyaddr
 uses assertion checking to ensure its pointer arguments are not
-.Dv NULL 
-and 
+.Dv NULL
+and
 .Fa addrtype
 is not zero.
 .Fn lwres_getaddrsbyname
index 69f0ee5a0893ac882799ee475c17a41749998832..08f1beebd63d1f0cebdc56746c3c079f37bb4edf 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_sethostent.3,v 1.2 2000/07/27 09:45:40 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_sethostent.3,v 1.3 2000/08/01 01:21:58 tale Exp $
+.\"
 .so lwres_gethostent.3
index 1dc1f12662bdc7ccbf6c1566c4df5f1c64d7662d..b728e84626585f5b075de649f77ee2a8cd49dff2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_sethostent_r.3,v 1.2 2000/07/27 09:45:41 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_sethostent_r.3,v 1.3 2000/08/01 01:21:59 tale Exp $
+.\"
 .so lwres_gethostent.3
index da30657d0544aec549f4f9b54ea0727919328805..57e97edb6386a94f267de9282aa89b03eb7dc6a2 100644 (file)
@@ -1,9 +1,9 @@
 .\" Copyright (C) 2000  Internet Software Consortium.
-.\" 
+.\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
 .\" copyright notice and this permission notice appear in all copies.
-.\" 
+.\"
 .\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 .\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -12,7 +12,7 @@
 .\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\" 
-.\" $Id: lwres_string_parse.3,v 1.2 2000/07/27 09:45:43 tale Exp $
-.\" 
+.\"
+.\" $Id: lwres_string_parse.3,v 1.3 2000/08/01 01:22:01 tale Exp $
+.\"
 .so lwres_resutil.3
index b4e3a69092327f8d9bac71c6d2dea32112f1c4fa..0369425c416c49a3071b53d477571b8d7b245742 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.c,v 1.4 2000/07/27 09:53:54 tale Exp $ */
+/* $Id: version.c,v 1.5 2000/08/01 01:32:30 tale Exp $ */
 
 char lwres_version[] = VERSION;
 
index 969aa8c63e7d1273e6625f363e58e62baa3e3378..c1faf3ad3be4485d4aee18109ad5ab1958d8891c 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.13 2000/07/27 09:54:11 tale Exp $
+# $Id: Makefile.in,v 1.14 2000/08/01 01:32:47 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 9eae2b43f0bacc0469d340f36043669298c08219..beeb255a003e84c4024eeb4dc9737e4ea5a3745d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: auth.c,v 1.11 2000/07/27 09:54:12 tale Exp $ */
+/* $Id: auth.c,v 1.12 2000/08/01 01:32:48 tale Exp $ */
 
 /* Principal Author: DCL */
 
@@ -197,7 +197,7 @@ omapi_auth_register(const char *name, unsigned int algorithms,
                new->name = isc_mem_strdup(omapi_mctx, name);
                if (new->name == NULL)
                        result = ISC_R_NOMEMORY;
-       
+
                new->secret = isc_mem_allocate(omapi_mctx, secretlen);
                if (new->secret == NULL)
                        result = ISC_R_NOMEMORY;
index 5174d770d091217d112c36589ad0c033847a703d..e3285d29fc6a30230e8c71ad0bcd9ccc058984ec 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: connection.c,v 1.32 2000/07/27 09:54:14 tale Exp $ */
+/* $Id: connection.c,v 1.33 2000/08/01 01:32:49 tale Exp $ */
 
 /* Principal Author: DCL */
 
@@ -192,7 +192,7 @@ end_connection(omapi_connection_t *connection) {
  * Pause the client until it has received a message from the server, either the
  * introductory message or a response to a message it has sent.  This is
  * necessary because the underlying socket library is multithreaded, and
- * it is possible that reading incoming data would trigger an error 
+ * it is possible that reading incoming data would trigger an error
  * that causes the connection to be destroyed --- while the client program
  * is still trying to use it.
  *
@@ -218,7 +218,7 @@ connection_wait(omapi_connection_t *connection_handle) {
 
        INSIST(connection->state == omapi_connection_connecting ||
               connection->state == omapi_connection_connected);
-       
+
        connection->waiting = ISC_TRUE;
 
        while (connection->events_pending > 0)
@@ -314,7 +314,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
        unsigned int bytes_read;
 
        UNUSED(task);
-       
+
        sock = event->ev_sender;
        connection = event->ev_arg;
        socketevent = (isc_socketevent_t *)event;
@@ -402,7 +402,7 @@ send_done(isc_task_t *task, isc_event_t *event) {
        unsigned int sent_bytes;
 
        UNUSED(task);
-       
+
        sock = event->ev_sender;
        connection = event->ev_arg;
        socketevent = (isc_socketevent_t *)event;
@@ -491,7 +491,7 @@ connection_send(omapi_connection_t *connection) {
         */
        if (connection->is_client)
                LOCK(&connection->wait_lock);
-               
+
        isc_socket_sendv(connection->socket, &connection->output_buffers,
                         connection->task, send_done, connection);
 
@@ -549,7 +549,7 @@ connect_toserver(omapi_object_t *protocol, const char *server_name,
                                     sizeof(*connection));
        if (result != ISC_R_SUCCESS)
                goto free_obuffer;
-               
+
        connection->is_client = ISC_TRUE;
        connection->waiting = ISC_FALSE;
        connection->state = omapi_connection_connecting;
@@ -714,7 +714,7 @@ connection_copyout(unsigned char *dst, omapi_connection_t *connection,
        REQUIRE(protocol != NULL && protocol->type == omapi_type_protocol);
 
        INSIST(size <= connection->in_bytes);
-       
+
        connection->bytes_needed -= size;
 
        buffer = ISC_LIST_HEAD(connection->input_buffers);
@@ -946,7 +946,7 @@ omapi_connection_putuint32(omapi_object_t *c, isc_uint32_t value) {
        isc_uint32_t inbuf;
 
        inbuf = htonl(value);
-       
+
        return (omapi_connection_putmem(c, (unsigned char *)&inbuf,
                                        sizeof(inbuf)));
 }
@@ -958,7 +958,7 @@ omapi_connection_putuint16(omapi_object_t *c, isc_uint32_t value) {
        REQUIRE(value < 65536);
 
        inbuf = htons((isc_uint16_t)value);
-       
+
        return (omapi_connection_putmem(c, (unsigned char *)&inbuf,
                                        sizeof(inbuf)));
 }
@@ -1073,7 +1073,7 @@ connection_setvalue(omapi_object_t *connection, omapi_string_t *name,
 {
        REQUIRE(connection != NULL &&
                connection->type == omapi_type_connection);
-       
+
        return (omapi_object_passsetvalue(connection, name, value));
 }
 
@@ -1124,7 +1124,7 @@ connection_signalhandler(omapi_object_t *connection, const char *name,
 {
        REQUIRE(connection != NULL &&
                connection->type == omapi_type_connection);
-       
+
        return (omapi_object_passsignal(connection, name, ap));
 }
 
index 978ed43a381a64dff66b2165423845d63ee06ce3..cf634e47d31ae1b3f2f4454b03f7ae2c40357720 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: data.c,v 1.16 2000/07/27 09:54:15 tale Exp $ */
+/* $Id: data.c,v 1.17 2000/08/01 01:32:50 tale Exp $ */
 
 /* Principal Author: Ted Lemon */
 
index 3c96387b71f71b0b16fa9f165f03b8a01b8dc660..b60e34989230a8996ce540275e56f7bf45c0a30d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: generic.c,v 1.16 2000/07/27 09:54:16 tale Exp $ */
+/* $Id: generic.c,v 1.17 2000/08/01 01:32:51 tale Exp $ */
 
 /* Principal Author: Ted Lemon */
 
@@ -84,7 +84,7 @@ generic_setvalue(omapi_object_t *h, omapi_string_t *name, omapi_data_t *value)
 
                        return (ISC_R_SUCCESS);
                }
-       }                       
+       }
 
        /*
         * If the name isn't already attached to this object, see if an
@@ -146,7 +146,7 @@ generic_getvalue(omapi_object_t *h, omapi_string_t *name,
        REQUIRE(h != NULL && h->type == omapi_type_generic);
 
        g = (omapi_generic_t *)h;
-       
+
        /*
         * Look up the specified name in our list of objects.
         */
@@ -165,7 +165,7 @@ generic_getvalue(omapi_object_t *h, omapi_string_t *name,
                        omapi_value_reference(value, g->values[i]);
                        return (ISC_R_SUCCESS);
                }
-       }                       
+       }
 
        return (omapi_object_passgetvalue(h, name, value));
 }
@@ -178,7 +178,7 @@ generic_destroy(omapi_object_t *h) {
        REQUIRE(h != NULL && h->type == omapi_type_generic);
 
        g = (omapi_generic_t *)h;
-       
+
        if (g->values != NULL) {
                for (i = 0; i < g->nvalues; i++)
                        if (g->values[i] != NULL)
@@ -220,7 +220,7 @@ generic_stuffvalues(omapi_object_t *connection, omapi_object_t *h) {
        REQUIRE(h != NULL && h->type == omapi_type_generic);
 
        src = (omapi_generic_t *)h;
-       
+
        for (i = 0; i < src->nvalues; i++) {
                if (src->values[i] != NULL &&
                    src->values[i]->name->len != 0) {
@@ -239,7 +239,7 @@ generic_stuffvalues(omapi_object_t *connection, omapi_object_t *h) {
                        if (result != ISC_R_SUCCESS)
                                return (result);
                }
-       }                       
+       }
 
        return (omapi_object_passstuffvalues(connection, h));
 }
index 6303c33121e6e202a97496d3965b4e06a25d119c..2a794312c4fd4b57ff2ec558bb1c9defc3424965 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: handle.c,v 1.15 2000/07/27 09:54:17 tale Exp $ */
+/* $Id: handle.c,v 1.16 2000/08/01 01:32:52 tale Exp $ */
 
 /* Principal Author: Ted Lemon */
 
@@ -50,7 +50,7 @@
  * next handle should go, and if necessary create additional nodes in
  * the tree to contain the new handle.  The pointer to the object is
  * then stored in the correct position.
- * 
+ *
  * XXXTL
  * Theoretically, we could have some code here to free up handle
  * tables as they go out of use, but by and large handle tables won't
@@ -138,7 +138,7 @@ handle_store(omapi_handle_t h, omapi_handletable_t *table, omapi_object_t *o) {
 
        if (table->first > h || table->limit <= h)
                return (ISC_R_NOSPACE);
-       
+
        /*
         * If this is a leaf table, just stash the object in the
         * appropriate place.
@@ -228,7 +228,7 @@ object_gethandle(omapi_handle_t *h, omapi_object_t *o) {
                 */
                while (next_handle >= toptable->limit) {
                        omapi_handletable_t *new;
-               
+
                        new = isc_mem_get(omapi_mctx, sizeof(*new));
                        if (new != NULL) {
                                memset(new, 0, sizeof(*new));
index 029f14016ff50f8002020255a16021e8ea029fd5..fa5707e0fa8d21b23d60806db079e3c74a7debf6 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.4 2000/07/27 09:54:29 tale Exp $
+# $Id: Makefile.in,v 1.5 2000/08/01 01:33:04 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 2f57410eaab5fc15292896c09acc708dce8866c6..e2daa381ccd2553f53c406ead0f92a2a195d34b3 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.8 2000/07/27 09:54:30 tale Exp $
+# $Id: Makefile.in,v 1.9 2000/08/01 01:33:06 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 3dbbd6d11f1d698e13adc48ec94813f6e499e0f8..b3ae23cf51eee56b1fd5d57041963c2f3976885d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: compatibility.h,v 1.5 2000/07/27 09:54:31 tale Exp $ */
+/* $Id: compatibility.h,v 1.6 2000/08/01 01:33:07 tale Exp $ */
 
 #ifndef OMAPI_COMPATIBILITY_H
 #define OMAPI_COMPATIBILITY_H 1
@@ -56,7 +56,7 @@
  * The get_value, set_value and stuff_values methods all had their id
  * parameter removed, so those functions for special client/server objects
  * need to have their definitions adjusted.
- * 
+ *
  */
 #define omapi_set_value(h, id, name, value) \
        omapi_object_set(h, name, value)
index 59df39db0eecbeefe6ba58058557439a989b77a6..44b03eb5340b0cced05a134b931a1c8d65509926 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.h,v 1.4 2000/07/27 09:54:32 tale Exp $ */
+/* $Id: lib.h,v 1.5 2000/08/01 01:33:08 tale Exp $ */
 
 #ifndef OMAPI_LIB_H
 #define OMAPI_LIB_H 1
index 31b5a3f58dafa071f0a67feadaa51f16d9fb78ee..282c6fe1d3be8d316d00ac6da03ef76e57be0801 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: omapi.h,v 1.16 2000/07/27 09:54:33 tale Exp $ */
+/* $Id: omapi.h,v 1.17 2000/08/01 01:33:09 tale Exp $ */
 
 /*
  * Definitions for the object management API and protocol.
@@ -264,7 +264,7 @@ omapi_object_setstring(omapi_object_t *handle, const char *name,
 
 isc_result_t
 omapi_object_getvalue(omapi_object_t *handle, const char *name,
-                     omapi_value_t **value); 
+                     omapi_value_t **value);
 
 isc_result_t
 omapi_object_passgetvalue(omapi_object_t *object, omapi_string_t *name,
index 42a710cfd98af207140e8f831e8a114a7a1c5c3b..5ca869738f0717ab8e0be0f49fb399dc72f4d445 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: private.h,v 1.23 2000/07/27 09:54:34 tale Exp $ */
+/* $Id: private.h,v 1.24 2000/08/01 01:33:10 tale Exp $ */
 
 /*****
  ***** Private master include file for the OMAPI library.
@@ -166,7 +166,7 @@ struct omapi_connection {
        /*
         * The error that caused the connection to be freed.
         */
-       isc_result_t                    result; 
+       isc_result_t                    result;
        /*
         * Number of socket events outstanding.  This should always be
         * either 0 or 1 under the current model; having any more than
@@ -222,7 +222,7 @@ struct omapi_connection {
 
 struct omapi_protocol {
        OMAPI_OBJECT_PREAMBLE;
-       isc_uint32_t                    header_size;            
+       isc_uint32_t                    header_size;
        isc_uint32_t                    protocol_version;
        isc_uint32_t                    next_xid;
        omapi_object_t *                authinfo;       /* Default authinfo. */
@@ -264,7 +264,7 @@ extern omapi_objecttype_t *omapi_type_message;
 extern omapi_objecttype_t *omapi_object_types;
 
 /*
- * Everything needs a memory context. 
+ * Everything needs a memory context.
  */
 extern isc_mem_t *omapi_mctx;
 
@@ -318,7 +318,7 @@ connection_init(void);
 
 #define connect_toserver omapi__connect_toserver
 isc_result_t
-connect_toserver(omapi_object_t *connection, const char *server, 
+connect_toserver(omapi_object_t *connection, const char *server,
                 in_port_t port);
 
 #define connection_send omapi__connection_send
index 1b6be92d3f5f732c03f571c8026c28de72e10a9d..be70e574a6c706c35bbf20ca32e18f88cd1128f8 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.h,v 1.6 2000/07/27 09:54:35 tale Exp $ */
+/* $Id: result.h,v 1.7 2000/08/01 01:33:11 tale Exp $ */
 
 #ifndef OMAPI_RESULT_H
 #define OMAPI_RESULT_H 1
index 6946b3d18880cd3b5fdadc8cd75b54bf7a4fbd4c..6a9dafa3461d1544e669d882c835af401b38675d 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: types.h,v 1.6 2000/07/27 09:54:37 tale Exp $ */
+/* $Id: types.h,v 1.7 2000/08/01 01:33:12 tale Exp $ */
 
 #ifndef OMAPI_TYPES_H
 #define OMAPI_TYPES_H 1
index 4154968d372f7e6245cce3e9309e42421941751c..c036cbc38e50e0357ceda59dc1c451b021775c5b 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lib.c,v 1.12 2000/07/27 09:54:18 tale Exp $ */
+/* $Id: lib.c,v 1.13 2000/08/01 01:32:54 tale Exp $ */
 
 #include <config.h>
 
index fb9bd60d48cf8bb6e125ec029566ad03ea3ab9eb..a93b3579da09c9a41068bef9915aa9322813e5bf 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: listener.c,v 1.28 2000/07/27 09:54:19 tale Exp $ */
+/* $Id: listener.c,v 1.29 2000/08/01 01:32:55 tale Exp $ */
 
 /*
  * Subroutines that support the generic listener object.
@@ -149,7 +149,7 @@ listener_accept(isc_task_t *task, isc_event_t *event) {
         */
        if (result != ISC_R_SUCCESS)
                return;
-       
+
        /*
         * Is the connection from a valid host?
         */
@@ -361,7 +361,7 @@ omapi_listener_listen(omapi_object_t *manager, isc_sockaddr_t *addr,
 
        } else {
                /*
-                * Failed to set up the listener.  
+                * Failed to set up the listener.
                 */
                listener->listening = ISC_FALSE;
                OBJECT_DEREF(&listener);
@@ -417,7 +417,7 @@ listener_getvalue(omapi_object_t *listener, omapi_string_t *name,
         * continue the call through the object chain.
         */
        REQUIRE(listener != NULL && listener->type == omapi_type_listener);
-       
+
        return (omapi_object_passgetvalue(listener, name, value));
 }
 
index 9420444955035efa271a5d10eb496bb1cd4f97a7..7d455a43c4f50cd25b27b37369c8e07658a04200 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: message.c,v 1.27 2000/07/27 09:54:20 tale Exp $ */
+/* $Id: message.c,v 1.28 2000/08/01 01:32:56 tale Exp $ */
 
 /*
  * Subroutines for dealing with message objects.
@@ -72,7 +72,7 @@ omapi_message_register(omapi_object_t *h) {
        REQUIRE(h != NULL && h->type == omapi_type_message);
 
        m = (omapi_message_t *)h;
-       
+
        /*
         * Already registered?
         */
@@ -96,7 +96,7 @@ omapi_message_unregister(omapi_object_t *h) {
        REQUIRE(h != NULL && h->type == omapi_type_message);
 
        m = (omapi_message_t *)h;
-       
+
        /*
         * Not registered?
         */
@@ -276,7 +276,7 @@ omapi_message_send(omapi_object_t *message, omapi_object_t *protocol) {
                c->bytes_needed = p->header_size;
 
                result = connection_send(c);
-               
+
                /*
                 * The client waited for the result; the server did not.
                 * The server's result will always be ISC_R_SUCCESS.
@@ -499,7 +499,7 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
                                            isc_result_totext(result)));
 
                /*
-                * All messages except for the first attempt to set 
+                * All messages except for the first attempt to set
                 * the dst key used by the protocol must be signed.
                 */
 #ifdef notyet /* not for 9.0.0 */
@@ -531,7 +531,7 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
                 * under the current design of OMAPI, there just isn't
                 * a good way to set the authentication values.  The
                 * connection object and protocol object are the only
-                * things that hold state on the server throughout the life 
+                * things that hold state on the server throughout the life
                 * of a particular connection, and the original design
                 * for lookup methods does not provide a way to identify
                 * the current protocol or connection object.
@@ -566,7 +566,7 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
                if (result == ISC_R_NOTFOUND && create == 0) {
                        return (send_status(po, ISC_R_NOTFOUND, message->id,
                                           "no object matches specification"));
-               }                       
+               }
 
                /*
                 * If we found an object, we're supposed to be creating an
@@ -601,7 +601,7 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
                                                    "can't update object"));
                        }
                }
-               
+
                /*
                 * Now send the new contents of the object back in response.
                 */
@@ -623,7 +623,7 @@ message_process(omapi_object_t *mo, omapi_object_t *po) {
                        return (send_status(po, result, message->id,
                                            "no matching handle"));
 
-       send:           
+       send:
                result = send_update(po, message->id, object);
                OBJECT_DEREF(&object);
                return (result);
@@ -905,7 +905,7 @@ message_signalhandler(omapi_object_t *handle, const char *name, va_list ap) {
        REQUIRE(handle != NULL && handle->type == omapi_type_message);
 
        message = (omapi_message_t *)handle;
-       
+
        /*
         * XXXDCL It would make the client side a bit cleaner if when "status"
         * is signalled, it sets both "waitresult" and "waittext" (or some
index 344c772f2687cc46dd5079951be64c59e96dca3b..9cd6080f2ee2f191ad8798c0833597d5054f155e 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: object.c,v 1.21 2000/07/27 22:25:58 bwelling Exp $ */
+/* $Id: object.c,v 1.22 2000/08/01 01:32:57 tale Exp $ */
 
 /* Principal Author: Ted Lemon */
 
@@ -32,7 +32,7 @@
 struct omapi_objecttype {
        const char *            name;
        omapi_objecttype_t *    next;
-       
+
        isc_result_t            (*set_value)(omapi_object_t *object,
                                             omapi_string_t *name,
                                             omapi_data_t *value);
@@ -216,7 +216,7 @@ omapi_object_dereference(omapi_object_t **h) {
 
                } else
                        (*h)->refcnt--;
-                       
+
        } else
                (*h)->refcnt--;
 
@@ -460,7 +460,7 @@ omapi_object_setstring(omapi_object_t *h, const char *name, const char *value)
 }
 
 isc_result_t
-omapi_object_getvalue(omapi_object_t *h, const char *name, 
+omapi_object_getvalue(omapi_object_t *h, const char *name,
                      omapi_value_t **value)
 {
        omapi_object_t *outer;
index 6b89dc4dc71b2f731062a5e8d1f9ac2acfc3ed33..e632939f48e8b99614c977f0934d02467db9cb23 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: protocol.c,v 1.30 2000/07/27 09:54:23 tale Exp $ */
+/* $Id: protocol.c,v 1.31 2000/08/01 01:32:58 tale Exp $ */
 
 /*
  * Functions supporting the object management protocol.
@@ -273,8 +273,8 @@ send_update(omapi_object_t *po, unsigned int rid, omapi_object_t *object) {
                if (result == ISC_R_SUCCESS)
                        result = omapi_object_setinteger(message, "handle",
                                                         (int)handle);
-       }               
-               
+       }
+
        if (result == ISC_R_SUCCESS)
                result = omapi_object_setobject(message, "object", object);
 
@@ -312,7 +312,7 @@ dispatch_messages(omapi_protocol_t *protocol,
                 */
                connection_getuint32(connection, &protocol->protocol_version);
                connection_getuint32(connection, &protocol->header_size);
-       
+
                /*
                 * Currently only the current protocol version is supported.
                 */
@@ -762,7 +762,7 @@ protocol_getvalue(omapi_object_t *h, omapi_string_t *name,
                  omapi_value_t **value)
 {
        REQUIRE(h != NULL && h->type == omapi_type_protocol);
-       
+
        return (omapi_object_passgetvalue(h, name, value));
 }
 
index b3cee89bd03a6b4ad09b52ea3d61e372147b721d..081dff984cdf692fb293e336d2597d1eb56e6af0 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: result.c,v 1.9 2000/07/27 09:54:24 tale Exp $ */
+/* $Id: result.c,v 1.10 2000/08/01 01:33:00 tale Exp $ */
 #include <config.h>
 
 #include <isc/once.h>
index fb19f049de9708e89eba8280c49f6e7224099b02..8f9bda83f5c267604ac15983dece104e1f6ca553 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: string.c,v 1.8 2000/07/27 09:54:25 tale Exp $ */
+/* $Id: string.c,v 1.9 2000/08/01 01:33:01 tale Exp $ */
 
 /* Principal Author: Ted Lemon */
 
index c1888a102e4b98334ea1c5a47bb79a038fad2d33..2b3cbf93d4414ad811cbef4c3cac495a373974e5 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1996-2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: value.c,v 1.8 2000/07/27 09:54:26 tale Exp $ */
+/* $Id: value.c,v 1.9 2000/08/01 01:33:02 tale Exp $ */
 
 /* Principal Author: Ted Lemon */
 
index 81b149489a8763f13761b7491c2f0a9aecd239c0..cbbcd41477bb29428c4f83c1c57913ab687df361 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.c,v 1.4 2000/07/27 09:54:27 tale Exp $ */
+/* $Id: version.c,v 1.5 2000/08/01 01:33:03 tale Exp $ */
 
 char omapi_version[] = VERSION;
 
index 756543ba6f2a9f3e8dc14cb287bb71771cabb772..5ab4ff308f4a7a7c8ef0ca5401f546b0d552afc1 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.12 2000/07/27 09:54:38 tale Exp $
+# $Id: Makefile.in,v 1.13 2000/08/01 01:33:13 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index de02336ce1d854193ef6ad727e6a59ee8819c981..2e7e81d9667b948121a4f91514e99b47590c514c 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.6 2000/07/27 09:54:40 tale Exp $
+# $Id: Makefile.in,v 1.7 2000/08/01 01:33:16 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 9cbbf7019019b95bda17ca3edd812904df30a088..ed0d1926e45ba10551d02fee279264f07900834c 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.4 2000/07/27 09:54:41 tale Exp $
+# $Id: Makefile.in,v 1.5 2000/08/01 01:33:17 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 40c29b7813dcad6daebf9b47702e24102dad99bc..92ef1130cdec483e568f921cc68e7230ae422e64 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_api.h,v 1.11 2000/07/27 09:54:43 tale Exp $ */
+/* $Id: t_api.h,v 1.12 2000/08/01 01:33:18 tale Exp $ */
 
 #ifndef TESTS_T_API_H
 #define TESTS_T_API_H 1
index 749f2ee8516ddf8b925f267e9a75aab11ae27992..0f6d6cff6bfc5fa79c288495f0d09e5a104972ec 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Copyright (C) 1999, 2000  Internet Software Consortium.
- * 
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_api.c,v 1.41 2000/07/27 09:54:39 tale Exp $ */
+/* $Id: t_api.c,v 1.42 2000/08/01 01:33:14 tale Exp $ */
 
 #include <config.h>
 
@@ -649,7 +649,7 @@ struct dc_method_map {
        unsigned int    dc_method;
        const char      *text;
 } dc_method_map[] = {
-       
+
        {       DNS_COMPRESS_NONE,      "DNS_COMPRESS_NONE"     },
        {       DNS_COMPRESS_GLOBAL14,  "DNS_COMPRESS_GLOBAL14" },
        {       DNS_COMPRESS_GLOBAL16,  "DNS_COMPRESS_GLOBAL16" },
index 65ec6f65d0f6f19d0654b0caa89169d685aae684..48f0c524dea64f58d6312caee3f962ab30bb90a5 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -777,7 +777,7 @@ if test -n "$pic_flag"; then
   if { (eval echo $progname:777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.$objext; then
     # Append any warnings to the config.log.
     cat conftest.err 1>&5
-    
+
     case "$host_os" in
     hpux9* | hpux10* | hpux11*)
       # On HP-UX, both CC and GCC only warn that PIC is supported... then they
@@ -937,7 +937,7 @@ if test "$with_gcc" = yes; then
   else
     no_builtin_flag=' -fno-builtin'
   fi
-  
+
 fi
 
 # Check for any special shared library compilation flags.
@@ -1183,7 +1183,7 @@ EOF
       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12 --def $objdir/$soname-def --base-file $objdir/$soname-base --output-exp $objdir/$soname-exp~
       $CC $objdir/$soname-exp -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry@12 -o $lib $objdir/$soname-ltdll.$objext $libobjs $deplibs $linkopts'
 
-      old_archive_from_new_cmds='$DLLTOOL --as=$AS --dllname $soname --def $objdir/$soname-def --output-lib $objdir/$libname.a' 
+      old_archive_from_new_cmds='$DLLTOOL --as=$AS --dllname $soname --def $objdir/$soname-def --output-lib $objdir/$libname.a'
     ;;
 
   netbsd*)
@@ -1215,7 +1215,7 @@ EOF
     else
       ld_shlibs=no
     fi
-    ;;      
+    ;;
 
   sunos4*)
     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts'
@@ -1452,8 +1452,8 @@ else
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
     runpath_var='LD_RUN_PATH'
     hardcode_shlibpath_var=no
-    hardcode_direct=no #Motorola manual says yes, but my tests say they lie 
-    ;;  
+    hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+    ;;
 
   sysv4.3*)
     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
@@ -1822,7 +1822,7 @@ cygwin* | mingw*)
 freebsd1*)
   dynamic_linker=no
   ;;
-  
+
 freebsd*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
   version_type=freebsd-$objformat
@@ -2372,10 +2372,10 @@ fi
 
 fi
 
-    
+
 fi
 
-  
+
 fi
 
 
@@ -2481,7 +2481,7 @@ else
 fnord() { int i=42;}
 main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
     if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
-              if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); } 
+              if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); }
 
 EOF
 if { (eval echo $progname:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
@@ -2554,7 +2554,7 @@ else
 fnord() { int i=42;}
 main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
     if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
-    if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); } 
+    if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); }
 
 EOF
 if { (eval echo $progname:2560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
index ae10cad021b7989973632c44046c9bd9a91e392f..231f2f6b5b055d4799176e681a62b2aed1d2d606 100644 (file)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -670,29 +670,29 @@ compiler."
       # starting and closing comments
 # /* impgen.c starts here */
 # /*   Copyright (C) 1999 Free Software Foundation, Inc.
-# 
+#
 #  This file is part of GNU libtool.
-# 
+#
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
 #  the Free Software Foundation; either version 2 of the License, or
 #  (at your option) any later version.
-# 
+#
 #  This program is distributed in the hope that it will be useful,
 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #  GNU General Public License for more details.
-# 
+#
 #  You should have received a copy of the GNU General Public License
 #  along with this program; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #  */
-# 
+#
 #  #include <stdio.h>          /* for printf() */
 #  #include <unistd.h>         /* for open(), lseek(), read() */
 #  #include <fcntl.h>          /* for O_RDONLY, O_BINARY */
 #  #include <string.h>         /* for strdup() */
-# 
+#
 #  static unsigned int
 #  pe_get16 (fd, offset)
 #       int fd;
@@ -703,7 +703,7 @@ compiler."
 #    read (fd, b, 2);
 #    return b[0] + (b[1]<<8);
 #  }
-# 
+#
 #  static unsigned int
 #  pe_get32 (fd, offset)
 #      int fd;
@@ -714,7 +714,7 @@ compiler."
 #    read (fd, b, 4);
 #    return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
 #  }
-# 
+#
 #  static unsigned int
 #  pe_as32 (ptr)
 #       void *ptr;
@@ -722,7 +722,7 @@ compiler."
 #    unsigned char *b = ptr;
 #    return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
 #  }
-# 
+#
 #  int
 #  main (argc, argv)
 #      int argc;
@@ -734,32 +734,32 @@ compiler."
 #      unsigned long name_rvas, nexp;
 #      unsigned char *expdata, *erva;
 #      char *filename, *dll_name;
-# 
+#
 #      filename = argv[1];
-# 
+#
 #      dll = open(filename, O_RDONLY|O_BINARY);
 #      if (!dll)
 #      return 1;
-# 
+#
 #      dll_name = filename;
-#    
+#
 #      for (i=0; filename[i]; i++)
 #      if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
 #          dll_name = filename + i +1;
-# 
+#
 #      pe_header_offset = pe_get32 (dll, 0x3c);
 #      opthdr_ofs = pe_header_offset + 4 + 20;
 #      num_entries = pe_get32 (dll, opthdr_ofs + 92);
-# 
+#
 #      if (num_entries < 1) /* no exports */
 #      return 1;
-# 
+#
 #      export_rva = pe_get32 (dll, opthdr_ofs + 96);
 #      export_size = pe_get32 (dll, opthdr_ofs + 100);
 #      nsections = pe_get16 (dll, pe_header_offset + 4 +2);
 #      secptr = (pe_header_offset + 4 + 20 +
 #            pe_get16 (dll, pe_header_offset + 4 + 16));
-# 
+#
 #      expptr = 0;
 #      for (i = 0; i < nsections; i++)
 #      {
@@ -778,22 +778,22 @@ compiler."
 #          break;
 #      }
 #      }
-# 
+#
 #      expdata = (unsigned char*)malloc(export_size);
 #      lseek (dll, expptr, SEEK_SET);
 #      read (dll, expdata, export_size);
 #      erva = expdata - export_rva;
-# 
+#
 #      nexp = pe_as32 (expdata+24);
 #      name_rvas = pe_as32 (expdata+32);
-# 
+#
 #      printf ("EXPORTS\n");
 #      for (i = 0; i<nexp; i++)
 #      {
 #      unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
 #      printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
 #      }
-# 
+#
 #      return 0;
 #  }
 # /* impgen.c ends here */
@@ -823,7 +823,7 @@ compiler."
     # now prepend the system-specific ones
     eval lib_search_path=\"$sys_lib_search_path_spec\$lib_search_path\"
     eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
-    
+
     avoid_version=no
     dlfiles=
     dlprefiles=
@@ -1325,7 +1325,7 @@ compiler."
            fi
            ;;
          esac
-         
+
          # This is the magic to use -rpath.
          # Skip directories that are in the system default run-time
          # search path, unless they have been requested with -R.
@@ -1334,7 +1334,7 @@ compiler."
          *)
            case "$compile_rpath " in
            *" $absdir "*) ;;
-           *) compile_rpath="$compile_rpath $absdir" 
+           *) compile_rpath="$compile_rpath $absdir"
            esac
            ;;
          esac
@@ -1771,7 +1771,7 @@ compiler."
          versuffix=
          verstring=""
        fi
-       
+
        # Check to see if the archive will have undefined symbols.
        if test "$allow_undefined" = yes; then
          if test "$allow_undefined_flag" = unsupported; then
@@ -1930,7 +1930,7 @@ EOF
                      # Follow soft links.
                      if ls -lLd "$potent_lib" 2>/dev/null \
                         | grep " -> " >/dev/null; then
-                       continue 
+                       continue
                      fi
                      # The statement above tries to avoid entering an
                      # endless loop below, in case of cyclic links.
@@ -2025,7 +2025,7 @@ EOF
       library_names=
       old_library=
       dlname=
-      
+
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
        # Get the real and link names of the library.
@@ -2217,7 +2217,7 @@ EOF
       gentop=
       # reload_cmds runs $LD directly, so let us get rid of
       # -Wl from whole_archive_flag_spec
-      wl= 
+      wl=
 
       if test -n "$convenience"; then
        if test -n "$whole_archive_flag_spec"; then
@@ -2337,9 +2337,9 @@ EOF
        if test "$dlopen" = unknown && test "$dlopen_self" = unknown &&
           test "$dlopen_self_static" = unknown; then
          $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
-       fi 
+       fi
       fi
-    
+
       if test -n "$rpath$xrpath"; then
        # If the user specified any rpath flags, then add them.
        for libdir in $rpath $xrpath; do
@@ -2503,7 +2503,7 @@ extern \"C\" {
              $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
              $run eval '$mv "$nlist"T "$nlist"'
            fi
-           
+
            if test -n "$export_symbols_regex"; then
              $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
              $run eval '$mv "$nlist"T "$nlist"'
@@ -2641,7 +2641,7 @@ static const void *lt_preloaded_setup() {
        $show "$link_command"
        $run eval "$link_command"
        status=$?
-       
+
        # Delete the generated files.
        if test -n "$dlsyms"; then
          $show "$rm $output_objdir/${outputname}S.${objext}"
@@ -2701,7 +2701,7 @@ static const void *lt_preloaded_setup() {
        # Fast installation is not supported
        link_command="$compile_var$compile_command$compile_rpath"
        relink_command="$finalize_var$finalize_command$finalize_rpath"
-       
+
        $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
        $echo "$modename: \`$output' will be relinked during installation" 1>&2
       else
@@ -2721,7 +2721,7 @@ static const void *lt_preloaded_setup() {
 
       # Replace the output file specification.
       link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
-      
+
       # Delete the old output files.
       $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
 
@@ -2834,7 +2834,7 @@ else
          echo >> $output "\
   program=lt-'$outputname'
   progdir=\"\$thisdir/$objdir\"
-  
+
   if test ! -f \"\$progdir/\$program\" || \\
      { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
        test \"X\$file\" != \"X\$progdir/\$program\"; }; then
@@ -2965,7 +2965,7 @@ fi\
          exit $status
        fi
        generated="$generated $gentop"
-         
+
        # Add in members from convenience archives.
        for xlib in $addlibs; do
          # Extract the objects.
index 78b452caeea7519e22a84eb689e43d0886087069..923926d7c083106d144ff27d95a0e87609b7e517 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.11 2000/07/27 09:54:44 tale Exp $
+# $Id: Makefile.in,v 1.12 2000/08/01 01:33:19 tale Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
index 05bea9f7c968c11583e01a810265a50c0b68fb81..6f71e7f5c4f4c9ba4c5201abdcfa408859886860 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,9 +13,9 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: includes.in,v 1.8 2000/07/27 09:54:45 tale Exp $
+# $Id: includes.in,v 1.9 2000/08/01 01:33:20 tale Exp $
 
-# Search for machine-generated header files in the build tree, 
+# Search for machine-generated header files in the build tree,
 # and for normal headers in the source tree (${top_srcdir}).
 # We only need to look in OS-specific subdirectories for the
 # latter case, because there are no machine-generated OS-specific
index 858b172553bd54ee59bf2fda71824e67ee221e32..60aea6fc6c9732b81361c19eb355d1897922319a 100644 (file)
@@ -4,7 +4,7 @@
 ## -
 ## Copyright (c) 1987 Regents of the University of California.
 ## All rights reserved.
-## 
+##
 ## Redistribution and use in source and binary forms, with or without
 ## modification, are permitted provided that the following conditions
 ## are met:
 ## SUCH DAMAGE.
 ## -
 ## Portions Copyright (c) 1993 by Digital Equipment Corporation.
-## 
+##
 ## Permission to use, copy, modify, and distribute this software for any
 ## purpose with or without fee is hereby granted, provided that the above
 ## copyright notice and this permission notice appear in all copies, and that
 ## the name of Digital Equipment Corporation not be used in advertising or
 ## publicity pertaining to distribution of the document or software without
 ## specific, written prior permission.
-## 
+##
 ## THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
 ## WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
 ## OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
index 952cba2f848b5b158acc1f3ce37aebe6baa47a5e..decf20e110734596264ce53a7d2c59e426237136 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -13,7 +13,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: rules.in,v 1.21 2000/07/27 09:54:46 tale Exp $
+# $Id: rules.in,v 1.22 2000/08/01 01:33:23 tale Exp $
 
 ###
 ### Common Makefile rules for BIND 9.
@@ -60,7 +60,7 @@ ALL_SUBDIRS = ${SUBDIRS} nulldir
 # We use a single-colon rule so that additional dependencies of
 # subdirectories can be specified after the inclusion of this file.
 # The "depend" target is treated the same way.
-# 
+#
 subdirs:
        @for i in ${ALL_SUBDIRS}; do \
                if [ "$$i" != "nulldir" -a -d $$i ]; then \
index 2b66b897de0275a8e362037124dc7def17d3a175..e30017523ad15df598cd3ec972b06368c5fd770d 100644 (file)
@@ -1,11 +1,11 @@
 #! /usr/bin/perl -ws
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: check-includes.pl,v 1.5 2000/07/27 09:54:49 tale Exp $
+# $Id: check-includes.pl,v 1.6 2000/08/01 01:33:24 tale Exp $
 
 # Rudimentary, primarily for use by the developers.
 # This just evolved with no serious attempt at making it
@@ -182,7 +182,7 @@ for (<>) {
     # Special exceptions.
     # XXXDCL some of these should be perhaps generalized (ie, look for
     # ISC_(LINK|LIST)_ when using <isc/list.h>.
-    # 
+    #
     if (($file =~ m%isc/log\.h$% && $elided eq "<syslog.h>") ||
         ($file =~ m%isc/print\.h$% && $elided =~ /^<std(arg|def)\.h>$/) ||
         ($file =~ m%isc/string\.h$% && $elided eq "<string.h>") ||
index 4934cceb5798dbf341eabfd12b65a99ecd24fc36..efd10580b63bcfcbb063ef130bcaff100b9aefa9 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: check-instincludes.sh,v 1.5 2000/07/27 09:54:50 tale Exp $
+# $Id: check-instincludes.sh,v 1.6 2000/08/01 01:33:25 tale Exp $
 
 #
 # Check the installed bind9 header files to make sure that no header
@@ -23,7 +23,7 @@
 # they all compile as C++.
 #
 
-case $# in 
+case $# in
   1) ;;
   *) echo "usage: sh util/check-instincludes.sh <prefix>" >&2;
      exit 1;
@@ -57,7 +57,7 @@ do
 EOF
 
     # Compile the test program.
-    if 
+    if
        gcc  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
            -I/usr/pkg/pthreads/include -I$prefix/include -c test.cc 2>&1
     then
index 9697e3a255d8a8a059e81484c8fdf4952f4d9857..f8a20ed557c7753104bf11aa6741262a4a2411b8 100644 (file)
@@ -1,11 +1,11 @@
 #! /usr/bin/perl -ws
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: check-sources.pl,v 1.5 2000/07/27 09:54:52 tale Exp $
+# $Id: check-sources.pl,v 1.6 2000/08/01 01:33:26 tale Exp $
 
 # Rudimentary, primarily for use by the developers.
 # This just evolved with no serious attempt at making it
index a9387524b7dd8d28e0fb2f196248dbc5f3ad10c8..6620b2c71c2cafbd0e163be9447589aaf5a3d8e9 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: kit.sh,v 1.1 2000/07/28 01:47:16 gson Exp $
+# $Id: kit.sh,v 1.2 2000/08/01 01:33:27 tale Exp $
 
 # Make a release kit
 #
-# Usage: sh makekit.sh tag tmpdir 
+# Usage: sh makekit.sh tag tmpdir
 #
 # (e.g., sh makekit.sh v9_0_0b5 /tmp/bindkit
 #
index 764e3231394ceebcbd55c2c3242bcda77b09f22e..c4255b3bdf40bba94aabfaaa872fe73de8e14394 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: make-snapshot.sh,v 1.3 2000/07/27 09:54:53 tale Exp $
+# $Id: make-snapshot.sh,v 1.4 2000/08/01 01:33:28 tale Exp $
 
 CVS_RSH=ssh ; export CVS_RSH
 
index c0928745ab25e80663608a0052184e04651c9dab..00d2e02139bf39e949f80931c3558472d57d49f3 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: memleak.pl,v 1.8 2000/07/27 09:54:54 tale Exp $
+# $Id: memleak.pl,v 1.9 2000/08/01 01:33:29 tale Exp $
 
 # Massage the output from ISC_MEM_DEBUG to extract mem_get() calls
 # with no corresponding mem_put().
index 1ef2837e31521fda679039a76e2609614731755c..997b3eb9ada6ea2335f1c68d9e2c824396de6f75 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/local/bin/perl -w
 #
 # Copyright (C) 1998-2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: merge_copyrights,v 1.14 2000/07/27 09:54:55 tale Exp $
+# $Id: merge_copyrights,v 1.15 2000/08/01 01:33:30 tale Exp $
 
 %file_types = ();
 %file_years = ();
index 4553b195235b35044a4e2bf1d4f877a91231efc5..ea793ff05621f606473c9ffefc19404eb22b7e5c 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: mkreslib.pl,v 1.6 2000/07/27 09:54:56 tale Exp $
+# $Id: mkreslib.pl,v 1.7 2000/08/01 01:33:32 tale Exp $
 
 # Build a res_* library distribution from the BIND 8 source
 
index fd6d225cc25c5a72d217e6841298822c680e11d4..380608581f94b038076642ea5821146a67bfe0d4 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: nanny.pl,v 1.5 2000/07/27 09:54:57 tale Exp $
+# $Id: nanny.pl,v 1.6 2000/08/01 01:33:33 tale Exp $
 
 # A simple nanny to make sure named stays running.
 
@@ -32,7 +32,7 @@ for (;;) {
   $pid = <FILE>;
   close(FILE);
   chomp($pid);
-  
+
   $ps_command = "ps -axw | grep named | grep $pid | grep -v grep |";
   # ps_command MUST end in a pipe (|) character!
 
index 93e314eee18d396dc90c3441bb5da4342b0b97a6..d908368411734b2b761507dbce92bc0118487076 100644 (file)
@@ -1,11 +1,11 @@
 #! /bin/sh -ex
 #
 # Copyright (C) 1999, 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: nt-kit,v 1.4 2000/07/27 09:54:58 tale Exp $
+# $Id: nt-kit,v 1.5 2000/08/01 01:33:34 tale Exp $
 
 # XXX no command line options at all.  especially useful would be a way
 # to specify the target directory on the NT machine, since it is needed
@@ -35,7 +35,7 @@ case "$1" in
 esac
 
 case $# in
-0) 
+0)
     dstdir=../bind9-nt
     rmtdir=g:/proj/bind9-nt
     ;;
@@ -47,7 +47,7 @@ case $# in
     dstdir="$2"
     rmtdir="$1"
     ;;
-*)  
+*)
     echo "usage: $0 rmtdir [dstdir]" >&2
     exit 99
     ;;
index 550632c133cb91411bf3e561ada3653bb2d32c6b..92a7e842b3d949fdc0107b7ad88469b0ca923dc3 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/bin/perl
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sanitize.pl,v 1.2 2000/07/27 09:54:59 tale Exp $
+# $Id: sanitize.pl,v 1.3 2000/08/01 01:33:35 tale Exp $
 
 # Don't try and sanitize this file: NOMINUM_IGNORE
 
index a567d77b9bc12cc31510611e0cc4c0bb885ecf5a..403e596ab0aaf4fb11a61bd8d64756ea6a09136b 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sanitize_all.sh,v 1.4 2000/07/28 05:42:36 gson Exp $
+# $Id: sanitize_all.sh,v 1.5 2000/08/01 01:33:36 tale Exp $
 
 PERL=perl5
 
index 06644ec011730bf76f974f275543940da5f0410f..21428c0446f8e539f705f461c304913db1543769 100644 (file)
@@ -1,11 +1,11 @@
 #!/usr/local/bin/perl -w
 #
 # Copyright (C) 2000  Internet Software Consortium.
-# 
+#
 # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
 # copyright notice and this permission notice appear in all copies.
-# 
+#
 # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
@@ -15,7 +15,7 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: update-drafts.pl,v 1.2 2000/07/27 09:55:02 tale Exp $
+# $Id: update-drafts.pl,v 1.3 2000/08/01 01:33:37 tale Exp $
 
 #
 # Replace internet drafts with updated versions, if any.
@@ -37,7 +37,7 @@ foreach (@ARGV) {
            if ($? == 0) {
                unlink($ofile);
                system "cvs remove $ofile";
-               system "cvs add $nfile";                
+               system "cvs add $nfile";
            }
     }
 }