Commit graph

61 commits

Author SHA1 Message Date
Mark Andrews
bcff319811 Wildcard NS records are not conceptually allowed by RFC 103[45]. 2000-06-09 06:03:47 +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
Brian Wellington
2ee24549b3 Added DNS_R_NOTINSECURE 2000-05-18 01:42:40 +00:00
David Lawrence
34b394b43e DNS_R_RANGE -> ISC_R_RANGE 2000-05-15 21:14:38 +00:00
Andreas Gustafsson
e1f16346db validator must not indicate a validation failure by returning
ISC_R_NOTFOUND as that seriously confuses query_find().  Introduced new
result codes DNS_R_NOVALIDSIG and DNS_R_NOVALIDNXT to use instead.
2000-05-12 21:25:17 +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
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Mark Andrews
afbc024820 Add DNS_R_USETCP. 2000-03-20 12:26:32 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Bob Halley
f53e43c37f add DNS_R_ALIAS 2000-01-21 02:48:42 +00:00
Mark Andrews
fa756a197b remove extranious return 2000-01-20 06:38:47 +00:00
Andreas Gustafsson
542189f21b dns_result_torcode() now converts ISC_R_SUCCESS into
dns_rcode_noerror, not dns_rcode_servfail
1999-12-22 22:11:18 +00:00
Mark Andrews
3864eb0e9a Add DNS_R_NOJOURNAL 1999-12-07 06:06:51 +00:00
Brian Wellington
322b0fb39d added DNS_R_NOIDENTITY 1999-11-02 19:57:13 +00:00
Brian Wellington
73af6575e0 Added DNS_R_NOTVERIFIEDYET 1999-11-01 22:54:26 +00:00
Bob Halley
7b4dcbb89b add DNS_R_WAIT 1999-10-29 03:31:13 +00:00
Brian Wellington
a413f94248 invalid tkey result code 1999-10-26 19:30:23 +00:00
Bob Halley
2cbedda69e get rid of NXGLUE 1999-10-25 21:17:54 +00:00
Bob Halley
cd02757774 add negative caching result codes 1999-10-15 20:49:33 +00:00
Mark Andrews
659175b7d4 Add DNS_R_NOTLOADED. 1999-10-14 01:24:08 +00:00
Bob Halley
63d1ef9e77 add DNS_R_DROP 1999-10-07 19:40:57 +00:00
Bob Halley
d14b749789 add DNS_R_HINT 1999-09-24 01:40:15 +00:00
Bob Halley
870288a1fa DNS_R_NXGLUE 1999-09-13 18:27:26 +00:00
Brian Wellington
8224be5129 more TSIG errors 1999-09-10 14:54:48 +00:00
Brian Wellington
ccad3c9ecb first cut at dnssec support 1999-09-01 20:50:49 +00:00
Brian Wellington
04b8111f21 Added TSIG specific error codes 1999-08-20 17:02:15 +00:00
Andreas Gustafsson
308c7ad5f6 new result code DNS_R_UPTODATE 1999-08-20 06:10:31 +00:00
Brian Wellington
147fd0bdf8 dns_result_torcode missing breaks in switch 1999-08-05 20:39:21 +00:00
Bob Halley
711b0bed7b rcode was initialized incorrectly in dns_result_torcode() 1999-07-24 01:28:52 +00:00
Bob Halley
25e43e68b7 rcode result type support; cleanups 1999-07-24 00:59:26 +00:00
Brian Wellington
125d72976a Merged redundant DNS_R_ and ISC_R_ result codes 1999-07-02 17:51:27 +00:00
Bob Halley
137ae8a892 add DNS_R_MOREDATA 1999-06-28 23:36:00 +00:00
Bob Halley
96754ed7b4 put msgcat init in lib.c 1999-06-23 22:28:27 +00:00
Bob Halley
138a6660fb define set number 1999-06-23 03:09:24 +00:00
Bob Halley
d8dcd6ad46 basic NLS support 1999-06-23 02:51:39 +00:00
Bob Halley
e4e071ae12 unified result type support 1999-06-18 22:35:18 +00:00
Bob Halley
72a8e39155 update 1999-06-15 23:16:06 +00:00
Michael Graff
f92381fe0f Allocate DNS_R_FORMERR 1999-04-29 08:19:33 +00:00
Bob Halley
6e077ae73c add DNS_R_ZONECUT 1999-04-05 20:11:30 +00:00
Bob Halley
e7b724c23e result types for database searches 1999-04-01 03:59:49 +00:00
Michael Graff
952c9d12d0 add DNS_R_MOREDATA for msg library 1999-03-30 03:45:11 +00:00
Mark Andrews
5f78628b28 Add DNS_R_BADTTL. 1999-03-22 06:18:34 +00:00
Bob Halley
0cc67b5a2a add DNS_R_UNCHANGED 1999-03-11 20:06:56 +00:00
Bob Halley
0b7c2a096d add DNS_R_NEWORIGIN 1999-03-08 18:51:14 +00:00
David Lawrence
f85b8869df new result type, DNS_R_PARTIALMATCH, for dns_rbt_find* 1999-03-04 20:55:57 +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
df1ba071bc New error codes.
DNS_R_NOOWNER
	DNS_R_NOTTL
	DNS_R_BADCLASS
1999-02-10 05:19:56 +00:00
Mark Andrews
b8ea456f92 Failure to pass a valid IPv6 address now returns DNS_R_BADAAAA. 1999-02-09 07:52:32 +00:00
Mark Andrews
3a4ec3da9f atob_tobuffer and btoa_totext 1999-02-03 06:01:32 +00:00