Commit graph

126 commits

Author SHA1 Message Date
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
Bob Halley
51ae92e447 use dns_rdataset_totext 1999-01-15 19:36:33 +00:00
Bob Halley
a70536420c add getmessage 1999-01-15 08:04:27 +00:00
Bob Halley
841988cf57 rdatalist is now in its own .h file 1999-01-15 03:30:36 +00:00
Bob Halley
2c711cbace new task stuff 1999-01-15 01:38:28 +00:00
Bob Halley
a4e4169138 minor output fix 1999-01-13 19:58:40 +00:00
Bob Halley
2925c2bfb3 eliminate whitespace from input 1999-01-13 19:57:13 +00:00
Bob Halley
25657e31a3 checkpoint 1999-01-13 19:50:05 +00:00
Bob Halley
8198371caa checkpoint 1999-01-13 19:11:26 +00:00
Bob Halley
08dbab20ef lint 1999-01-09 02:39:39 +00:00
Bob Halley
28fb4b818b non-portable but useful getopt usage 1999-01-09 01:21:11 +00:00