Commit Graph

176 Commits

Author SHA1 Message Date
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
David Lawrence
6d4b6f9d4b added dns_c_ndcctx_getserver, minor style lint 2000-04-24 22:53:41 +00:00
Mark Andrews
716cb5acca notify would only be returned from named.conf if dialup was also set. 2000-04-20 12:43:05 +00:00
Andreas Gustafsson
272a24cf9c did not compile on HPUX due to mixing of isc_int32_t and
isc_uint32_t pointers
2000-04-19 20:04:49 +00:00
Andreas Gustafsson
468b85d9d1 restrict parser stack size to avoid thread stack overflow in
bison-generated parsers
2000-04-19 00:26:39 +00:00
Andreas Gustafsson
7ead3746f8 consistent wording in log messages 2000-04-18 00:25: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
Bob Halley
b65c8325a7 If the user has specified auth-nxdomain, do not warn about the default
being changed.
Fix typo.
2000-04-12 02:04:03 +00:00
Bob Halley
823ed8c082 isc_mem_destroy_check is now isc_mem_setdestroycheck 2000-04-12 01:25:07 +00:00
Andreas Gustafsson
0f7045b0c4 moved a few more typedefs to <isc/types.h>: isc_region_t,
isc_textregion_t, isc_lex_t
2000-04-10 21:57:24 +00:00
James Brister
09c9fc94cf Fixed a function name for style.
Fixed validation of keys used in server statement. Now they must truly be
defined before used. Ditto for in address match list element. Keys
referenced can be inside the enclosing view or at file scope.
2000-04-07 20:41:29 +00:00
Andreas Gustafsson
913d4c761c cosmetics 2000-04-07 18:30:11 +00:00
James Brister
6abdc5c090 Changes necessary to support server statements inside a view statement. 2000-04-07 17:40:43 +00:00
James Brister
616ee4a3f7 Changes to support keys inside views. 2000-04-07 13:35:06 +00:00
James Brister
f46678fb6c Name change to some accessors.
Parse lame-ttl in options block
Parse allow-update-forwarding in options block
parse transfer-format in view statment
2000-04-06 20:12:26 +00:00
James Brister
d6dc9759d2 More logging of unimplemented functions.
Change to ipmatchlist accessors (use attach/detach)
macro-ize ipmatchlist field accessors
2000-04-06 20:10:56 +00:00
James Brister
3a49917729 Support new optional class on a view declaration. 2000-04-06 10:35:27 +00:00
James Brister
2b3d9824cb Support many new values in a view statement. 2000-04-06 09:46:53 +00:00
James Brister
3e3cdbc52b Some DNS_R_ to ISC_R_ replacements. 2000-04-06 09:45:39 +00:00
James Brister
2aac82553d Support lame-ttl, min-roots and treat-cr-as-space in options.
Support auth-nxdomain
	recursion query-source query-source-v6 transfer-source
	transfer-source-v6 max-transfer-time-out max-transfer-idle-out
	transfer-format request-ixfr privide-ixfr cleaning-interval
	fetch-glue notify rfc2308-type1 lame-ttl max-ncache-ttl
	min-roots
in views
2000-04-06 09:43:12 +00:00
James Brister
d85dd9de75 Changed log message format to be clearer.
Add call to new function dns_c_viewtable_checkviews() in config post load
checker.
Added missing treat-cr-as-space, min-roots and serial-queries options.
2000-04-06 09:38:32 +00:00
James Brister
14f8df274b Changed DNS_R_* to ISC_R_* 2000-04-06 09:35:36 +00:00
James Brister
300115d413 Replaced with peer.c and peer.h 2000-04-05 17:20:45 +00:00
James Brister
97645c1347 Removed superfluous incloude of config.h 2000-04-05 16:39:24 +00:00
James Brister
212cbe386c Fixed case of checking for allow-update and update-policy together.
log message change
2000-04-05 15:21:07 +00:00
James Brister
ce8c050e8f Support new match-clients statement. 2000-04-05 15:18:42 +00:00
James Brister
f211bb7bb6 Support new match-clients view option. 2000-04-05 15:16:49 +00:00
James Brister
aac49d2786 more code condensing 2000-04-05 15:14:23 +00:00
David Lawrence
aa25a4b357 fixed uninitialized variable warning in dns_c_checkconfig 2000-04-04 20:58:51 +00:00
Brian Wellington
7d1d130f4f Don't do post-load validation of zones if there are no zones. 2000-04-04 20:19:13 +00:00
James Brister
1386f1f53e - Unconditionally quote key names on output to avoid potential
keyword clashes.
2000-03-30 17:25:14 +00:00
James Brister
c541ac5d5e - Call zone validation routine in post-load check stage. 2000-03-30 17:23:37 +00:00
James Brister
f2af22c3e0 - Provide routine to check all zone definitions. Currently just looking
for allow-update and update-policy being used together. allow-update
  definition is removed in this case.
- Provide zonelist iterator functions.
2000-03-30 17:21:16 +00:00
James Brister
2d212c707f Fixed possible unitialized variable error. 2000-03-29 19:46:44 +00:00
James Brister
3cfa5fedfe Replace bit-setting method for determining if a config file field was set.
Templatized(?) code with macros.
2000-03-29 15:01:14 +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
Andreas Gustafsson
034c7247de %token L_DIRECTORY line was repeated 2000-03-21 21:26:21 +00:00
Andreas Gustafsson
71181f3e13 make the global option 'maintain-ixfr-base' a synonym
for 'provide-ixfr'; fix typos in previous change
2000-03-20 22:03:13 +00:00
Andreas Gustafsson
72166c5cf5 made 'support-ixfr' a synonym for 'request-ixfr' 2000-03-20 19:40:04 +00:00
James Brister
5475a2d296 Support request-ixfr and provide-ixfr values in options and server
statements.
2000-03-19 02:58:15 +00:00
James Brister
3bb4fdd9cc remove unused rcsid variable 2000-03-18 00:46:47 +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
1cb2280cc3 Build ndc config parser> 2000-03-15 02:13:36 +00:00
James Brister
c0536aa152 ndc config parser and test program 2000-03-15 02:11:57 +00:00
James Brister
0e858455d8 Make sure ssuauth table only goes in master zones. 2000-03-07 21:16:38 +00:00
Brian Wellington
6fcfd0c35d ssutables are now attached/detached; zones get ssutables from config structs 2000-03-06 19:06:07 +00:00