2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

52 Commits

Author SHA1 Message Date
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Michael Graff
558ab0f6a8 adapt to the dispatch api changes 2000-05-10 23:43:48 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Michael Graff
c90f5e8d1e Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext(). 2000-05-03 21:11:40 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Bob Halley
e198cb953c apply logging API changes 2000-04-12 18:37:18 +00:00
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Michael Graff
1a0e33bc20 implement DNS_ADBFIND_GLUEOK, DNS_ADBFIND_HINTOK, and DNS_ADBFIND_IGNORELAME 2000-02-02 23:24:04 +00:00
Bob Halley
e592dd7c34 conform to dns_rootns_create() API change 2000-01-27 01:56:28 +00:00
Bob Halley
5bd937c666 conform to dns_view_createresolver() API change 2000-01-26 16:59:05 +00:00
Andreas Gustafsson
efa4ebbff3 use dns_rootns_create() from libdns 2000-01-22 02:03:19 +00:00
Bob Halley
6a68df334f conform to ADB API change 2000-01-21 02:51:29 +00:00
Andreas Gustafsson
41ac1e406f needs #include <dns/log.h> 2000-01-20 00:38:49 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson
fd15c8e32e Views now have a 'cache' field. The 'cachedb' field still
exists as a convenience shortcut / backwards compatibility thing.
1999-12-02 22:38:34 +00:00
Bob Halley
e0cda0e4b9 dns_adb_insert() -> _dns_adb_insert() 1999-11-25 00:08:41 +00:00
Michael Graff
f942258b63 look up names, sleep for 5 seconds, dump db, sleep 5, look them up again. 1999-11-04 08:30:55 +00:00
Michael Graff
cebd449863 test more hosts, why not. 1999-11-03 00:43:50 +00:00
Michael Graff
78854e02c1 cleanup and fix a bug where finds will wait forever. 1999-11-01 20:16:35 +00:00
Bob Halley
4a73cf8ee0 update copyrights 1999-10-31 18:42:01 +00:00
Michael Graff
528829aa8a ipv6 AAAA queries work now. 1999-10-29 19:20:36 +00:00
Michael Graff
c803787146 replace all instances of 'handle' with 'find' since that's what they are now. 1999-10-29 18:30:48 +00:00
Michael Graff
2992344aac dns_adbhandle_t -> dns_adbfind_t 1999-10-29 18:07:32 +00:00
Michael Graff
897c9ddb4d implement dns_adb_cancelfind(), rename _done() to _destroyfind(), and _lookup to _createfind() 1999-10-29 18:00:31 +00:00
Michael Graff
ff9bb3fc54 more v4/v6 splitting out 1999-10-29 01:26:45 +00:00
Michael Graff
1f90c10828 start on ipv6 bits 1999-10-28 21:50:27 +00:00
Michael Graff
d4d2a13916 add plink 1999-10-28 20:09:51 +00:00
Michael Graff
36ca83769d clean up test program 1999-10-28 18:50:59 +00:00
Michael Graff
2bcb48cfca adb does fetches for A records now. Has a memory leak still. 1999-10-27 22:24:40 +00:00
Michael Graff
1c3bc66ada snapshot; nearly all fetch infrastructure is in place. 1999-10-27 19:36:58 +00:00
Michael Graff
fc4fe6e5e6 start on name expiration times 1999-10-26 00:16:36 +00:00
Michael Graff
3ac63b4720 start on cleanup timer/task 1999-10-25 22:53:15 +00:00
Michael Graff
970cccf46e forgot to commit this. Changes to match the API, and more test cases. 1999-10-23 04:02:05 +00:00
Michael Graff
e45d323a2a s/address/adb/ 1999-10-22 01:02:38 +00:00
Michael Graff
efc8a09e19 create a resolver and a cache, and load hints from the built-in string. Look up f.root-servers.net. 1999-10-21 23:09:41 +00:00
Michael Graff
29f28fe573 database lookups 1999-10-21 01:18:06 +00:00
Michael Graff
f181f94ec8 snapshot 1999-10-20 23:26:06 +00:00
Michael Graff
beb2b4f196 Allow the srtt value to be adjusted, and update the goodness and srtt when they are modified 1999-10-19 22:21:27 +00:00
Michael Graff
f00d96a15c make lameness work, now. Grr. 1999-10-19 21:28:09 +00:00
Michael Graff
30251e07d1 snapshot ; external and internal reference counts are separated out,
and everything but fetches work.
1999-10-19 01:37:22 +00:00
Michael Graff
86944a4c80 snapshot; everything works other than fetches and database lookups. 1999-10-16 00:38:21 +00:00
Michael Graff
6d14fe95e9 snapshot: dns_adb_done() partial implementation, handles mostly work, but
no fetches are started yet.
1999-10-14 00:50:00 +00:00
Michael Graff
a9ece9973c snapshot 1999-10-12 02:06:08 +00:00
Bob Halley
82a083ceb7 create view 1999-10-10 17:13:21 +00:00
Michael Graff
da547174e2 main has arguments. Get rid of the warnings using (void)argc; and (void)argv; instead. 1999-10-06 22:12:04 +00:00
David Lawrence
e9c6a07ee3 lint: removed argc/argv parameters from main() because not used in body 1999-10-06 20:08:42 +00:00