2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

1530 Commits

Author SHA1 Message Date
David Lawrence
38feb01f1b 88. [cleanup] <isc/interfaceiter.h> does not need <isc/result.h> or
<isc/mem.h>.  isc_interface_t and isc_interfaceiter_t
                        moved to <isc/types.h>.
2000-04-25 22:55:50 +00:00
David Lawrence
802aa6f2b7 87. [cleanup] <isc/heap.h> does not need <isc/boolean.h>,
<isc/mem.h> or <isc/result.h>.
(... and now heap.c needs <isc/mem.h>.)
2000-04-25 22:32:26 +00:00
David Lawrence
f42e994baf added isc_bufferlist_t 2000-04-25 22:30:13 +00:00
David Lawrence
5baea3a021 Move isc_bufferlist_t to isc/types.h.
Do not need isc/buffer.h or isc/list.h.
2000-04-25 22:29:55 +00:00
David Lawrence
9cd39d7306 include <isc/types.h> instead of <isc/time.h> and <isc/result.h> 2000-04-25 22:04:08 +00:00
David Lawrence
408c676732 85. [cleanup] <isc/bufferlist.h> does not need <isc/mem.h>,
<isc/region.h> or <isc/int.h>.
2000-04-25 22:02:54 +00:00
David Lawrence
cc43f2461d 82. [cleanup] <isc/buffer.h> does not need <isc/list.h>. 2000-04-25 21:44:27 +00:00
David Lawrence
58bc93c3dd 81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
<isc/lang.h>.
2000-04-25 21:16:12 +00:00
David Lawrence
7ce81e15fa 80. [cleanup] <isc/print.h> does not need <stdio.h> or <stdlib.h>.
(and now dns/ttl.c needs it since it was taken out of isc/print.h)
2000-04-25 20:20:31 +00:00
David Lawrence
0a7bde9fa8 isc_interval_t and isc_time_t typedefs moved to isc/types.h 2000-04-25 19:33:07 +00:00
David Lawrence
cc19a2200f Removed mktemplate.h, ufile.h. Install file.h instead. 2000-04-24 21:49:50 +00:00
David Lawrence
8b7304a34c 73. [func] New "file" API in libisc, including new function
isc_file_getmodtime, isc_mktemplate renamed to
                        isc_file_mktemplate and isc_ufile renamed to
                        isc_file_openunique.  By no means an exhaustive API,
                        it is just what's needed for now.
2000-04-24 21:36:10 +00:00
David Lawrence
945874face rbtgen was never used by anything 2000-04-24 20:45:19 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Bob Halley
64b1a68e10 isc_task_create() no longer takes an mctx.
isc_task_mem() has been eliminated.
Use memory context reference counting.
2000-04-12 01:34:16 +00:00
Bob Halley
fd3271152c Add isc_mem_attach(), isc_mem_detach(), isc_mem_preallocate(), and
isc_mem_setsplit().  Rename isc_mem_destroy_check() to
isc_mem_setdestroycheck().  Add isc_mem_inuse().
2000-04-12 01:24:17 +00:00
Andreas Gustafsson
0f7045b0c4 moved a few more typedefs to <isc/types.h>: isc_region_t,
isc_textregion_t, isc_lex_t
2000-04-10 21:57:24 +00:00
Andreas Gustafsson
e9da40a783 no need to include <isc/buffer.h>, <isc/result.h> from <isc/base64.h> 2000-04-10 21:35:48 +00:00
Andreas Gustafsson
e3b279bfa9 no need to include <isc/buffer.h>, <isc/result.h>, <isc/mem.h> from <isc/base64.h> 2000-04-10 21:33:36 +00:00
Andreas Gustafsson
dc46294525 added log.h and ondestroy.h to HEADERS 2000-04-04 23:04:30 +00:00
Andreas Gustafsson
e247a05711 need <sys/types.h> 2000-04-04 23:03:44 +00:00
Andreas Gustafsson
8f804834e2 moved logging typedefs from <isc/log.h> to <isc/types.h> 2000-04-04 20:09:05 +00:00
Andreas Gustafsson
e6e674f6a5 no need to include <isc/ondestroy.h> from <isc/mem.h> 2000-04-04 20:06:29 +00:00
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
Andreas Gustafsson
5fe5a0c026 revised logging categories 2000-03-23 00:55:12 +00:00
Bob Halley
435532822d deal with systems missing in6addr_any 2000-03-22 22:07:17 +00:00
Andreas Gustafsson
a782776175 do not indent CVS ID comments by one space 2000-03-21 00:37:36 +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
Bob Halley
6a02971368 don't define ISC_MEMPOOL_NAMES 2000-03-16 22:40:48 +00:00
Michael Graff
ae8d0aedd6 implement pktinfo through dispatcher -> named client 2000-03-14 03:30:52 +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
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