Kea 2.7.5
libinfo.h
Go to the documentation of this file.
1// Copyright (C) 2016-2024 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_LIBINFO_H
8#define HOOKS_LIBINFO_H
9
10#include <cc/data.h>
11
12#include <boost/shared_ptr.hpp>
13
14#include <string>
15#include <vector>
16#include <utility>
17
18namespace isc {
19namespace hooks {
20
28typedef std::pair<std::string, data::ConstElementPtr> HookLibInfo;
29
31typedef std::vector<HookLibInfo> HookLibsCollection;
32
34typedef boost::shared_ptr<HookLibsCollection> HookLibsCollectionPtr;
35
37std::vector<std::string> extractNames(const HookLibsCollection& libinfo);
38
39} // namespace hooks
40} // namespace isc
41
42#endif
std::pair< std::string, data::ConstElementPtr > HookLibInfo
Entity that holds information about hook libraries and their parameters.
Definition libinfo.h:28
std::vector< std::string > extractNames(const isc::hooks::HookLibsCollection &libraries)
Extracts names from HookLibsCollection.
Definition libinfo.cc:19
boost::shared_ptr< HookLibsCollection > HookLibsCollectionPtr
Shared pointer to collection of hooks libraries.
Definition libinfo.h:34
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
Definition libinfo.h:31
Defines the logger used by the top-level component of kea-lfc.