Commit Graph
348 Commits
Author SHA1 Message Date
Mark Andrews ffe74cc719 Add KEY, SIG and NSAP rdata type. SIG is not complete.
Add master file reader, master.c master.h, incomplete.

	gen.c was not generate correct include file, SWITCHXXX macros were
	being terminated early if last RR type was class specific.

	Added base64 support to rdata.c.
1999-01-27 13:38:21 +00:00
Michael Graff e957705142 unsigned char, not char 1999-01-27 08:59:40 +00:00
Michael Graff cd82aa8fa3 implement and build dns_rdataslab_fromrdataset() 1999-01-27 08:44:10 +00:00
Michael Graff 22f735acbc implement and use isc_buffer_putuint{16,32}() 1999-01-27 06:18:45 +00:00
Bob Halley f0a5bb8f86 fix default case in dns_rdata_towire 1999-01-27 06:07:57 +00:00
Michael Graff 76883e8cee implement dns_rdataset_towire() 1999-01-27 05:54:39 +00:00
Michael Graff edd4f79b4b fill in documentation on dns_rdata_towire() 1999-01-27 05:54:05 +00:00
Michael Graff d915cb8961 fix cancel code 1999-01-27 04:17:05 +00:00
David Lawrence 0fb1c498ec Enable the deletion test. 1999-01-27 02:04:28 +00:00
David Lawrence c4c843edb3 Basic deletion works again. Parent pointers have been expunged from
all the code.
1999-01-27 01:48:55 +00:00
David Lawrence f8424fc7b3 Fixed a couple of names for ISC coding conventions. 1999-01-26 13:23:23 +00:00
Bob Halley 59be3f4a67 fix possible char buffer draining problem; add DNS_LEXOPT_MULTILINE support 1999-01-26 08:26:19 +00:00
Bob Halley 9455756dab add ISC_LEXOPT_MULTILINE 1999-01-26 08:24:31 +00:00
Bob Halley 516d43e889 add ISC_R_UNBALANCED 1999-01-26 08:23:55 +00:00
Bob Halley 941f41d613 new number printing; ISC_LEXOPT_MULTILINE support 1999-01-26 08:23:18 +00:00
Bob Halley 1a148d1bcc change namespace to db 1999-01-26 08:22:06 +00:00
David Lawrence 72d4e9f06f Don't use deletenode in deletetree, because the color fixups do not need
to be done, just the memory recovered.
1999-01-26 03:31:53 +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 fe7d53d4aa redblack.o is gone 1999-01-25 21:46:22 +00:00
Bob Halley 5a5eec9601 remove ANY hack 1999-01-25 21:41:52 +00:00
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
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
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 3b1da4f989 print type and class as text instead of as numbers 1999-01-20 07:49:50 +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 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
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