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