Mark Andrews
9281e7aa77
Implement / convert to new API for tostuct() and freestruct().
...
Define dns_rdata_loc_t structure.
x25 length is only 8 bits.
2000-05-05 05:50:14 +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
Andreas Gustafsson
90f9d00f08
declare arguments as UNUSED() when used in assertions only
2000-04-27 23:57:56 +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
6324997211
add attributes (line singleton, exlcusive, meta, etc) to rdata C files, and
...
build a table of them using gen.c. This means the names are stored twice,
but that will change in the near future. This will speed up number to text
conversions for rdatatypes, and I plan on speeding up text->number as
well, soon.
2000-04-07 03:54:52 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Michael Graff
f31f0b63cb
review code, add UNUSED() where needed, fix a bug made yesterday with RETERR()
2000-03-18 00:19:26 +00:00
Andreas Gustafsson
e6c22f37d8
backed out inappropriate use of RETERR() in
...
*_compare(); renamed 'result' to 'order' to avoid future confusion
2000-03-17 21:43:46 +00:00
Michael Graff
8dd2e6e7c1
formatting, review
2000-03-17 01:22:17 +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
Mark Andrews
9088094680
Add read support for BIND 8 TTL / counter format to soa.
...
Move bind_ttl to ttl.c and rename dns_ttl_fromtext and dns_counter_fromtext,
fix bug in handling of seconds (x 1 not x 60), can also handle raw number.
1999-11-02 13:07:53 +00:00
Michael Graff
2f072c2982
Update copyrights
1999-09-15 23:03:43 +00:00
Mark Andrews
05f90cac85
Adjust / add stucture definitions for NS/SOA/A/AAAA/A6 records.
1999-09-02 06:40:15 +00:00
Bob Halley
e27a69f8bd
add digest support
1999-08-31 22:05:55 +00:00
Bob Halley
4529cdaeda
make rdata functions static inline
1999-08-12 01:32:42 +00:00
Bob Halley
d981ca6455
class to rdclass; additional data support
1999-08-02 22:18:31 +00:00
Bob Halley
58b3ed8a34
fix a static declaration
1999-07-03 20:58:13 +00:00
Andreas Gustafsson
5fc7ba3e1a
added dns_db_dump(), $DATE, and supporting changes
1999-06-08 10:35:23 +00:00
Mark Andrews
94a3bcd132
dns_rdata_tostruct() may require memory to be allocted and hence
...
it will need to be freed, dns_rdata_freestruct().
Changes to implement this.
Added C++ support to rdatastruct.h
1999-05-07 03:24:15 +00:00
Mark Andrews
a560a0bfb2
Implement _tostruct().
1999-05-05 00:20:36 +00:00
Mark Andrews
854d0238db
Adjust #ifdef *_H -> #ifdef *_C to reflect new file names.
1999-05-05 00:19:04 +00:00
Mark Andrews
1ef8965366
Add decompression.
1999-02-24 06:31:35 +00:00
Mark Andrews
52637f592f
Add wire compression.
1999-02-22 07:24:05 +00:00
Mark Andrews
54db0529dc
Copyright dates now comma seperated list of years.
1999-02-16 22:51:19 +00:00
Mark Andrews
0e8cf9a887
Style updates.
...
cvs: ----------------------------------------------------------------------
1999-02-16 22:42:33 +00:00
Mark Andrews
7c0539bea5
Created dns_name_rdatacompare() to do DNSSEC rdata comparisions
...
as opposed to DNSSEC owner name comparisions of names. Changed
all rdata types that were using dns_name_compare() to use
dns_name_rdatacompare().
1999-02-15 05:44:22 +00:00
Mark Andrews
1c31915286
Add RR from RFC 1183
...
Update Copyright dates.
1999-01-22 05:02:49 +00:00
Mark Andrews
deaaf94332
dns_rdata_compare checked for RFC 1035 types
...
converted frometext* to use gettoken()
converted:
result = foo();
if (result != DNS_R_SUCCESS)
return (result);
to
RETERR(foo());
1999-01-22 00:36:59 +00:00
Mark Andrews
44a966dff6
Added WKS.
1999-01-21 06:02:15 +00:00
Mark Andrews
3d5cad69ec
Adjusted error codes.
...
txt_fromwire() was not coping with a zero length active buffer.
1999-01-20 05:20:24 +00:00
Bob Halley
26b0f58b6c
use the active region instead of the remaining region
1999-01-20 02:41:11 +00:00
Mark Andrews
f7b99290c3
Added INSIST's
1999-01-19 06:49:33 +00:00
Mark Andrews
3761c43391
Add $Id$'s
1999-01-19 05:38:36 +00:00
Mark Andrews
bfb2a81b65
Fix initial towire/fromwire so they work.
1999-01-19 05:16:32 +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