summaryrefslogtreecommitdiffstats
path: root/src/hooks/dhcp/bootp/version.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/dhcp/bootp/version.cc')
-rw-r--r--src/hooks/dhcp/bootp/version.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/hooks/dhcp/bootp/version.cc b/src/hooks/dhcp/bootp/version.cc
new file mode 100644
index 0000000..4250193
--- /dev/null
+++ b/src/hooks/dhcp/bootp/version.cc
@@ -0,0 +1,17 @@
+// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#include <config.h>
+#include <hooks/hooks.h>
+
+extern "C" {
+
+/// @brief returns Kea hooks version.
+int version() {
+ return (KEA_HOOKS_VERSION);
+}
+
+}