Commit Graph

1978 Commits

Author SHA1 Message Date
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
David Lawrence
2b556032fd (un)define ISC_PLATFORM_HAVENETINET6IN6H 2000-02-02 13:25:22 +00:00
Bob Halley
6e1e90b9b6 Undo 1.100 which caused problems on platforms other than Linux. 2000-02-02 02:34:30 +00:00
Andreas Gustafsson
7b24a94d11 typo in comment 2000-02-02 00:41:26 +00:00
Andreas Gustafsson
d5017b061c typo in comment 2000-02-02 00:38:28 +00:00
Andreas Gustafsson
386fef57fa don't write to freed memory 2000-02-01 17:27:23 +00:00
Andreas Gustafsson
f316fb9a63 needless use of void pointers made debugging hard 2000-02-01 00:18:35 +00:00
David Lawrence
c5f33ba0f0 added isc_sockaddr_getport 2000-01-31 21:52:17 +00:00
Andreas Gustafsson
994a1996e4 spell ISC_*_H in uppercase 2000-01-31 17:41:49 +00:00
Andreas Gustafsson
3d659a692a mkstemp() requires <stdlib.h> on NetBSD 2000-01-31 17:36:02 +00:00
Mark Andrews
b1058f88f9 Add isc_mktemplate and isc_ufile 2000-01-31 07:31:31 +00:00
Mark Andrews
d2f992a5fb Only use %ll? when long long int != long int. 2000-01-28 01:48:45 +00:00
Mark Andrews
8a1930d026 Add test for long long int == long int. 2000-01-28 01:47:25 +00:00
Bob Halley
2314617d4a Fix problem with canceling connecting sockets.
The manager will no longer try to dispatch internal events for dead sockets,
preventing a situation where the ref count could go from 0 back to 1!
2000-01-28 01:31:21 +00:00
Bob Halley
043c6c62e6 add isc_sockaddr_setport() 2000-01-26 19:22:41 +00:00
Bob Halley
a790a11730 allow tasks to be named and tagged 2000-01-25 19:25:20 +00:00
Bob Halley
03dd96d177 allow normal signal handlers for most signals to execute 2000-01-25 03:33:55 +00:00
David Lawrence
8fc824d047 include <config.h>, since the definition of HAVE_NETINET6_IN6_H
is needed in this file.
2000-01-24 05:25:09 +00:00
Bob Halley
b199c609b1 Only set SO_REUSEADDR for TCP sockets. 2000-01-22 02:29:49 +00:00
Bob Halley
97f1a75cf0 reload support 2000-01-22 01:39:35 +00:00
Bob Halley
010170f711 add ISC_R_RELOAD 2000-01-22 01:39:17 +00:00
Mark Andrews
76ede14af1 Add strsep test results to platform.h 2000-01-21 02:01:10 +00:00
Mark Andrews
483a5a91ad add isc_strsep() and isc/string.h 2000-01-21 01:40:27 +00:00
Mark Andrews
094810739f remove extranious break; 2000-01-20 06:35:51 +00:00
Mark Andrews
5e2b6219d2 Add IPv6 support 2000-01-18 05:42:53 +00:00
Mark Andrews
ccb185b942 Add Solaris IPv6 support 2000-01-18 05:42:33 +00:00
Mark Andrews
5152622c34 update comment 2000-01-18 05:38:19 +00:00
Bob Halley
e0d8e8073f If creating a task and the manager is exiting, return ISC_R_SHUTTINGDOWN 2000-01-17 23:41:33 +00:00
Andreas Gustafsson
8c36d7eeb9 added isc_quota_attach(), isc_quota_detach() 2000-01-15 00:32:42 +00:00
Bob Halley
f511a9e219 add isc_sockaddrlist_t 2000-01-12 03:01:19 +00:00
Andreas Gustafsson
5f2d1b96ac new type isc_quota_t, for client (and other) quotas 2000-01-11 21:08:13 +00:00