Commit graph

1059 commits

Author SHA1 Message Date
Bob Halley
c8e5c5f5b4 isc_sockaddr_t now has a length 1999-07-07 02:04:27 +00:00
Bob Halley
4a3b0c4ba8 style stuff 1999-07-07 02:03:49 +00:00
Bob Halley
fcdd25f9dc convert to isc/net.h 1999-07-06 22:56:25 +00:00
Bob Halley
b0cab8639f Fix cut-and-paste problem with the debugging definition of isc_mempool_put(). 1999-06-29 19:06:26 +00:00
Bob Halley
e410f46def include netinet/in.h 1999-06-28 18:29:04 +00:00
Michael Graff
5c02d3183f add isc_sockaddr_equal() 1999-06-25 22:09:35 +00:00
Michael Graff
b456d80637 add isc_socket_gettype() 1999-06-25 01:36:52 +00:00
Bob Halley
96754ed7b4 put msgcat init in lib.c 1999-06-23 22:28:27 +00:00
Bob Halley
d8dcd6ad46 basic NLS support 1999-06-23 02:51:39 +00:00
Bob Halley
e44cd25d3f add isc_result_t and isc_msgcat_t 1999-06-23 02:50:03 +00:00
Bob Halley
0252805805 add missing .h files 1999-06-18 22:38:55 +00:00
Bob Halley
e4e071ae12 unified result type support 1999-06-18 22:35:18 +00:00
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
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
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
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
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
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
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
f80c797d42 added network interface iterator 1999-05-20 12:31:30 +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
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
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
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
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
Michael Graff
1b1bc2a9d5 mention that UDPs are always "partial read" 1999-03-29 20:02:41 +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
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
491b48ec3f First pass at addrlength grossness cleanup. Man, this is ugly. 1999-02-06 08:48:08 +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
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
Bob Halley
918ef3a73e save options before doing DNS multiline mode 1999-01-28 18:15:57 +00:00
Bob Halley
72614620fc better support for multiple sources 1999-01-28 08:38:42 +00:00
Bob Halley
f3d3847553 add ISC_R_NOMORE 1999-01-28 08:38:01 +00:00
Michael Graff
22f735acbc implement and use isc_buffer_putuint{16,32}() 1999-01-27 06:18:45 +00:00
Bob Halley
9455756dab add ISC_LEXOPT_MULTILINE 1999-01-26 08:24:31 +00:00
Bob Halley
516d43e889 add ISC_R_UNBALANCED 1999-01-26 08:23:55 +00:00
Michael Graff
64ba6e4cc3 make this go on the Alpha. 1999-01-22 04:35:11 +00:00
David Lawrence
910b2a8092 working single-level red/black tree code 1999-01-20 10:18:34 +00:00
Bob Halley
cada82f4ff add active region 1999-01-20 02:41:54 +00:00
Bob Halley
6a50a5b6dc per task mctx 1999-01-14 20:03:54 +00:00
Bob Halley
aa3a328647 add DNS_R_NOTIMPLEMENTED 1999-01-14 19:53:10 +00:00
Bob Halley
611163de84 minor cleanup 1999-01-13 19:32:32 +00:00
Bob Halley
08dbab20ef lint 1999-01-09 02:39:39 +00:00
Bob Halley
5aa416c8bd lint; text region support 1999-01-09 02:39:19 +00:00
Bob Halley
68109fb883 list macros now follow the naming convention 1999-01-09 00:20:27 +00:00
Bob Halley
63bd57250e add isc_buffer_getuint{16,32} 1999-01-07 02:06:48 +00:00
Bob Halley
4b1c5cc4ee add 1999-01-07 02:06:14 +00:00
Bob Halley
da46905010 add RUNTIME_CHECK 1999-01-06 20:02:14 +00:00
Bob Halley
005df5aba5 change from current pointer to current offset, other improvements 1999-01-06 05:37:54 +00:00
Bob Halley
c23afd025e update copyright 1999-01-06 05:33:05 +00:00
Bob Halley
d386111bff case sensitive switch for symbol tables 1999-01-04 22:30:28 +00:00
Bob Halley
903b7c030e add lex 1998-12-30 22:11:19 +00:00
Bob Halley
af0fce400b add new codes 1998-12-30 20:17:41 +00:00
Bob Halley
dad8d67ed0 add isc_mem_strdup 1998-12-30 20:17:02 +00:00
Bob Halley
a5e49e5f7e exists policy; module documentation 1998-12-19 00:14:33 +00:00
Bob Halley
88580572f0 undefine action 1998-12-18 21:17:49 +00:00
Bob Halley
8dcce6f922 change memctx to mem 1998-12-18 19:14:37 +00:00
Bob Halley
4cafb28abc change memctx to mem; cleanups; fix debug trace problem 1998-12-18 19:14:09 +00:00
Bob Halley
b2df2dafcd add ISC_R_NOTFOUND 1998-12-18 19:12:36 +00:00
Bob Halley
7c9b885120 add symtab 1998-12-18 19:06:16 +00:00
Bob Halley
131b0092c6 Improvements to the task shutdown process:
A shutdown event specification is no longer part of the
	isc_task_create() API.

	Multiple shutdown events can be requested with isc_task_onshutdown().
	Shutdown events are posted LIFO.

	The ability to send events can be enabled and disabled with
	isc_task_allowsend().

	Event actions return void; the only way to shutdown a task is to
	call isc_task_shutdown().

	There are no implicit event discards anymore.  (There is no need for
	them, since event actions cannot request immediate shutdown anymore.)
