Commit Graph
2784 Commits
Author SHA1 Message Date
Andreas Gustafsson 16a107c904 rate limiter now has separate shutdown() and
destroy() functions, and it guarantees that all queued
events are delivered even in the shutdown case
2000-04-26 17:10:32 +00:00
David Lawrence b5dbab9c3f typedef isc_ondestroy_t moved to <isc/types.h> 2000-04-26 17:06:44 +00:00
Andreas Gustafsson 8e04f382b6 updated comments based on API review 2000-04-26 17:04:11 +00:00
Andreas Gustafsson bfcb9c7878 added ISC_EVENTCLASS_RATELIMITER 2000-04-26 16:59:18 +00:00
Andreas Gustafsson e2e72750af added ISC_EVENTATTR_CANCELED 2000-04-26 16:58:17 +00:00
David Lawrence 94da1ee12c Needs <ctype.h>, <stdio.h> and <stdlib.h> for isdigit, snprintf and strtoul
respectively.

#error if ISC_PLATFORM_NEEDVSNPRINTF is not defined.
2000-04-26 02:20:31 +00:00
David Lawrence 33e927bf86 98. [cleanup] <isc/print.h> does not need <stdarg.h> or <stddef.h>
unless ISC_PLATFORM_NEEDVSNPRINTF is defined.
2000-04-26 02:18:59 +00:00
David Lawrence 3e6b98586e <isc/ondestroy.h> does not need <stddef.h> or <isc/event.h>. 2000-04-26 01:54:48 +00:00
Mark Andrews 178f9cf89f fromstruct MUST NOT check mctx 2000-04-26 01:41:58 +00:00
David Lawrence 947bd6c648 <isc/mutex.h> does not need <isc/lang.h> or <isc/result.h>. 2000-04-26 01:29:27 +00:00
David Lawrence 878363c06b 95. [cleanup] <isc/mutexblock.h> does not need <isc/result.h>. 2000-04-26 01:18:24 +00:00
David Lawrence 31c0e4ba05 style lint 2000-04-26 01:12:02 +00:00
Andreas Gustafsson ad73ddc323 don't use 'new' as an identifier in installed
header files - it's a reserved word in C++
2000-04-26 01:01:23 +00:00
David Lawrence a890fbefa3 C++ reserves the word "template"; use "templet" as the parameter to
isc_file_openunique
2000-04-26 00:45:24 +00:00
David Lawrence 37cc3f596b oops, isc__file_mktemplate instead of isc_file_mktemplate 2000-04-26 00:44:36 +00:00
David Lawrence b8957f3496 93. [cleanup] <isc/msgcat.h> does not need <isc/result.h>. 2000-04-26 00:21:42 +00:00
David Lawrence c7f22f83aa 92. [cleanup] <isc/mem.h> does not need <stddef.h>, <isc/boolean.h>,
or <isc/result.h>.
2000-04-26 00:15:39 +00:00
David Lawrence c4717613e4 <isc/log.h> does not need <sys/types.h> or <isc/result.h> 2000-04-25 23:44:20 +00:00
Andreas Gustafsson fc4256ffdd need <isc/lang.h> 2000-04-25 23:29:02 +00:00
David Lawrence e8d3d40f0b do not include obsolete rbtgen.h in HEADERS 2000-04-25 23:16:59 +00:00
David Lawrence 11e0238bbe do not include obsolete mktemplate.h and ufile.h in HEADERS 2000-04-25 23:15:38 +00:00
David Lawrence d41c9885ec <isc/lex.h> does not need <stddef.h> 2000-04-25 23:08:16 +00:00
David Lawrence 334a4057e0 added isc_interface_t and isc_interfaceiter_t 2000-04-25 23:07:46 +00:00
David Lawrence 38feb01f1b 88. [cleanup] <isc/interfaceiter.h> does not need <isc/result.h> or
<isc/mem.h>.  isc_interface_t and isc_interfaceiter_t
                        moved to <isc/types.h>.
