2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

2460 Commits

Author SHA1 Message Date
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
4c1132f344 update copyright 1999-03-06 04:12:06 +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
ca04d3fbf9 additional assertions, C++ compatibility 1999-03-04 02:43:05 +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
1ef8965366 Add decompression. 1999-02-24 06:31:35 +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
Mark Andrews
ad883ba085 Protect from multiple calls by #ifndef/#define/#endif. 1999-02-22 00:53:19 +00:00
Bob Halley
86cbdf5783 update .h file installation lists 1999-02-18 01:26:24 +00:00
Bob Halley
e8b2131478 contents moved to isc/region.h 1999-02-16 20:08:24 +00:00
Bob Halley
02083e881d Improve dns_name_fullcompare() comment. 1999-02-16 08:28:58 +00:00
Bob Halley
2aa970ccec add dns_name_fullcompare(); update comments 1999-02-16 08:18:56 +00:00
Bob Halley
a866eaa4ac add dns_namereln_t 1999-02-16 08:17:45 +00:00
Mark Andrews
19d365e444 Added missing REQUIRE()'s to dns_rdata_*().
Restored origin to dns_rdata_totext().

	Made include file comments more relevent.
1999-02-16 02:54:18 +00:00
Mark Andrews
b5819ca3eb dns_name_fromwire() should have been using up to the end of the
active region, not the end of the remaining region.

	bin/named/wire_debug.c bin/tests/wire_test.c adjusted for above
	change.

	dns_name_fromwire() was not computing nrem and nused correctly
	for bitstream labels.
1999-02-15 23:59:36 +00:00
Mark Andrews
7c0539bea5 Created dns_name_rdatacompare() to do DNSSEC rdata comparisions
as opposed to DNSSEC owner name comparisions of names.  Changed
	all rdata types that were using dns_name_compare() to use
	dns_name_rdatacompare().
1999-02-15 05:44:22 +00:00
Mark Andrews
035504dbd8 Added new error code DNS_R_UNEXPECTEDTOKEN, DNS_R_BADBASE64.
Adjusted function to use the new error codes.

	Changed some INSIST -> REQUIRE.

	Mapped ISC_R_NOMEMORY -> DNS_R_NOMEMORY for isc_lex_gettoken() result.
1999-02-12 03:08:44 +00:00
Bob Halley
48e6ddcb8a standard comments; API cleanups 1999-02-11 04:55:03 +00:00
Bob Halley
eec229f176 remove dns_addmode_t 1999-02-11 04:54:31 +00:00
Bob Halley
cd9999a958 add comments, move color to avoid locking problem 1999-02-10 19:05:40 +00:00
Mark Andrews
bfc4767894 Additional description of function 1999-02-10 05:45:00 +00:00
Mark Andrews
8eaa2ef566 Add dns_rdatacallbacks_init(). 1999-02-10 05:22:02 +00:00
Mark Andrews
df1ba071bc New error codes.
DNS_R_NOOWNER
	DNS_R_NOTTL
	DNS_R_BADCLASS
1999-02-10 05:19:56 +00:00
Mark Andrews
82d0558893 Pass multiple callbacks in dns_rdatacallbacks_t.
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00
Mark Andrews
b8ea456f92 Failure to pass a valid IPv6 address now returns DNS_R_BADAAAA. 1999-02-09 07:52:32 +00:00
Bob Halley
1630fce031 performance enhancements, deleter arg 1999-02-06 01:27:35 +00:00
Bob Halley
c5839c39bd add attributes; fix origin copy problem and build offset table in _fromtext() 1999-02-06 01:26:00 +00:00
Bob Halley
f150692ba3 name change 1999-02-06 01:18:18 +00:00
Bob Halley
e800570a5a add dns_rdataslab_size(); remove dns_rdataslab_tordataset() 1999-02-06 00:07:09 +00:00
Bob Halley
1366b7833c allow case insensitive hashing 1999-02-06 00:03:19 +00:00
Mark Andrews
54c26ab21c dns_cert_{to,from}text()
dns_secalg_{to,from}text()
1999-02-05 00:05:46 +00:00
Mark Andrews
5901928ef8 fix up TKEY 1999-02-04 07:00:32 +00:00
Mark Andrews
8d3e74b168 gen to generate dns_rdata{type,class}_{type,class}
dns_rcode_{to,from}text()
	TKEY was missing the Algorithm
1999-02-04 06:38:43 +00:00
Mark Andrews
f9d7040e8d TSIG initial implementation. 1999-02-04 01:06:40 +00:00
Mark Andrews
3a4ec3da9f atob_tobuffer and btoa_totext 1999-02-03 06:01:32 +00:00
Bob Halley
a99979c686 add dns_db_origin 1999-02-01 21:21:35 +00:00
David Lawrence
8d320be20d name length removed from structure; value is stored in single byte immediately
after the structure.

color stored in single bit

references bitfield width decrease by one

typedef for a node_chain structure, used by dns_rbt_findnode

dns_rbt_create takes a new second argument that is a pointer to a function
which frees node data when the node is deleted.

dns_rbt_addnode provided to return the node that was added.
1999-01-31 00:32:51 +00:00
Bob Halley
ccbfddc70e dns_rdataset_towire() now returns the number of RRs added to target 1999-01-30 05:01:01 +00:00
Bob Halley
721d4541c3 add locknum 1999-01-29 22:19:57 +00:00
Bob Halley
e496615043 add private4 and private5 1999-01-29 22:19:38 +00:00
Bob Halley
b03b67a6f1 add base, dns_db_load 1999-01-29 07:03:42 +00:00