Brian Wellington
822f6cdabb
Created isc_base64_to{text,buffer} and removed the static versions
...
from lib/dns/rdata.c.
1999-05-18 17:46:59 +00:00
Mark Andrews
f0ff273b53
base and length should have been taken from tregion not target.
1999-05-17 15:40:39 +00:00
Mark Andrews
7d62ddffbb
Add escape processing to txt_fromtext
1999-05-17 15:30:03 +00:00
Andreas Gustafsson
1d978b3ba2
base64_totext() encoded 16-bit final quantum incorrectly
1999-05-17 04:49:38 +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
4fd3e3482c
dns_rdata_tostruct() conversion
1999-05-05 01:55:13 +00:00
Bob Halley
e1739e9938
do not include dns/rdatastruct.h (yet)
1999-05-03 19:56:53 +00:00
Mark Andrews
c1e7aff941
Implement compression pointer rollback.
...
dns_compress_backout() -> dns_compress_rollback()
1999-05-03 03:07:16 +00:00
Mark Andrews
285b63e90f
Added {} to prevent 'ambigious else' warnings.
1999-03-11 00:29:10 +00:00
Mark Andrews
bcd7fdf06c
Fix mnenonic names.
1999-02-25 00:27:02 +00:00
Mark Andrews
52637f592f
Add wire compression.
1999-02-22 07:24:05 +00:00
Mark Andrews
0e8cf9a887
Style updates.
...
cvs: ----------------------------------------------------------------------
1999-02-16 22:42:33 +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
Mark Andrews
035504dbd8
Added new error code DNS_R_UNEXPECTEDTOKEN, DNS_R_BADBASE64.
...
Adjusted function to use the new error codes.
Changed some INSIST -> REQUIRE.
Mapped ISC_R_NOMEMORY -> DNS_R_NOMEMORY for isc_lex_gettoken() result.
1999-02-12 03:08:44 +00:00
Mark Andrews
fdd04623a6
Convert to user error / warn callbacks.
1999-02-10 05:25:37 +00:00
Bob Halley
25870d4a37
eliminate infinite loop
1999-02-10 03:39:29 +00:00
Mark Andrews
82d0558893
Pass multiple callbacks in dns_rdatacallbacks_t.
...
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00
Bob Halley
83ac7ce833
lint
1999-02-06 01:45:11 +00:00
Mark Andrews
e4653123ec
isc_lex_getsourcename()
...
isc_lex_getsourceline()
convert uint#_tobuffer() to use isc_buffer_putuint#()
1999-02-05 06:41:21 +00:00
Mark Andrews
15330e4fa2
isc_strtouq()
1999-02-05 04:57:20 +00:00
Mark Andrews
54c26ab21c
dns_cert_{to,from}text()
...
dns_secalg_{to,from}text()
1999-02-05 00:05:46 +00:00
Mark Andrews
8d3e74b168
gen to generate dns_rdata{type,class}_{type,class}
...
dns_rcode_{to,from}text()
TKEY was missing the Algorithm
1999-02-04 06:38:43 +00:00
Mark Andrews
904294c0c9
region_compare() return wrong result when regions were the same.
...
base64_tobuffer() need a way to read a specific length of base64
data, not just read to eol.
1999-02-04 00:03:29 +00:00
Mark Andrews
3a4ec3da9f
atob_tobuffer and btoa_totext
1999-02-03 06:01:32 +00:00
Mark Andrews
217f572018
NSAP-PTR Initial implementation.
...
Modified gen.c to support "-" in class and type names.
1999-02-02 22:34:20 +00:00
Mark Andrews
06a4967441
ATMA not supported.
1999-02-02 05:44:51 +00:00
Bob Halley
fe47f41b13
eliminate compiler warnings (signed vs. unsigned)
1999-02-02 01:18:51 +00:00
Mark Andrews
fcf8db89e6
EID, NIMLOC
1999-02-01 21:34:51 +00:00
Mark Andrews
8a17d1e7cd
added decvalue
1999-02-01 07:59:43 +00:00
Mark Andrews
2bc0da0cd8
Added NXT
...
Debugged SIG
1999-01-29 08:04:13 +00:00
Bob Halley
f305d86668
need multiline mode
1999-01-29 07:02:59 +00:00
Mark Andrews
ffe74cc719
Add KEY, SIG and NSAP rdata type. SIG is not complete.
...
Add master file reader, master.c master.h, incomplete.
gen.c was not generate correct include file, SWITCHXXX macros were
being terminated early if last RR type was class specific.
Added base64 support to rdata.c.
1999-01-27 13:38:21 +00:00
Bob Halley
f0a5bb8f86
fix default case in dns_rdata_towire
1999-01-27 06:07:57 +00:00
Mark Andrews
1c31915286
Add RR from RFC 1183
...
Update Copyright dates.
1999-01-22 05:02:49 +00:00
Mark Andrews
2192b44973
HINFO and TXT now handle quoted strings.
1999-01-22 01:27:30 +00:00
Michael Graff
0c310d16b0
cast target->base to unsigned char *, and rearrange the includes
1999-01-22 01:21:02 +00:00
Mark Andrews
eb6bd543c7
covert RETERR to do { ... } while (0)
1999-01-22 00:38:47 +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
bed8e84810
Add meta and IANA reserved types / classes.
1999-01-20 22:49:34 +00:00
Mark Andrews
a98551ef59
Implemented dns_rdatatype_fromtext(), dns_rdatatype_totext(),
...
dns_rdataclass_fromtext() and dns_rdataclass_totext().
1999-01-20 06:51:30 +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
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