Mark Andrews
1ed28495fe
sync against trunc
2003-10-07 03:28:41 +00:00
Mark Andrews
761b909ee7
1430. [port] linux: IPv6 interface scanning support.
...
1362. [bug] remove IFF_RUNNING test when scanning interfaces.
1300. [port] Compaq Trucluster support.
1292. [func] Enable IPv6 support when using ioctl style interface
scanning and OS supports SIOCGLIFADDR using struct
if_laddrreq.
1065. [func] Runtime support to select new / old style interface
scanning using ioctls.
1024. [port] Compilation failed on HP-UX 11.11 due to
incompatible use of the SIOCGLIFCONF macro
name. [RT #1831 ]
2003-09-10 05:12:54 +00:00
Mark Andrews
50d044736d
1065. [func] Runtime support to select new / old style interface
...
scanning using ioctl
2003-09-02 04:51:12 +00:00
Mark Andrews
bf4c32bd2d
1475. [port] Probe for old sprintf().
2003-09-02 02:10:51 +00:00
Mark Andrews
26fbc6cb34
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-09-02 01:49:48 +00:00
Mark Andrews
6d9ed85949
1457. [port] Provide strlcat() and strlcpy() for platforms without
...
them.
2003-08-27 06:44:02 +00:00
Mark Andrews
a84b20bbb0
1454. [port] Use getifaddrs() if available for interface scanning.
...
--disable-getifaddrs to override. Glibc currently
has a getifaddrs() that does not support IPv6.
Use --enable-getifaddrs=glibc to force the use of
this version under linux machines.
2003-08-27 03:15:26 +00:00
Mark Andrews
4ddffdf9be
version.h
2003-08-27 01:27:34 +00:00
Mark Andrews
4154634631
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-08-26 03:24:14 +00:00
Mark Andrews
c3fedc9282
1402. [cleanup] A6 has been moved to experimental and is no longer
...
fully supported.
2003-08-25 04:16:27 +00:00
Mark Andrews
68b63c87ea
check for the existance of if_nametoindex().
2003-08-25 03:31:57 +00:00
Mark Andrews
763f9d9836
pullup:
...
u_int32_t -> isc_uin32_t
2003-08-22 06:09:25 +00:00
Mark Andrews
8f570b8b09
pullup:
...
u_int#_t -> isc_uint#_t
2003-08-22 06:08:37 +00:00
Mark Andrews
370732d189
1391. [func] Add support for IPv6 scoped addresses in named.
2003-08-22 05:17:15 +00:00
Mark Andrews
05e00f411b
pullup:
...
add a new log module, timer
2003-08-21 02:02:04 +00:00
Mark Andrews
013781e021
pullup:
...
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_
timermgr_poke
2003-08-20 07:13:06 +00:00
Mark Andrews
d735ed8b1f
1341. [func] Allow a rate limiter to be stalled.
2003-08-19 02:49:00 +00:00
Mark Andrews
d8cdda8e1d
pullup:
...
isc_modules[2] not isc_modules[3]
2003-08-15 04:03:56 +00:00
Mark Andrews
f87cbb4806
dd "interface" module
2003-08-15 04:02:46 +00:00
Mark Andrews
b4a3336bb2
1283. [func] Use "dataready" accept filter if available.
2003-08-15 01:16:06 +00:00
Mark Andrews
c5e54cacda
1246. [func] New functions isc_sockaddr_issitelocal(),
...
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
and isc_netaddr_islinklocal().
2003-08-14 04:25:09 +00:00
Mark Andrews
3b8a9158fa
pullup:
...
add isc_parse_uint16() and isc_parse_uint8()
2003-08-14 00:38:32 +00:00
Mark Andrews
50cd7e51de
pullup:
...
isc_lex_setsourcename(), for use when lexing buffers or streams
2003-08-13 06:13:02 +00:00
Mark Andrews
ae643dbc34
pullup: misc cleanups
2003-08-13 05:06:53 +00:00
Mark Andrews
e6f17dd534
1171. [func] Added function isc_region_compare(), updated files in
...
lib/dns to use this function instead of local one.
2003-08-12 14:16:17 +00:00
Mark Andrews
9052beb238
pullup
...
Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2003-08-11 05:28:23 +00:00
Mark Andrews
2e7d97c5ba
1151. [bug] nslookup failed to check that the arguments to
...
the port, timeout, and retry options were
valid integers and in range. [RT #2099 ]
1150. [bug] named incorrectly accepted TTL values
containing plus or minus signs, such as
1d+1h-1s.
1149. [func] New function isc_parse_uint32().
2003-08-11 04:48:07 +00:00
Mark Andrews
e1ccb64c24
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2003-08-08 06:50:17 +00:00
Mark Andrews
f278e2135b
pullup DESTROYMUTEXBLOCK, EMPTY_TRANSLATION_UNIT and TIME_NOW
2003-08-08 04:39:46 +00:00
Mark Andrews
636f97b356
1067. [func] Allow quotas to be soft, isc_quota_soft().
2003-08-07 03:39:26 +00:00
Mark Andrews
13dde62605
1058. [func] Limited lifetime ticker timers are now available,
...
isc_timertype_limited.
2003-08-06 06:18:07 +00:00
Mark Andrews
abd79e7de8
970. [func] 'max-journal-size' can now be used to set a target
...
size for a journal.
2003-07-31 06:56:51 +00:00
cvs2git
fb4531edb3
This commit was manufactured by cvs2git to create branch 'v9_3'.
2003-07-30 02:00:55 +00:00
Mark Andrews
5a042e1d08
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 07:30:43 +00:00
Mark Andrews
7848bfa033
missing '*'
2003-07-25 05:05:28 +00:00
Mark Andrews
d5d2dca925
missing '*'
2003-07-25 05:02:54 +00:00
Mark Andrews
1d04b5105d
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 03:31:45 +00:00
cvs2git
f03d3eeed2
This commit was manufactured by cvs2git to create branch 'v9_2'.
2003-07-25 02:22:27 +00:00
Mark Andrews
1e107b3d7b
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 02:22:26 +00:00
Mark Andrews
4c54e122fe
silence compiler warning (HPUX/11i)
2003-07-24 06:41:20 +00:00
Mark Andrews
bfee2789a6
silence compiler warning (HPUX/11i)
2003-07-24 06:31:55 +00:00
cvs2git
79df9ecfdd
This commit was manufactured by cvs2git to create branch 'v9_3'.
2003-07-23 06:58:00 +00:00
Mark Andrews
f4d86cfcea
update_copyrights
2003-07-22 04:03:54 +00:00
Mark Andrews
f25e5800c0
1492. [cleanup] Preserve rwlock quota context when upgrading /
...
downgrading. [RT #5599 ]
2003-07-21 01:28:23 +00:00
Mark Andrews
17a14e451d
1492. [cleanup] Preserve rwlock quota context when upgrading /
...
downgrading. [RT #5599 ]
2003-07-21 01:14:18 +00:00
Mark Andrews
f95231835f
1475. [port] Probe for old sprintf().
2003-06-24 06:24:44 +00:00
Mark Andrews
090f79c6c2
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:18:39 +00:00
Mark Andrews
21f1794606
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
4b577580a0
1461. [bug] Remove deadlock from rbtdb code. [RT #5599 ]
2003-05-15 06:08:41 +00:00
Mark Andrews
064516e76a
pullup:
...
1389. [bug] named could fail to rotate long log files. [RT #3666 ]
2003-05-12 05:29:24 +00:00
Mark Andrews
163547c0c0
1461. [bug] Remove deadlock from rbtdb code. [RT #5999 ]
2003-04-17 01:56:35 +00:00
Mark Andrews
935000aa6e
1457. [port] Provide strlcat() and strlcpy() for platforms without
...
them.
2003-04-10 04:47:56 +00:00
Mark Andrews
8ca42f6318
1454. [port] Use getifaddrs() if available for interface scanning.
...
--disable-getifaddrs to override. Glibc currently
has a getifaddrs() that does not support IPv6.
Use --enable-getifaddrs=glibc to force the use of
this version under linux machines.
2003-04-01 05:18:22 +00:00
Mark Andrews
0ffaee887f
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
646182a67f
missing include
...
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
41f5cf4ac1
check for the existance of if_nametoindex().
...
developer: jinmei
reviewer: marka
2002-11-26 03:53:42 +00:00
Mark Andrews
e12b02b62c
u_int32_t -> isc_uin32_t
2002-10-28 02:23:54 +00:00
Mark Andrews
a3bcfd4660
u_int#_t -> isc_uint#_t
2002-10-28 02:16:21 +00:00
Mark Andrews
6526fd032f
1391. [func] Add support for IPv6 scoped addresses in named.
2002-10-24 03:52:35 +00:00
Tatuya JINMEI 神明達哉
959cf5e112
(RT #3666 ) named could fail to rotate long log files.
...
developer: marka
reviewer: jinmei
2002-10-16 13:15:30 +00:00
Michael Graff
88f7da4690
add a new log module, timer
2002-09-09 20:02:22 +00:00
Michael Graff
371147fdc5
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke
2002-09-08 18:35:55 +00:00
Mark Andrews
bfea32015e
update_copyrights
2002-08-06 06:09:07 +00:00
Mark Andrews
f1a43a3018
1330. [bug] When processing events (non-threaded) only allow
...
the task one chance to use to use its quantum.
2002-08-06 02:20:39 +00:00
Mark Andrews
891c424e56
update_copyrights
2002-08-05 06:57:16 +00:00
Mark Andrews
012a2b979e
1341. [func] Allow a rate limiter to be stalled.
2002-07-26 06:42:02 +00:00
Mark Andrews
0d993c02ba
1250. [bug] When processing events (non-threaded) only allow
...
the task one chance to use to use its quantum.
2002-07-19 03:39:44 +00:00
Mark Andrews
65bbe3a2cb
pullup:
...
There are four "i":s in "initialize"
2002-07-12 00:17:28 +00:00
Mark Andrews
a2564ceb47
reviewed: bwelling
...
1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
are not C++ compatible, use *_TYPE versions instead.
2002-07-10 05:30:01 +00:00
Mark Andrews
f324e3cfdf
reviewed: bwelling
...
1241. [bug] Drop received UDP messsages with a zero source port
as these are invariably forged. [RT #2621 ]
2002-07-10 00:04:57 +00:00
Mark Andrews
ecf7a18125
isc_modules[2] not isc_modules[3]
2002-07-01 01:39:45 +00:00
Mark Andrews
fe4d3e1992
hpux: ioctl(SIOCGLIFCONF) failure -> debug(1)
2002-07-01 01:08:37 +00:00
Mark Andrews
a1edcd1b8d
1203. [func] Use "dataready" accept filter if available.
2002-05-27 00:40:23 +00:00
Mark Andrews
0cd36f1d15
1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
...
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
are not C++ compatible, use *_TYPE versions instead.
2002-05-09 07:09:30 +00:00
Mark Andrews
79a6a33184
1246. [func] New functions isc_sockaddr_issitelocal(),
...
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
and isc_netaddr_islinklocal().
2002-04-03 06:38:38 +00:00
Mark Andrews
091b098b49
1241. [bug] Drop received UDP messsages with a zero source port
...
as these are invariably forged. [RT #2621 ]
2002-04-02 04:36:52 +00:00
Mark Andrews
b2f3e5c308
update_copyrights
2002-03-26 00:55:15 +00:00
Mark Andrews
93304856f9
add missing result codes
2002-03-20 21:29:47 +00:00
Brian Wellington
65c709f4de
add isc_parse_uint16() and isc_parse_uint8()
2002-02-28 20:08:06 +00:00
Brian Wellington
02e5f92113
isc_lex_setsourcename(), for use when lexing buffers or streams
2002-02-21 00:44:16 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784
There are four "i":s in "initialize"
2002-02-20 01:45:15 +00:00
Andreas Gustafsson
28e509b145
const correctness
2002-02-11 18:19:26 +00:00
Mark Andrews
73d7583d98
update copyrights
2002-02-08 03:57:47 +00:00
Andreas Gustafsson
93aba2cb04
The comment saying that the string passed to isc_log_settag()
...
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Mark Andrews
a818127616
pullup: cut-and-paste-o:s
2002-01-23 00:11:14 +00:00
Andreas Gustafsson
9cf6d43887
cut-and-paste-o:s
2002-01-11 01:30:32 +00:00
Brian Wellington
e74100e3f4
move isc_region_compare to isc/region.[ch], not isc/buffer.[ch]
2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
242bba8991
1151. [bug] nslookup failed to check that the arguments to
...
the port, timeout, and retry options were
valid integers and in range. [RT #2099 ]
1150. [bug] named incorrectly accepted TTL values
containing plus or minus signs, such as
1d+1h-1s.
1149. [func] New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Mark Andrews
c78ef9f491
pullup:
...
Deal with AIX defining in6addr_any but not in6addr_loopback
in libc, even though both are declared in <netinet/in.h>. This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-02 00:20:12 +00:00
Andreas Gustafsson
9f6c66e1b3
Deal with AIX defining in6addr_any but not in6addr_loopback
...
in libc, even though both are declared in <netinet/in.h>. This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Mark Andrews
1255d388f0
1067. [func] Allow quotas to be soft, isc_quota_soft().
2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c
1065. [func] Runtime support to select new / old style interface
...
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Mark Andrews
9234d92d4e
1058. [func] Limited lifetime ticker timers are now available,
...
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
dcfc52bbba
Added a version.h file for each library; made version
...
variables const
2001-10-16 23:21:07 +00:00
Mark Andrews
40dd9cb8cc
1024. [port] HP and Sun decided to use the same macros and
...
structures for different things.
2001-10-03 05:08:32 +00:00
Mark Andrews
c54091c8ed
IPv6 addresses containing mapped IPv4 addresses generate the same hash
...
value as the equivalent IPv4 address. This is now true regardless of
the value of address_only. Document.
2001-10-02 06:06:15 +00:00
Mark Andrews
e0806ab5ed
Correct comment saying that 'max_size' is ignored.
2001-09-07 00:51:51 +00:00
Andreas Gustafsson
50a8312c9f
#define ISC_MEM_TRACKLINES 1
2001-09-06 23:03:17 +00:00
Andreas Gustafsson
6d858e75d4
more documentation; indentation
2001-09-06 22:13:47 +00:00
Andreas Gustafsson
18159f6f60
document what ISC_MEM_DEBUG does; clarify descriptions of other
...
memory debugging options
2001-09-06 18:23:35 +00:00
Andreas Gustafsson
3f538ef15c
pullup:
...
[RT #1709 ]
Change isc_entropy_usebestsource() to have saner semantics:
- If an invalid file is specified, an error will be returned instead of the
keyboard being used.
- If no file is specified but a random device is present, the keyboard will
be used if there is an error opening the random device.
- ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
only device used. Otherwise, passing '-r keyboard' is meaningless
on a machine with a random device, since the keyboard will not be used.
Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-06 00:14:18 +00:00
Brian Wellington
ed29aefe31
[RT #1709 ]
...
Change isc_entropy_usebestsource() to have saner semantics:
- If an invalid file is specified, an error will be returned instead of the
keyboard being used.
- If no file is specified but a random device is present, the keyboard will
be used if there is an error opening the random device.
- ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
only device used. Otherwise, passing '-r keyboard' is meaningless
on a machine with a random device, since the keyboard will not be used.
Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Andreas Gustafsson
c2df80e759
lower case
2001-08-30 20:40:27 +00:00
Mark Andrews
59251c9e9c
isc_file_truncate()
2001-08-30 04:55:36 +00:00
cvs2git
92e662f530
This commit was manufactured by cvs2git to create branch 'v9_3'.
2001-08-30 04:33:22 +00:00
Mark Andrews
aac5a28f1f
LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h
2001-07-18 08:15:23 +00:00
Andreas Gustafsson
ba35e9924e
added isc_file_ischdiridempotent()
2001-07-16 18:33:02 +00:00
Andreas Gustafsson
dee69dd3aa
renamed isc_file_getabsolutepath() to isc_file_absolutepath()
...
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
9115330256
coding style
2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48
Updates to support win32
2001-07-16 03:52:14 +00:00
Danny Mayer
c4958494a9
Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup
2001-07-12 05:58:28 +00:00
David Lawrence
37aa910318
ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk
2001-07-11 05:32:55 +00:00
Andreas Gustafsson
305795c093
finish app.h move
2001-07-06 22:12:21 +00:00
Andreas Gustafsson
96ed624253
923. [bug] Multiline TSIG secrets (and other multiline strings)
...
were not accepted in named.conf. [RT #1469 ]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
675a191f43
moved <isc/app.h> to OS-independent include directory
2001-07-06 19:50:05 +00:00
Mark Andrews
950d71eee3
allow maximum inuse memory to be tracked.
2001-06-27 23:29:29 +00:00
David Lawrence
9bfa90768a
907. [func] The ability to get entropy from either the
...
random device, a user-provided file or from
the keyboard was migrated from the DNSSEC tools
to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
Andreas Gustafsson
19872fdfb7
convert more socket errors to specific ISC error codes, notably ECONNRESET
2001-06-15 22:07:51 +00:00
David Lawrence
504f7802d4
893. [func] Removed isc_file_test() and added isc_file_exists()
...
for the basic functionality that was being added
with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
338d559b3e
remove extraneous blank line
2001-06-06 21:02:43 +00:00
David Lawrence
65640f401a
Removed the requirement for isc_mem_setwater() that when the callback function
...
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0. Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration). This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +00:00
David Lawrence
50b7860fff
new function isc_file_test() as framework for determining various attributes
...
of a pathname
2001-05-31 10:53:14 +00:00
Andreas Gustafsson
c3ebcedbe5
Add isc_file_progname(), with trivial POSIX implementation, and
...
call it from main(). A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Brian Wellington
d144ea1d1c
isc_file_basename should return a (const char *)
2001-05-05 02:47:21 +00:00
Brian Wellington
f2194a8ba9
implement isc_file_basename()
2001-05-03 18:59:30 +00:00
Andreas Gustafsson
5e194abb5b
814. [bug] Socket objects left over from accept() failures
...
were incorrectly destroyed, causing corruption
of socket manager data structures.
813. [bug] File descriptors exceeding FD_SETSIZE were handled
badly. [RT #1192 ]
2001-04-26 23:45:55 +00:00
Brian Wellington
672056d560
797. [func] Issue a warning if the 'directory' option contains
...
a relative path. [RT #269 ]
2001-03-29 02:33:48 +00:00
Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +00:00
Brian Wellington
6eccf5bd07
788. [feature] Add the "match-mapped-addresses" options, which
...
causes IPv6 v4mapped addresses to be treated as
IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington
734ae1f7c6
isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx.
2001-03-22 00:07:07 +00:00
David Lawrence
a82fd2c01b
added non-blocking locking, isc_rwlock_trylock()
2001-03-08 00:55:15 +00:00
Brian Wellington
2eb3dafdcf
Add the socket flag ISC_R_NORETRY, which makes the socket code treat
...
a soft error as a hard error on send (that is, not retry it). It also
modifies the code calling sendmsg() to retry on EINTR.
2001-03-06 01:23:03 +00:00
Danny Mayer
943322a123
Remove LIBISC_EXTERNAL_DATA usage
2001-03-05 18:47:00 +00:00
Danny Mayer
8096fe1df5
put function declaration on new line
2001-03-05 18:20:24 +00:00
David Lawrence
c56c28c3f2
grammatical typo in comment
2001-03-05 12:34:02 +00:00
Andreas Gustafsson
28a3d52904
define ISC_PLATFORM_QUADFORMAT in platform.h so that it can more easily
...
be overridden on Win32. This means ISC_PLATFORM_LONGLONGEQUALLONG is no longer
needed. [RT #896 ]
2001-02-27 02:22:17 +00:00
Mark Andrews
df0f58959e
752. [func] Correct bad tv_usec elements returned by gettimeofday().
2001-02-23 23:12:28 +00:00
Andreas Gustafsson
042285a6a6
localization-wise, an assertion error message saying
...
(literally) "INSIST(isc_msgcat_get(isc_msgcat, ISC_MSGSET_PRINT, ISC_MSG_USELD,
"use %ld instead of %D") == NULL) failed" is not really any more user-friendly
than one saying just "INSIST("use %ld instead of %D" == NULL) failed
2001-02-22 19:12:57 +00:00
Andreas Gustafsson
4115f9d34b
revert 'protect long long with ISC_PLATFORM_HAVELONGLONG' change
2001-02-22 18:01:48 +00:00
Mark Andrews
0490a61acd
protect long long with ISC_PLATFORM_HAVELONGLONG
2001-02-21 06:13:33 +00:00
Mark Andrews
754cca729d
add long long test
2001-02-21 06:09:56 +00:00
Brian Wellington
94178e98f8
isc_base64_decodestring should take a const char *, not a char *
2001-02-15 23:21:47 +00:00
Andreas Gustafsson
02940eaf0f
736. [func] New functions isc_task_{begin,end}exclusive().
2001-02-13 04:11:44 +00:00
Andreas Gustafsson
ea16b37d71
install refcount.h
2001-02-12 23:11:05 +00:00
Brian Wellington
1f7f8d5c07
Add isc_socket_sendto2() and isc_socket_recv2(). These versions take
...
a partially constructed event and flags. The flags can include
ISC_SOCKFLAG_IMMEDIATE, which means that if the operation completes, the
event is filled in and not sent.
2001-02-12 21:43:17 +00:00
Brian Wellington
a13ca8a125
Add ISC_R_INPROGRESS (operation in progress)
2001-02-12 20:03:16 +00:00
Andreas Gustafsson
1d625775ee
note that max_size and target_size apply only when
...
ISC_MEM_USE_INTERNAL_MALLOC is set
2001-02-09 19:19:17 +00:00
Andreas Gustafsson
dd0ef1a9d3
removed the unused and undocumented functions
...
isc_mem_preallocate(), isc_mem_valid(), isc_mem_setsplit(), and
isc_mem_restore()
2001-02-09 19:05:23 +00:00
Andreas Gustafsson
c674a8d5e7
documented the isc_mem_* interface
2001-02-09 18:51:20 +00:00
Andreas Gustafsson
3f53ec3bd7
added missing copyright message; ISC_REFERENCE_H -> ISC_REFCOUNT_H
2001-02-09 00:26:20 +00:00
Andreas Gustafsson
b7f7a77d56
#include <isc/mutex.h>
2001-02-09 00:20:01 +00:00
Brian Wellington
abc0c36dc3
The ISC__BUFFER_INIT macro had a typo.
2001-02-07 01:36:12 +00:00
Andreas Gustafsson
7e361074bc
724. [func] New libisc functions isc_netaddr_any(),
...
isc_netaddr_any6().
2001-02-02 02:48:47 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Brian Wellington
dd66e6306b
Remove isc_socket/[send|recv]mark, which were never used.
2001-01-26 23:17:26 +00:00
Mark Andrews
4ae98f5100
Use approptiate typoe based on configure results.
2001-01-23 05:13:25 +00:00
Mark Andrews
66ad1d85cb
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 04:47:56 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Brian Wellington
7357590bee
656. [func] Treat an unescaped newline in a quoted string as
...
an error. This means that TXT records with missing
close quotes should have meaningful errors printed.
2001-01-05 01:02:26 +00:00
Mark Andrews
4e7942dc76
648. [port] Add support for pre-RFC2133 IPv6 implementations.
2001-01-03 13:13:14 +00:00
Brian Wellington
ee303f481d
639. [bug] Reading entropy from the keyboard would sometimes fail.
...
[RT #591 ]
note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence
8ab1d97093
sigh. "define" -> "defined". never make trivial changes without retesting.
2000-12-26 21:06:49 +00:00
David Lawrence
125a916d1a
637. [port] Use isc_u?int64_t instead of (unsigned) long long in
...
lib/isc/print.c. Also allow lib/isc/print.c to
be compiled even if the platform does not need it.
[RT #592 ]
Also cleaned up some const issues.
2000-12-26 21:00:41 +00:00
David Lawrence
0b3427d15c
636. [port] Shut up MSVC++ about a possible loss of precision
...
in the ISC__BUFFER_PUTUINT*() macros. [RT #592 ]
This is the basically the same change made to buffer.c before the macros
were created:
revision 1.18
date: 1999/09/23 17:54:57; author: tale; state: Exp; lines: +4 -4
Shut up MSVC++ compiler warning about loss of precision when assigning
8 bits masked out of a 32 bit int to individual bytes.
Also, an #if 0 around "#define ISC_BUFFER_USEINLINE" was removed, per the
ISC coding style, and instead a comment was used to disable the definition.
2000-12-26 20:51:14 +00:00
David Lawrence
f8da2d9583
634. [bug] A log file will completely stop being written when
...
it reaches the maximum size in all cases, not just
when versioning is also enabled. [RT #570 ]
2000-12-23 19:23:48 +00:00
Brian Wellington
a644e87df7
Move the msgcat stuff into socket_log(), to avoid unnecessary calls to
...
isc_msgcat_get() and speed things up.
2000-12-19 20:35:37 +00:00
Andreas Gustafsson
6c29053a20
614. [bug] Checks for uninitialized link fields were prone
...
to false positives, causing assertion failures.
The checks are now disabled by default and may
be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
David Lawrence
b74896ead5
599. [func] Added four new functions to the libisc log API to
...
support i18n messages. isc_log_iwrite(),
isc_log_ivwrite(), isc_log_iwrite1() and
isc_log_ivwrite1() were added.
(The log.h/log.c changes were just minor formatting changes.)
2000-12-12 05:29:33 +00:00
Andreas Gustafsson
fc6f5743aa
use isc_log_iwrite() for localized logging,
...
to keep backwards compatibility
2000-12-12 00:18:01 +00:00
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