Commit Graph

3286 Commits

Author SHA1 Message Date
Mark Andrews
21b841232c Disable bit string tests until rbt supports them. Use -b in the
mean time to get them.
1999-03-04 22:40:05 +00:00
David Lawrence
b63865d6df A couple of new search tests. 1999-03-04 21:04:51 +00:00
David Lawrence
ec40d2ec68 use dns_rbt_findname instead of dns_rbt_findnode, and adjust tests for
possible return values.
1999-03-04 21:04:33 +00:00
Mark Andrews
496e9c2a55 Added -v 1999-03-04 06:50:05 +00:00
Bob Halley
904a573437 C++ compatibility 1999-03-04 02:48:47 +00:00
David Lawrence
7f40165c89 include the root label in names that have it, for extra clarity (especially
when the root label is the entire name).
1999-03-03 19:55:03 +00:00
Mark Andrews
1ef8965366 Add decompression. 1999-02-24 06:31:35 +00:00
Mark Andrews
52637f592f Add wire compression. 1999-02-22 07:24:05 +00:00
Bob Halley
6d5dcd0dc9 Make multiple build directories work again 1999-02-18 01:24:32 +00:00
Bob Halley
30ff476f61 use dns_name_fullcompare() 1999-02-16 08:19:18 +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
Michael Graff
882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Bob Halley
c9978f9dce allow db_type to be specified 1999-02-11 04:56:56 +00:00
Mark Andrews
fdd04623a6 Convert to user error / warn callbacks. 1999-02-10 05:25:37 +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
Bob Halley
b5fd61fd19 conforming changes 1999-02-06 01:28:15 +00:00
Bob Halley
f72d27a58e add loaded message 1999-02-06 01:28:08 +00:00
Mark Andrews
e4653123ec isc_lex_getsourcename()
isc_lex_getsourceline()
	convert uint#_tobuffer() to use isc_buffer_putuint#()
1999-02-05 06:41:21 +00:00
Mark Andrews
bd72c68a44 Allow specification of class 1999-02-04 01:04:55 +00:00
David Lawrence
4c4f13cea3 rbt_test.txt now checks more conditions in the deletion algorithm.
rbt_test.out is what the output should be.
1999-01-31 18:45:34 +00:00
David Lawrence
0d73b3fffe test the data deleter callback by making the data pointer for each node be
dynamic memory.

have 'search' print the name stored at the node's data pointer.
1999-01-31 16:45:48 +00:00
David Lawrence
fbcd8c7a5c delete does not now do recursive deletion.
new function nuke does what delete did.

fixed up some changed interfaces to the dns_rbt library.
1999-01-31 00:54:14 +00:00
Bob Halley
a2f5b51dff allow type and zone to be specified 1999-01-29 23:36:41 +00:00
Bob Halley
22c4f0162f look for and print ns rdatasets 1999-01-29 22:21:35 +00:00
Mark Andrews
2bc0da0cd8 Added NXT
Debugged SIG
1999-01-29 08:04:13 +00:00
Bob Halley
7c0eb86a80 checkpoint 1999-01-29 07:05:09 +00:00
Bob Halley
e535faecc7 add db_test 1999-01-28 23:53:36 +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
James Brister
1453fd8dde Files supportting the zoneinfo structure. 1999-01-28 17:18:09 +00:00
Bob Halley
01cc5813ca reflect latest lexer changes 1999-01-28 08:51:53 +00:00
Mark Andrews
0c67279acb Added soacount and nscount 1999-01-28 05:03:25 +00:00
Mark Andrews
3ff55a3111 dns_master.c:
fix 2 infinite while loops.
		use a pool of 5 buffers for dns_name_fromtext target.
	add master_test.c:
1999-01-27 23:17:57 +00:00
David Lawrence
0fb1c498ec Enable the deletion test. 1999-01-27 02:04:28 +00:00
Bob Halley
941f41d613 new number printing; ISC_LEXOPT_MULTILINE support 1999-01-26 08:23:18 +00:00
David Lawrence
9e4292a2b4 New rbt_test program for the red/black trees. Sample test instructions
in rbt_test.txt.
1999-01-26 03:30:25 +00:00
Bob Halley
5a5eec9601 remove ANY hack 1999-01-25 21:41:52 +00:00
Mark Andrews
2192b44973 HINFO and TXT now handle quoted strings. 1999-01-22 01:27:30 +00:00
Mark Andrews
deaaf94332 dns_rdata_compare checked for RFC 1035 types
converted frometext* to use gettoken()
	converted:
		result = foo();
		if (result != DNS_R_SUCCESS)
			return (result);
	to
		RETERR(foo());
1999-01-22 00:36:59 +00:00
Mark Andrews
44a966dff6 Added WKS. 1999-01-21 06:02:15 +00:00
Bob Halley
3b1da4f989 print type and class as text instead of as numbers 1999-01-20 07:49:50 +00:00
Mark Andrews
a98551ef59 Implemented dns_rdatatype_fromtext(), dns_rdatatype_totext(),
dns_rdataclass_fromtext() and dns_rdataclass_totext().
1999-01-20 06:51:30 +00:00
Mark Andrews
3d5cad69ec Adjusted error codes.
txt_fromwire() was not coping with a zero length active buffer.
1999-01-20 05:20:24 +00:00
Bob Halley
c850b56ee0 lint 1999-01-20 02:46:19 +00:00
Bob Halley
2d9007c942 working rdata decoding 1999-01-20 02:43:23 +00:00
Bob Halley
e9c5fcab9b add rdata_test 1999-01-20 02:42:54 +00:00
Michael Graff
14b50c163e cleanup, remove warnings 1999-01-19 19:50:10 +00:00
Michael Graff
f8c2070073 make quick changes to steal code from Bob's wire_test 1999-01-19 06:35:54 +00:00
Mark Andrews
5d51e67c3b Initial "rdata" support. RFC 1035 RR types minus WKS
totext/fromtext should all work
	towire/fromwire mostly work
	tostruct/fromstruct return DNS_R_NOTIMPLEMENTED
	compare untested
1999-01-19 02:20:26 +00:00
Bob Halley
74bc3f2a36 optional use of initial whitespace 1999-01-15 20:02:22 +00:00