Commit Graph

4838 Commits

Author SHA1 Message Date
Bob Halley
fe47f41b13 eliminate compiler warnings (signed vs. unsigned) 1999-02-02 01:18:51 +00:00
Bob Halley
af6dfd762e eliminate compiler warnings (char vs. uchar) 1999-02-02 01:17:49 +00:00
Bob Halley
6acb28c304 use isc_inet_pton 1999-02-02 00:38:50 +00:00
Mark Andrews
a3c5ba000a Initial implementation 1999-02-01 23:49:47 +00:00
Mark Andrews
12c6f4b3b2 SRV RR 1999-02-01 22:05:56 +00:00
Mark Andrews
fcf8db89e6 EID, NIMLOC 1999-02-01 21:34:51 +00:00
Bob Halley
a99979c686 add dns_db_origin 1999-02-01 21:21:35 +00:00
Mark Andrews
8a17d1e7cd added decvalue 1999-02-01 07:59:43 +00:00
Mark Andrews
d42be4bb84 LOC 1999-02-01 07:58:13 +00:00
David Lawrence
8e1f35e1d7 free ancestor memory allocated in addonlevel 1999-02-01 03:26:00 +00:00
Mark Andrews
e4bea1f716 Added GPOS and AAAA 1999-02-01 00:15:55 +00:00
Mark Andrews
eb7a2b3291 PX X.400 mail mapping information 1999-01-31 22:38:40 +00:00
David Lawrence
265c6d0526 the space for the ancestor chain in addonlevel is now dynamic. 1999-01-31 19:55:52 +00:00
David Lawrence
94231e2288 added a function for getting space for ancestor nodes in the node_chain,
and use it within dns_rbt_findnode.

moved the guts of dns_rbt_deletename into its own function to clean up
the freeing of ancestor memory into just one location.

deletefromlevel required that ancestor_count be > 1, which would abort
trying to delete the root of the tree when the root had no children.
1999-01-31 18:43:57 +00:00
David Lawrence
97940a084c don't free the down data pointer in join_nodes. (what was i thinking?!)
do free the ancestor chain in dns_rbt_deletename
1999-01-31 16:50:01 +00:00
David Lawrence
d65db52903 deletetree does not take a root parameter any more.
removed the SET_foo macros left over from the rbtgen.c pseudo-code.
1999-01-31 01:35:04 +00:00
David Lawrence
5a90bf50a8 Fixed up calls to dns_rbt_create and dns_rbt_findnode, which changed
in rbt.c
1999-01-31 01:00:57 +00:00
David Lawrence
0f5962ac3e many changes.
ancestor/level history no longer kept in rbt structure; node_chain structure
was created for this purpose, and each dns_rbt_deletename call will pass
the chain structure to dns_rbt_findnode.

color enum removed from rbtnode structure; single bit used instead

length of name in rbtnode no longer kept as int in rbtnode structure;
stored as single byte just past end of rbtnode, and the actual name data starts
two bytes past the end.

dns_rbt_create takes additional argument that is a pointer to a function
which is responsible for deleting the space pointed to by an rbtnode's data
pointer when the node is removed.

dns_rbt_addnode renamed to dns_rbt_addonlevel so that dns_rbt_addnode could
be a public function that can provide the address of the new node back
to the caller.

removed several #if 0 blocks that were held over from when parent pointers
were used.
1999-01-31 00:52:53 +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
Mark Andrews
8aefdfc906 Missing !in_glue test. 1999-01-30 13:11:24 +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
Michael Graff
c810fcbf6c Add isc_inet_aton() and a check to use system inet_aton() 1999-01-30 04:27:48 +00:00
Bob Halley
70db22e93b comparisions should be case-insensitive 1999-01-30 04:27:13 +00:00
Bob Halley
c8a42d6d81 add gen to clean rule 1999-01-30 01:40:16 +00:00
Bob Halley
e5c2e16bb2 store node lock number; rdataset methods; find and add rdatasets 1999-01-29 22:21:13 +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
d54184ee4c current was not static; add private4 and private5; remove redundant code 1999-01-29 22:19:15 +00:00
Mark Andrews
2bc0da0cd8 Added NXT
Debugged SIG
1999-01-29 08:04:13 +00:00
Bob Halley
4dfbac7434 partial master file loading 1999-01-29 07:04:29 +00:00
Bob Halley
fec93edbae add base 1999-01-29 07:04:03 +00:00
Bob Halley
b03b67a6f1 add base, dns_db_load 1999-01-29 07:03:42 +00:00
Bob Halley
f305d86668 need multiline mode 1999-01-29 07:02:59 +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
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