Kea
2.7.4
callout_handle_store.h
Go to the documentation of this file.
1
// Copyright (C) 2013-2018,2021 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 CALLOUT_HANDLE_STORE_H
8
#define CALLOUT_HANDLE_STORE_H
9
10
#include <
hooks/hooks_manager.h
>
11
#include <
hooks/callout_handle.h
>
12
#include <map>
13
#include <set>
14
15
namespace
isc
{
16
namespace
dhcp {
17
46
template
<
typename
T>
47
isc::hooks::CalloutHandlePtr
getCalloutHandle
(
const
T& pktptr) {
48
49
if
(pktptr) {
50
return
(pktptr->getCalloutHandle());
51
52
}
53
54
return
(
isc::hooks::CalloutHandlePtr
());
55
}
56
57
}
// namespace dhcp
58
}
// namespace isc
59
60
#endif
// CALLOUT_HANDLE_STORE_H
callout_handle.h
hooks_manager.h
isc::dhcp::getCalloutHandle
isc::hooks::CalloutHandlePtr getCalloutHandle(const T &pktptr)
CalloutHandle Store.
Definition
callout_handle_store.h:47
isc::hooks::CalloutHandlePtr
boost::shared_ptr< CalloutHandle > CalloutHandlePtr
A shared pointer to a CalloutHandle object.
Definition
callout_handle.h:470
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
src
lib
dhcpsrv
callout_handle_store.h
Generated on Thu Oct 3 2024 18:33:07 for Kea by
1.10.0