Commit graph

97 commits

Author SHA1 Message Date
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
Bob Halley
1ccbfca64a add preliminary db support 1999-01-28 23:53:03 +00:00
Bob Halley
2cd0c38115 fix typo 1999-01-28 23:52:24 +00:00
Bob Halley
bcfcece57e add dns_name_hash 1999-01-28 23:52:00 +00:00
Bob Halley
54a58e494c db additions 1999-01-28 23:51:12 +00:00
Bob Halley
c5bd4120ee add dirty and references 1999-01-28 23:50:55 +00:00
Mark Andrews
923e2ea400 dns_load_master()'s callback last arguement is now void * rather
than isc_mem_t * to provide a general mechanism to pass context to
	the call back.  dns_load_master() has an additional arguement to
	support this.  to get the old behaviour set the arguement, private,
	to the same value as mctx.
1999-01-28 22:32:45 +00:00
Mark Andrews
bdc5b485bc ignoire enum*.h 1999-01-28 05:31:03 +00:00
Mark Andrews
0c67279acb Added soacount and nscount 1999-01-28 05:03:25 +00:00
Mark Andrews
ffe74cc719 Add KEY, SIG and NSAP rdata type. SIG is not complete.
Add master file reader, master.c master.h, incomplete.

	gen.c was not generate correct include file, SWITCHXXX macros were
	being terminated early if last RR type was class specific.

	Added base64 support to rdata.c.
1999-01-27 13:38:21 +00:00
Michael Graff
cd82aa8fa3 implement and build dns_rdataslab_fromrdataset() 1999-01-27 08:44:10 +00:00
Michael Graff
edd4f79b4b fill in documentation on dns_rdata_towire() 1999-01-27 05:54:05 +00:00
David Lawrence
c4c843edb3 Basic deletion works again. Parent pointers have been expunged from
all the code.
1999-01-27 01:48:55 +00:00
David Lawrence
f8424fc7b3 Fixed a couple of names for ISC coding conventions. 1999-01-26 13:23:23 +00:00