2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-24 02:58:38 +00:00

30 Commits

Author SHA1 Message Date
Mark Andrews
3a34b87c87 Add cache cleaning support (disabled). 2000-08-31 12:15:17 +00:00
Brian Wellington
5e387b9ce6 and more calls to DESTROYLOCK 2000-08-26 01:37:00 +00:00
Andreas Gustafsson
7acfb3bcd2 previous change did not compile 2000-08-18 22:32:45 +00:00
Andreas Gustafsson
618a5e4923 dns_cache_setcleaninginterval() could try to access
timer after it had been freed
2000-08-18 21:22:26 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
951c247f29 style lint 2000-07-26 21:44:34 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
David Lawrence
6d12fdf966 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.

rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.

Some minor integer-compatibility issues.  (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast.  The type of an
enum member is int, so there are some conversion issues there, too.)

A pointers-to-function should not be cast to a pointer-to-object.

Variables should not be named for C reserved identifiers.

One or two set-but-not-used variables removed.

Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
David Lawrence
09f22ac5b0 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Andreas Gustafsson
82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
David Lawrence
fc8a6561cb include isc/time.h 2000-04-25 19:35:39 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Bob Halley
f80ea74e19 isc_task_create() API change; attach to mctx 2000-04-12 01:37:41 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson
2539896175 do not indent CVS ID comment 2000-03-17 17:49:37 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Andreas Gustafsson
7618f0551e replaced several RUNTIME_CHECK()s with less fatal means
of error reporting; fixed some potential leaks
2000-02-03 18:59:24 +00:00
Bob Halley
e485d16462 name tasks 2000-01-25 19:31:23 +00:00
Bob Halley
5dbf258e2c add comment 2000-01-21 02:49:07 +00:00
Andreas Gustafsson
a243aeb92b always log both 'begin cache cleaning' and 'end cache cleaning',
or neither one, but never one without the other
2000-01-08 02:12:57 +00:00
Andreas Gustafsson
a928d61917 fixed a race condition where a cache cleaning cycle could
be started when one was already in progress; restructured to destroy and recreate
the cache database iterator between cleaning cycles instead of just pausing it
2000-01-06 01:12:20 +00:00
Andreas Gustafsson
ed04318ef6 timer event could arrive after cache cleaner was destroyed;
use the new <isc/util.h>
2000-01-04 23:24:13 +00:00
Andreas Gustafsson
9b0e18da3d dns_result_t/isc_result_t unification 1999-12-22 17:37:31 +00:00
Andreas Gustafsson
8f79820c69 wired up the 'cleaning-interval' config option 1999-12-17 01:02:49 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson
2d29b080fc use a reasonable default cache cleaning interval of 2 hours
until the cleaning-interval config file option gets wired up
1999-12-02 23:53:08 +00:00
Andreas Gustafsson
b120e39dea renamed dns_cache_getdb() to dns_cache_attachdb(); removed debug printf 1999-12-02 22:35:29 +00:00
Andreas Gustafsson
f951f076f3 added cache code from late spring; it is not yet used 1999-11-29 17:58:39 +00:00