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