Kea 2.5.8
libinfo.cc
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#include <config.h>
8
9#include <hooks/libinfo.h>
10
11namespace isc {
12namespace hooks {
13
18std::vector<std::string>
20 std::vector<std::string> names;
21
22 for (auto const& it : libraries) {
23 names.push_back(it.first);
24 }
25 return (names);
26}
27
28}
29}
std::vector< std::string > extractNames(const isc::hooks::HookLibsCollection &libraries)
Extracts names from HookLibsCollection.
Definition: libinfo.cc:19
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.