Mark Andrews
a555645b84
silence compiler warnings
2004-09-16 01:00:58 +00:00
Mark Andrews
987bab7061
silence compiler warning
2004-03-16 12:38:15 +00:00
Mark Andrews
347c832469
update copyrights
2004-03-08 09:05:15 +00:00
Mark Andrews
cbdd3a318b
update lib copyrights
2004-03-06 08:15:48 +00:00
Mark Andrews
6bd0e050ee
1574. [bug] Don't attempt to open the controls socket(s) when
...
running tests. [RT #9091 ]
2004-03-02 01:59:49 +00:00
Mark Andrews
694b001677
1586. [func] "check-names" is now implemented.
2004-02-27 21:45:34 +00:00
Mark Andrews
2137445c62
1535. [bug] When parsing APL records it was possible to silently
...
accept out of range ADDRESSFAMILY values. [RT# 9979]
2004-01-05 06:19:28 +00:00
Mark Andrews
69acffbb19
sync with HEAD
2003-10-14 03:48:11 +00:00
Mark Andrews
388732593d
cleanup spaces before semicolons.
2003-09-24 03:47:21 +00:00
Mark Andrews
57b54234cd
sizeof style
2003-09-11 00:18:18 +00:00
Mark Andrews
7282bc47d1
signed vs unsigned
2003-09-02 04:13:43 +00:00
Mark Andrews
9fa13373e5
1220. [func] Support for APL rdata type.
2003-08-20 04:47:23 +00:00
Mark Andrews
193fd4f417
pullup:
...
Use as_textregion.base not as_pointer. [RT #2385 ]
2003-08-13 00:36:56 +00:00
Mark Andrews
e6f17dd534
1171. [func] Added function isc_region_compare(), updated files in
...
lib/dns to use this function instead of local one.
2003-08-12 14:16:17 +00:00
cvs2git
fb4531edb3
This commit was manufactured by cvs2git to create branch 'v9_3'.
2003-07-30 02:00:55 +00:00
Mark Andrews
5eb91bd90e
silence compiler warnings (HPUX/11i)
2003-07-25 00:01:16 +00:00
Mark Andrews
c1df871a18
silence compiler warnings (HPUX/11i)
2003-07-23 06:57:59 +00:00
Danny Mayer
59d1535572
casts required
2002-08-01 03:31:44 +00:00
Mark Andrews
53f9ddf27c
silence pointer mismatch
2002-07-04 04:19:54 +00:00
Brian Wellington
a615e9a446
ALP -> APL
2002-03-06 18:33:13 +00:00
Mark Andrews
feb8ae0931
1220. [func] Support for APL rdata type.
2002-03-06 07:41:25 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Mark Andrews
c46f10e4a1
Use as_textregion.base not as_pointer. [RT #2385 ]
2002-01-21 01:07:32 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
cvs2git
92e662f530
This commit was manufactured by cvs2git to create branch 'v9_3'.
2001-08-30 04:33:22 +00:00
Andreas Gustafsson
90e289c59f
A6 has an RFC now
2001-07-26 21:34:02 +00:00
Mark Andrews
bddfe77128
936. [func] Warn when non dotted decimal quad's are used.
...
[RT #1084 ]
935. [bug] inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
85bdc128fc
Relax REQUIRES() in *fromstruct() and unconditionally call
...
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Brian Wellington
ae114ded82
Fix a bunch of unused variable warnings that only occurred with assertions
...
turned off.
2001-03-16 22:53:20 +00:00
Mark Andrews
9ac7076eba
769. [func] Improved error reporting when parsing rdata. [RT #740 ]
...
Two new error codes. Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington
cdc50af0bf
In the towire_* and additionaldata_* routines, add an offsets table to names
...
passed into dns_name_toregion(). This is effectively free, and reduces the
number of calls to set_offsets() and dns_name_clone() in name compression.
2001-02-12 03:05:05 +00:00
Brian Wellington
330705066b
Wrap inet_ntop() and use that in the _totext() functions. The wrapper calls
...
inet_ntop() and copies the output (but not the trailing null) into the buffer.
2001-01-25 20:14:42 +00:00
Brian Wellington
2a006fffe4
our NAPTR implementation does conform to RFC 2915.
2001-01-18 22:05:41 +00:00
Brian Wellington
cb2ad98ea4
make prefixlen an isc_uint8_t [RT #658 ]
2001-01-17 02:54:17 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
63cef8bde8
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:40:59 +00:00
Brian Wellington
add4043305
The identical gettoken() routines in rdata.c, hex.c, and base64.c have
...
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +00:00
Mark Andrews
b589e90689
Remove the rdata->length == 0 checks, UPDATE pseudo rdata are now tagged.
...
Add sanity checks to rdata types where the length cannot legally be zero.
2000-10-25 05:44:10 +00:00
Andreas Gustafsson
9f139761ca
don't use parentheses in the text representation of RRs unless
...
we are in multiline mode; this ensures that the output can be re-parsed with
dns_rdata_fromtext
2000-08-24 21:41:44 +00:00
Andreas Gustafsson
efadda9a7b
added UNUSED() macros to suppress compiler warnings when
...
compiling with assertion checking turned off
2000-08-08 23:40:46 +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
28d9fd5381
update_copyrights
2000-06-21 22:45:24 +00:00
Andreas Gustafsson
12dd8db40b
don't indent comments by one space
2000-06-16 21:45:51 +00:00
David Lawrence
6d12fdf966
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.
rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.
Some minor integer-compatibility issues. (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast. The type of an
enum member is int, so there are some conversion issues there, too.)
A pointers-to-function should not be cast to a pointer-to-object.
Variables should not be named for C reserved identifiers.
One or two set-but-not-used variables removed.
Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
Mark Andrews
373ce67419
Implement dns_rdata_fromstruct() where not already done.
...
Add missing REQUIRE tests to existing implementations.
2000-05-22 12:38:12 +00:00
Mark Andrews
389e24909e
return ISC_R_SUCCESS from tostruct().
2000-05-19 13:28:36 +00:00