Commit Graph

17 Commits

Author SHA1 Message Date
James Brister
98c2f9a111 Support config file trusted-keys and also-notify statemenets in views.
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).

Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +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
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +00:00
David Lawrence
34e52a882a Silence IRIX warning:
"confndc.c", line 1149: remark(1552): variable "mem" was set but never used
2000-05-13 19:45:13 +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
David Lawrence
6d4b6f9d4b added dns_c_ndcctx_getserver, minor style lint 2000-04-24 22:53:41 +00:00
Andreas Gustafsson
e0d1050c57 use single quotes consistently in log messages 2000-04-18 00:18:38 +00:00
Bob Halley
fca5f81ad6 using snprintf or vsnprintf requires isc/print.h 2000-04-12 19:07:12 +00:00
James Brister
616ee4a3f7 Changes to support keys inside views. 2000-04-07 13:35:06 +00:00
James Brister
97645c1347 Removed superfluous incloude of config.h 2000-04-05 16:39:24 +00:00
James Brister
da47a1b896 Removed listen-on from views.
Changed syntax of grant/deny statements so they now must be inside an
'update-policy' block.

quote rr types when printing grant/deny statements as they can
clash with config file keywords.

Added rcs Id inside comment.
2000-03-28 22:58:25 +00:00
Bob Halley
77221c2c88 update copyright 2000-03-23 19:35:59 +00:00
David Lawrence
5090d51c22 review & bind coding style changes 2000-03-23 18:44:20 +00:00
Bob Halley
ea462c55f1 Fix typo.
Use #if ... #endif to comment out a section that had been commented out with
C++ // comments.  The // comments are not supported by all C compilers.
2000-03-17 18:27:41 +00:00
James Brister
c559e42c7e Uninitialized variable fixed. 2000-03-16 22:53:37 +00:00
James Brister
c0536aa152 ndc config parser and test program 2000-03-15 02:11:57 +00:00