Kea
1.5.0
libinfo.cc
Go to the documentation of this file.
1
// Copyright (C) 2016 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
#include <config.h>
8
9
#include <
hooks/libinfo.h
>
10
11
namespace
isc
{
12
namespace
hooks {
13
18
std::vector<std::string>
19
extractNames
(
const
isc::hooks::HookLibsCollection
& libraries) {
20
std::vector<std::string> names;
21
22
for
(isc::hooks::HookLibsCollection::const_iterator it = libraries.begin();
23
it != libraries.end(); ++it) {
24
names.push_back(it->first);
25
}
26
return
(names);
27
}
28
29
};
30
};
libinfo.h
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::hooks::extractNames
std::vector< std::string > extractNames(const isc::hooks::HookLibsCollection &libraries)
Extracts names from HookLibsCollection.
Definition:
libinfo.cc:19
isc::hooks::HookLibsCollection
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
Definition:
libinfo.h:31
src
lib
hooks
libinfo.cc
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18