Andreas Gustafsson
bac6f7fd14
the comments for isc_ratelimiter_create() said the
...
events are executed in the context of 'task'; this is no longer true
2000-05-22 19:47:43 +00:00
Michael Graff
24d3d0ecff
fix a slight documentation bug
2000-05-20 01:30:16 +00:00
David Lawrence
e6ce1a0ea9
use _PLATFORM_NEEDINETIN6H
2000-05-18 22:43:48 +00:00
Mark Andrews
1aae402fc3
187. [func] isc_ratelimter_enqueue() has an additional arguement
...
'task'.
checkpoint zone maintence / notify work.
2000-05-18 04:43:00 +00:00
Mark Andrews
fc1feadb61
Add ISC_SOCKADDR_FORMATSIZE macro.
2000-05-17 02:20:58 +00:00
David Lawrence
600cfa2ba4
184. [cleanup] Variables/functions which began with two leading
...
underscores were made to conform to the ANSI/ISO
standard, which says that such names are reserved.
2000-05-16 05:19:47 +00:00
David Lawrence
6d8cdbaff4
185. [bug] Fixed up handling of ISC_MEMCLUSTER_LEGACY. Several
...
public functions did not have an isc__ prefix, and
referred to functions that had previously been
renamed.
184. [cleanup] Variables/functions which began with two leading
underscores were made to conform to the ANSI/ISO
function declaration and comment reformatting in accordance with coding
style document.
check_overrun conditionally compiled based on ISC_MEM_FILL and
ISC_MEM_CHECKOVERRUN to avoid compiler warnings about being defined
but not used if one of those two CPP symbols is not defined.
2000-05-16 05:17:31 +00:00
David Lawrence
a120694df8
conform variable names in isc_.*region_consume to ANSI/ISO standard
2000-05-16 03:37:40 +00:00
David Lawrence
2918b5bda6
ISC_LOG_PRINTTAG/isc_log_settag()/isc_log_gettag() added
2000-05-16 03:37:39 +00:00
Mark Andrews
5273184ae1
Add isc_file_settime() set access and modification times.
2000-05-16 02:13:08 +00:00
David Lawrence
c5c3b17a0a
added ISC_R_RANGE
2000-05-15 20:37:06 +00:00
Andreas Gustafsson
527ea00c17
174. [func] New public function isc_sockaddr_format(), for
...
formatting socket addresses in log messages.
2000-05-14 20:42:43 +00:00
David Lawrence
2467f3cafd
Removed comment about some day prefixing members of ISC_EVENT_COMMON
...
with ev_ prefix, since that has been done.
2000-05-14 02:12:18 +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
Michael Graff
3ee8ba5e32
expand on why magic numbers need to be first in the structure
2000-05-11 16:18:01 +00:00
David Lawrence
d8e34837cd
isc_file_{stdiofunc} -> isc_stdio_*
2000-05-11 16:14:05 +00:00
Mark Andrews
c052487cdf
169. [func] ratelimiter can now process N events per interval.
2000-05-11 09:23:29 +00:00
Michael Graff
2fc337ec38
add isc_socket_isbound()
2000-05-11 07:39:17 +00:00
Michael Graff
8321dd2150
add ISC_R_NOTBOUND and ISC_R_NOTCONNECTED and return them where appropriate.
2000-05-11 05:43:53 +00:00
Michael Graff
2968701c3a
require that magic numbers be the first item in the structure.
2000-05-10 17:45:45 +00:00
Michael Graff
86bf5e8c34
add ISC_MAGIC('a','b','c','d') to make specifying magic numbers a bit more
...
readable
2000-05-10 17:06:57 +00:00
Andreas Gustafsson
996f4a8bc3
164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
...
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
to encapsulate nonportable usage of errno and fflush().
2000-05-09 23:19:32 +00:00
Andreas Gustafsson
6a13d6f3c6
Added result codes ISC_R_FILENOTFOUND and ISC_R_FILEEXISTS
2000-05-09 23:10:34 +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
6c41175537
add isc_sockaddr_any() and isc_sockaddr_any6 to set up a wildcarded address/port for v4 and v6 sockaddrs
2000-05-06 01:49:43 +00:00
Michael Graff
96e3bc37e6
document that before send*() or recv*() may be called, the socket must be bound either via connect() or bind()
2000-05-06 01:49:07 +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
Michael Graff
1a487fb7d2
Add isc_log_setcontext() to set the isc_lctx global (ala dns_lctx) and add module names for isc/socket
2000-05-03 21:09:34 +00:00
David Lawrence
b887048653
move prototype for isc_string_separate outside of ISC_PLATFORM_NEEDSTRSEP test
2000-04-28 22:47:45 +00:00
David Lawrence
358628c8f4
138. [cleanup] isc_strtouq moved from str.[ch] to string.[ch] and
...
renamed isc_string_touint64. isc_strsep moved from
strsep.c to string.c and renamed isc_string_separate.
2000-04-28 22:40:10 +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
738922ba7b
133. [cleanup] <isc/ipv6.h> needs <isc/platform.h>.
2000-04-28 21:19:55 +00:00
David Lawrence
9c4f33b671
131. [cleanup] <isc/mutex.h> and <isc/util.h> need <isc/result.h>
...
for ISC_R_* codes used in macros.
2000-04-28 19:03:50 +00:00
David Lawrence
b22879b057
include <isc/asssertions.h> since several defines depend on it
2000-04-28 18:32:30 +00:00
David Lawrence
904463e94c
126. [cleanup] <isc/quota.h> and <isc/taskpool.h> need <isc/lang.h>.
2000-04-28 17:24:26 +00:00
David Lawrence
2d78d06402
125. [cleanup] <isc/eventclass.h>, <isc/ipv6.h>, <isc/magic.h>,
...
<isc/mutex.h>, <isc/once.h>, <isc/region.h>, and
<isc/resultclass.h> do not need <isc/lang.h>.
2000-04-28 17:19:11 +00:00
David Lawrence
bf6f755a74
<isc/magic.h> does not need <isc/lang.h>.
2000-04-28 16:55:58 +00:00
David Lawrence
dd518cf33d
make conforming inclusion wrapper
2000-04-28 16:54:53 +00:00
David Lawrence
56433595bb
<isc/event.h> does not need <stddef.h>.
2000-04-28 04:34:30 +00:00
David Lawrence
fc9e755ba3
<isc/task.h> does not need <isc/mem.h> or <isc/result.h>.
2000-04-28 04:26:08 +00:00
David Lawrence
7896e45912
121. [cleanup] <isc/symtab.h> does not need <isc/mem.h> or
...
<isc/result.h>. Multiple inclusion protection
symbol fixed from ISC_SYMBOL_H to ISC_SYMTAB_H.
isc_symtab_t moved to <isc/types.h>.
2000-04-28 04:16:34 +00:00
David Lawrence
ed94876a19
missing ifndef ISC_STRING_H wrapper for body
2000-04-28 03:56:27 +00:00
David Lawrence
32eddfc189
120. [cleanup] <isc/socket.h> does not need <isc/boolean.h>,
...
<isc/bufferlist.h>, <isc/task.h>, <isc/mem.h> or
<isc/net.h>.
2000-04-28 03:53:48 +00:00
Bob Halley
4e507aaa4e
add assertion and error macros
2000-04-28 01:03:42 +00:00
Bob Halley
35ffe86508
namespace goodness
2000-04-28 01:03:24 +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
d1baeb3888
sys/types.h needed for some (BSD/OS pre-4.1) systems
2000-04-27 23:44:44 +00:00
David Lawrence
2cc1d2536d
114. [cleanup] <isc/sockaddr.h> does not need <isc/buffer.h> or <isc/list.h>.
2000-04-27 23:29:28 +00:00