2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

933 Commits

Author SHA1 Message Date
David Lawrence
61e9c1cdbe 116. [func] Added <isc/offset.h> for isc_offset_t 2000-04-28 00:36:56 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
David Lawrence
a890fbefa3 C++ reserves the word "template"; use "templet" as the parameter to
isc_file_openunique
2000-04-26 00:45:24 +00:00
David Lawrence
2c34cafc1c include <isc/time.h> 2000-04-25 22:04:26 +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
0a7bde9fa8 isc_interval_t and isc_time_t typedefs moved to isc/types.h 2000-04-25 19:33:07 +00:00
David Lawrence
acb62d86dc oops, had not removed ufile.c from SRCS 2000-04-24 22:11:46 +00:00
David Lawrence
c4819ad3e2 subsumed by file.c 2000-04-24 21:51:09 +00:00
David Lawrence
3935db0f04 Include {os}/file.o in libisc.a.
No longer include {os}/ufile.o and {os}/mktemplate.o in libisc.a.
2000-04-24 21:47:34 +00:00
David Lawrence
2cc9a6a0f7 Prototype for new function isc_time_subtract.
Comment cleanups (ie, many "'t' are a valid." comments made grammatically
correct).

win32's file.h added missing ISC_LANG_ENDDECLS.
2000-04-24 21:38:55 +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
585529aaeb 71. [cleanup] Made explicit the implicit REQUIREs of
isc_time_seconds, isc_time_nanoseconds, and
                        isc_time_subtract.

  70.   [func]          isc_time_set() added.
2000-04-24 20:58:03 +00:00
Michael Graff
7ce10e3d8f quiet a compiler warning 2000-04-19 22:36:07 +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
Michael Graff
0ed4c4ee35 make unreachable hard errors. 2000-04-14 15:38:28 +00:00
Mark Andrews
b61bbad878 Freebsd 4.0 needs sys/param.h for ALIGN 2000-04-13 08:10:18 +00:00
Bob Halley
c653686224 fix typo 2000-03-27 23:46:45 +00:00
Bob Halley
435532822d deal with systems missing in6addr_any 2000-03-22 22:07:17 +00:00
Bob Halley
0e58c0998d don't catch SIGQUIT 2000-03-18 01:29:48 +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
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
114d0d1642 added isc_time_seconds, isc_time_nanoseconds 2000-03-10 17:49:27 +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
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
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
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
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
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
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
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
757a38d502 Set address family. 2000-01-10 06:16:08 +00:00
David Lawrence
73a1e6a5d1 include netinet6/in6.h if present 2000-01-07 02:48:00 +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
David Lawrence
dcf8825fd7 BSD/OS 4.01 returns EPROTONOSUPPORT for failure in try_proto() 2000-01-04 20:15:53 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00