Andreas Gustafsson
e02884167b
use the UNUSED() macro
2000-08-11 16:47:33 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +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
Andreas Gustafsson
94a08e09db
Check for edns1 and strict decompression once and for all in
...
dns_[de]compress_setmethods instead of separately in every caller
2000-05-04 22:19:34 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +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
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
David Lawrence
ecb6c5782e
exorcized local compression
2000-03-23 05:18:46 +00:00
Bob Halley
c3b708aaf1
Implement rrset ordering. Default is cyclic.
...
If the rdataset iterator failed unexpectedly while rendering, we failed to
rollback.
2000-02-24 21:08:34 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
David Lawrence
13eaef2df2
more INSISTs for proper range before passing integers to isc_buffer_putuint16
1999-10-17 22:40:05 +00:00
Bob Halley
8dfa9caeec
handle negative cache rdatasets in _towire()
1999-09-22 00:26:40 +00:00
Bob Halley
7837d14621
add dns_rdataset_count()
1999-09-21 20:40:42 +00:00
Bob Halley
732e0731de
SIG support
1999-08-31 22:14:06 +00:00
Bob Halley
28640d1da2
add dns_rdataset_isassociated
1999-08-19 20:44:56 +00:00
Bob Halley
89d8adb666
for good style, call dns_rdataset_first() first when dealing with questions
1999-08-03 20:54:56 +00:00
Andreas Gustafsson
1afdc8c2e7
dns_rdataset_towire() returned DNS_R_NOMORE after successfully rendering an empty section; should return DNS_R_SUCCESS
1999-08-03 13:30:54 +00:00
Bob Halley
d981ca6455
class to rdclass; additional data support
1999-08-02 22:18:31 +00:00
Bob Halley
1c724c986d
add rdataset cloning
1999-07-13 01:50:22 +00:00
Bob Halley
bf345589ce
add question attribute
1999-07-03 20:52:50 +00:00
Bob Halley
ca67883a66
cache trust level support
1999-06-16 23:47:09 +00:00
Andreas Gustafsson
5fc7ba3e1a
added dns_db_dump(), $DATE, and supporting changes
1999-06-08 10:35:23 +00:00
Michael Graff
b12f0228b3
initialize attributes to zero
1999-05-21 00:48:45 +00:00
Mark Andrews
c1e7aff941
Implement compression pointer rollback.
...
dns_compress_backout() -> dns_compress_rollback()
1999-05-03 03:07:16 +00:00
Michael Graff
9440f8c902
remove a REQUIRE() I pasto-ed
1999-04-30 21:52:34 +00:00
Michael Graff
8d6024e7cf
Move the flags on dns_rdataset_totext() to be together, and make a
...
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff
69be7837c9
teach dns_rdataset_towire() about the no-rdata-or-ttl trick so it will work
...
for rendering the questions as well as the other sections.
1999-04-30 07:08:55 +00:00
Michael Graff
d331092fdd
Add a flag to dns_rdataset_totext() to turn on/off 'question format'
1999-04-30 00:17:56 +00:00
Bob Halley
0180ccf72c
require non-NULL methods on accessors
1999-04-01 04:01:30 +00:00
Bob Halley
904a573437
C++ compatibility
1999-03-04 02:48:47 +00:00
Mark Andrews
52637f592f
Add wire compression.
1999-02-22 07:24:05 +00:00
Mark Andrews
19d365e444
Added missing REQUIRE()'s to dns_rdata_*().
...
Restored origin to dns_rdata_totext().
Made include file comments more relevent.
1999-02-16 02:54:18 +00:00
Bob Halley
ccbfddc70e
dns_rdataset_towire() now returns the number of RRs added to target
1999-01-30 05:01:01 +00:00
Bob Halley
e496615043
add private4 and private5
1999-01-29 22:19:38 +00:00
Bob Halley
2cd0c38115
fix typo
1999-01-28 23:52:24 +00:00
Michael Graff
22f735acbc
implement and use isc_buffer_putuint{16,32}()
1999-01-27 06:18:45 +00:00
Michael Graff
76883e8cee
implement dns_rdataset_towire()
1999-01-27 05:54:39 +00:00
Michael Graff
110d170273
include <config.h>
1999-01-22 01:21:44 +00:00
Bob Halley
0d0d9a9d98
restructure totext(), print type and class as text instead of as numbers
1999-01-20 07:49:30 +00:00
Bob Halley
1c25689ae6
more tabbing fixes
1999-01-20 02:40:02 +00:00
Mark Andrews
5d51e67c3b
Initial "rdata" support. RFC 1035 RR types minus WKS
...
totext/fromtext should all work
towire/fromwire mostly work
tostruct/fromstruct return DNS_R_NOTIMPLEMENTED
compare untested
1999-01-19 02:20:26 +00:00
Bob Halley
95552051ab
improve tabbing
1999-01-16 01:25:06 +00:00
Bob Halley
62305d91b2
allow owner_name to be empty
1999-01-15 20:00:43 +00:00
Bob Halley
54f959d12b
implement basic totext
1999-01-15 19:36:07 +00:00
Bob Halley
078d49b633
rdataset valid moved to .h file
1999-01-15 08:07:09 +00:00
Bob Halley
5619558151
add rdataset
1999-01-15 03:31:17 +00:00