1998-12-16 02:02:10 +00:00
Bob Halley
3ee2a218d7 add ISC_R_TASKNOSEND and ISC_R_TASKSHUTTINGDOWN 1998-12-16 01:55:53 +00:00
Bob Halley
3740b569ae the great type change 1998-12-13 23:45:21 +00:00
Bob Halley
1633838b82 update copyrights 1998-12-12 20:48:14 +00:00
Bob Halley
f41f183f62 fix srcdir problems 1998-12-12 02:00:01 +00:00
Bob Halley
863beba874 add .cvsignore files 1998-12-11 21:09:59 +00:00
Bob Halley
6792dd6d22 conforming changes for new pool 1998-12-11 20:38:46 +00:00
Bob Halley
a5d43b7241 BIND9 Pool Creation 1998-12-11 20:10:26 +00:00
Michael Graff
0c7244d352 added marks, and cleaned up from the review from Bob. Still more to do, but
this catches most of it.
1998-12-10 16:14:05 +00:00
Michael Graff
7251d77646 snapshot 1998-12-05 00:28:13 +00:00
Bob Halley
da4242bf62 replace unexpect.[ch] and fatal.[ch] with error.[ch] 1998-12-04 20:00:26 +00:00
Michael Graff
c2be3539e9 snapshot 1998-12-04 11:21:11 +00:00
Michael Graff
a0084eaa9f checkpoint 1998-12-01 23:59:39 +00:00
Michael Graff
9de9ae0839 cleanup header file to list actual return codes, new entry conditions, etc 1998-12-01 17:58:34 +00:00
Michael Graff
a21e2e7fea connect works; snapshot 1998-11-26 00:10:33 +00:00
Bob Halley
9df01daac3 update 1998-11-16 23:50:01 +00:00
Bob Halley
6a632f6968 add ISC_R_EXISTS 1998-11-16 23:49:08 +00:00
Bob Halley
3a6c3beafc update 1998-11-16 23:17:42 +00:00
Michael Graff
4095b36415 try to get the address put into the returned structure, but no go yet 1998-11-15 11:48:21 +00:00
Bob Halley
e60efa407d change FIND to SEARCH 1998-11-14 02:41:06 +00:00
Bob Halley
18e5d28c86 add 1998-11-14 02:35:03 +00:00
Bob Halley
26ebe15d05 add magic 1998-11-12 23:30:58 +00:00
Bob Halley
994ba9c913 add write quota 1998-11-12 22:27:30 +00:00
Bob Halley
c8e7460242 add 1998-11-12 02:02:52 +00:00
Bob Halley
903c1c35fc add ISC_R_LOCKBUSY 1998-11-11 19:02:52 +00:00
Michael Graff
3d8e572880 writing works now, too. 1998-11-11 00:43:14 +00:00
Michael Graff
59b2e9c361 add ISC_R_TASKSHUTDOWN and use it in isc_task_send() 1998-11-10 20:57:32 +00:00
Michael Graff
a609982aa7 Small change to the isc_task_send() function: return ISC_R_SUCCESS if the
event was queued, return ISC_R_NORESOURCES if not.  The error return
needs to be something different.
1998-11-10 11:39:13 +00:00
Michael Graff
8871894f2d checkpoint. listen and read works, now. 1998-11-10 11:37:54 +00:00
Michael Graff
bb039bc91e snapshot 1998-11-10 01:56:44 +00:00
Michael Graff
7f9e707684 checkpoint 1998-11-06 01:45:35 +00:00
Michael Graff
1edb223dd3 return the number of items purged 1998-11-06 01:44:44 +00:00
Michael Graff
f02c1d9431 define more return codes 1998-11-06 01:44:19 +00:00
Bob Halley
5741be0b80 add event destructor 1998-11-03 19:05:12 +00:00
Michael Graff
6d05b41aae Commit socket code so far -- nowhere near done, but I don't wanna loose work. 1998-11-03 00:54:47 +00:00
Michael Graff
35921f41cf Add ISC_R_NORESOURCES, and redo where and how the last entry is set 1998-11-03 00:53:42 +00:00
Bob Halley
928da6e9e3 add 1998-10-29 02:01:20 +00:00
Bob Halley
a2a072eb23 use proper isc result type 1998-10-26 23:08:23 +00:00
Bob Halley
3cddfdd299 add new results 1998-10-26 23:07:15 +00:00
Bob Halley
db1e643c60 isc_interval_t conversion 1998-10-23 23:00:40 +00:00
Bob Halley
bf6d2e3912 more renaming 1998-10-22 01:33:20 +00:00
Bob Halley
de9282a1ea rename memcluster 1998-10-21 22:01:08 +00:00
Bob Halley
c92ba07101 more renaming 1998-10-21 02:26:57 +00:00
Bob Halley
5f74ac33a0 more renaming 1998-10-21 01:57:35 +00:00
Bob Halley
35815e1e2a more namespace cleanups 1998-10-21 01:16:18 +00:00
Bob Halley
f47bb8d1f3 many name conversions 1998-10-21 01:13:50 +00:00
Bob Halley
8b935d4a13 add 1998-10-21 01:08:12 +00:00
Bob Halley
b07f8da9cd eliminate timer_shutdown; add purging option to timer_reset 1998-10-16 23:57:51 +00:00
Bob Halley
918bae0f4b update 1998-10-16 21:41:30 +00:00
Bob Halley
a75f433c83 udpate 1998-10-16 20:20:31 +00:00
Bob Halley
2985234619 checkpoint 1998-10-16 01:18:31 +00:00
Bob Halley
4c7d0f3c38 add 1998-10-15 22:22:50 +00:00
Bob Halley
fda0ab6a96 add result 1998-10-14 22:35:04 +00:00
Bob Halley
18cc70d001 move some includes from task.h to task.c 1998-10-14 18:56:13 +00:00
Bob Halley
c1735aa89b cleanup 1998-10-14 01:41:55 +00:00
Bob Halley
232548d5d7 add event purging 1998-10-13 20:22:22 +00:00
Bob Halley
26d7020e2e update 1998-08-19 23:36:12 +00:00
Bob Halley
94123b5120 checkpoint 1998-08-19 21:46:15 +00:00
Bob Halley
dcd83f0e1c update 1998-08-19 01:38:06 +00:00
Bob Halley
50f339a799 update 1998-08-18 19:28:30 +00:00
Bob Halley
d6da3b9e10 update 1998-08-18 08:05:45 +00:00
Bob Halley
e7b7e6e746 checkpoint 1998-08-18 00:47:55 +00:00
Bob Halley
138d22b316 update 1998-08-18 00:34:54 +00:00