David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Michael Graff
9f95b0199c
add an argument to indicate how long to wait before draining the keyboard's input queue. This keeps people from overrunning input into the shell, etc.
2000-06-22 00:25:33 +00:00
David Lawrence
49dbdb0186
update_copyrights
2000-06-21 22:05:07 +00:00
Michael Graff
890fb60939
add keyboard API
2000-06-21 01:45:21 +00:00
Michael Graff
57ded06933
fix multicast test
2000-06-16 22:35:36 +00:00
Michael Graff
d80da258e3
Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast()
2000-06-15 18:23:54 +00:00
David Lawrence
5fda9ca75a
redefined ISC_OFFSET_MAXIMUM
2000-06-06 22:10:10 +00:00
David Lawrence
05e3940191
made operand to left shift in ISC_OFFSET_MAXIMUM unsigned to avoid
...
integer overflow.
2000-05-25 16:44:25 +00:00
David Lawrence
6deb631b20
208. [func] Added ISC_OFFSET_MAXIMUM for the maximum value
...
of an isc_offset_t.
2000-05-25 03:34:34 +00:00
Andreas Gustafsson
b291fec7c9
offset.h was not installed by 'make install'
2000-05-22 22:46:53 +00:00
David Lawrence
e6ce1a0ea9
use _PLATFORM_NEEDINETIN6H
2000-05-18 22:43:48 +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
e52750239e
Changed the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6*
...
to better clarify what is going on with regard to the symbol.
2000-05-13 18:18:08 +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
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Michael Graff
ece3d6c356
Cause runtime probing of v6 addresses to fail, even if we can actually
...
make v6 sockets, but we do not have struct in6_pktinfo.
Add a check in configure.in for struct in6_pktinfo.
Use the result of that check to define (if needed) in6_pktinfo in net.h.
This change makes us build on platforms that have SOME ipv6 structures
(like in6_addr, etc) but not enough to be useful to us.
Note: Before making an ipv6 socket the code should verify that ipv6
sockets can be made using isc_net_probeipv6(). It should also
check for v4 sockets using isc_net_probeipv4() to be consistant.
2000-05-06 01:30:32 +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
David Lawrence
23a0970477
139. [cleanup] <isc/net.h> now includes <isc/types.h> instead of
...
<isc/int.h> and <isc/result.h>.
2000-04-28 23:14:45 +00:00
David Lawrence
54a2e7e8a2
137. [cleanup] <isc/commandline.h>, <isc/mem.h>, <isc/print.h>
...
<isc/serial.h>, <isc/string.h> and <isc/offset.h>
made to conform to the same style for multiple
inclusion protection.
2000-04-28 22:13:15 +00:00
David Lawrence
027212247d
136. [cleanup] <isc/commandline.h>, <isc/interfaceiter.h>,
...
<isc/net.h> and Win32's <isc/thread.h> needed
ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS.
2000-04-28 22:09:15 +00:00
David Lawrence
344e909ce9
134. [cleanup] <isc/dir.h> does not need <limits.h>.
2000-04-28 21:29:27 +00:00
David Lawrence
eefea43215
132. [cleanup] <isc/app.h> does not need <isc/task.h>, but does
...
need <isc/eventclass.h>.
2000-04-28 21:08:52 +00:00
David Lawrence
dc91d010db
128. [cleanup] <isc/dir.h> had ISC_LANG_BEGINDECLS instead of
...
ISC_LANG_ENDDECLS at end of header.
2000-04-28 17:46:30 +00:00
David Lawrence
9d26bfb436
grrrrrr ... order wrong in typedef
2000-04-28 00:39:11 +00:00
David Lawrence
61e9c1cdbe
116. [func] Added <isc/offset.h> for isc_offset_t
2000-04-28 00:36:56 +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
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
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
David Lawrence
114d0d1642
added isc_time_seconds, isc_time_nanoseconds
2000-03-10 17:49:27 +00:00
Bob Halley
a2f3208f7f
add DESTDIR support
2000-02-08 21:50:23 +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
6ad69891ee
use ISC_PLATFORM_NETINET6_IN6_H, don't use config.h
2000-02-02 13:26:22 +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
97f1a75cf0
reload support
2000-01-22 01:39:35 +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
Michael Graff
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +00:00
Bob Halley
0e1bef59f0
add isc_dir_chdir; change argument order of isc_dir_open
1999-10-31 19:08:17 +00:00
Mark Andrews
fce52c2b8c
`A prototype should be a prototype.
1999-10-09 13:24:37 +00:00
David Lawrence
4ad9b25e6d
new function isc_time_microdiff
1999-10-09 02:40:32 +00:00
David Lawrence
156d37e2dc
dir.h added to HEADERS
1999-10-06 19:41:01 +00:00
David Lawrence
a91a5c2322
New CPP macros ISC_DIR_NAMEMAX and ISC_DIR_PATHMAX; win32 are based
...
on _MAX_FNAME and _MAX_PATH, unix are "reasonable values" (256 and 1024)
because unix is inconsistent about this.
1999-10-06 19:36:13 +00:00
Bob Halley
51917258db
build system cleanups; improved include handling
1999-10-05 19:52:30 +00:00
David Lawrence
8671e8306b
configure ISC_NET_NEEDPORTT if "typedef isc_uint16_t in_port_t" is needed
1999-10-01 02:11:34 +00:00
David Lawrence
0307846c71
AIX does not define NAME_MAX or PATH_MAX by default. It would either
...
need a special cpp macro like _XPG4 defined or the name buffer would
need to be dynamically allocated based on pathconf(), which is
undesirably complicated. Instead 255 is used as a suitably sized NAME_MAX
and 1024 in place of PATH_MAX.
1999-10-01 01:12:04 +00:00
David Lawrence
49e558760e
directory scanning API for unix/nt portability
1999-09-23 17:31:59 +00:00
Michael Graff
2f072c2982
Update copyrights
1999-09-15 23:03:43 +00:00
Michael Graff
aca2a14afc
Implement MSG_TRUNC faking for UDP, on systems where recvmsg() doesn't set that
...
flag for us. To see if a UDP packet was truncated, look at
done_event->attributes and see if ISC_SOCKEVENTATTR_TRUNC is set.
1999-09-13 22:00:28 +00:00
Michael Graff
4c5faa6bcf
Do the bsd4.3/bsd4.4 msghdr test right.
1999-08-31 20:57:46 +00:00
Bob Halley
2f3cfa8c02
isc_net_haveipvN to isc_net_probeipvN
1999-07-19 23:54:09 +00:00
Bob Halley
727524f623
simply AF_INET6 and PF_INET6 checking
1999-07-16 00:56:59 +00:00
Bob Halley
489b3eb09a
check for PF_INET
1999-07-16 00:52:58 +00:00
Bob Halley
a761b4cd8d
forgot to change isc_inet_ to isc_net_
1999-07-16 00:43:18 +00:00
Bob Halley
e9c5347c19
add support for inet_{ntop,pton,aton}
1999-07-16 00:27:15 +00:00
Bob Halley
fef7437f8f
add netdb.h
1999-07-16 00:26:31 +00:00
Bob Halley
b8e1e8f743
ensure INADDR_ANY, IN6ADDR_ANY_INIT, in6addr_any, and in6addr_loopback defined
1999-07-15 20:15:03 +00:00
Bob Halley
bed86971bf
add isc_app_onrun
1999-07-14 02:03:44 +00:00
Bob Halley
8f0c024bf0
include <arpa/inet.h>
1999-07-13 02:01:06 +00:00
Bob Halley
2b71bc3d51
fix typo
1999-07-08 02:49:51 +00:00
Bob Halley
ae27cfaba3
add isc_net_haveipv[46]; cleanups
1999-07-08 02:45:17 +00:00
Bob Halley
7757bd0df7
switch to HAVEIPV6
1999-07-08 01:42:19 +00:00
Bob Halley
2fdead02e1
net.h should only be removed when distclean is made
1999-07-08 00:36:47 +00:00
Bob Halley
850cd84119
update
1999-07-08 00:32:05 +00:00
Bob Halley
7a4c7c53dc
ipv6.h support; clean up net.h
1999-07-08 00:02:59 +00:00
Bob Halley
e396e446c9
net.h is now generated
1999-07-08 00:02:34 +00:00
Bob Halley
5d63ed8564
fix copyright
1999-07-06 23:04:54 +00:00
Bob Halley
36d4a1b3bc
add net.h; sockaddr.h and netaddr.h are now generic
1999-07-06 22:59:21 +00:00
Michael Graff
5c02d3183f
add isc_sockaddr_equal()
1999-06-25 22:09:35 +00:00
Bob Halley
ee34b73efe
added ifdef notyet IPv6 support
1999-06-16 21:05:22 +00:00
Bob Halley
afdb3abb9b
zero interval and epoch; rename _get() to _now(); add _nowplusinterval()
1999-06-12 01:15:05 +00:00
Andreas Gustafsson
0237695c5e
initial version of generic network address structure
1999-05-26 06:21:08 +00:00
Bob Halley
96f55bdc73
add app
1999-05-12 09:44:35 +00:00
Bob Halley
120e76fc54
add stdtime
1999-04-09 01:08:46 +00:00
Bob Halley
7270737ca9
update copyrights
1999-03-06 04:03:53 +00:00
Bob Halley
7aacbd685b
C++ compatibility
1999-03-04 02:38:48 +00:00
Mark Andrews
15330e4fa2
isc_strtouq()
1999-02-05 04:57:20 +00:00
Bob Halley
4b1c5cc4ee
add
1999-01-07 02:06:14 +00:00
Bob Halley
3740b569ae
the great type change
1998-12-13 23:45:21 +00:00
Bob Halley
1633838b82
update copyrights
1998-12-12 20:48:14 +00:00
Bob Halley
f41f183f62
fix srcdir problems
1998-12-12 02:00:01 +00:00
Bob Halley
d0ad004424
simplify Makefiles
1998-12-12 01:35:38 +00:00
Bob Halley
863beba874
add .cvsignore files
1998-12-11 21:09:59 +00:00
Bob Halley
6792dd6d22
conforming changes for new pool
1998-12-11 20:38:46 +00:00
Bob Halley
a5d43b7241
BIND9 Pool Creation
1998-12-11 20:10:26 +00:00
Bob Halley
ab774d16c4
get rid of now-unneeded time.h
1998-10-24 01:06:59 +00:00
Bob Halley
4bed2e84a3
opaque isc_time_t; add isc_interval_t; UNIX-specific conversions
1998-10-23 23:01:41 +00:00
Bob Halley
bf6d2e3912
more renaming
1998-10-22 01:33:20 +00:00
Bob Halley
2985234619
checkpoint
1998-10-16 01:18:31 +00:00
Bob Halley
94e25967cd
add
1998-10-15 01:20:28 +00:00