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

280 Commits

Author SHA1 Message Date
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
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff
f39add73bc Actually commit the ipv6 socket code I wrote last week. 1999-12-15 20:47:38 +00:00
Michael Graff
efff2a52af Make this compile (without ipv6 socket support) on half-done implementations. 1999-12-10 16:51:39 +00:00