Commit Graph

1341 Commits

Author SHA1 Message Date
Mark Andrews
448de38fe4 add dns_c_ipmatchelement_equal().
add dns_c_ipmatchlist_equal().
	add dns_c_iplist_equal().
1999-10-13 22:24:18 +00:00
Mark Andrews
309fb45354 add dns_c_pubkey_equal(). 1999-10-13 22:21:58 +00:00
Mark Andrews
3c962bd6d2 add dns_c_iplist_equal() declaration.
add dns_c_ipmatchelement_equal() declaration.
	add dns_c_ipmatchlist_equal() declaration.
1999-10-13 22:18:49 +00:00
Mark Andrews
789df40199 add dns_c_pubkey_equal() declaration. 1999-10-13 22:17:22 +00:00
Mark Andrews
a0eb07c71a Add dns_journal_print() declaration (debugging use only at this stage). 1999-10-13 22:16:31 +00:00
Mark Andrews
263a376eaa Add dns_name_dynamic() declaration. 1999-10-13 22:15:15 +00:00
Mark Andrews
259ce22ab3 add dns_zone_callbackarg_t typedef
add dns_zt_t typedef
1999-10-13 22:13:55 +00:00
Mark Andrews
800b03baba dbtable -> zonetable conversion.
add dns_view_addzone() declaration.
	remove dns_view_addzonedb() declaration.
	add dns_view_findinlist() declaration.
1999-10-13 22:12:24 +00:00
Mark Andrews
66912d1625 add dns_zone_callbackarg structure.
add dns_zone_getorigin() declaration.
	update dns_zone_getdb() declaration.
	add dns_zone_notify() declaration.
	add dns_zone_replacedb() declaration.
1999-10-13 22:09:09 +00:00
Mark Andrews
b0526987ae add declaration for dns_zt_load()
add function descriptions and contract details.
1999-10-13 22:04:18 +00:00
Bob Halley
2edd9e49c7 Fix race problems in mount and find.
Convert to rwlocks.
Misc. cleanups.
1999-10-13 18:48:32 +00:00
Bob Halley
4a80a00550 Latest from ~marka/bind9. 1999-10-13 18:19:56 +00:00
Andreas Gustafsson
8a7276e6ef added event types DNS_EVENT_UPDATE and DNS_EVENT_UPDATEDONE for
use by dynamic update queueing
1999-10-13 18:11:19 +00:00
James Brister
66713b72dc Added a dns_c_view_t to dns_zone_callback paramater list. 1999-10-13 18:00:46 +00:00
James Brister
9a6479b068 Added dns_c_view_getname. 1999-10-13 18:00:17 +00:00
James Brister
a7eb7752a7 Include the zone's view (or NULL) in the zone_callback paramater list. 1999-10-13 17:59:45 +00:00
James Brister
0a3e4adbbc Don't bump reference count when putting a zone in a zonelist. 1999-10-13 17:58:36 +00:00
James Brister
62d223097f Added dns_c_view_getname and fixed up output. 1999-10-13 17:57:01 +00:00
James Brister
d7d543b0ce Use isc_log_t for low-level complaints. 1999-10-13 17:55:47 +00:00
James Brister
792d41ce3f Include viewtable in generated config files. 1999-10-13 17:54:27 +00:00
James Brister
f9b4801c8f Change signature to zone_callback and have the callback pretend to
have done something useful.
1999-10-13 17:53:15 +00:00
Bob Halley
0340a9c05a checkpoint 1999-10-13 02:08:30 +00:00
Mark Andrews
db725ebe2b Add initial class HS support. 1999-10-13 01:24:49 +00:00
Bob Halley
01b523fe60 checkpoint: basic referrals 1999-10-12 20:39:35 +00:00
Bob Halley
2621e791c3 add NCACHE attribute 1999-10-12 20:39:04 +00:00
Bob Halley
fff9a37a03 Cloning a name shouldn't copy the dynamic or
readonly attributes.
1999-10-12 20:38:30 +00:00
David Lawrence
fe7ce2204b set level_matches when both an exact match and no match at all is found,
not just for partial matches, for consistency.

set level_matches even when not forming foundname, since level_matches
is an aspect of the chain, not of whether the caller wanted the
name formed by dns_rbt_findnode().

