2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00
Commit Graph

6723 Commits

Author SHA1 Message Date
Andreas Gustafsson
2d54cf04fc documented release procedures 2000-05-19 20:41:27 +00:00
Andreas Gustafsson
538971e27d 194. [doc] The PDF version of the Administrator's Reference
Manual is no longer included in the ISC BIND9
                        distribution.
2000-05-19 18:14:17 +00:00
Andreas Gustafsson
fd3594dc7f The 'Return to BINDv9 Administrator Reference Manual' links
at the end of each .html file were broken; they pointed at
a document with the extension .HTML rather than .html
2000-05-19 17:33:51 +00:00
Andreas Gustafsson
77071cec20 replaced ARM with latest edition 2000-05-19 17:28:31 +00:00
Andreas Gustafsson
bc436be071 the trusted-keys statement is now implemented 2000-05-17 19:11:09 +00:00
Andreas Gustafsson
559e5654ce updated drafts 2000-05-17 18:44:08 +00:00
David Lawrence
34b394b43e DNS_R_RANGE -> ISC_R_RANGE 2000-05-15 21:14:38 +00:00
Andreas Gustafsson
e998a97650 documented log message conventions 2000-05-11 18:28:04 +00:00
Andreas Gustafsson
6d3e572604 added 2000-05-04 18:00:23 +00:00
Andreas Gustafsson
c8225ba7f2 specify use of blank lines between local variables,
REQUIREs, UNUSEDs, and code
2000-04-28 22:24:22 +00:00
Andreas Gustafsson
7e98526069 document UNUSED() and its location relative to REQIRE() 2000-04-28 00:31:46 +00:00
David Lawrence
e1747e09e7 Vertical whitespace is encouraged for improved code legibility by
grouping closely related statements and then separating them with a
single empty line.

Lines should not be longer than 79 characters, even if it requires
violating the indentation rules to do so.  Since ANSI is assumed, the
best way to deal with strings that extend past column 79 is to break
them into two or more sections separated from each other by a newline
and indentation. (w/example)

Note that <isc/lang.h> should be included by any public
header file to get the ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS
macros used so the correct name-mangling happens for function
declarations when C++ programs include the file. <isc/lang.h> should
be included for private header files or for public files that do not
declare any functions. (w/example)

Fixed < and > use in sample header file.

The config.h file must never be included by any public header file.

The comma operator should not be used to form compound statements.
(w/example)

Generally speaking, when a control statement (<CODE>if, for</CODE> or
<CODE>while</CODE>) has only a single action associated with it, then no
bracing is used around the statement.  Exceptions include when the
compiler would complain about an ambiguous else clause, or when extra
bracing improves the readability (a judgement call biased toward not
having the braces).

Do not put a space after the "sizeof" operator name, and also
parenthesize its argument, as in <CODE>malloc(4 * sizeof(long))</CODE>.

Do not put a space after a cast. (w/example)

<H4>The Ternary Operator</H4> (w/example)
The ?: operator should mostly be avoided.  It is tolerated when
deciding what value to pass as a parameter to a function, such as
frequently happens with printf, and also when a simple (non-compound)
value is being used in assignment or as part of a calculation.
In particular, using the ternary operator to specify a return value is
verboten. (Well, Bob didn't tell me *forbidden* when he first said this
to me long ago, but I got the impression he really did not like it.)

