|
@@ -0,0 +1,42 @@
|
|
|
+// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+//
|
|
|
+// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
+// purpose with or without fee is hereby granted, provided that the above
|
|
|
+// copyright notice and this permission notice appear in all copies.
|
|
|
+//
|
|
|
+// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
|
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
+// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
+// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
|
+// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
+// PERFORMANCE OF THIS SOFTWARE.
|
|
|
+
|
|
|
+#ifndef BIND10_COMMON_DEFS_H
|
|
|
+#define BIND10_COMMON_DEFS_H
|
|
|
+
|
|
|
+namespace isc {
|
|
|
+namespace util {
|
|
|
+
|
|
|
+// \file common_defs.h
|
|
|
+// \brief Common constant definitions.
|
|
|
+//
|
|
|
+// This file contains common definitions of constasts used across the sources.
|
|
|
+// It includes, but is not limited to the definitions of messages sent from
|
|
|
+// one process to another. Since the names should be self-explanatory and
|
|
|
+// the variables here are used mostly to synchronize the same values across
|
|
|
+// multiple programs, separate documentation for each variable is not provided.
|
|
|
+
|
|
|
+// Constants used in the CC protocol (sent through MSGQ)
|
|
|
+extern const char* CC_HEADER_TYPE;
|
|
|
+extern const char* CC_HEADER_FROM;
|
|
|
+extern const char* CC_HEADER_TO;
|
|
|
+extern const char* CC_HEADER_GROUP;
|
|
|
+extern const char* CC_HEADER_INSTANCE;
|
|
|
+extern const char* CC_HEADER_SEQ;
|
|
|
+extern const char* CC_HEADER_WANT_ANSWER;
|
|
|
+
|
|
|
+}
|
|
|
+}
|
|
|
+
|
|
|
+#endif
|