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