Commit Graph
292 Commits
Author SHA1 Message Date
Bob Halley 422d79178c make unsigned 1999-06-17 23:14:18 +00:00
Bob Halley cab399250b ISC_LIST_UNLINK now sets the link fields to the unlinked state (-1). 1999-06-17 01:56:30 +00:00
Bob Halley ee34b73efe added ifdef notyet IPv6 support 1999-06-16 21:05:22 +00:00
Bob Halley d717d5600b event purging api change 1999-06-15 23:18:44 +00:00
Bob Halley 07697f1c52 tagged event support 1999-06-15 23:18:18 +00:00
Bob Halley 3bb3f7ca61 add tag 1999-06-15 23:17:46 +00:00
Bob Halley 9a7d5570ae use ISC_EVENT_INIT 1999-06-15 23:17:24 +00:00
Bob Halley afdb3abb9b zero interval and epoch; rename _get() to _now(); add _nowplusinterval() 1999-06-12 01:15:05 +00:00
Bob Halley 0f287538a5 use isc_time_now; allow default expires and interval 1999-06-12 01:13:22 +00:00
Bob Halley 0941b4e809 add isc_task_purgeevent 1999-06-12 01:10:32 +00:00
Michael Graff 2bc646508d bitfields are your friend 1999-06-10 00:57:33 +00:00
Michael Graff dbe7bf66ff More simplification. internal events are now basically a plain old event. 1999-06-10 00:50:06 +00:00
Michael Graff 81231fc4c3 simplify part of socket.c -- one internal readable event for accepting
connections.  This GREATLY simplifies cancellation, but needs testing.
1999-06-10 00:45:30 +00:00
Bob Halley f1c294ce38 add ISC_EVENT_INIT 1999-06-10 00:18:47 +00:00
Bob Halley 96f42b3b05 support new destroy method; attributes; reorder structure members 1999-06-09 23:26:45 +00:00
Bob Halley 3f8744a28f support for unpurgable events 1999-06-09 23:25:50 +00:00
Andreas Gustafsson c1bfdd2995 turn on ISC_LEXOPT_ESCAPE 1999-06-09 11:56:45 +00:00
Michael Graff 3433c5ee69 start transition to one internal event by keeping all state in the done events 1999-06-09 02:21:19 +00:00
Michael Graff 608b132b4e remove unnessary casts 1999-06-08 21:55:07 +00:00
James Brister 71737a4d6b Let the user (at symtab creation time) specify an argument to be passed
through to the undefine action.
1999-06-08 13:02:10 +00:00
James Brister ab5657cabf Support bases other than 10 in numbers (using option ISC_LEXOPT_CNUMBER)
Fixed bug in keeping track of input line numbers inside comments.
1999-06-08 12:45:23 +00:00
Andreas Gustafsson 5fc7ba3e1a added dns_db_dump(), $DATE, and supporting changes 1999-06-08 10:35:23 +00:00
Michael Graff f28a94af21 comment, clean up a bit 1999-06-08 02:50:51 +00:00
Michael Graff eb7ef395d2 implement memory pools 1999-06-08 02:38:30 +00:00
Michael Graff 47d1506e95 add ISC_MIN() and ISC_MAX() 1999-06-08 02:38:21 +00:00
Andreas Gustafsson 3b84ea68c0 use new isc_netaddr_t type to represent network addresses 1999-05-26 06:24:54 +00:00
Andreas Gustafsson 0237695c5e initial version of generic network address structure 1999-05-26 06:21:08 +00:00
Andreas Gustafsson acfa3ff9c8 simplified quantize(); fill memory with nonzero values if ISC_MEM_FILL==1 1999-05-26 06:10:09 +00:00
Michael Graff 03b062e71a minor formatting change 1999-05-25 23:18:33 +00:00
Michael Graff 2f83b032a6 allow easy debugging of the LOCK() and other macros 1999-05-22 10:42:17 +00:00
Michael Graff 3402c82442 Don't attach to socket in the done event anymore, and GC the done_event_destroy() function. 1999-05-21 07:16:13 +00:00
Andreas Gustafsson f80c797d42 added network interface iterator 1999-05-20 12:31:30 +00:00
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
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
Andreas Gustafsson 278695c921 fixed apparent cut-and-paste-o in ISC_SOCKCANCEL_ACCEPT handler 1999-05-13 10:46:12 +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
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 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