Commit graph

269 commits

Author SHA1 Message Date
Andreas Gustafsson
5f2d1b96ac new type isc_quota_t, for client (and other) quotas 2000-01-11 21:08:13 +00:00
Andreas Gustafsson
c12e9c47b3 changed comments for isc_socket_detach() to reflect reality 2000-01-10 22:22:53 +00:00
Michael Graff
0fd03d2a66 fix up comments 2000-01-06 23:07:21 +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
Mark Andrews
1205f38a4c max_token is now a hint as to largest token. 1999-12-23 05:24:12 +00:00
Mark Andrews
4d22a83c38 RWLOCK/RWUNLOCK to return __FILE__ and __LINE__.
Use #ifdef ISC_UTIL_TRACEON so that tracing can be turned on per file.
e.g.
	#define ISC_UTIL_TRACEON
	#include <isc/util.h>
1999-12-22 06:14:59 +00:00
Michael Graff
ec075c6efb revert assertions.h, and add UNUSED() to util.h 1999-12-16 22:42:05 +00:00
Michael Graff
78fed22afc install util.h, too, and add a warning about its use 1999-12-16 22:29:13 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff
b8ef99c3a7 make the lfsr's real lfsr's, and use two of them to generate random-looking IDs 1999-12-16 00:07:21 +00:00
Michael Graff
21cbbc3e83 document functions. Add isc_lfsr_init() and unimplemented isc_lfsr_findlfsr() 1999-12-15 02:55:27 +00:00
Michael Graff
cb5f37d93b add lfsr.h 1999-12-15 01:49:07 +00:00
Michael Graff
4534478a8b Define UNUSED() in assertions.h. I can't think of a better place, and
changing many, many .c files to include <isc/unused.h> seems somehow wrong.
1999-12-15 01:48:46 +00:00
Mark Andrews
8a21ac0f09 Add isc_buffer_putstr(). 1999-12-13 02:18:02 +00:00
Michael Graff
8b7f596003 Use one more returned-event attribute to indicate fatal error, where
retrying on a socket is pointless, as it will immediately fail.
1999-12-08 22:53:08 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Michael Graff
f684e54a0d remove _S6_u64 from the in6_addr, and define struct in6_pktinfo 1999-12-03 01:22:40 +00:00
Michael Graff
f6f4ceece4 more fully implement the 'standard' in6_addr, and use the macros correctly
in adb.c
1999-12-02 23:45:30 +00:00
Michael Graff
443ad8c09c add IPV6 macros for unspecified, loopback, v4compat, and v4mapped addresses 1999-12-02 22:50:17 +00:00
Andreas Gustafsson
be3fa6d82f typo 1999-12-01 20:30:16 +00:00
Andreas Gustafsson
97ad774ae2 commented purging of timer events on timer destruction 1999-12-01 03:12:22 +00:00
Andreas Gustafsson
33911b409b added isc_sockaddr_eqaddrprefix() 1999-11-29 20:00:19 +00:00
Andreas Gustafsson
add0155318 added isc_ratelimiter_t, a helper object that lets you
dispatch events to a task with a guaranteed minimum interval
1999-11-17 01:29:44 +00:00
Mark Andrews
a81da453ff remove compiler warnings 1999-11-01 04:45:19 +00:00
Bob Halley
4a73cf8ee0 update copyrights 1999-10-31 18:42:01 +00:00
Andreas Gustafsson
91fbf6ef97 the new isc_sockaddr_totext() now null terminates the text;
the terminating null is not part of the buffer's used region
1999-10-29 23:53:26 +00:00
Andreas Gustafsson
e5b0c46fbb added isc_buffer_putmem() 1999-10-29 23:50:55 +00:00
Andreas Gustafsson
4ed0c326e6 isc_sockaddr_totext() now writes to an isc_buf_t, not
a dynamically allocated string
1999-10-29 23:46:27 +00:00
Mark Andrews
90adbb5f1c Remove various "enumerated type mixed with another type" warnings.
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
Mark Andrews
f859f35d85 Reverse previous commit. 1999-10-29 07:18:53 +00:00
Mark Andrews
fe37278859 in6_addr.s6_addr is *always* an array. 1999-10-29 06:36:05 +00:00
Andreas Gustafsson
cdd5e37820 isc_netaddr_t now has a "family" field 1999-10-28 23:09:01 +00:00
David Lawrence
1b038dbf06 Prototypes and documentation for isc_log_write1(), isc_log_vwrite1(),
isc_log_setduplicateinterval() and isc_log_getduplicateinterval().
1999-10-25 19:47:42 +00:00
Bob Halley
bad8294771 add const to filename args 1999-10-25 18:42:09 +00:00
Mark Andrews
42c479991f in6addr_any and in6addr_loopback should be "const" 1999-10-25 16:33:13 +00:00
Mark Andrews
0f0ed7ea47 Add "const" to input only arguements. 1999-10-25 14:37:04 +00:00
James Brister
54570ba7ff Added isc_sockaddr_eqaddr and its protoype: compares only the addresses
(and not the port values) of two isc_sockaddr_t.
1999-10-25 10:07:37 +00:00
Bob Halley
d409ceeda4 do not require ': ' in module/category names 1999-10-22 19:30:38 +00:00
Michael Graff
88d0cafafc add random.h 1999-10-22 00:58:47 +00:00
Andreas Gustafsson
584ba0e67d Created a new type isc_taskpool_t, a pool of isc_task_t
objects to be shared by multiple users.  This is intended for use by things
like zones, which would need hordes of tasks if each one had a separate task.
1999-10-21 00:32:15 +00:00
Michael Graff
09dbb18c6d add isc_random_t, and all the isc_random_*() function to use it. Right now it is
a pretty empty type, but it would be good to flesh it out so each random state
will be separated from one another.  Right now they all just lock
around rand(), which isn't perfect, but good enough for what I need
today.
1999-10-20 23:25:17 +00:00
Michael Graff
78b2f25c9a add isc_mem_setname() 1999-10-19 01:22:39 +00:00
David Lawrence
899f7f9af5 ah, oops. need stdargs.h for va_list type. 1999-10-11 14:12:31 +00:00
David Lawrence
00a1623a59 isc_log_vwrite is now a public function 1999-10-11 13:16:42 +00:00
James Brister
5f42ef032d Fixed CPP macro name that wasn't changed when platform.h was created. 1999-10-10 17:11:41 +00:00
David Lawrence
83e8c58817 moved to unix/include/isc/int.h 1999-10-07 02:39:23 +00:00
David Lawrence
09da984c2c commandline.h added to HEADERS 1999-10-06 19:40:20 +00:00
David Lawrence
d209a67373 BSD short option getopt, name mangled for the ISC. 1999-10-06 19:23:05 +00:00
Bob Halley
66100d11b5 define socket types in types.h 1999-10-05 21:22:02 +00:00