diff options
Diffstat (limited to 'src/hooks/dhcp/user_chk/version.cc')
-rw-r--r-- | src/hooks/dhcp/user_chk/version.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/hooks/dhcp/user_chk/version.cc b/src/hooks/dhcp/user_chk/version.cc new file mode 100644 index 0000000..364eb39 --- /dev/null +++ b/src/hooks/dhcp/user_chk/version.cc @@ -0,0 +1,19 @@ +// Copyright (C) 2013-2015 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/. +// version.cc + +#include <config.h> + +#include <hooks/hooks.h> + +extern "C" { + +/// @brief Version function required by Hooks API for compatibility checks. +int version() { + return (KEA_HOOKS_VERSION); +} + +} |