diff options
Diffstat (limited to 'src/hooks/dhcp/lease_cmds/version.cc')
-rw-r--r-- | src/hooks/dhcp/lease_cmds/version.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/hooks/dhcp/lease_cmds/version.cc b/src/hooks/dhcp/lease_cmds/version.cc new file mode 100644 index 0000000..d3f7057 --- /dev/null +++ b/src/hooks/dhcp/lease_cmds/version.cc @@ -0,0 +1,17 @@ +// Copyright (C) 2017 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); +} + +} |