David Lawrence
6d208969b3
112. [cleanup] <isc/serial.h> does not need <isc/boolean.h>.
2000-04-27 23:08:18 +00:00
David Lawrence
145bd6ea33
111. [cleanup] <isc/rwlock.h> does not need <isc/result.h> or
...
<isc/mutex.h>.
2000-04-27 23:01:34 +00:00
David Lawrence
0c33e418cb
110. [cleanup] <isc/result.h> does not need <isc/boolean.h> or
...
<isc/list.h>.
2000-04-27 22:48:57 +00:00
Bob Halley
6699408663
rename internal functions
2000-04-27 20:20:12 +00:00
Michael Graff
d8d845eb47
Call the macros from within the compiled functions. This puts the implementation in one place (buffer.h) and the REQUIRE() checking in buffer.c
2000-04-27 02:12:10 +00:00
Michael Graff
35a8d16d61
Make many functions (optionally) inlined. Currently disabled. To enable, see the top of buffer.h
2000-04-27 01:46:16 +00:00
David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
David Lawrence
f6cdcafa33
100. [cleanup] <isc/random.h> does not need <isc/int.h> or
...
<isc/mutex.h>. isc_random_t moved to <isc/types.h>.
2000-04-26 17:25:03 +00:00
Andreas Gustafsson
16a107c904
rate limiter now has separate shutdown() and
...
destroy() functions, and it guarantees that all queued
events are delivered even in the shutdown case
2000-04-26 17:10:32 +00:00
David Lawrence
b5dbab9c3f
typedef isc_ondestroy_t moved to <isc/types.h>
2000-04-26 17:06:44 +00:00
Andreas Gustafsson
8e04f382b6
updated comments based on API review
2000-04-26 17:04:11 +00:00
Andreas Gustafsson
bfcb9c7878
added ISC_EVENTCLASS_RATELIMITER
2000-04-26 16:59:18 +00:00
Andreas Gustafsson
e2e72750af
added ISC_EVENTATTR_CANCELED
2000-04-26 16:58:17 +00:00
David Lawrence
33e927bf86
98. [cleanup] <isc/print.h> does not need <stdarg.h> or <stddef.h>
...
unless ISC_PLATFORM_NEEDVSNPRINTF is defined.
2000-04-26 02:18:59 +00:00
David Lawrence
3e6b98586e
<isc/ondestroy.h> does not need <stddef.h> or <isc/event.h>.
2000-04-26 01:54:48 +00:00
David Lawrence
947bd6c648
<isc/mutex.h> does not need <isc/lang.h> or <isc/result.h>.
2000-04-26 01:29:27 +00:00
David Lawrence
878363c06b
95. [cleanup] <isc/mutexblock.h> does not need <isc/result.h>.
2000-04-26 01:18:24 +00:00
David Lawrence
a890fbefa3
C++ reserves the word "template"; use "templet" as the parameter to
...
isc_file_openunique
2000-04-26 00:45:24 +00:00
David Lawrence
b8957f3496
93. [cleanup] <isc/msgcat.h> does not need <isc/result.h>.
2000-04-26 00:21:42 +00:00
David Lawrence
c7f22f83aa
92. [cleanup] <isc/mem.h> does not need <stddef.h>, <isc/boolean.h>,
...
or <isc/result.h>.
2000-04-26 00:15:39 +00:00
David Lawrence
c4717613e4
<isc/log.h> does not need <sys/types.h> or <isc/result.h>
2000-04-25 23:44:20 +00:00
Andreas Gustafsson
fc4256ffdd
need <isc/lang.h>
2000-04-25 23:29:02 +00:00
David Lawrence
e8d3d40f0b
do not include obsolete rbtgen.h in HEADERS
2000-04-25 23:16:59 +00:00
David Lawrence
11e0238bbe
do not include obsolete mktemplate.h and ufile.h in HEADERS
2000-04-25 23:15:38 +00:00
David Lawrence
d41c9885ec
<isc/lex.h> does not need <stddef.h>
2000-04-25 23:08:16 +00:00
David Lawrence
334a4057e0
added isc_interface_t and isc_interfaceiter_t
2000-04-25 23:07:46 +00:00
David Lawrence
38feb01f1b
88. [cleanup] <isc/interfaceiter.h> does not need <isc/result.h> or
...
<isc/mem.h>. isc_interface_t and isc_interfaceiter_t
moved to <isc/types.h>.
2000-04-25 22:55:50 +00:00
David Lawrence
802aa6f2b7
87. [cleanup] <isc/heap.h> does not need <isc/boolean.h>,
...
<isc/mem.h> or <isc/result.h>.
(... and now heap.c needs <isc/mem.h>.)
2000-04-25 22:32:26 +00:00
David Lawrence
f42e994baf
added isc_bufferlist_t
2000-04-25 22:30:13 +00:00
David Lawrence
5baea3a021
Move isc_bufferlist_t to isc/types.h.
...
Do not need isc/buffer.h or isc/list.h.
2000-04-25 22:29:55 +00:00
David Lawrence
9cd39d7306
include <isc/types.h> instead of <isc/time.h> and <isc/result.h>
2000-04-25 22:04:08 +00:00
David Lawrence
408c676732
85. [cleanup] <isc/bufferlist.h> does not need <isc/mem.h>,
...
<isc/region.h> or <isc/int.h>.
2000-04-25 22:02:54 +00:00
David Lawrence
cc43f2461d
82. [cleanup] <isc/buffer.h> does not need <isc/list.h>.
2000-04-25 21:44:27 +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
7ce81e15fa
80. [cleanup] <isc/print.h> does not need <stdio.h> or <stdlib.h>.
...
(and now dns/ttl.c needs it since it was taken out of isc/print.h)
2000-04-25 20:20:31 +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
cc19a2200f
Removed mktemplate.h, ufile.h. Install file.h instead.
2000-04-24 21:49:50 +00:00
David Lawrence
8b7304a34c
73. [func] New "file" API in libisc, including new function
...
isc_file_getmodtime, isc_mktemplate renamed to
isc_file_mktemplate and isc_ufile renamed to
isc_file_openunique. By no means an exhaustive API,
it is just what's needed for now.
2000-04-24 21:36:10 +00:00
David Lawrence
945874face
rbtgen was never used by anything
2000-04-24 20:45:19 +00:00
Michael Graff
e44487bfc2
convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc.
2000-04-17 19:22:44 +00:00
Bob Halley
64b1a68e10
isc_task_create() no longer takes an mctx.
...
isc_task_mem() has been eliminated.
Use memory context reference counting.
2000-04-12 01:34:16 +00:00
Bob Halley
fd3271152c
Add isc_mem_attach(), isc_mem_detach(), isc_mem_preallocate(), and
...
isc_mem_setsplit(). Rename isc_mem_destroy_check() to
isc_mem_setdestroycheck(). Add isc_mem_inuse().
2000-04-12 01:24:17 +00:00
Andreas Gustafsson
0f7045b0c4
moved a few more typedefs to <isc/types.h>: isc_region_t,
...
isc_textregion_t, isc_lex_t
2000-04-10 21:57:24 +00:00
Andreas Gustafsson
e9da40a783
no need to include <isc/buffer.h>, <isc/result.h> from <isc/base64.h>
2000-04-10 21:35:48 +00:00
Andreas Gustafsson
e3b279bfa9
no need to include <isc/buffer.h>, <isc/result.h>, <isc/mem.h> from <isc/base64.h>
2000-04-10 21:33:36 +00:00
Andreas Gustafsson
dc46294525
added log.h and ondestroy.h to HEADERS
2000-04-04 23:04:30 +00:00
Andreas Gustafsson
e247a05711
need <sys/types.h>
2000-04-04 23:03:44 +00:00
Andreas Gustafsson
8f804834e2
moved logging typedefs from <isc/log.h> to <isc/types.h>
2000-04-04 20:09:05 +00:00
Andreas Gustafsson
e6e674f6a5
no need to include <isc/ondestroy.h> from <isc/mem.h>
2000-04-04 20:06:29 +00:00
Andreas Gustafsson
b7bd8a11e4
headers should not #include themselves
2000-04-04 19:25:33 +00:00