Commit graph

2343 commits

Author SHA1 Message Date
Brian Wellington
2fabf91e5b Added a rule iterator and rule accessor functions 2000-03-01 23:28:31 +00:00
Brian Wellington
408ebaeec9 Added dns_ssurule_t 2000-03-01 23:27:15 +00:00
Andreas Gustafsson
a6535a2681 consistently use single quotes around quoted text in log messages 2000-03-01 22:41:59 +00:00
Brian Wellington
aa6003d0eb Modify label counts/extractions to use dns_name_depth/dns_name_splitatdepth 2000-03-01 22:34:39 +00:00
David Lawrence
a8d34ca88c remove ISC_LOG_DEBUGONLY from comment about default_debug 2000-03-01 21:30:49 +00:00
Andreas Gustafsson
6c4d03a6ab disabled redundant default logging configuration code 2000-03-01 20:41:19 +00:00
Andreas Gustafsson
1620f03517 don't set ISC_LOG_DEBUGONLY on the default_debug channel 2000-03-01 20:38:58 +00:00
David Lawrence
863ac191b4 ISC_LOG_DEBUGONLY flag added.
Documentation updates to reflect recent code changes:
   isc_logconfig_*
   ISC_LOG_DEBUGONLY
2000-03-01 17:33:04 +00:00
David Lawrence
a40cc3249f isc_logchannel, isc_logchannellist, and isc_logmessage now use the isc list
macros.

ISC_LOG_DEBUGONLY flag for a channel added, to mark a channel that should
only be used if the debugging level is non-zero.

Use ISC_LOG_DEBUGONLY for default_debug.

REQUIRE the context is valid for isc_logconfig_get, and ENSURE that
the configuration returned is non-NULL.

Other miscellaneous cleanups.
2000-03-01 17:31:56 +00:00
David Lawrence
5f89718b7d Debugging versions of isc_mem_allocate, isc_mem_free and isc_mem_strdup.
This allows memory allocation/freeing to be tracked with ISC_MEM_DEBUG
as with isc_mem_get/isc_mem_put.   (To get the debugging information
before, mem.c itself needed to be recompiled with ISC_MEM_DEBUG on.)
2000-02-26 19:59:30 +00:00
David Lawrence
edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Bob Halley
3dbea10f98 fix loop termination bug 2000-02-26 00:28:46 +00:00
Andreas Gustafsson
cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e0768b64e8 %type declaration for master_in_addr_list was repeated three times 2000-02-25 16:35:08 +00:00
Bob Halley
a09568236c add warning comment 2000-02-25 01:07:17 +00:00
Bob Halley
453603c018 add dns_name_depth() and dns_name_splitatdepth() 2000-02-25 01:06:54 +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
Bob Halley
e419f613d8 checkpoint 2000-02-24 22:40:55 +00:00
Andreas Gustafsson
c011a69280 implemented the 'support-ixfr' clause of the 'server' statement 2000-02-24 21:47:46 +00:00
Andreas Gustafsson
6e70b15670 zones now know which view they are in 2000-02-24 21:40:54 +00:00
Andreas Gustafsson
03ccfda9ec the view now has a peer list 2000-02-24 21:12:16 +00:00
Bob Halley
c3b708aaf1 Implement rrset ordering. Default is cyclic.
If the rdataset iterator failed unexpectedly while rendering, we failed to
rollback.
2000-02-24 21:08:34 +00:00
Bob Halley
b91bbbcdb4 add ordering attributes 2000-02-24 21:07:28 +00:00
Bob Halley
9695ae1c24 add missing #include 2000-02-24 21:05:28 +00:00
Bob Halley
435abcf2e2 add dns_message_renderreset() 2000-02-24 19:37:28 +00:00
Andreas Gustafsson
4777bac498 moved dns_peer_t and dns_peerlist_t typedefs to <dns/types.h> 2000-02-24 18:45:02 +00:00
Andreas Gustafsson
e7e3b748f8 missing NULL initialization before attach 2000-02-24 18:44:16 +00:00
James Brister
e323a667e0 Replace use of private config type user for server statement with new
dns_peer_t.
Support two forms of server key statement:

	keys "blah";
	keys { "foo" ; };

Non longer build confserv.c
2000-02-24 14:48:30 +00:00
James Brister
2cde028c51 New dns_peer_t type and its methods. 2000-02-24 14:39:27 +00:00
Mark Andrews
b54630c451 checkpoint 2000-02-24 14:31:43 +00:00
Bob Halley
7588864336 minor fixes to magic code 2000-02-24 00:33:02 +00:00
Bob Halley
856ddedea9 add validator done event 2000-02-24 00:22:54 +00:00
Michael Graff
a193a7a1f0 s/int/lwres_result_t/ 2000-02-24 00:12:40 +00:00
Bob Halley
e612c2d0b1 improve comment 2000-02-23 23:32:06 +00:00
Bob Halley
1f61ebeead add keytag, keytable, and keynode types 2000-02-23 23:31:51 +00:00
Bob Halley
bf43fdafa3 add keytable, validator 2000-02-23 23:31:33 +00:00
Bob Halley
380466f49e remove trusted key stuff 2000-02-23 23:30:29 +00:00
Andreas Gustafsson
193738b819 introduced @SA@ macro for use as the filename extension
of static library archive files in Makefile rules
2000-02-23 23:02:28 +00:00
Bob Halley
7126c08a71 add request.h 2000-02-23 21:54:00 +00:00
Bob Halley
f919bf7227 add 2000-02-23 21:53:22 +00:00
Andreas Gustafsson
634c61d2dd simplified CINCLUDES definition;
when using libtool, make libt_api a shared library to
avoid confusion cause by having two different library
suffixes in the same build (RT #62)
2000-02-23 18:18:30 +00:00
Andreas Gustafsson
eb28727ab4 inappropriate use of @A@ caused definition of
two conflicting rules for building libomapi.la when using
libtool; typo in libomapi.la build rule (RT #62)
2000-02-23 18:14:09 +00:00
Andreas Gustafsson
a0cbd01f76 inappropriate use of @A@ caused definition of
two conflicting rules for building liblwres.la when using
libtool (RT #62)
2000-02-23 18:13:16 +00:00
Andreas Gustafsson
453393955a inappropriate use of @A@ caused definition of
> two conflicting rules for building libisc.la when using
libtool (RT #62)
2000-02-23 18:12:31 +00:00
Andreas Gustafsson
dd13495ac6 inappropriate use of @A@ caused definition of
two conflicting rules for building libdns.la when using
libtool (RT #62)
2000-02-23 18:12:05 +00:00
Andreas Gustafsson
aaaa5b4a62 added missing API version definition file 2000-02-23 18:06:17 +00:00
Michael Graff
b81306ccd1 more lwres_result_t changes 2000-02-23 02:38:55 +00:00
Michael Graff
01933e9302 start changing from 'int' returns to 'lwres_result_t' 2000-02-23 01:46:34 +00:00
Michael Graff
8a3d2a5738 add compiled file for versioning 2000-02-23 01:40:23 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00