Commit Graph
4222 Commits
Author SHA1 Message Date
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 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
Bob Halley 603f92eefd use target buffer, cleanups 1999-01-20 03:06:32 +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
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
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 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
Bob Halley 1beb5e40b0 add DNS_R_NOMORE 1999-01-15 03:31:39 +00:00
Bob Halley 5619558151 add rdataset 1999-01-15 03:31:17 +00:00
Bob Halley a9179fca23 make linkable; add rdatalist; convert to buffers 1999-01-13 19:22:53 +00:00
Bob Halley 975922093c add list types 1999-01-13 19:18:00 +00:00
Bob Halley 8db3b065b4 Add 'list' field.
Fixed name length bug in _fromtext(), _fromwire().  The previous way of
computing the length failed if the length of the target buffer was > 255.
1999-01-13 19:17:22 +00:00
Bob Halley d57fd9900a add list field 1999-01-13 19:15:05 +00:00
Bob Halley 08dbab20ef lint 1999-01-09 02:39:39 +00:00
Bob Halley b5b97de45a cleanup set_offsets; make dns_name_issubdomain more efficient 1999-01-09 01:17:09 +00:00
Bob Halley 86131d8d7a names are now linkable; offsets is optional 1999-01-09 00:33:15 +00:00
Bob Halley 9d1650c9fd minor updates; add dns_offsets_t, dns_signature_t, dns_namelist_t 1999-01-09 00:23:21 +00:00
Bob Halley 9192e92f7d check if compression type is allowed 1999-01-06 20:04:41 +00:00
Bob Halley 10c49cf1b5 add DNS_R_DISALLOWED 1999-01-06 20:04:08 +00:00
Bob Halley 985687b4e0 add 1999-01-06 19:29:46 +00:00
Bob Halley 95c86af1e9 API changes (buffers); basic wire support 1999-01-06 05:41:20 +00:00
Bob Halley 77ca0b5793 API changes 1999-01-06 05:40:43 +00:00
Bob Halley 4880900113 remove generated files on distclean too 1999-01-06 05:39:52 +00:00
Bob Halley 5dee047038 new codes 1999-01-06 05:39:08 +00:00