BIND 10 trac1924, updated. 9d5e1f515860689e1d7723cd113c6a5fa2a8866a [1924] constify
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Feb 8 21:21:56 UTC 2013
The branch, trac1924 has been updated
via 9d5e1f515860689e1d7723cd113c6a5fa2a8866a (commit)
from 4a2220ee8ef3586b5b1b21f58111cc585f069d98 (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 9d5e1f515860689e1d7723cd113c6a5fa2a8866a
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri Feb 8 13:21:47 2013 -0800
[1924] constify
-----------------------------------------------------------------------
Summary of changes:
src/lib/util/common_defs.cc | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/util/common_defs.cc b/src/lib/util/common_defs.cc
index 977e942..5e4d185 100644
--- a/src/lib/util/common_defs.cc
+++ b/src/lib/util/common_defs.cc
@@ -24,19 +24,19 @@ namespace util {
// The constants used in the CC protocol
// First the header names
-const char* CC_HEADER_TYPE = "type";
-const char* CC_HEADER_FROM = "from";
-const char* CC_HEADER_TO = "to";
-const char* CC_HEADER_GROUP = "group";
-const char* CC_HEADER_INSTANCE = "instance";
-const char* CC_HEADER_SEQ = "seq";
-const char* CC_HEADER_WANT_ANSWER = "want_answer";
-const char* CC_HEADER_REPLY = "reply";
+const char* const CC_HEADER_TYPE = "type";
+const char* const CC_HEADER_FROM = "from";
+const char* const CC_HEADER_TO = "to";
+const char* const CC_HEADER_GROUP = "group";
+const char* const CC_HEADER_INSTANCE = "instance";
+const char* const CC_HEADER_SEQ = "seq";
+const char* const CC_HEADER_WANT_ANSWER = "want_answer";
+const char* const CC_HEADER_REPLY = "reply";
// The commands in the "type" header
-const char* CC_COMMAND_SEND = "send";
+const char* const CC_COMMAND_SEND = "send";
// The wildcards of some headers
-const char* CC_TO_WILDCARD = "*";
-const char* CC_INSTANCE_WILDCARD = "*";
+const char* const CC_TO_WILDCARD = "*";
+const char* const CC_INSTANCE_WILDCARD = "*";
// Reply codes
const int CC_REPLY_NO_RECPT = -1;
More information about the bind10-changes
mailing list