Commit Graph
89 Commits
Author SHA1 Message Date
Andreas Gustafsson 26f327f1f5 const correctness 2001-09-05 17:22:55 +00:00
Danny Mayer 6f2e507e7e Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files 2001-09-04 03:22:23 +00:00
Danny Mayer a22a4084dd Update to change path to resolv.conf and define RESOLV_CONF 2001-09-01 05:22:04 +00:00
Andreas Gustafsson 355cc22e32 The epoch is once again zero in Win32;
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson b3034d815c isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after 2001-09-01 00:18:43 +00:00
Andreas Gustafsson ff8cd3afa7 implemented isc_time_formattimestamp() for Win32.
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Mark Andrews 28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Mark Andrews 330b421487 963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645] 2001-08-20 23:56:25 +00:00
Danny Mayer 51ac5c28de Changed win32 code to remove references to named.key 2001-08-09 02:55:41 +00:00
Danny Mayer 66352c0a05 Added support for key for win32 2001-08-06 05:34:26 +00:00
Danny Mayer b59115de5f Updated config information 2001-07-28 02:50:39 +00:00
Andreas Gustafsson 321fd0ceb4 in named-checkconf, pass in the complete path of named.conf
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer 075a7534a8 Added path information - retry 2001-07-27 05:16:55 +00:00
Danny Mayer 61e561c2ca Added path information 2001-07-27 05:15:27 +00:00
Andreas Gustafsson e5b18854e3 define RNDC_AUTOCONFFILE on win32 so that the code again
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson dcfaeabc63 renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer 922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Danny Mayer 2b9debd520 syslog for win32 2001-07-23 03:03:22 +00:00
Andreas Gustafsson 07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Danny Mayer 3bd4083e48 Updates to support win32 2001-07-16 03:52:14 +00:00
Danny Mayer c4958494a9 Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup 2001-07-12 05:58:28 +00:00
Andreas Gustafsson 38fed7505d do multiple inclusion protection in all header files, and using the established ISC style 2001-07-09 21:34:44 +00:00
Andreas Gustafsson e76d4c91bf coding style 2001-07-09 21:06:30 +00:00
Danny Mayer 68c2ccc953 code style cleanup 2001-07-08 05:09:35 +00:00
Andreas Gustafsson 675a191f43 moved <isc/app.h> to OS-independent include directory 2001-07-06 19:50:05 +00:00
Danny Mayer 2c50ab702f stat routines 2001-07-06 06:00:17 +00:00
Danny Mayer 7fb411cfd1 plaform specific header 2001-07-06 05:59:09 +00:00
Danny Mayer b02635aa75 offset header 2001-07-06 05:58:00 +00:00
Danny Mayer 1ee7ce8fbd win32-specific runtime path header 2001-07-06 05:57:19 +00:00
Danny Mayer b22d62aa69 ntfile FILE replacement headers 2001-07-06 05:56:25 +00:00
Danny Mayer bcf5804255 win32 keyboard routines 2001-07-06 05:51:45 +00:00
Danny Mayer a0f854291f IPv6 on Win32 header 2001-07-06 05:50:42 +00:00
Danny Mayer 12d08bf91e win32-specific integer definitions 2001-07-06 05:49:22 +00:00
Danny Mayer c15033634e Initial win32 release 2001-07-06 05:48:27 +00:00
Danny Mayer 83a373fc81 BIND Event information header 2001-07-06 05:46:37 +00:00
Danny Mayer f950ce9932 BIND registry header information 2001-07-06 05:45:21 +00:00
Danny Mayer c5e84ff0e4 app headers 2001-07-06 05:44:32 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson 922e6a3c2a 478. [bug] "make install" failed if the directory specified with
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence 641689bff4 note in the comment that isc_time_microdiff returns 0 if t1 < t2.
no need to pull up.
2000-06-30 22:40:32 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence 49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
David Lawrence 8cbd9988dc the ipv6.h header file is now platform independent 2000-06-21 20:50:55 +00:00
David Lawrence 6fa1cb5754 189. [func] isc_time_secondsastimet(), a new function, will ensure
that the number of seconds in an isc_time_t does not
                        exceed the range of a time_t, or return ISC_R_RANGE.
                        Similarly, isc_time_now(), isc_time_nowplusinterval(),
                        isc_time_add() and isc_time_subtract() now check the
                        range for overflow/underflow.  In the case of
                        isc_time_subtract, this changed a calling requirement
                        (ie, something that could generate an assertion)
                        into merely a condition that returns an error result.
                        isc_time_add() and isc_time_subtract() were void-
                        valued before but now return isc_result_t.

The seconds member isc_time_t on Unix platforms was changed from time_t
to unsigned int.

unix/time.c now uses macros for nanoseconds per second, nanoseconds per
microsecond and microseconds per second to make sure that the right
number of zeros appears each place the constant is used.

unix/time.c functions which take initialized isc_(interval|time)_t arguments
INSIST() that the nanoseconds value is less than one full second.

unix/time.c's isc_time_microdiff was broken because it did multiplication and
addition with unsigned integers and attempted to set them a 64 bit int to
avoid overflow, but C's ints don't promote to 64 bits on machines that only
have 32 bit longs.  Fixed.

Added all the pertinent documentation to time.h.
2000-05-18 17:08:32 +00:00
David Lawrence 681bd61239 isc/{unix,win32}/include/isc/ipv6.h moved to isc/include/isc/ipv6.h 2000-05-09 00:55:59 +00:00
David Lawrence 5610876d1b win32 isc/condition.h did not need <isc/result.h> 2000-04-28 23:55:08 +00:00
David Lawrence b99d080717 141. [cleanup] <isc/stdtime.h> does not need <time.h> or <isc/result.h>. 2000-04-28 23:53:55 +00:00
David Lawrence b905ff7cbe 140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>. 2000-04-28 23:23:52 +00:00