Commit Graph
278 Commits
Author SHA1 Message Date
Mark Andrews bdc5b485bc ignoire enum*.h 1999-01-28 05:31:03 +00:00
Mark Andrews 6d7585b3e9 Auto generate enum*.h file 1999-01-28 05:16:42 +00:00
Mark Andrews 0c67279acb Added soacount and nscount 1999-01-28 05:03:25 +00:00
Mark Andrews e68714fd95 Add $TTL and $INCLUDE processing 1999-01-28 01:16:59 +00:00
Mark Andrews 89140b7f74 Added $ORIGIN support. 1999-01-27 23:57:46 +00:00
Mark Andrews cee7525336 Add support for '@' => origin. 1999-01-27 23:39:40 +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
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 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 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 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
Bob Halley fe7d53d4aa redblack.o is gone 1999-01-25 21:46:22 +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
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