2000-04-25 22:55:50 +00:00
Michael Graff a02ad3bc33 bump to more aliases and more addresses 2000-04-25 22:46:09 +00:00
David Lawrence 802aa6f2b7 87. [cleanup] <isc/heap.h> does not need <isc/boolean.h>,
<isc/mem.h> or <isc/result.h>.
(... and now heap.c needs <isc/mem.h>.)
2000-04-25 22:32:26 +00:00
David Lawrence f42e994baf added isc_bufferlist_t 2000-04-25 22:30:13 +00:00
David Lawrence 5baea3a021 Move isc_bufferlist_t to isc/types.h.
Do not need isc/buffer.h or isc/list.h.
2000-04-25 22:29:55 +00:00
David Lawrence 2c34cafc1c include <isc/time.h> 2000-04-25 22:04:26 +00:00
David Lawrence 9cd39d7306 include <isc/types.h> instead of <isc/time.h> and <isc/result.h> 2000-04-25 22:04:08 +00:00
David Lawrence 408c676732 85. [cleanup] <isc/bufferlist.h> does not need <isc/mem.h>,
<isc/region.h> or <isc/int.h>.
2000-04-25 22:02:54 +00:00
David Lawrence cc43f2461d 82. [cleanup] <isc/buffer.h> does not need <isc/list.h>. 2000-04-25 21:44:27 +00:00
David Lawrence 1f41da8507 needs <stdlib.h> for strtoul 2000-04-25 21:23:04 +00:00
David Lawrence 58bc93c3dd 81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
<isc/lang.h>.
2000-04-25 21:16:12 +00:00
Michael Graff fa460c223a hard code some class bits -- they were more or less hard coded before anyway, and this method makes them clearer and faster (dns_rdataclass_{to,from}text()) 2000-04-25 21:11:50 +00:00
Michael Graff 18b8cd9e27 add dns_rdataclass_chaos and _reserved0 (used internally to rdata.c) to the enumclass.h file 2000-04-25 21:10:33 +00:00
David Lawrence 7ce81e15fa 80. [cleanup] <isc/print.h> does not need <stdio.h> or <stdlib.h>.
(and now dns/ttl.c needs it since it was taken out of isc/print.h)
2000-04-25 20:20:31 +00:00
David Lawrence 8fedfa7b45 79. [cleanup] <dns/callbacks.h> does not need <stdio.h>. 2000-04-25 20:13:54 +00:00
David Lawrence e1a5f4cd31 Shut up compiler about sigrdataset possibly being used before set in
nxtvalidate().  The warning is bogus.
2000-04-25 19:57:47 +00:00
David Lawrence 4b93234940 removed unused stack variable "byte" from dns_nxt_typepresent 2000-04-25 19:36:21 +00:00
David Lawrence fc8a6561cb include isc/time.h 2000-04-25 19:35:39 +00:00
David Lawrence 0a7bde9fa8 isc_interval_t and isc_time_t typedefs moved to isc/types.h 2000-04-25 19:33:07 +00:00
David Lawrence c23f524c07 include isc/task.h 2000-04-25 19:32:29 +00:00
David Lawrence e0f1d72aa5 include isc/time.h, minor style lint 2000-04-25 19:32:11 +00:00
Michael Graff 94a537e6ab optimize dns_rdatatype_fromtext() 2000-04-25 19:09:07 +00:00
David Lawrence 26037ecb22 Unlock zone->lock when skipping zone load because of database file's age.
Log at ISC_LOG_DEBUG(1) when dns_zone_load is entered, when it skips
loading because the file is older than the last load time, and when it
has successfully loaded the zone.
2000-04-24 23:30:46 +00:00
David Lawrence 6d4b6f9d4b added dns_c_ndcctx_getserver, minor style lint 2000-04-24 22:53:41 +00:00
David Lawrence acb62d86dc oops, had not removed ufile.c from SRCS 2000-04-24 22:11:46 +00:00
David Lawrence 1e44dac496 Use renamed functions, isc_mktemplate -> isc_file_mktemplate and
isc_ufile -> isc_file_ufile.

Don't load a zone if the database file for it is older than the last
time the zone was loaded.

Style lint.
2000-04-24 21:59:08 +00:00
David Lawrence c4819ad3e2 subsumed by file.c 2000-04-24 21:51:09 +00:00