Variables should not have their values assigned or changed when being
passed as parameters, except perhaps for the increment and decrement
operators. (This came up when I found something much like this in one
of our files:
       malloc(size = 20);

All public interfaces to functions, macros, typedefs, and
variables provided by the library, should use names of the form
{library}_{module}_{what}, such as:

       isc_buffer_t                            /* typedef */
       dns_name_setbuffer(name, buffer)       /* function */
       ISC_LIST_HEAD(list)                    /* macro */
       isc_commandline_argument               /* variable */

however, structures which are typedef'd generally have the name of the
typedef sans the final _t:

       struct dns_rbtnode {
               /* ... members ... */
       }

Generally speaking macros are defined with all capital letters, but
this is not universally consistent (eg, numerous isc_buffer_{foo}
macros).

The {module} and {what} segments of the name do not have underscores
separating natural word elements, as demonstrated in
isc_commandline_argument and dns_name_setbuffer above.  The {module}
part is usually the same as the basename of the source file, but
sometimes other {module} interfaces appear within one file, such as
dns_label_* interfaces in lib/dns/name.c.  However, in the public
libraries the file name must be the same as some module interface
provided by the file; e.g., dns_rbt_* interfaces would not be declared
in a file named redblack.c (in lieu of any other dns_redblack_*
interfaces in the file).

The one notable exception to this naming rule is the interfaces
provided by <isc/util.h>.  There's a large caveat associated with the
public description of this file that it is hazardous to use because it
pollutes the general namespace.

<H4>Shared Private Interfaces</H4>
When a module provides an interface for internal use by other modules
in the library, it should use the same naming convention
described for the public interfaces, except {library} and {module}
are separated by a double-underscore.  This indicates that the name is
internal, its API is not as formal as the public API, and thus it
might change without any sort of notice.
2000-04-27 02:00:44 +00:00
David Lawrence
fa9918984b DOD INTERNET HOST TABLE SPECIFICATION 2000-04-26 19:09:21 +00:00
Andreas Gustafsson
18657d332b updated internet drafts 2000-04-26 05:25:14 +00:00
Andreas Gustafsson
6d3c9cdf1a updated 2000-04-26 05:18:09 +00:00
David Lawrence
a68a5a2454 updated documentation w.r.t context/configuration dichotomy 2000-04-26 01:00:09 +00:00
David Lawrence
f8a95eb912 added file.c to libisc, needs to be done for win32 2000-04-24 21:44:06 +00:00
Andreas Gustafsson
bc6aba3876 new options 'tkey-domain' and 'tkey-dhkey' 2000-04-06 17:36:51 +00:00
Andreas Gustafsson
e002cd6b63 added 2000-04-03 17:52:41 +00:00
Michael Graff
0982a13bcf update 2000-03-23 23:51:53 +00:00
Bob Halley
811fb0d705 ARM update 2000-03-23 22:32:00 +00:00
David Lawrence
ecb6c5782e exorcized local compression 2000-03-23 05:18:46 +00:00
Andreas Gustafsson
eb15741fc3 the 'logging' statement is now implemented 2000-03-23 00:59:41 +00:00
Andreas Gustafsson
aa46a4bc93 added missing RFC 2000-03-21 01:29:08 +00:00
Andreas Gustafsson
69165a8c7b checked in new draft 2000-03-21 00:56:53 +00:00
Andreas Gustafsson
e240e36503 wired up the new 'provide-ixfr' option 2000-03-20 21:49:56 +00:00
Andreas Gustafsson
4bc5101166 wired up the new 'request-ixfr' option 2000-03-20 19:42:21 +00:00
Andreas Gustafsson
39967fd111 added RFC1348 because we implement NSAP-PTR which is defined there
(even though it is obsoleted by RFC1706)
2000-03-17 18:25:56 +00:00
David Lawrence
c192f12b0f notes from today's task discussion 2000-03-14 04:10:42 +00:00
David Lawrence
1641377cba fixed comment about support for splitting of bitstring labels 2000-03-14 04:10:20 +00:00
David Lawrence
a0dbccdaf6 note about original design vs reality with message headers 2000-03-14 04:10:01 +00:00
Brian Wellington
4db9a2fac8 The server keys option is hooked up 2000-03-08 22:43:14 +00:00
Andreas Gustafsson
2e3160e246 wired up the query-source-v6 option 2000-03-08 22:36:47 +00:00
Andreas Gustafsson
a4442ef975 added 2000-03-03 21:53:01 +00:00
Andreas Gustafsson
ffb93b39e2 stripped carriage returns 2000-03-03 21:33:22 +00:00
Andreas Gustafsson
adb93fa08b stripped carriage returns 2000-03-03 21:26:11 +00:00
Andreas Gustafsson
417f29ae4b added rfc2782.txt 2000-03-03 21:11:27 +00:00
Andreas Gustafsson
540c1bf12c added new drafts and removed obsolete ones 2000-03-03 21:05:56 +00:00
Andreas Gustafsson
d51f376da2 added new drafts and removed obsolete ones 2000-03-03 20:56:36 +00:00
Andreas Gustafsson
5a2eb474fb added new drafts and removed obsolete ones 2000-03-03 20:50:20 +00:00
David Lawrence
ed301acd34 Describe ISC_LOG_DEBUGONLY.
Fixed some examples.

Updated the colon-space bit of categories/modules; they are no longer used.

Fixed a couple of minor typos.
2000-03-01 17:38:39 +00:00
Andreas Gustafsson
2aee8fb2cb typo 2000-02-29 23:27:50 +00:00
Michael Graff
b75dc2a3d8 Add a (once again, slightly out of date) file about the dispatcher 2000-02-29 21:03:45 +00:00
Michael Graff
79d29bd320 commit a (slightly out of date) adb document 2000-02-29 20:12:48 +00:00
Michael Graff
2358fd9353 add a bfew (pretty general) notes about lwres protocol 2000-02-29 20:10:49 +00:00
Andreas Gustafsson
cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e01ecff4b1 Implemented the 'transfers' clause of the 'server' statement
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Andreas Gustafsson
2bc0dee981 implemented the 'transfer-format' clause of the 'server' statement 2000-02-24 22:55:46 +00:00
Andreas Gustafsson
c011a69280 implemented the 'support-ixfr' clause of the 'server' statement 2000-02-24 21:47:46 +00:00
Andreas Gustafsson
9fdf20d0de implemented periodic network interface scanning 2000-02-16 19:58:39 +00:00