Commit Graph
83 Commits
Author SHA1 Message Date
Automatic Updater 3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews 6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews bc8711b148 win32 2006-10-02 07:03:05 +00:00
Mark Andrews 1b06367c34 update copyright notice 2006-01-06 00:01:44 +00:00
Mark Andrews 118394ef2e 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:30:34 +00:00
Mark Andrews ef67e6d8fa 1859. [func] Add support for CH A record. [RT #14695] 2005-06-04 00:18:56 +00:00
Mark Andrews 69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews 28b863e609 pullup fixed from 9.3 2004-03-16 05:52:24 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews 2047977ce2 1586. [func] "check-names" is now implemented. 2004-02-27 20:41:51 +00:00
Mark Andrews 5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Mark Andrews 471e0563c7 1485. [bug] gen failed to handle high type values. [RT #6225] 2003-07-17 08:05:15 +00:00
Mark Andrews 8695d7b357 1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
NULL terminated text regions. [RT #2588]
2002-03-20 17:12:29 +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
Andreas Gustafsson f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson 76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Danny Mayer f621719829 Added support for Win32 2001-07-16 05:10:30 +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
Andreas Gustafsson 19b34f979c removed initializations of nonexistent variables at Danny's request 2001-07-06 17:35:04 +00:00
Danny Mayer 4da4fef481 Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses 2001-07-06 02:56:47 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington 48b5493b2c types 128 - 255 are meta types 2000-11-20 20:29:00 +00:00
Brian Wellington ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Brian Wellington 787b57597e The CLASSNAMES array was both unused and incomplete. 2000-11-09 03:03:47 +00:00
Brian Wellington 5cca7753fd RRTYPE -> TYPE for unknown types 2000-11-07 23:44: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 28d9fd5381 update_copyrights 2000-06-21 22:45:24 +00:00
Mark Andrews d2b5fe92a4 Generate dependancies for dot 'h' files made by gen. 2000-06-06 02:01:41 +00:00
David Lawrence f8faa9fe09 my last revision created a dns_rdataclass_* enum that had a comma after the
last idenfier, and IRIX whined about it.  Repeatedly.  Sigh.
2000-06-02 03:26:17 +00:00
David Lawrence 1c70c5ee90 227. [cleanup] The enumerated identifiers dns_rdataclass_*,
dns_rcode_*, dns_opcode_*, and dns_trust_* are
                        also now cast to their appropriate types.
2000-06-02 01:07:05 +00:00
David Lawrence 0b056755b2 225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
cast to dns_rdatatype_t via macros of their same name
                        so that they are of the proper integral type wherever
                        a dns_rdatatype_t is needed.

(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +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 47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +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
Michael Graff 987effb437 Be far, far noisier about 'generated file; do not edit' to keep the important message from disappearing between copyright notices (say, in rdatastruct.h) 2000-05-04 22:49:47 +00:00
Andreas Gustafsson 7a9b47e4d0 do not indent comments by one space 2000-05-03 20:24:03 +00:00
Michael Graff 95f908eb79 more bug fixes in generation of rdatatype_fromtext() processing 2000-04-26 18:30:04 +00:00
Michael Graff 88cad53724 fix problem with alpha 2000-04-26 17:27:01 +00:00
Michael Graff 18b8cd9e27 add dns_rdataclass_chaos and _reserved0 (used internally to rdata.c) to the enumclass.h file 2000-04-25 21:10:33 +00:00
Michael Graff 94a537e6ab optimize dns_rdatatype_fromtext() 2000-04-25 19:09:07 +00:00
Michael Graff 89bc8a8876 formatting, no functional change 2000-04-19 18:33:09 +00:00
Michael Graff 8de9b6a176 Add types that don't have an associated file (type 0, type 'uid', etc) to the array, rather than special-casing them when printing. This lets us sort on things easier. 2000-04-19 18:32:26 +00:00
Michael Graff 5d4660ccb5 maila/mailb are only allowed as questions, too 2000-04-14 22:59:01 +00:00
Michael Graff fa018cb51f axfr and ixfr can occur only in the question section, not in the 'body' 2000-04-14 22:42:24 +00:00
Michael Graff 7ec579cd5d Add functions to check that a type is only or is not allowed in a question section 2000-04-14 20:13:49 +00:00