Kea 2.7.0
dependency.h
Go to the documentation of this file.
1// Copyright (C) 2018 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 DEPENDENCY_H
8#define DEPENDENCY_H
9
10#include <eval/token.h>
11#include <string>
12
13namespace isc {
14namespace dhcp {
15
23bool dependOnClass(const TokenPtr& token, const std::string& name);
24
32bool dependOnClass(const ExpressionPtr& expr, const std::string& name);
33
34}; // end of isc::dhcp namespace
35}; // end of isc namespace
36
37#endif
boost::shared_ptr< Token > TokenPtr
Pointer to a single Token.
Definition token.h:21
boost::shared_ptr< Expression > ExpressionPtr
Definition token.h:31
bool dependOnClass(const TokenPtr &token, const std::string &name)
Checks dependency on a token.
Definition dependency.cc:15
Defines the logger used by the top-level component of kea-lfc.