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
529c7b1dcb
binary labels draft update
1999-05-06 16:40:50 +00:00
Mark Andrews
f9658c3c37
Set copyright dates for renamed rdata files
1999-05-06 01:39: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
Andreas Gustafsson
1922518d7f
added autoconf check for sa_len
1999-05-04 05:06:28 +00:00
Bob Halley
ceb304cd0e
update
1999-05-04 01:53:01 +00:00
Bob Halley
40d01ce8f3
update
1999-05-03 20:52:18 +00:00
Bob Halley
9104e9a3e2
lint
1999-05-03 19:57:33 +00:00
Bob Halley
a85c8737f7
get rid of obsolete MAXDBS define
1999-05-03 19:57:22 +00:00
Bob Halley
e1739e9938
do not include dns/rdatastruct.h (yet)
1999-05-03 19:56:53 +00:00
Bob Halley
325c88703c
crude multiple zone and cache support
1999-05-03 19:56:23 +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
1b9d5f3925
revert accidential commit
1999-05-02 07:03:13 +00:00
Michael Graff
6d9ae6b3a8
resolve again.
1999-05-02 07:00:05 +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
Bob Halley
78fda31f26
update
1999-05-01 00:48:23 +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