Commit graph

585 commits

Author SHA1 Message Date
Michael Graff
8d6024e7cf Move the flags on dns_rdataset_totext() to be together, and make a
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff
5330fc09ac tpyo 1999-04-30 21:10:07 +00:00
Michael Graff
d070219e01 clean up and start testing rendering 1999-04-30 21:09:19 +00:00
Michael Graff
1d7987f422 checkpoint 1999-04-30 07:53:07 +00:00
Michael Graff
69be7837c9 teach dns_rdataset_towire() about the no-rdata-or-ttl trick so it will work
for rendering the questions as well as the other sections.
1999-04-30 07:08:55 +00:00
Michael Graff
a920f559c3 fix up return codes in searching, and start on rendering. 1999-04-30 06:37:35 +00:00
Michael Graff
ded7456a4d Implement searching for a name in a section. 1999-04-30 06:13:07 +00:00
Michael Graff
be3458c3da Add checks for render/parse direction 1999-04-30 05:57:39 +00:00
Michael Graff
e690d225ad Make named compile, and start on using message code. This isn't done yet. 1999-04-30 05:42:06 +00:00
Bob Halley
3ff8d68793 Make it clear which 'if' an 'else' belongs to. 1999-04-30 02:04:11 +00:00
Michael Graff
14bc0e48c9 names link rdatasets, not rdatalists now 1999-04-30 00:18:19 +00:00
Michael Graff
d331092fdd Add a flag to dns_rdataset_totext() to turn on/off 'question format' 1999-04-30 00:17:56 +00:00
Michael Graff
fccf7905e8 snapshot working message parsing 1999-04-30 00:17:15 +00:00
Michael Graff
1d11db66fa make this build, ooops 1999-04-29 19:58:51 +00:00
Michael Graff
f92381fe0f Allocate DNS_R_FORMERR 1999-04-29 08:19:33 +00:00
Michael Graff
e223094b22 checkpoint 1999-04-29 08:18:57 +00:00
Michael Graff
d9e3898f8e Add explicit element for initializer for flags, rather than spewing warnings.
The flags default to 0, so I set them to explicit 0 for now.
1999-04-29 06:10:27 +00:00
Michael Graff
84d79ecd50 implement isc_dynbuffer_reset() 1999-04-29 05:59:51 +00:00
Michael Graff
c45abd11bb gen.c needs LIBS for NetBSD 1999-04-29 05:32:41 +00:00
Michael Graff
fb3dcb0b60 Use the prototypes from isc/list.h directly, rather than util.h hacks 1999-04-29 04:49:52 +00:00
Michael Graff
d688386936 checkpoint 1999-04-28 03:19:58 +00:00
Mark Andrews
1d6572f9d4 adjust #ifdef labels 1999-04-28 03:16:50 +00:00
Mark Andrews
a41d348e14 Local compression fixes to use rbt bitstrings. 1999-04-28 03:03:56 +00:00
Bob Halley
116208651c include big mallocs in quota 1999-04-27 23:42:50 +00:00
Bob Halley
16baa70f9d basic quota support; fix bugs in more_basic_blocks() 1999-04-27 23:20:10 +00:00
Bob Halley
e7ba603417 basic quota support 1999-04-27 23:19:43 +00:00
Michael Graff
f9df80f434 snapshot work 1999-04-27 02:24:11 +00:00
Michael Graff
9178881e1b start on message.c 1999-04-26 21:59:36 +00:00
Mark Andrews
d44cd3fc3a Class mismatch was not reporting the zone's class.
The correct class was not being passed to dns_rdata_fromtext().
1999-04-25 22:18:11 +00:00
Bob Halley
f53facef17 fix search_name initialization problems 1999-04-24 02:03:25 +00:00
Bob Halley
bd53af8229 add dns_name_clone() 1999-04-24 02:03:07 +00:00
David Lawrence
93b01c7295 Support for bitstring labels. 1999-04-23 04:59:41 +00:00
David Lawrence
605ae28c5a dns_name_split() 1999-04-23 04:58:43 +00:00
Michael Graff
89a90040d5 message rework 1999-04-22 20:12:44 +00:00
David Lawrence
55f6206532 a better fix than the last for dns_rbtnodechain_next 1999-04-22 14:36:30 +00:00
David Lawrence
2292bceadf tried to ascend a level in dns_rbtnodechain_next when at top level 1999-04-22 14:16:52 +00:00
Andreas Gustafsson
2ff9be15ef cut-and-paste bug in dns_rdatasetiter_t documentation 1999-04-21 08:16:07 +00:00
Bob Halley
302d9bebb5 require added rdatasets to be in the same class as the database 1999-04-20 22:31:39 +00:00
Bob Halley
349bc6f0fb add dbtable 1999-04-20 22:27:03 +00:00
Bob Halley
d94c5ba48b add class; minor cleanups 1999-04-20 22:26:50 +00:00
Bob Halley
48481c9b6e add dns_db_class() 1999-04-20 22:26:12 +00:00
David Lawrence
acab2c8094 Fixed a bug that resulted when a callback said to halt a search; the
level_count was decremented below zero because the found node had not
been put in the level history before the callback broke out of the search.

Added a bunch of INSISTS()s to try to catch something like that in the future.
1999-04-20 22:01:00 +00:00
Bob Halley
c91195ca6d switch from chain.level_count to chain.level_matches 1999-04-20 18:16:27 +00:00
David Lawrence
9efc87f857 Added level_matches to chains for rbtdb support. 1999-04-20 18:11:07 +00:00
Michael Graff
441a57f959 Add support for dyamic buffers. These are allocated using
isc_dynbuffer_allocate() and freed with isc_dynbuffer_free(), and are
a linkable buffer type with a built-in data area.
1999-04-19 23:56:36 +00:00
Bob Halley
292c7d395e do not try to append "." to "." 1999-04-19 23:18:08 +00:00
Bob Halley
d25999ff03 add attachversion; fix rdatasetiterator problem 1999-04-19 22:52:25 +00:00
Bob Halley
b8862d5130 add dns_db_attachversion() 1999-04-19 22:51:48 +00:00
David Lawrence
f8dd2e939e Make sure chain_name and dns_rbtnodechain_current do not try to do
NODENAME() on a NULL chain->end (such as after the chain has been reset.)
1999-04-17 15:43:10 +00:00
David Lawrence
c234ac00b8 The _real_ fix for the callback_name generation problem in findnode.
It wasn't that chain->end was being included (it should have been) but
that the chain had already been expanded to point down a level before
the call to chain_name that needed the state of things before the
descent.
1999-04-17 15:19:45 +00:00