Commit graph

649 commits

Author SHA1 Message Date
Mark Andrews
b2c1904c6f double isc_lex_gettoken 1999-05-19 01:17:14 +00:00
Mark Andrews
55ea93b0b1 Add addition \ escape processing 1999-05-19 00:48:16 +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
Bob Halley
9b27701a8d finish conversion to standard .h commenting conventions 1999-05-18 19:23:53 +00:00
Bob Halley
ff1a344725 add more comments and a few missing REQUIREs 1999-05-18 19:23:13 +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
Brian Wellington
71b306bf33 add isc_buffer_{get,put}uint8 1999-05-18 13:44:52 +00:00
Michael Graff
2eed8ba81c tpyo 1999-05-17 22:56:13 +00:00
Michael Graff
17a30afad1 another cancel cleanup 1999-05-17 22:54:17 +00:00
Michael Graff
e89cd0396e Fix a cancel problem, and use a condition variable rather than a hack 1999-05-17 22:31:26 +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
Andreas Gustafsson
278695c921 fixed apparent cut-and-paste-o in ISC_SOCKCANCEL_ACCEPT handler 1999-05-13 10:46:12 +00:00
Michael Graff
8f3ba5e9b2 init a var 1999-05-13 00:15:42 +00:00
Bob Halley
dd324bd791 always ignore sigpipe 1999-05-12 22:54:46 +00:00
Bob Halley
de5c46ae57 handle EINTR 1999-05-12 22:44:22 +00:00
Bob Halley
a829555ed7 linux threads support 1999-05-12 22:35:40 +00:00
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