Commit graph

151 commits

Author SHA1 Message Date
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
Bob Halley
990fe8c3a9 do not link with lex/yacc libraries 1999-02-02 01:44:15 +00:00
Bob Halley
fe47f41b13 eliminate compiler warnings (signed vs. unsigned) 1999-02-02 01:18:51 +00:00
Bob Halley
1c969834dc do not build parser 1999-02-02 01:18:38 +00:00
Bob Halley
1ed857d600 deal with names outside of the db; auth vs. nonauth 1999-02-01 21:11:47 +00:00
Bob Halley
98d3b18373 make mem stats printing optional 1999-02-01 21:11:10 +00:00
Bob Halley
9ec6d5f03d remove various minor compilation warnings 1999-02-01 20:47:58 +00:00
Bob Halley
d55fedfce0 initialize values to avoid INSIST(l->nwactive == 0) when starting 1999-02-01 20:37:40 +00:00
David Lawrence
b6d5a6722c parser.c, parser_p.h, lexer.c are all generated by Makefile 1999-01-31 18:47:57 +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
Michael Graff
e5e8a126ab make tcp queries (where the output is slightly offset from the start
of the buffer, for length of tcp packet) work again.
1999-01-31 12:58:16 +00:00
Michael Graff
51c0bc9e3d Actually answers queries! 1999-01-31 12:31:31 +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
Michael Graff
8507d64d0c use isc_uint32_t and unsigned int for u_int32_t and u_int 1999-01-30 03:09:28 +00:00
James Brister
1ca02d14e4 Misc additions for the parser stuff. 1999-01-30 01:00:49 +00:00
James Brister
e6ad73aba4 Added calls to parser routines (ifdef'd out for now). 1999-01-30 01:00:20 +00:00
James Brister
b110b1bc30 Misc changes. 1999-01-30 00:53:56 +00:00
James Brister
915440a0d0 Files for the config file parsing. 1999-01-30 00:50:10 +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
Michael Graff
60cfce122f Code up a dispatch() function which will just return server failure for now.
This makes dig work, and shows that we can actually transmit as well
as receive.  Both UDP and TCP connections work, with the restriction
that a full message must be contained in each TCP write, not split across
two seperate tcp 'packets'.
1999-01-29 06:18:43 +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
Michael Graff
7f4db15e68 add tcp client support 1999-01-28 05:52:20 +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
Michael Graff
e957705142 unsigned char, not char 1999-01-27 08:59:40 +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