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
Bob Halley
80cff01698
rdata.h
2000-04-28 16:29:58 +00:00
Bob Halley
3ae5393d7e
Update contract of dns_name_rdatacompare to return < 0, 0, > 0 instead of
...
-1, 0, 1.
2000-04-28 16:29:48 +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
David Lawrence
a9f3eb64f9
include config.h
2000-04-28 02:28:32 +00:00
Mark Andrews
b8dd48ecf8
119. [cleanup] structure definitions for generic rdata stuctures do
...
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
David Lawrence
6b7257f756
include config.h
2000-04-28 02:08:20 +00:00
Bob Halley
2d3c2c9911
YACC namespace protection for most platforms
2000-04-28 02:05:07 +00:00
Bob Halley
5188f8c6a5
include isc/util.h
2000-04-28 01:44:45 +00:00
Andreas Gustafsson
82ca33427b
declare arguments as UNUSED() when used in assertions only
2000-04-28 01:24:18 +00:00
Michael Graff
68e4926b22
namespace changes -- on NetBSD at least, libdns.a is now clean (excepting yy* symbols)
2000-04-28 01:15:58 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
Bob Halley
82a1986c04
include isc/util.h; LOCK to LOCKNUM
2000-04-28 01:08:52 +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
Mark Andrews
6c7e680943
115. [cleanup] libdns.a changes:
...
dns_zone_clearnotify() and dns_zone_addnotify()
are replaced by dns_zone_setnotifyalso().
dns_zone_clearmasters() and dns_zone_addmaster()
are replaced by dns_zone_setmasters().
2000-04-28 00:58:42 +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
Andreas Gustafsson
90f9d00f08
declare arguments as UNUSED() when used in assertions only
2000-04-27 23:57: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
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
David Lawrence
b3e7753518
108. [cleanup] DNS_SETBIT/DNS_GETBIT/DNS_CLEARBIT moved from
...
<dns/types.h> to <dns/bit.h> and renamed to
DNS_BIT_SET/DNS_BIT_GET/DNS_BIT_CLEAR.
2000-04-27 22:26:50 +00:00
Bob Halley
89b117b756
performance improvements
2000-04-27 21:46:31 +00:00
Bob Halley
bcaf544581
add macros
2000-04-27 21:45:46 +00:00
Bob Halley
6699408663
rename internal functions
2000-04-27 20:20:12 +00:00
Brian Wellington
48e27f529d
Conform to the dns_dnssec_verify api change and fix an nxt processing crash
2000-04-27 18:14:11 +00:00
Brian Wellington
9e842bb2d3
Allow dnssec verifications to ignore the validity period.
2000-04-27 18:09:10 +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
1911100e64
add comments about 'RETAIN'
2000-04-27 01:47:38 +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
Andreas Gustafsson
d11241a247
make good use of isc_buffer_remaininglength()
2000-04-27 00:24:21 +00:00
Andreas Gustafsson
fa04a194fb
return value from dns_rdataset_first() was ignored;
...
added more comments and logging to nxtvalidate()
2000-04-27 00:15:16 +00:00
David Lawrence
a231769eaa
Made compress_add and compress_find static to lib/dns/compress.c
2000-04-27 00:08:44 +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
Bob Halley
ace0c1b3f4
performance tweaks
2000-04-26 23:22:53 +00:00
Bob Halley
048f38385e
change contract for value of order
2000-04-26 23:12:57 +00:00
Michael Graff
98e8a46972
comments from code review
2000-04-26 21:54:50 +00:00
Mark Andrews
d2ed254fb8
(..., "%03u", 2) was not zero filling
2000-04-26 21:15:14 +00:00
Bob Halley
7525fa78c0
add XXXRTH comment about sending to ourselves
2000-04-26 19:25:01 +00:00
Michael Graff
95f908eb79
more bug fixes in generation of rdatatype_fromtext() processing
2000-04-26 18:30:04 +00:00
Mark Andrews
e8c91210aa
Add structure definitions.
2000-04-26 18:27:56 +00:00
Andreas Gustafsson
8db70f36be
isc_buffer_putstr() will soon return void
2000-04-26 18:24:15 +00:00