Commit Graph
1862 Commits
Author SHA1 Message Date
Danny Mayer ca5c761cde Resources Available 2001-07-06 05:37:10 +00:00
Danny Mayer 1c456bcdb4 O/S specific code 2001-07-06 05:36:13 +00:00
Danny Mayer 72c0894efa functions to determine locations of configuration files at runttime 2001-07-06 05:35:09 +00:00
Danny Mayer e397736476 win32 overrides of FILE function to centralize I/O stream and avoid problems with iob array 2001-07-06 05:34:06 +00:00
Danny Mayer 48b785fe6b win32 version of netdb.h headers 2001-07-06 05:32:44 +00:00
Danny Mayer 602f0b8e48 net routines 2001-07-06 05:30:51 +00:00
Danny Mayer e1bdeeadb3 libisc workspace file 2001-07-06 05:29:58 +00:00
Danny Mayer fc72de271b libisc project file 2001-07-06 05:29:24 +00:00
Danny Mayer 1d7574a6de Export link File 2001-07-06 05:28:32 +00:00
Danny Mayer 0b38e0a117 Keyboard Routines 2001-07-06 05:27:37 +00:00
Danny Mayer e2d579a021 ipv6 variables initialization 2001-07-06 05:26:58 +00:00
Danny Mayer 3d8c1213d9 Interface Iteration routines 2001-07-06 05:25:20 +00:00
Danny Mayer fc4bae7e83 header file for error routines 2001-07-06 05:24:22 +00:00
Danny Mayer 9fe3c2060d error routines 2001-07-06 05:23:58 +00:00
Danny Mayer a38e51e5ef Fixed duplicate routines 2001-07-06 05:22:46 +00:00
Danny Mayer 6f5d6e3f8c isc_app_* routines 2001-07-06 05:21:44 +00:00
Danny Mayer 1e36937976 Entry point routine for libisc 2001-07-06 05:20:33 +00:00
Danny Mayer e35c1bb3ec Initial win32 Release 2001-07-06 05:08:39 +00:00
Brian Wellington 64b92523f9 check for getc_unlocked() 2001-07-04 00:34:44 +00:00
Mark Andrews c18d42b96b use MEM_RECORD rather than debugging > 1 2001-06-28 01:57:34 +00:00
Mark Andrews 594a685c8d Add ISC_MEM_DEBUGGING to set default compile time flags.
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards.
2001-06-28 01:51:20 +00:00
Mark Andrews 950d71eee3 allow maximum inuse memory to be tracked. 2001-06-27 23:29:29 +00:00
Danny Mayer 53bc020d74 modified to use isc_file_rename instead of rename 2001-06-27 04:37:11 +00:00
Mark Andrews 2bc98b7d91 910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT. 2001-06-25 03:56:58 +00:00
David Lawrence 9bfa90768a 907. [func] The ability to get entropy from either the
random device, a user-provided file or from
			the keyboard was migrated from the DNSSEC tools
			to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
David Lawrence 2d67c24744 906. [port] Separated the system independent portion of
lib/isc/unix/entropy.c into lib/isc/entropy.c
			and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Andreas Gustafsson 19872fdfb7 convert more socket errors to specific ISC error codes, notably ECONNRESET 2001-06-15 22:07:51 +00:00
Mark Andrews 9a6573e16b sys/select.h not sys/socket.h 2001-06-12 01:35:42 +00:00
Andreas Gustafsson 509ef0c871 Keep track of the number of times the system malloc() has
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not.
2001-06-11 20:27:16 +00:00
David Lawrence eda73d8aad redo 1.64 "potential null pointer dereference" more consistent with the style
of the function and file (i.e., not returning from the middle of a function)
2001-06-10 17:06:45 +00:00
David Lawrence 04260c5c48 895. [func] New function, isc_dir_current(), akin to POSIX's
getcwd().
2001-06-08 23:50:32 +00:00
David Lawrence 504f7802d4 893. [func] Removed isc_file_test() and added isc_file_exists()
for the basic functionality that was being added
			with isc_file_test().
2001-06-08 21:53:49 +00:00
Mark Andrews 4585aeb2cc 866. [func] Close debug only file channels when debug is set to
zero. [RT #1246]
2001-06-08 02:57:13 +00:00
Brian Wellington 224e84bc0e misc. stuff related to [RT #1293] 2001-06-07 00:21:53 +00:00
Brian Wellington 338d559b3e remove extraneous blank line 2001-06-06 21:02:43 +00:00
David Lawrence 65640f401a Removed the requirement for isc_mem_setwater() that when the callback function
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0.  Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration).  This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +00:00
Brian Wellington 33e49e8fdc #include <isc/magic.h> 2001-06-05 06:34:11 +00:00
David Lawrence 92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington d0b6ece407 ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS 2001-06-01 01:11:28 +00:00
David Lawrence 64c7a503c2 ensure that INADDR_LOOPBACK is defined 2001-05-31 10:54:51 +00:00
David Lawrence 50b7860fff new function isc_file_test() as framework for determining various attributes
of a pathname
2001-05-31 10:53:14 +00:00
Brian Wellington 9547c4a3f8 potential null pointer dereference 2001-05-29 22:35:54 +00:00
Mark Andrews 097dc0a693 add sys/types.h for FreeBSD 2.1 2001-05-18 03:02:45 +00:00
Andreas Gustafsson d76b6ae2ad isc_print_vsnprintf() could throw an assertion failure when
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system.  Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf().  The only known such platform is SunOS 5.5.1. [RT #1312]
2001-05-16 00:52:55 +00:00
Andreas Gustafsson 740ae0808f when returning a socket error, use isc__errno2result() instead
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson fd5847ef09 828. [bug] The errno value from recvfrom() could be overwritten
by logging code. [RT #1293]
2001-05-14 18:20:03 +00:00
Andreas Gustafsson c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Brian Wellington d144ea1d1c isc_file_basename should return a (const char *) 2001-05-05 02:47:21 +00:00
Brian Wellington f2194a8ba9 implement isc_file_basename() 2001-05-03 18:59:30 +00:00
Andreas Gustafsson 1ed0723a1f a pointer argument used to return an "int" value into an "int"
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00