123456789101112131415161718192021222324252627282930313233 |
- // Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
- //
- // This Source Code Form is subject to the terms of the Mozilla Public
- // License, v. 2.0. If a copy of the MPL was not distributed with this
- // file, You can obtain one at http://mozilla.org/MPL/2.0/.
- #ifndef SIMPLE_PARSER4_H
- #define SIMPLE_PARSER4_H
- #include <cc/simple_parser.h>
- namespace isc {
- namespace dhcp {
- class SimpleParser4 : public isc::data::SimpleParser {
- public:
- /// @brief Sets all defaults for DHCPv4 configuration
- ///
- /// This method sets global, option data and option definitions defaults.
- ///
- /// @param global scope to be filled in with defaults.
- /// @return number of default values added
- static size_t setAllDefaults(isc::data::ElementPtr global);
- static const isc::data::SimpleDefaults OPTION4_DEF_DEFAULTS;
- static const isc::data::SimpleDefaults OPTION4_DEFAULTS;
- static const isc::data::SimpleDefaults GLOBAL4_DEFAULTS;
- static const isc::data::ParamsList INHERIT_GLOBAL_TO_SUBNET4;
- };
- };
- };
- #endif
|