// Copyright (C) 2011-2022 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 OPTION_H #define OPTION_H #include #include #include #include #include namespace isc { namespace dhcp { /// @brief buffer types used in DHCP code. /// /// Dereferencing OptionBuffer iterator will point out to contiguous memory. typedef std::vector OptionBuffer; /// iterator for walking over OptionBuffer typedef OptionBuffer::iterator OptionBufferIter; /// const_iterator for walking over OptionBuffer typedef OptionBuffer::const_iterator OptionBufferConstIter; /// pointer to a DHCP buffer typedef boost::shared_ptr OptionBufferPtr; /// shared pointer to Option object class Option; typedef boost::shared_ptr