comment updates.
1999-10-12 14:19:47 +00:00
David Lawrence
a7b730b8e9 updated comments to describe what a chain's level_count and level_matches
represent.  point out that memory is only allocated for ancestors in a chain
when ancestor_maxitems > DNS_RBT_ANCESTORBLOCK.

miscellaneous other comment updates.
1999-10-12 14:16:27 +00:00
David Lawrence
1398d0a72d chain->level_matches can be -1 in find_deepest_zonecut() if the node that
was found is in the topmost tree; so compare > 0 rather than != 0.

cast RBTDB_RDATATYPE_{BASE,EXT}() to dns_rdatatype_t to shut up NT's CL.
The value of each is already suitably bit masked to dns_rdatatype_t size.

#undef IGNORE before making a new definition; CL's winbase.h defines it.

2nd parameter of allocate_version changed from "unsigned int serial" to
"rbtdb_serial_t serial" to have proper sizing when compiled as rbtdb64.c.

cast header->type in two function calls to dns_rdatatype_t.
1999-10-12 14:14:57 +00:00
Michael Graff
a9ece9973c snapshot 1999-10-12 02:06:08 +00:00
Michael Graff
0157410ea7 initliaze view->link 1999-10-12 00:30:05 +00:00
Michael Graff
e611814bf8 Be less restrictive on initializing and magic numbers 1999-10-12 00:26:54 +00:00
Brian Wellington
cf7f5036cb add int to function declaration typedefs 1999-10-11 22:18:58 +00:00
Brian Wellington
f044f20f15 removed initializer warning 1999-10-11 22:00:27 +00:00
Brian Wellington
82e8e17f7f make opensslconf.h nonempty 1999-10-11 20:50:11 +00:00
David Lawrence
6b32b7875c No more need for LIBISC definition 1999-10-11 20:22:28 +00:00
David Lawrence
98c29e4bd3 cast a suitably range checked long to isc_uint8_t when assigned to isc_uint8_t 1999-10-11 20:16:33 +00:00
Bob Halley
eba3ad47e7 checkpoint: basic answer processing and caching 1999-10-11 19:24:28 +00:00
Bob Halley
3c24b4ebae addrdataset() now returns the existing rdataset in addedrdataset if the
result is DNS_R_UNCHANGED.

Adjust find_deepest_zonecut() to deal with the new treatment of level_matches
by the RBT code.  These changes, combined with the RBT changes, fix a bug
where the wrong delegation was returned if the partial match was a terminal
node in the RBT.

Deal with wildcards of the form *.<zone_origin>.  This stops us from
treating the zone top as a delegation point if wildcards are present.

delegating_type() was erroneously returning true for type NS records in a
cache database.
1999-10-11 19:23:48 +00:00
Bob Halley
084b422656 add attributes used by the resolver for caching 1999-10-11 19:17:38 +00:00
Bob Halley
61c22c272f Set level_matches consistently. It now is the number of levels
above the partial match node.
1999-10-11 19:16:56 +00:00
Bob Halley
a1ee8ac346 move rbt typedef to types.h; add trust levels 1999-10-11 19:15:37 +00:00
Bob Halley
e717473254 move rbt typedef to types.h 1999-10-11 19:15:23 +00:00
Bob Halley
00e7d7a0e8 Add DNSSEC security roots RBT 1999-10-11 19:13:17 +00:00
David Lawrence
7046378cf8 include isc/print.h for vsnprintf 1999-10-11 16:10:06 +00:00
Brian Wellington
c0ddfabced dns_dnssec_findzonekeys should use isc_result_t, not dns_result_t 1999-10-11 15:15:39 +00:00
David Lawrence
135808ceb1 use vsnprintf, now portable because of isc/print.c.
removed static forward declaration of isc_log_vwrite(), now public.
declared assignchannel() as static.
1999-10-11 14:50:51 +00:00
David Lawrence
899f7f9af5 ah, oops. need stdargs.h for va_list type. 1999-10-11 14:12:31 +00:00
David Lawrence
6ffc076c08 isc_log_vwrite is now a public function 1999-10-11 13:28:49 +00:00
David Lawrence
00a1623a59 isc_log_vwrite is now a public function 1999-10-11 13:16:42 +00:00