Commit Graph
245 Commits
Author SHA1 Message Date
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 624f397db5 add DNS eventclass 1999-05-05 22:57:02 +00:00
Michael Graff 84d79ecd50 implement isc_dynbuffer_reset() 1999-04-29 05:59:51 +00:00
Michael Graff fb3dcb0b60 Use the prototypes from isc/list.h directly, rather than util.h hacks 1999-04-29 04:49:52 +00:00
Bob Halley 116208651c include big mallocs in quota 1999-04-27 23:42:50 +00:00
Bob Halley 16baa70f9d basic quota support; fix bugs in more_basic_blocks() 1999-04-27 23:20:10 +00:00
Bob Halley e7ba603417 basic quota support 1999-04-27 23:19:43 +00:00
Michael Graff 441a57f959 Add support for dyamic buffers. These are allocated using
isc_dynbuffer_allocate() and freed with isc_dynbuffer_free(), and are
a linkable buffer type with a built-in data area.
1999-04-19 23:56:36 +00:00
Bob Halley 120e76fc54 add stdtime 1999-04-09 01:08:46 +00:00
Bob Halley 6d356e35c6 add author info 1999-04-01 03:59:27 +00:00
Bob Halley 8bdb4ab2d1 only UNLOCK and then LOCK if actually sending an event 1999-04-01 01:09:28 +00:00
Michael Graff e0834816d7 clean up comments 1999-03-30 06:22:28 +00:00
Michael Graff d4aa1c590e more fixes. 1999-03-30 06:18:45 +00:00
Michael Graff b73eb944cd Changes talked about at IETF -- code cleanup, result code cleanup, etc 1999-03-29 23:56:06 +00:00
Michael Graff 1b1bc2a9d5 mention that UDPs are always "partial read" 1999-03-29 20:02:41 +00:00
Bob Halley 9b8123723a add comment 1999-03-09 22:50:13 +00:00
Bob Halley a823c4f11a requirement update 1999-03-07 19:21:49 +00:00
Bob Halley b929562c6c start adding interface comments 1999-03-07 19:21:37 +00:00
Bob Halley 7270737ca9 update copyrights 1999-03-06 04:03:53 +00:00
Bob Halley 7aacbd685b C++ compatibility 1999-03-04 02:38:48 +00:00
Bob Halley cc884bc809 add INSERTBEFORE, INSERTAFTER, APPENDLIST 1999-03-04 02:38:10 +00:00
Bob Halley a358b1e42b update copyright 1999-03-04 02:37:49 +00:00
Bob Halley fa795c6d23 add ISC_LIST_APPENDLIST 1999-03-04 02:37:11 +00:00
Bob Halley b4113e7bd9 add 1999-03-04 02:35:52 +00:00
Bob Halley 478d45fc48 do not install inet.h; add lang.h 1999-03-04 02:35:46 +00:00
Bob Halley 86cbdf5783 update .h file installation lists 1999-02-18 01:26:24 +00:00
Bob Halley b420577e13 add consume macros 1999-02-16 20:08:59 +00:00
Bob Halley 19511ab025 commenting improvement 1999-02-12 02:04:41 +00:00
Michael Graff 882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Mark Andrews 07c7ca6f31 isc_mem_strdup() result was not being checked. 1999-02-10 05:22:57 +00:00
Michael Graff 491b48ec3f First pass at addrlength grossness cleanup. Man, this is ugly. 1999-02-06 08:48:08 +00:00
Bob Halley 14cb69a4f7 add missing isc_ 1999-02-06 01:51:36 +00:00
Bob Halley 6fce0bb174 add str.o 1999-02-06 01:16:58 +00:00
Mark Andrews e4653123ec isc_lex_getsourcename()
isc_lex_getsourceline()
	convert uint#_tobuffer() to use isc_buffer_putuint#()
1999-02-05 06:41:21 +00:00
Mark Andrews 15330e4fa2 isc_strtouq() 1999-02-05 04:57:20 +00:00
Michael Graff 2e511564c5 work around broken lameness 1999-02-04 22:52:09 +00:00
Bob Halley 5a7a0823f4 fix cut-and-paste error 1999-02-02 00:39:44 +00:00
Bob Halley a6d40879d4 add inet_pton 1999-02-02 00:37:09 +00:00
Michael Graff c810fcbf6c Add isc_inet_aton() and a check to use system inet_aton() 1999-01-30 04:27:48 +00:00
Michael Graff 0e0b744f61 Make <isc/types.h> which will include all the base types like <isc/int.h>. 1999-01-30 03:09:04 +00:00
James Brister 4182ae60b0 Added ISC_R_INVALIDFILE 1999-01-30 00:54:32 +00:00
Michael Graff f5375f2b93 u_long u_long; -> unsigned long ulong; 1999-01-30 00:29:31 +00:00