Commit Graph
458 Commits
Author SHA1 Message Date
David Lawrence 7c74e180c2 update_copyrights 2000-06-22 03:00:36 +00:00
Brian Wellington 386a52a5ea Add isc/unix/os.c, which has isc_os_ncpus() 2000-06-22 01:06:35 +00:00
David Lawrence 49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
Andreas Gustafsson 0302c5670c do includes in alphabetical order 2000-06-21 17:27:55 +00:00
Michael Graff 96e79f7ede Fully implement callback sources, and add a test program to test it. 2000-06-21 00:04:57 +00:00
Michael Graff b9672b61d8 add processing of sample sources, and of callback sources 2000-06-20 19:01:13 +00:00
David Lawrence 4acd8d2afe build fsaccess 2000-06-20 04:09:48 +00:00
David Lawrence 1f5eafd61b added ISC_R_NOTFILE and ISC_R_NOTDIRECTORY 2000-06-20 04:07:21 +00:00
David Lawrence 60f67141b8 added isc_fsaccess_t 2000-06-20 04:06:23 +00:00
David Lawrence a904de0bc8 OS-independent filesystem permissions 2000-06-20 04:06:01 +00:00
Michael Graff 6d81064bf7 include isc/formatcheck.h 2000-06-19 22:16:25 +00:00
Michael Graff 9550eb2dab add formatcheck.h 2000-06-19 21:45:05 +00:00
David Lawrence afd7f38277 style lint 2000-06-19 19:18:45 +00:00
Brian Wellington 0c7b7a19e5 Use GCC's format attribute for better error checking when possible. 2000-06-19 18:02:32 +00:00
Michael Graff 7685c082c8 remove flags from source types. It was never used, and probably shouldn't be there. 2000-06-17 01:42:21 +00:00
Michael Graff fd316ab4f9 snapshot 2000-06-17 01:30:40 +00:00
Michael Graff 9ceb50ed04 protect isc_entropy_stats() with a lock, and use a static dumpstats() internally when a lock is already held, for debugging. Add isc_entropy_putdata() which can be used to prime the pool. 2000-06-17 00:43:11 +00:00
Michael Graff e92d6ed5e7 snapshot 2000-06-16 01:38:13 +00:00
Michael Graff f64ded0ac7 set ISC_SOCKEVENTATTR_MULTICAST on packets received from a multicast address 2000-06-15 18:25:49 +00:00
Michael Graff d80da258e3 Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast() 2000-06-15 18:23:54 +00:00
Michael Graff d2e9c94edb Add ISC_R_MULTICAST 2000-06-15 18:21:38 +00:00
Michael Graff c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +00:00
Andreas Gustafsson aa79283a0d 257. [bug] The server detached the last zone manager reference
too early, while it could still be in use by queries.
                        This manifested itself as assertion failures during the
                        shutdown process for busy name servers (RT #133).

 256.   [func]          isc_ratelimiter_t now has attach/detach semantics, and
                        isc_ratelimiter_shutdown guarantees that the rate
                        limiter is detached from its task.

 255.   [func]          New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Andreas Gustafsson 7e86b27bc0 typos in comments 2000-06-15 16:46:24 +00:00
Michael Graff f8b50c193f snapshot 2000-06-09 22:24:22 +00:00
Michael Graff 79fdce6aff add blocking mode, and add a flag to indicate the input is a device 2000-06-09 21:36:51 +00:00
Michael Graff b90f80957a use create/attach/detach semantics 2000-06-09 19:18:56 +00:00
Michael Graff b48abf6b85 snapshot 2000-06-09 17:25:41 +00:00
Michael Graff c6e2d36708 snapshot 2000-06-09 02:00:22 +00:00
Michael Graff 60a7475dd8 checkpoint 2000-06-08 22:18:53 +00:00
Michael Graff 81b7c342c4 s/ISC_R_ENTROPY/ISC_R_NOENTROPY/g 2000-06-08 22:17:03 +00:00
Michael Graff d10733a5a3 add ISC_R_ENTROPY 2000-06-08 19:23:04 +00:00
Michael Graff 016742f7d8 add stirring functions and other bits. Snapshot. 2000-06-08 06:35:49 +00:00
Michael Graff 270ad529d3 snapshot 2000-06-07 22:15:55 +00:00
Michael Graff 17b8fc714a snapshot 2000-06-07 20:55:12 +00:00
Brian Wellington 1ee3b153b6 Added length constants, changed _final parameter from array to pointer. 2000-06-07 02:28:43 +00:00
Michael Graff f2314fbd79 fix comments 2000-06-07 01:17:06 +00:00
Michael Graff bb2d54f1b3 build md5.c 2000-06-07 00:49:04 +00:00
Michael Graff 801c511ecd s/u_int/unsigned int/g 2000-06-07 00:30:42 +00:00
Michael Graff 676c534c8d We really don't need to export the sha1 transform() function, it is internal only. 2000-06-07 00:22:32 +00:00
Michael Graff 74da616f07 add sha1 implementation 2000-06-07 00:15:19 +00:00
Brian Wellington 54ef500660 Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern
defaulting to ISC_FALSE.
2000-06-06 18:07:38 +00:00
Andreas Gustafsson f6684513fa style; no functional change 2000-06-06 17:50:38 +00:00
Andreas Gustafsson ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
David Lawrence ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
Michael Graff 2f1059efb7 checkpoint 2000-06-03 02:15:08 +00:00
David Lawrence 87cafc5e70 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 was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Andreas Gustafsson 6c7bfa7c59 added ISC_NETADDR_FORMATSIZE as a counterpart to
ISC_SOCKADDR_FORMATSIZE and commented them both
2000-05-26 16:39:28 +00:00
Andreas Gustafsson 8eaa51a699 new functions isc_netaddr_totext() and isc_netaddr_format() 2000-05-26 00:41:03 +00:00
Andreas Gustafsson 1b106e224d typo: *lcfgp points to a logging configuration
not a logging context
2000-05-25 05:07:21 +00:00