Michael Graff
7da0286b54
get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value.
2000-09-06 02:40:00 +00:00
Mark Andrews
6c6bed90cb
Add comments describing isc_mem_putanddetach().
2000-09-05 22:20:36 +00:00
Mark Andrews
1162a4e02a
New function isc_mem_putanddetach().
2000-09-05 03:30:19 +00:00
Andreas Gustafsson
50a3152b70
clarified comment
2000-08-31 16:58:28 +00:00
Mark Andrews
3a34b87c87
Add cache cleaning support (disabled).
2000-08-31 12:15:17 +00:00
Mark Andrews
68e32e13a5
#include <isc/platform.h>
2000-08-30 21:24:57 +00:00
Brian Wellington
3c7f352550
single-threaded versions.
2000-08-29 00:33:36 +00:00
Andreas Gustafsson
892abf3178
added configure option --enable-threads/--disable-threads,
...
define ISC_PLATFORM_USETHREADS
2000-08-28 23:51:21 +00:00
Brian Wellington
762b1edceb
DESTROYLOCK does not need a do { } while (0) construct.
2000-08-28 19:49:38 +00:00
Brian Wellington
6714319d0f
Add a DESTROYLOCK macro to wrap isc_mutex_destroy()
2000-08-26 01:23:17 +00:00
Brian Wellington
4e0c5cba87
Added isc_consttextregion_t
2000-08-17 23:33:04 +00:00
Andreas Gustafsson
708c4ac042
stubbed out ISLOCKED()
2000-08-17 18:33:41 +00:00
Mark Andrews
2910719100
Add ISLOCKED macro.
2000-08-17 09:25:38 +00:00
Brian Wellington
acba1142b4
The region passed to isc_buffer_copyregion() should be const.
2000-08-17 02:09:12 +00:00
Brian Wellington
90c917523e
entropy.h was missing from HEADERS, so it wasn't being installed.
2000-08-17 00:18:00 +00:00
David Lawrence
cd5a526372
ISC_R_NRESULTS was not bumped when ISC_R_FAMILYNOSUPPORT was added.
2000-08-15 23:30:22 +00:00
Mark Andrews
44215b932d
392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
...
not support the given address family requested.
391. [clarity] ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
2000-08-15 01:43:38 +00:00
Brian Wellington
5e989d1777
If isc_socket_bind tries to bind to a socket with a different address
...
family than the address specified, return a meaningful error.
2000-08-10 23:11:12 +00:00
Andreas Gustafsson
ff92fcaff3
some isc_sockaddr_* functions were undocumented, and others were
...
documented in the source file rather than the header file
2000-08-09 19:09:09 +00:00
Andreas Gustafsson
5bba7216f3
added isc_sockaddr_anyofpf()
2000-08-09 18:57:16 +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
f6f4d7ee0f
separate the ISC_R_NRESULTS macro from those that define result codes, for
...
clarity
2000-07-26 21:34:11 +00:00
Michael Graff
bfab56849d
Revamp memory stuff.
...
Now, if you define ISC_MEM_TRACKLINES, and set isc_mem_debugging = 2 first
thing in main(), isc_mem_stats() will dump the file/line where any leaking
allocations were made.
2000-07-26 19:06:20 +00:00
Andreas Gustafsson
97684ed87d
new functions isc_task_getname() and isc_task_gettag(),
...
to be used for debugging
2000-07-26 17:11:14 +00:00
Brian Wellington
9c4cba349f
334. [func] Added hmac-md5 to libisc.
2000-07-17 17:33:39 +00:00
Andreas Gustafsson
30576c592b
330. [func] New function isc_log_wouldlog().
2000-07-13 00:19:02 +00:00
David Lawrence
9bf765ab3a
328. [func] Added isc_base64_decodestring().
...
(This is basically bin/named/server.c:base64_cstring_tobuffer(), which I
will remove in another revision that will not need to be pulled up. I also
would like to change isc_base64_totext() and isc_base64_tobuffer() to be
isc_base64_encoderegion() and isc_base64_decodelexer(), unless there are
exceptions. I find their existing names to be quite confusing with regard to
what translation function each performs.)
2000-07-11 21:51:13 +00:00
Mark Andrews
b47f3dc885
Add isc_lex_isfile().
2000-07-10 05:11:18 +00:00
David Lawrence
de8e189332
300. [bug] Using both <isc/net.h> and <lwres/net.h> didn't work
...
on platforms lacking IPv6 because each included their
own ipv6 header file for the missing definitions. Now
each library's ipv6.h defines the wrapper symbol of
the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-01 01:41:54 +00:00
Andreas Gustafsson
fe8d130967
make install didn't work when using separate build dir
2000-06-30 00:29:29 +00:00
David Lawrence
de88422aec
only define ISC_MEM_DEBUG if it is not already defined, or if ISC_MEM_DEBUGOFF
...
is not defined. no need to pull this one up to v9_0.
2000-06-28 03:46:37 +00:00
David Lawrence
ac9e556e49
use isc/lang.h and fix ISC_STDIO_H wrapper
2000-06-23 03:03:14 +00:00
David Lawrence
e9acb52098
use isc/lang.h and fix ISC_SHA1_H wrapper
2000-06-23 03:02:58 +00:00
David Lawrence
76d6c9e54f
protect isc/formatcheck.h from check-includes.pl removal recommendation
2000-06-23 03:02:41 +00:00
David Lawrence
d7984899c8
use isc/lang.h
2000-06-23 03:02:04 +00:00
David Lawrence
bac5798358
use isc/lang.h and add protective ISC_FSACCESS_H wrapper
2000-06-23 03:01:46 +00:00
David Lawrence
8dfc0c1ab0
does not need isc/magic.h
2000-06-23 03:01:12 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
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