Kea 1.5.0
hooks.h
Go to the documentation of this file.
1// Copyright (C) 2013-2018 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef HOOKS_H
8#define HOOKS_H
9
12
13namespace {
14
15// Version 8 of the hooks framework, set for Kea 1.5.0 beta2
16const int KEA_HOOKS_VERSION = 8;
17
18// Names of the framework functions.
19const char* const LOAD_FUNCTION_NAME = "load";
20const char* const UNLOAD_FUNCTION_NAME = "unload";
21const char* const VERSION_FUNCTION_NAME = "version";
22
23// Typedefs for pointers to the framework functions.
24typedef int (*version_function_ptr)();
25typedef int (*load_function_ptr)(isc::hooks::LibraryHandle&);
26typedef int (*unload_function_ptr)();
27
28} // Anonymous namespace
29
30namespace isc {
31namespace hooks {
32
62
64
65} // namespace hooks
66} // namespace isc
67
68#endif // HOOKS_H
void hooksStaticLinkInit()
User-Library Initialization for Statically-Linked Kea.
Defines the logger used by the top-level component of kea-dhcp-ddns.