Andreas Gustafsson
b7bd8a11e4
headers should not #include themselves
2000-04-04 19:25:33 +00:00
Brian Wellington
fcdd365bbf
Moved isc_buffer_t typedef from buffer.h to types.h
2000-03-28 02:59:46 +00:00
Bob Halley
c653686224
fix typo
2000-03-27 23:46:45 +00:00
Andreas Gustafsson
5fe5a0c026
revised logging categories
2000-03-23 00:55:12 +00:00
Andreas Gustafsson
d132769ee8
the syslog facility for the default_syslog channel is
...
LOG_DAEMON, not LOG_INFO
2000-03-23 00:49:15 +00:00
Bob Halley
435532822d
deal with systems missing in6addr_any
2000-03-22 22:07:17 +00:00
Andreas Gustafsson
fabbe85253
some newlines were counted twice, causing incorrect
...
line numbers in error messages
2000-03-22 17:39:48 +00:00
Andreas Gustafsson
a782776175
do not indent CVS ID comments by one space
2000-03-21 00:37:36 +00:00
Bob Halley
0e58c0998d
don't catch SIGQUIT
2000-03-18 01:29:48 +00:00
David Lawrence
0e766071d0
clarified requires/ensures for isc_task_detach and isc_task_sendanddetach
2000-03-18 00:41:27 +00:00
David Lawrence
d5db7668a7
added ISC_EVENTCLASS_OMAPI
2000-03-18 00:40:33 +00:00
Andreas Gustafsson
2539896175
do not indent CVS ID comment
2000-03-17 17:49:37 +00:00
Bob Halley
6a02971368
don't define ISC_MEMPOOL_NAMES
2000-03-16 22:40:48 +00:00
Bob Halley
2190526544
Allow zero length allocations/deallocations.
2000-03-16 22:39:46 +00:00
Michael Graff
b206fa17b2
allocate space for cmsg more correctly. Grr.
2000-03-15 20:05:06 +00:00
Michael Graff
788354c051
Currently, descriptors with changes are sent to the watcher via a pipe.
...
Previously, both ends were set to non-blocking I/O. Now, only the
reader is set non-blocking. This means the writer will block for a while
if the pipe fills, but since the watcher is in a different thread from
the reader, the pipe will eventually drain, and the writer can continue.
This is really nothing more than a lock, just not a mutex-type lock.
2000-03-15 19:48:11 +00:00
Bob Halley
4dcfb5fb22
lint
2000-03-14 19:27:55 +00:00
Michael Graff
ae8d0aedd6
implement pktinfo through dispatcher -> named client
2000-03-14 03:30:52 +00:00
Michael Graff
0205c5a4ad
fix case where CMSG_SPACE() is not a macro
2000-03-13 21:09:56 +00:00
David Lawrence
912ccd2554
include milliseconds when doing ISC_LOG_PRINTTIME
2000-03-10 17:53:16 +00:00
David Lawrence
11d732daac
added isc_time_seconds, isc_time_nanoseconds
...
fixed isc_time_settoepoch and isc_time_isepoch
2000-03-10 17:50:36 +00:00
David Lawrence
114d0d1642
added isc_time_seconds, isc_time_nanoseconds
2000-03-10 17:49:27 +00:00
David Lawrence
1be10d46cb
require name != NULL in *byname
2000-03-04 16:41:14 +00:00
David Lawrence
ff30a206ec
added isc_log_categorybyname and isc_log_modulebyname
2000-03-04 00:43:40 +00:00
James Brister
20fc568036
isc_mem_allocate debug macro had too many arguments.
2000-03-02 04:00:46 +00:00
David Lawrence
a8d34ca88c
remove ISC_LOG_DEBUGONLY from comment about default_debug
2000-03-01 21:30:49 +00:00
Andreas Gustafsson
1620f03517
don't set ISC_LOG_DEBUGONLY on the default_debug channel
2000-03-01 20:38:58 +00:00
David Lawrence
863ac191b4
ISC_LOG_DEBUGONLY flag added.
...
Documentation updates to reflect recent code changes:
isc_logconfig_*
ISC_LOG_DEBUGONLY
2000-03-01 17:33:04 +00:00
David Lawrence
a40cc3249f
isc_logchannel, isc_logchannellist, and isc_logmessage now use the isc list
...
macros.
ISC_LOG_DEBUGONLY flag for a channel added, to mark a channel that should
only be used if the debugging level is non-zero.
Use ISC_LOG_DEBUGONLY for default_debug.
REQUIRE the context is valid for isc_logconfig_get, and ENSURE that
the configuration returned is non-NULL.
Other miscellaneous cleanups.
2000-03-01 17:31:56 +00:00
David Lawrence
5f89718b7d
Debugging versions of isc_mem_allocate, isc_mem_free and isc_mem_strdup.
...
This allows memory allocation/freeing to be tracked with ISC_MEM_DEBUG
as with isc_mem_get/isc_mem_put. (To get the debugging information
before, mem.c itself needed to be recompiled with ISC_MEM_DEBUG on.)
2000-02-26 19:59:30 +00:00
David Lawrence
edcd1247ad
isc_log_create now has three parameters, the additional one used to
...
return an isc_logconfig_t. isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.
isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.
isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Andreas Gustafsson
193738b819
introduced @SA@ macro for use as the filename extension
...
of static library archive files in Makefile rules
2000-02-23 23:02:28 +00:00
Andreas Gustafsson
453393955a
inappropriate use of @A@ caused definition of
...
> two conflicting rules for building libisc.la when using
libtool (RT #62 )
2000-02-23 18:12:31 +00:00
Andreas Gustafsson
c0d0a59d1b
removed newlines from UNEXPECTED_ERROR() messages
2000-02-17 19:58:59 +00:00
Andreas Gustafsson
b356893425
added isc_netaddr_equal()
2000-02-15 00:28:48 +00:00
Andreas Gustafsson
cae053a51f
INSIST that no quota is in use when the quota object is
...
destroyed
2000-02-10 22:17:54 +00:00
James Brister
80d19f3523
Support ondestroy notification for isc_mem_t.
2000-02-10 16:10:41 +00:00
James Brister
71a1b26df0
Build ondestroy.c now too.
2000-02-10 16:09:44 +00:00
James Brister
e32ccd2b77
Supporting type and routines for ondestroy event notifcation.
2000-02-10 16:05:13 +00:00
Andreas Gustafsson
5d82424f5d
New source file netaddr.c; new functions isc_netaddr_eqprefix(),
...
isc_netaddr_masktoprefixlen(), isc_netaddr_fromsockaddr(),
isc_netaddr_fromin(), isc_netaddr_fromin6(), isc_sockaddr_fromnetaddr();
new result code ISC_R_MASKNONCONTIG
2000-02-09 22:52:37 +00:00
Andreas Gustafsson
427c9218c2
isc_socket_connect() leaked memory when connect() returned
...
EHOSTUNREACH
2000-02-09 19:02:40 +00:00
Bob Halley
a2f3208f7f
add DESTDIR support
2000-02-08 21:50:23 +00:00
Bob Halley
927aa19430
fix incorrect memcpy() in resize [RT 15]
2000-02-07 19:11:59 +00:00
Andreas Gustafsson
e46ff30aec
ignore IPv6 interfaces before attempting to get their flags;
...
they are ignored by named anyway, and getting their flags seems to fail on
Solaris 8ea (RT #16 )
2000-02-07 18:59:39 +00:00
Andreas Gustafsson
461a00bbde
ignore any ioctl() errors that may occur during interface
...
iteration (after reporting them); in particular, do not INSIST() that
no such errors occur. Clarify the way this works by using the new
ISC_R_IGNORE result code.
2000-02-07 18:39:20 +00:00
Andreas Gustafsson
3a2487c9e3
added new result code ISC_R_IGNORE, to be used
...
by the interface iterator internals to indicate that an
interface is to be ignored. Previously ISC_R_FAILURE was
used for this purpose.
2000-02-07 18:35:37 +00:00
Bob Halley
4dafa5b8ed
add missing .h files
2000-02-04 01:41:25 +00:00
Bob Halley
ca41b452ed
update copyrights
2000-02-03 23:08:31 +00:00
Michael Graff
5726326ccd
fix? a socket problem with canceling things, again
2000-02-02 19:00:01 +00:00
David Lawrence
6ad69891ee
use ISC_PLATFORM_NETINET6_IN6_H, don't use config.h
2000-02-02 13:26:22 +00:00