Commit Graph

4948 Commits

Author SHA1 Message Date
Bob Halley
0cc67b5a2a add DNS_R_UNCHANGED 1999-03-11 20:06:56 +00:00
David Lawrence
f036af2c71 rbtnode struct adapted with more bitfields to represent color,
name attributes, name length, offset length, and number of bytes
of "padding" that are left over when a node is split.

adjusted node splitting algorithm to preserve the original location
of the lower portion of the split node (eg, when a node has "a.b" as
its name and is split into "a" and "b", "a" retains the same address
space as "a.b".)
1999-03-11 18:54:31 +00:00
Bob Halley
b7ff8128f0 implement rdataset iteration 1999-03-11 06:02:28 +00:00
Bob Halley
bc5c129744 fix typo 1999-03-11 06:02:00 +00:00
Bob Halley
5245f4c5f9 have next method return DNS_R_NOMORE if cursor is already invalid 1999-03-11 06:01:31 +00:00
Bob Halley
efe6d8f066 add dns_db_allrdatasets 1999-03-11 06:00:22 +00:00
Bob Halley
b70e90d44f make current return void 1999-03-11 05:59:40 +00:00
Bob Halley
184aadebb8 rdataset.h is not required 1999-03-11 05:58:56 +00:00
Bob Halley
4054230359 remove old rdataiterator; add rdatasetiter 1999-03-11 05:58:32 +00:00
Bob Halley
84c3294183 improved concatenation 1999-03-11 00:44:17 +00:00
Bob Halley
d7eef25fbe rdataset iterator support 1999-03-11 00:43:43 +00:00
Bob Halley
7a9ded7b5f minor cleanups 1999-03-11 00:43:04 +00:00
Mark Andrews
285b63e90f Added {} to prevent 'ambigious else' warnings. 1999-03-11 00:29:10 +00:00
Mark Andrews
de10b83a23 * local label offset 255 is reserved.
* don't add domainnames with local compression pointers as
	  valid global compression targets unless edns is high enough.
1999-03-11 00:26:21 +00:00
Bob Halley
4a8b521fd7 remove typedef; add dns_fixedname_name() 1999-03-08 19:31:48 +00:00
Bob Halley
84d3cd8fed add dns_fixedname_t 1999-03-08 19:31:30 +00:00
Bob Halley
a301df6a92 add dbiterator 1999-03-08 19:01:49 +00:00
Bob Halley
bb8263521b unimplemented db iterator support 1999-03-08 19:01:18 +00:00
Bob Halley
8c65ae482a db iterator support 1999-03-08 19:00:55 +00:00
Bob Halley
dbef4f7fb7 add 1999-03-08 19:00:11 +00:00
Bob Halley
544021d7e1 add dbiterator.h and fixedname.h 1999-03-08 18:59:27 +00:00
Bob Halley
ce3761f64d add dedicated buffer support; cleanups to dns_name_concatenate() 1999-03-08 18:55:28 +00:00
Bob Halley
4c154a9f38 add 1999-03-08 18:53:44 +00:00
Bob Halley
ddbbc5a1c9 add dns_dbiterator_t 1999-03-08 18:51:51 +00:00
Bob Halley
0b7c2a096d add DNS_R_NEWORIGIN 1999-03-08 18:51:14 +00:00
Bob Halley
8eea0575a0 update 1999-03-06 18:38:24 +00:00
Bob Halley
4c1132f344 update copyright 1999-03-06 04:12:06 +00:00
Bob Halley
ff9104607c add deletion 1999-03-06 00:51:12 +00:00
Bob Halley
12c0aff12a printnode support; versioning fixes 1999-03-05 23:26:24 +00:00
Bob Halley
097c31fdea add dns_db_printnode 1999-03-05 23:25:44 +00:00
David Lawrence
587fc7b519 Revised dns_rbt_findname and dns_rbt_findnode to find the closest match
when an exact match cannot be found.  This changed the calling interface,
which necessitated changes to rbtdb.c and compress.c.
1999-03-04 21:03:29 +00:00
David Lawrence
f85b8869df new result type, DNS_R_PARTIALMATCH, for dns_rbt_find* 1999-03-04 20:55:57 +00:00
Bob Halley
904a573437 C++ compatibility 1999-03-04 02:48:47 +00:00
Bob Halley
e371b7a70f basic versioning; 64-bit version support; C++ compatibility 1999-03-04 02:45:56 +00:00
Bob Halley
86921103ec lint 1999-03-04 02:44:30 +00:00
Bob Halley
ca04d3fbf9 additional assertions, C++ compatibility 1999-03-04 02:43:05 +00:00
Bob Halley
0e3ad06058 additional assertions, C++ compatibility, rbtdb64 support 1999-03-04 02:42:40 +00:00
Bob Halley
bb556a9bf3 add rbtdb64 1999-03-04 02:39:41 +00:00
David Lawrence
6735f1e886 arguments for common_labels and common_bits to dns_name_fullcompare
are unsigned ints
1999-03-04 02:35:04 +00:00
David Lawrence
005c7ad70f Use dns_name_fullcompare() and remove internal comparison functions.
Allow root label to be in its own level (and thus have data associated with it.)

Avoid retraversal of level in dns_rbt_addonlevel().
1999-03-03 20:01:49 +00:00
Bob Halley
b2f1f3b836 add reminder 1999-03-02 19:57:10 +00:00
Bob Halley
ed7f35a9f7 compact() didn't recompute the offsets table even though offsets might have
changed.
As soon as a bitstring that didn't need compaction was encountered, compact()
would stop instead of processing the entire string.
1999-03-02 19:55:17 +00:00
Mark Andrews
518be7faab dns_name_cat() -> dns_name_concatenate()
Changed behaviour so that it is intuitive w.r.t. absolute names.
	If 'prefix' is absolute then 'suffix' must be NULL.
	If 'prefix' or 'suffix' is absolute then the result is absolute.
1999-02-26 00:25:12 +00:00
Mark Andrews
d0221bfa6a Added Contract Comments 1999-02-25 01:37:03 +00:00
Mark Andrews
bcd7fdf06c Fix mnenonic names. 1999-02-25 00:27:02 +00:00
Mark Andrews
1ef8965366 Add decompression. 1999-02-24 06:31:35 +00:00
James Brister
8bb9bf6bfe Added compress.o to get build going again. 1999-02-23 17:30:49 +00:00
Mark Andrews
f257e9369c dns_name_cat only returns a absolute name if one of it's inputs
is absolute
1999-02-23 02:25:41 +00:00
Mark Andrews
52637f592f Add wire compression. 1999-02-22 07:24:05 +00:00
Mark Andrews
2429685db2 Removed trailing comma. 1999-02-22 01:06:26 +00:00