Andreas Gustafsson
dea478db31
isc_symexists_ policies were not referred to by their
...
true names in the header comments
2000-12-11 04:08:52 +00:00
Andreas Gustafsson
10e22ebcc3
605. [func] New function isc_lex_getlasttokentext().
2000-12-09 02:05:26 +00:00
David Lawrence
e544b507b8
602. [func] Cope automatically with UnixWare's broken
...
IN6_IS_ADDR_* macros. [RT #539 ]
2000-12-08 00:55:51 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
David Lawrence
b161f87be8
Updated API to support i18n message arguments to isc_log_{,v}write{,1}.
...
Provided isc_log_i{,v}write{,1}, with appropriate macro substitutions,
for files that are not yet converted to the new API. When everything
is converted, the added functions will be removed.
2000-12-07 19:30:28 +00:00
David Lawrence
77078ddc9a
added msgs.h
2000-12-06 01:24:24 +00:00
David Lawrence
87762baad1
oops, guess you guys need this
2000-12-06 01:21:51 +00:00
David Lawrence
9cd6d409b7
first pass at using isc_msgcat_get for message strings in libisc
2000-12-06 00:30:32 +00:00
Andreas Gustafsson
c52e5c8ed1
test the various memory debug flags with #if instead of #ifdef
...
so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler
command line; removed some historical cruft
2000-12-01 00:32:02 +00:00
Andreas Gustafsson
78aa86abc6
typos
2000-11-27 17:49:41 +00:00
Mark Andrews
8a0ff6c15c
576. [doc] isc_log_create() description did not match reality.
...
575. [bug] isc_log_create() was not setting internal state
correctly to reflect the default channels created.
2000-11-24 01:37:26 +00:00
Brian Wellington
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Andreas Gustafsson
fcf28b759c
Don't log ENFILE and EMFILE as unexpected errors
2000-11-18 02:56:48 +00:00
David Lawrence
21ec512685
some systems do not implement all of the resources of
...
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
Andreas Gustafsson
4b7018f4cc
illegal token after #endif
2000-11-15 01:31:45 +00:00
David Lawrence
6c7b702df1
symbolic constant for the format string of a 64 bit long
2000-11-14 23:40:31 +00:00
David Lawrence
d653744935
isc_resource_t, isc_resourcevalue_t
2000-11-14 23:39:34 +00:00
David Lawrence
015c481e8b
new functions, isc_resource_getlimit and isc_resource_setlimit, via new
...
header file, <isc/resource.h>
2000-11-14 23:39:15 +00:00
Brian Wellington
add4043305
The identical gettoken() routines in rdata.c, hex.c, and base64.c have
...
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +00:00
Brian Wellington
19e0a2c2d1
Add isc_hex_* routines, which handle conversion to and from hex strings.
2000-11-07 20:58:08 +00:00
Andreas Gustafsson
b28d2a3d7b
the established alternate spelling of 'template' is
...
'templet', not 'templat'
2000-10-20 22:09:01 +00:00
Mark Andrews
4b6d5b2312
528. [func] The ISC_LIST_XXXX macros now perform sanity checks
...
on their arguements. ISC_LIST_XXXXUNSAFE can be use
to skip the checks however use with caution.
2000-10-20 13:35:58 +00:00
Mark Andrews
643f42815f
Modified list macros w/ checking currently disabled.
2000-10-20 01:57:57 +00:00
Mark Andrews
9282d220f4
New functions isc_file_template(), isc_file_renameunique().
...
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate(). The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00
Mark Andrews
cd5475efa4
Describe and enforce the contract for isc_event_allocate().
...
Silent failure for bad args is not the BIND 9 way.
2000-09-27 22:53:33 +00:00
Brian Wellington
c76926d714
comment updates
2000-09-26 22:14:35 +00:00
Andreas Gustafsson
94361d5867
simplified isc_random_jitter() and eliminated floating
...
point from the code using it in zone.c
2000-09-26 17:23:19 +00:00
Andreas Gustafsson
922e6a3c2a
478. [bug] "make install" failed if the directory specified with
...
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Bob Halley
3302ed8d6e
bitstring assertion addition; doc fixes
2000-09-13 00:11:45 +00:00
Andreas Gustafsson
b7e031d517
435. [bug] dns_zone_dump() overwrote existing zone files
...
rather than writing to a temporary file and
renaming. This could lead to empty or partial
zone files being left around in certain error
conditions involving the initial transfer of a
slave zone, interfering with subsequent server
startup. [RT #282 ]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
e881887f18
commented
2000-09-08 21:25:21 +00:00
Andreas Gustafsson
7ec4367f3d
434. [func] New function isc_file_isabsolute().
2000-09-08 18:37:28 +00:00
Michael Graff
1deaf52c98
kill persistent errors. Always retry the I/O now.
2000-09-07 01:59:57 +00:00
Andreas Gustafsson
3bd723c53a
clarified comment
2000-09-06 16:25:35 +00:00
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