Commit Graph

3969 Commits

Author SHA1 Message Date
Michael Graff
f7606b8669 clean up documentation 1999-06-03 23:00:10 +00:00
Michael Graff
08d94b539a allow finding types and names but not returning them. This is basically an
existance check
1999-06-03 19:03:48 +00:00
Andreas Gustafsson
d0bfc8cafe leap years were off by one 1999-05-27 18:03:40 +00:00
Mark Andrews
d5850aa99c compress_find() could return a pointer to stack memory. 1999-05-26 00:34:54 +00:00
David Lawrence
d84aa53079 initialize the dbtable's rbt pointer to null before dns_rbt_create 1999-05-25 18:41:52 +00:00
Andreas Gustafsson
454bea884d dns_message_create did not initialize m->rdatasets 1999-05-25 16:55:57 +00:00
Michael Graff
4db368e084 ooops, fix a memory leak 1999-05-21 08:05:49 +00:00
Michael Graff
d49555e76c use the new rendered bit 1999-05-21 00:48:59 +00:00
Michael Graff
b12f0228b3 initialize attributes to zero 1999-05-21 00:48:45 +00:00
Michael Graff
1f6b20978a formatting nit 1999-05-21 00:48:27 +00:00
Michael Graff
d773adf65c add attributes and define one flag for rendering code 1999-05-21 00:48:20 +00:00
Andreas Gustafsson
0745aa7369 various bug fixes 1999-05-19 09:15:52 +00:00
Andreas Gustafsson
5dcb42f5bb not all combinations of quoted and unquoted strings were supported in ISDN records 1999-05-19 09:14:58 +00:00
Michael Graff
bd3ccd1c38 use dns_name_equal 1999-05-19 00:14:26 +00:00
Bob Halley
6957b87f93 add dns_name_equal() 1999-05-18 22:05:40 +00:00
Brian Wellington
822f6cdabb Created isc_base64_to{text,buffer} and removed the static versions
from lib/dns/rdata.c.
1999-05-18 17:46:59 +00:00
Mark Andrews
f0ff273b53 base and length should have been taken from tregion not target. 1999-05-17 15:40:39 +00:00
Mark Andrews
7d62ddffbb Add escape processing to txt_fromtext 1999-05-17 15:30:03 +00:00
Andreas Gustafsson
1d978b3ba2 base64_totext() encoded 16-bit final quantum incorrectly 1999-05-17 04:49:38 +00:00
Michael Graff
70fd62761d use linked lists for items returned from loanout 1999-05-14 23:19:12 +00:00
Michael Graff
438d7099d1 Implement name, rdata, rdatalist, rdataset loanout from message resources 1999-05-14 22:22:49 +00:00
Michael Graff
97e7d389d5 Clean up after code review 1999-05-14 17:52:11 +00:00
Bob Halley
a243bbac56 types.h 1999-05-13 22:55:02 +00:00
Michael Graff
8f3ba5e9b2 init a var 1999-05-13 00:15:42 +00:00
Michael Graff
2726950412 parse dynamic updates, and tsig's right 1999-05-12 19:32:13 +00:00
Bob Halley
336182859c make dbtables reference counted objects 1999-05-11 23:18:37 +00:00
Bob Halley
480ad611fe Allow a dbiterator to be restarted (with dns_dbiterator_first()) so long
as an error has not occurred.
Have dns_dbiterator_first() return DNS_R_NOMORE if the tree is empty.
1999-05-10 21:21:55 +00:00
Mark Andrews
b75ba761f4 removed debugging code 1999-05-10 00:38:52 +00:00
David Lawrence
d92d2f722a Shifting bitstring bytes for the prefix of dns_name_split didn't work
properly because the destination was being ANDed with the bits coming
from the next byte, rather than ORed.
1999-05-07 17:13:06 +00:00
David Lawrence
bee0bb2b68 In join_nodes, when using the space of the down node, it needs to get
the attributes of the joined name to correctly identify whether it
is absolute.  (IE, when the first level is joined with the top level,
the node struct being used is from the first level, which is not
absolute, but the new name is absolute so the struct needs to be updated.)
1999-05-07 12:13:25 +00:00
Mark Andrews
94a3bcd132 dns_rdata_tostruct() may require memory to be allocted and hence
it will need to be freed, dns_rdata_freestruct().
	Changes to implement this.

	Added C++ support to rdatastruct.h
1999-05-07 03:24:15 +00:00
Mark Andrews
189e18de11 include/dns/rdatastruct.h header (pre) and footer (suf) files. 1999-05-07 03:19:11 +00:00
David Lawrence
3c5de27363 Shoulda left the >= as >=, not >, in join_nodes. D'oh. 1999-05-07 02:47:35 +00:00
David Lawrence
56b657bfe8 update the number of PADBYTES after in join_nodes(). 1999-05-07 02:42:50 +00:00
Bob Halley
6e8ec359a4 add expirenode support 1999-05-06 00:32:32 +00:00
Bob Halley
7f705ac9a2 addrdataset now optionally returns the added rdataset 1999-05-05 22:57:20 +00:00
Bob Halley
a2d6900e46 dbiterator_current was incorrectly returning DNS_R_NEWORIGIN in some cases 1999-05-05 16:52:12 +00:00
Bob Halley
b9a2c5ddf9 add CONVERTFROMASCII 1999-05-05 16:51:05 +00:00
Mark Andrews
4fd3e3482c dns_rdata_tostruct() conversion 1999-05-05 01:55:13 +00:00
Mark Andrews
a560a0bfb2 Implement _tostruct(). 1999-05-05 00:20:36 +00:00
Mark Andrews
854d0238db Adjust #ifdef *_H -> #ifdef *_C to reflect new file names. 1999-05-05 00:19:04 +00:00
Bob Halley
e1739e9938 do not include dns/rdatastruct.h (yet) 1999-05-03 19:56:53 +00:00
Mark Andrews
c1e7aff941 Implement compression pointer rollback.
dns_compress_backout() -> dns_compress_rollback()
1999-05-03 03:07:16 +00:00
Michael Graff
d20401b765 Get the query/response flag in the right place, and make named return
SERVFAIL on all replies again, until I fix up the database stuff again.
1999-05-01 18:07:52 +00:00
Michael Graff
b02262cbcd Fix up the condition where buffers are expended 1999-05-01 17:18:47 +00:00
Bob Halley
754ae02cc7 disable octal bitstrings since they are broken 1999-05-01 00:48:54 +00:00
Michael Graff
41cc03374d remove debugging crud 1999-04-30 23:37:23 +00:00
Michael Graff
bfbf3f2d77 don't use a temp buffer, it broke compression 1999-04-30 23:04:29 +00:00
Michael Graff
823e45c127 checkpoint 1999-04-30 22:35:49 +00:00
Bob Halley
7d610faf31 cache_zonecut_callback() and find_deepest_zonecut() did not check staleness 1999-04-30 22:01:26 +00:00