BIND 10 trac977, updated. 18cebf0c6b77fb88486574e1fcfcc2b89d52b279 [trac977] trivial editorial changes
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 9 08:35:35 UTC 2011
The branch, trac977 has been updated
via 18cebf0c6b77fb88486574e1fcfcc2b89d52b279 (commit)
via ef5f41fe04fc405c0db1aa7871fc90fa5110acf2 (commit)
from db8fc3e3a28dc8681dabafc868f2b38763876e7f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 18cebf0c6b77fb88486574e1fcfcc2b89d52b279
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jun 9 01:35:18 2011 -0700
[trac977] trivial editorial changes
commit ef5f41fe04fc405c0db1aa7871fc90fa5110acf2
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jun 9 01:34:49 2011 -0700
[trac977] added an escape for multi-line config
-----------------------------------------------------------------------
Summary of changes:
doc/Doxyfile | 2 +-
src/lib/acl/check.h | 14 ++++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/doc/Doxyfile b/doc/Doxyfile
index 63d823d..b8a4656 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -573,7 +573,7 @@ INPUT = ../src/lib/cc ../src/lib/config \
../src/bin/auth ../src/bin/resolver ../src/lib/bench \
../src/lib/log ../src/lib/asiolink/ ../src/lib/nsas \
../src/lib/testutils ../src/lib/cache ../src/lib/server_common/ \
- ../src/bin/sockcreator/ ../src/lib/util/
+ ../src/bin/sockcreator/ ../src/lib/util/ \
../src/lib/resolve ../src/lib/acl
# This tag can be used to specify the character encoding of the source files
diff --git a/src/lib/acl/check.h b/src/lib/acl/check.h
index 7830024..28c1f5d 100644
--- a/src/lib/acl/check.h
+++ b/src/lib/acl/check.h
@@ -54,14 +54,15 @@ public:
* \return true if the context satisfies the check, false otherwise.
*/
virtual bool matches(const Context& context) const = 0;
+
/**
* \brief The expected cost of single match.
*
* This is here to provide some kind of cost information to optimising
* routines. It is in units without any real size, just bigger number
* means the check takes longer time. It is expected to be linear scale.
- * It doesn't need to me exact, but better accuracy might lead to better
- * optimisations. As of writing this, no optimisations exists yet, but
+ * It doesn't need to be exact, but better accuracy might lead to better
+ * optimisations. As of writing this, no optimisations exist yet, but
* are expected to exist in future.
*
* The default of 10000 is some arbitrary number meaning "somehow longish
@@ -69,14 +70,16 @@ public:
* choosing something bigger to be cautious).
*/
virtual unsigned cost() const {
- return 10000;
+ return (10000);
}
+
/// \brief Virtual destructor, as we're virtual
virtual ~ Check() { }
+
/**
* \brief Conversion to text.
*
- * This is meant for debugging and purposes, it doesn't have to
+ * This is meant for debugging purposes, it doesn't have to
* serialise the whole information stored in this Check.
*
* If the check is compound, it should not include the subexpressions
@@ -102,6 +105,7 @@ template<class Context> class CompoundCheck : public Check<Context> {
public:
/// \brief Abbreviated name for list of subexpressions
typedef std::vector<const Check<Context>*> Checks;
+
/**
* \brief Get the list of subexpressions.
*
@@ -115,6 +119,7 @@ public:
* result.
*/
virtual Checks subexpressions() const = 0;
+
/**
* \brief If the result depends only on results of subexpressions.
*
@@ -132,6 +137,7 @@ public:
* be the case in majority of cases.
*/
virtual bool pure() const { return (true); }
+
/**
* \brief Default compound cost function.
*
More information about the bind10-changes
mailing list