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
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
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
b356893425
added isc_netaddr_equal()
2000-02-15 00:28:48 +00:00
James Brister
80d19f3523
Support ondestroy notification for isc_mem_t.
2000-02-10 16:10:41 +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
Bob Halley
a2f3208f7f
add DESTDIR support
2000-02-08 21:50:23 +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
David Lawrence
2b556032fd
(un)define ISC_PLATFORM_HAVENETINET6IN6H
2000-02-02 13:25:22 +00:00
Andreas Gustafsson
d5017b061c
typo in comment
2000-02-02 00:38:28 +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
Mark Andrews
b1058f88f9
Add isc_mktemplate and isc_ufile
2000-01-31 07:31:31 +00:00
Mark Andrews
8a1930d026
Add test for long long int == long int.
2000-01-28 01:47:25 +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
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
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
Andreas Gustafsson
c12e9c47b3
changed comments for isc_socket_detach() to reflect reality
2000-01-10 22:22:53 +00:00
Michael Graff
0fd03d2a66
fix up comments
2000-01-06 23:07:21 +00:00
David Lawrence
0bd4e3591a
reversing bogus checkin
2000-01-06 15:02:16 +00:00
David Lawrence
cc1b6f86f2
added ISC_RESULTCLASS_OMAPI
2000-01-06 14:47:39 +00:00
Mark Andrews
1205f38a4c
max_token is now a hint as to largest token.
1999-12-23 05:24:12 +00:00
Mark Andrews
4d22a83c38
RWLOCK/RWUNLOCK to return __FILE__ and __LINE__.
...
Use #ifdef ISC_UTIL_TRACEON so that tracing can be turned on per file.
e.g.
#define ISC_UTIL_TRACEON
#include <isc/util.h>
1999-12-22 06:14:59 +00:00
Michael Graff
ec075c6efb
revert assertions.h, and add UNUSED() to util.h
1999-12-16 22:42:05 +00:00
Michael Graff
78fed22afc
install util.h, too, and add a warning about its use
1999-12-16 22:29:13 +00:00
Michael Graff
440be4c866
move util.h to <isc/util.h>
1999-12-16 22:24:22 +00:00
Michael Graff
b8ef99c3a7
make the lfsr's real lfsr's, and use two of them to generate random-looking IDs
1999-12-16 00:07:21 +00:00
Michael Graff
21cbbc3e83
document functions. Add isc_lfsr_init() and unimplemented isc_lfsr_findlfsr()
1999-12-15 02:55:27 +00:00
Michael Graff
cb5f37d93b
add lfsr.h
1999-12-15 01:49:07 +00:00
Michael Graff
4534478a8b
Define UNUSED() in assertions.h. I can't think of a better place, and
...
changing many, many .c files to include <isc/unused.h> seems somehow wrong.
1999-12-15 01:48:46 +00:00
Mark Andrews
8a21ac0f09
Add isc_buffer_putstr().
1999-12-13 02:18:02 +00:00
Michael Graff
8b7f596003
Use one more returned-event attribute to indicate fatal error, where
...
retrying on a socket is pointless, as it will immediately fail.
1999-12-08 22:53:08 +00:00
Michael Graff
6149906644
ipv6 changes
1999-12-04 01:27:44 +00:00
Michael Graff
f684e54a0d
remove _S6_u64 from the in6_addr, and define struct in6_pktinfo
1999-12-03 01:22:40 +00:00
Michael Graff
f6f4ceece4
more fully implement the 'standard' in6_addr, and use the macros correctly
...
in adb.c
1999-12-02 23:45:30 +00:00
Michael Graff
443ad8c09c
add IPV6 macros for unspecified, loopback, v4compat, and v4mapped addresses
1999-12-02 22:50:17 +00:00
Andreas Gustafsson
be3fa6d82f
typo
1999-12-01 20:30:16 +00:00
Andreas Gustafsson
97ad774ae2
commented purging of timer events on timer destruction
1999-12-01 03:12:22 +00:00