Kea 2.7.6
adaptor_host.h
Go to the documentation of this file.
1// Copyright (C) 2018-2022 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 ISC_ADAPTOR_HOST_H
8#define ISC_ADAPTOR_HOST_H 1
9
10#include <yang/adaptor.h>
11
12namespace isc {
13namespace yang {
14
22public:
23
26 static const std::string STD_CHARACTERS;
27
29 virtual ~AdaptorHost() = default;
30
38 static void quoteIdentifier(isc::data::ElementPtr host);
39}; // AdaptorHost
40
41} // namespace yang
42} // namespace isc
43
44#endif // ISC_ADAPTOR_HOST_H
JSON adaptor for host reservations quoting identifiers.
static void quoteIdentifier(isc::data::ElementPtr host)
Quote when needed a host identifier.
static const std::string STD_CHARACTERS
The string of standard (vs special or not printable) characters (digit, letters, -,...
virtual ~AdaptorHost()=default
Destructor.
boost::shared_ptr< Element > ElementPtr
Definition data.h:28
Defines the logger used by the top-level component of kea-lfc.