Kea 2.5.9
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>
12#include <map>
13#include <set>
14
15namespace isc {
16namespace dhcp {
17
46template <typename T>
48
49 if (pktptr) {
50 return (pktptr->getCalloutHandle());
51
52 }
53
55}
56
57} // namespace dhcp
58} // namespace isc
59
60#endif // CALLOUT_HANDLE_STORE_H
isc::hooks::CalloutHandlePtr getCalloutHandle(const T &pktptr)
CalloutHandle Store.
boost::shared_ptr< CalloutHandle > CalloutHandlePtr
A shared pointer to a CalloutHandle object.
Defines the logger used by the top-level component of kea-lfc.