Commit Graph
256 Commits
Author SHA1 Message Date
David Lawrence 5a2f873360 Source files renamed from "redblack" to "rbt". 1999-01-25 15:47:28 +00:00
David Lawrence 73d62a89f1 A variety of changes.
dns_rbt_node_t changed to dns_rbtnode_t to match ISC conventions.

  main() test routine and support functions removed, to be put in
    bin/tests/rbt_test.c

  adding a node and rotating left/right taught to not use parent pointers.

  deletion disabled because it currently does not know how to not use
    parent pointers, and since they are not being maintained by insertion,
    deleting has no prayer of working.

  several isc_result_t returns changed to dns_result_t.
1999-01-25 15:46:30 +00:00
David Lawrence 10c05796f2 Two new result types, "already exists" and "not found". 1999-01-25 15:41:22 +00:00
Mark Andrews 1c31915286 Add RR from RFC 1183
Update Copyright dates.
1999-01-22 05:02:49 +00:00
Michael Graff 64ba6e4cc3 make this go on the Alpha. 1999-01-22 04:35:11 +00:00
Mark Andrews 2192b44973 HINFO and TXT now handle quoted strings. 1999-01-22 01:27:30 +00:00
Michael Graff 110d170273 include <config.h> 1999-01-22 01:21:44 +00:00
Michael Graff 0c310d16b0 cast target->base to unsigned char *, and rearrange the includes 1999-01-22 01:21:02 +00:00
Mark Andrews eb6bd543c7 covert RETERR to do { ... } while (0) 1999-01-22 00:38:47 +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
Mark Andrews bed8e84810 Add meta and IANA reserved types / classes. 1999-01-20 22:49:34 +00:00
David Lawrence 910b2a8092 working single-level red/black tree code 1999-01-20 10:18:34 +00:00
David Lawrence f389bc2c9e redblack.c include/dns/redblack.h
Initial (committed) implementation of red/black tree of trees.

Makefile.in:
	add redblack.o to libdns.
1999-01-20 10:13:43 +00:00
Bob Halley 0d0d9a9d98 restructure totext(), print type and class as text instead of as numbers 1999-01-20 07:49:30 +00:00
Mark Andrews 4674aca9ba Make names in TYPENAMES / CLASSNAMES uppercase. 1999-01-20 07:14:35 +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 603f92eefd use target buffer, cleanups 1999-01-20 03:06:32 +00:00
Bob Halley c98d185d0c add active region; enforce invariants about current 1999-01-20 02:42:22 +00:00
Bob Halley cada82f4ff add active region 1999-01-20 02:41:54 +00:00
Bob Halley 26b0f58b6c use the active region instead of the remaining region 1999-01-20 02:41:11 +00:00
Bob Halley 6097a45fec note that active region must be set in dns_rdata_fromwire() 1999-01-20 02:40:45 +00:00
Bob Halley 1c25689ae6 more tabbing fixes 1999-01-20 02:40:02 +00:00
Mark Andrews f7b99290c3 Added INSIST's 1999-01-19 06:49:33 +00:00
Michael Graff 523b3c81c3 Fix a nasty little UDP-related bug 1999-01-19 06:33:18 +00:00
Mark Andrews 3761c43391 Add $Id$'s 1999-01-19 05:38:36 +00:00
Mark Andrews bb690d7580 towire_mx was using the wrong part of the target buffer. 1999-01-19 05:26:01 +00:00
Mark Andrews bfb2a81b65 Fix initial towire/fromwire so they work. 1999-01-19 05:16:32 +00:00
Mark Andrews 3f28431177 Added "breaks" to defaults. 1999-01-19 04:44:19 +00:00
Mark Andrews 611a37e72d Have to "break" at end of second level switch. 1999-01-19 04:40:48 +00:00
Mark Andrews fa41ee66c7 ignore code.h and gen 1999-01-19 04:32:25 +00:00
Mark Andrews 7c89c5c574 second level switch was using the wrong variable 1999-01-19 04:31:30 +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
Mark Andrews bc6f28fa15 as_ulong now works. 1999-01-18 08:04:35 +00:00
Mark Andrews f957caf971 PREPEND was #defined to the wrong macro causing the lexer to
break;
1999-01-18 02:54:32 +00:00
Bob Halley 95552051ab improve tabbing 1999-01-16 01:25:06 +00:00
Bob Halley 8d17f549f3 add comments 1999-01-16 01:24:10 +00:00
Bob Halley 3553422273 add namespace 1999-01-16 01:23:42 +00:00
Bob Halley 1edf93cbc2 a timer now uses the mctx of its task 1999-01-16 00:01:18 +00:00
Bob Halley 62305d91b2 allow owner_name to be empty 1999-01-15 20:00:43 +00:00
Bob Halley 54f959d12b implement basic totext 1999-01-15 19:36:07 +00:00
Bob Halley 884384ec4c improve comments 1999-01-15 19:35:49 +00:00
Bob Halley 078d49b633 rdataset valid moved to .h file 1999-01-15 08:07:09 +00:00
Bob Halley f3a8ab700b cleanups, magic 1999-01-15 08:06:41 +00:00
Bob Halley 4dfd81d8c8 add missing includes 1999-01-15 08:05:50 +00:00
Bob Halley ab2981e379 add rdatalist.c 1999-01-15 08:05:14 +00:00
Bob Halley acb76c0ac3 add 1999-01-15 03:32:11 +00:00
Bob Halley 51957a9cb0 remove rdatalist 1999-01-15 03:31:58 +00:00