Kea  1.9.9-git
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>
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 };
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-dhcp-ddns.