Commit graph

131 commits

Author SHA1 Message Date
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
Bob Halley
530570705a add 1999-01-21 19:30:50 +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
Michael Graff
47db0e1d06 checkpoint. udp listener clde split out. 1999-01-20 03:54:54 +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
690a68b811 typo 1999-01-19 19:43:25 +00:00
Michael Graff
f8c2070073 make quick changes to steal code from Bob's wire_test 1999-01-19 06:35:54 +00:00
Michael Graff
1840745dd5 Start on server core. Needs cleanup, but it's close to what we think is
the Right Way.
1999-01-19 06:32:53 +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