summaryrefslogtreecommitdiffstats
path: root/src/lib/hooks/hooks_messages.mes
diff options
context:
space:
mode:
authorStephen Morris <stephen@isc.org>2013-06-19 17:44:19 +0200
committerStephen Morris <stephen@isc.org>2013-06-19 17:44:19 +0200
commit390c1a763df3dbfcf0f24394464c0db89aaede9f (patch)
tree0b8877f2f50652d3803b0a9ba2f7749c5eb037a2 /src/lib/hooks/hooks_messages.mes
parent[2980] Basic library manager functionality present (diff)
downloadkea-390c1a763df3dbfcf0f24394464c0db89aaede9f.tar.xz
kea-390c1a763df3dbfcf0f24394464c0db89aaede9f.zip
[2980] Basic library manager functionality added
Also started to add logging.
Diffstat (limited to 'src/lib/hooks/hooks_messages.mes')
-rw-r--r--src/lib/hooks/hooks_messages.mes47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/hooks/hooks_messages.mes b/src/lib/hooks/hooks_messages.mes
new file mode 100644
index 0000000000..913f113ce5
--- /dev/null
+++ b/src/lib/hooks/hooks_messages.mes
@@ -0,0 +1,47 @@
+# 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.
+
+$NAMESPACE isc::hooks
+
+% HOOKS_CLOSE_ERROR failed to close hook library %1: %2
+BIND 10 has failed to close the named hook library for the stated reason.
+Although this is an error, this should not affect the running system other
+than as a loss of resources. If this error persists, you should restart
+BIND 10.
+
+% HOOKS_INCORRECT_VERSION hook library %1 is at version %2, require version %3
+BIND 10 has detected that the named hook library has been built against
+a version of BIND 10 that is incompatible with the version of BIND 10
+running on your system. It has not loaded the library.
+
+This is most likely due to the installation of a new version of BIND 10
+without rebuilding the hook library. A rebuild and re-install of the library
+should fix the problem in most cases.
+
+% HOOKS_NO_VERSION no version() function found in hook library %1
+The shared library named in the message was found and successfully loaded, but
+BIND 10 did not find a function named 'version' in it. This function is
+required and should return the version of BIND 10 against which the library
+was built. The value is used to check that the library was built against a
+compatible version of BIND 10. The library has not been loaded.
+
+% HOOKS_OPEN_ERROR failed to open hook library %1: %2
+BIND 10 failed to open the specified hook library for the stated reason. The
+library has not been loaded. BIND 10 will continue to function, but without
+the services offered by the library.
+
+% HOOKS_REGISTER_CALLOUT library %1 has registered a callout for hook %2
+This is a debug message, output when the library loading function has located
+a standard callout (a callout with the same name as a hook point) and
+registered it.