Commit Graph
1381 Commits
Author SHA1 Message Date
Mark Andrews bfc4767894 Additional description of function 1999-02-10 05:45:00 +00:00
Mark Andrews 8eaa2ef566 Add dns_rdatacallbacks_init(). 1999-02-10 05:22:02 +00:00
Mark Andrews df1ba071bc New error codes.
DNS_R_NOOWNER
	DNS_R_NOTTL
	DNS_R_BADCLASS
1999-02-10 05:19:56 +00:00
Mark Andrews 82d0558893 Pass multiple callbacks in dns_rdatacallbacks_t.
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00
Mark Andrews b8ea456f92 Failure to pass a valid IPv6 address now returns DNS_R_BADAAAA. 1999-02-09 07:52:32 +00:00
Bob Halley 1630fce031 performance enhancements, deleter arg 1999-02-06 01:27:35 +00:00
Bob Halley c5839c39bd add attributes; fix origin copy problem and build offset table in _fromtext() 1999-02-06 01:26:00 +00:00
Bob Halley f150692ba3 name change 1999-02-06 01:18:18 +00:00
Bob Halley e800570a5a add dns_rdataslab_size(); remove dns_rdataslab_tordataset() 1999-02-06 00:07:09 +00:00
Bob Halley 1366b7833c allow case insensitive hashing 1999-02-06 00:03:19 +00:00
Mark Andrews 54c26ab21c dns_cert_{to,from}text()
dns_secalg_{to,from}text()
1999-02-05 00:05:46 +00:00
Mark Andrews 5901928ef8 fix up TKEY 1999-02-04 07:00:32 +00:00
Mark Andrews 8d3e74b168 gen to generate dns_rdata{type,class}_{type,class}
dns_rcode_{to,from}text()
	TKEY was missing the Algorithm
1999-02-04 06:38:43 +00:00
Mark Andrews f9d7040e8d TSIG initial implementation. 1999-02-04 01:06:40 +00:00
Mark Andrews 3a4ec3da9f atob_tobuffer and btoa_totext 1999-02-03 06:01:32 +00:00
Bob Halley a99979c686 add dns_db_origin 1999-02-01 21:21:35 +00:00
David Lawrence 8d320be20d name length removed from structure; value is stored in single byte immediately
after the structure.

color stored in single bit

references bitfield width decrease by one

typedef for a node_chain structure, used by dns_rbt_findnode

dns_rbt_create takes a new second argument that is a pointer to a function
which frees node data when the node is deleted.

dns_rbt_addnode provided to return the node that was added.
1999-01-31 00:32:51 +00:00
Bob Halley ccbfddc70e dns_rdataset_towire() now returns the number of RRs added to target 1999-01-30 05:01:01 +00:00
Bob Halley 721d4541c3 add locknum 1999-01-29 22:19:57 +00:00
Bob Halley e496615043 add private4 and private5 1999-01-29 22:19:38 +00:00
Bob Halley b03b67a6f1 add base, dns_db_load 1999-01-29 07:03:42 +00:00
Bob Halley 1ccbfca64a add preliminary db support 1999-01-28 23:53:03 +00:00
Bob Halley 2cd0c38115 fix typo 1999-01-28 23:52:24 +00:00
Bob Halley bcfcece57e add dns_name_hash 1999-01-28 23:52:00 +00:00
Bob Halley 54a58e494c db additions 1999-01-28 23:51:12 +00:00
Bob Halley c5bd4120ee add dirty and references 1999-01-28 23:50:55 +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
Mark Andrews bdc5b485bc ignoire enum*.h 1999-01-28 05:31:03 +00:00
Mark Andrews 0c67279acb Added soacount and nscount 1999-01-28 05:03:25 +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 edd4f79b4b fill in documentation on dns_rdata_towire() 1999-01-27 05:54: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 1a148d1bcc change namespace to db 1999-01-26 08:22:06 +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 44a966dff6 Added WKS. 1999-01-21 06:02:15 +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
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 6097a45fec note that active region must be set in dns_rdata_fromwire() 1999-01-20 02:40:45 +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 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 884384ec4c improve comments 1999-01-15 19:35:49 +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 acb76c0ac3 add 1999-01-15 03:32:11 +00:00