Commit Graph
626 Commits
Author SHA1 Message Date
Michael Graff 2726950412 parse dynamic updates, and tsig's right 1999-05-12 19:32:13 +00:00
Bob Halley 6050eb5ab4 do not wait for SIGABRT 1999-05-12 17:37:38 +00:00
Bob Halley 96f55bdc73 add app 1999-05-12 09:44:35 +00:00
Bob Halley 336182859c make dbtables reference counted objects 1999-05-11 23:18:37 +00:00
Bob Halley 4f39360a7f Shutdown of a task now works as follows:
When isc_task_shutdown() is called, any shutdown events are posted
	and the task goes into shutting down state.  isc_task_onshutdown()
	may no longer be called.

	If the task allows transition to the done state (the default), then
	as soon as the task's event queue is empty the task will enter the
	done state.  Once the done state has been entered, events may no
	longer be posted (regardless of the allowsend state).  If transition
	to the done state is not allowed, then the task will continue to
	exist and be able to receive events.

Moved event support to event.[ch].
The final state of a task is now called "done" not "shutdown".
Created a flags variable instead of having separate booleans.
Added isc_task_allowdone() and isc_task_purgerange().
Minor tracing fixes.
1999-05-10 23:00:30 +00:00
Bob Halley 853befffcf include eventclass.h 1999-05-10 22:52:55 +00:00
Bob Halley b9fcdde267 add common types 1999-05-10 22:52:36 +00:00
Bob Halley e96a9b2690 move struct typedef to types.h 1999-05-10 22:52:29 +00:00
Bob Halley d63eb7e794 add 1999-05-10 22:52:03 +00:00
Bob Halley 44963bb00d move eventclass stuff to eventclass.h; add event stuff 1999-05-10 22:51:49 +00:00
Bob Halley 75d597c630 add event.c 1999-05-10 22:51:19 +00:00
Bob Halley d13284da19 allow timer to be inactive; use isc_task_purgerange 1999-05-10 22:50:31 +00:00
Bob Halley d6b0e99380 change TASKSHUTDOWN to TASKDONE 1999-05-10 22:49:22 +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 624f397db5 add DNS eventclass 1999-05-05 22:57:02 +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 44aae046c3 basic test support 1999-05-01 01:41:14 +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
Michael Graff ddd035637d snapshot 1999-04-30 21:52:40 +00:00
Michael Graff 9440f8c902 remove a REQUIRE() I pasto-ed 1999-04-30 21:52:34 +00:00
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