Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 09:04:46

0001 //
0002 // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/url
0008 //
0009 
0010 #ifndef BOOST_URL_HOST_TYPE_HPP
0011 #define BOOST_URL_HOST_TYPE_HPP
0012 
0013 #include <boost/url/detail/config.hpp>
0014 
0015 namespace boost {
0016 namespace urls {
0017 
0018 /** Identifies the type of host in a URL.
0019 
0020     Values of this type are returned by URL views
0021     and containers to indicate the type of host
0022     present in a URL.
0023 */
0024 enum class host_type
0025 {
0026     // VFALCO 3 space indent or
0027     // else Doxygen malfunctions
0028 
0029     /**
0030      * No host is specified.
0031     */
0032     none,
0033 
0034     /**
0035      * A host is specified by reg-name.
0036     */
0037     name,
0038 
0039     /**
0040      * A host is specified by @ref ipv4_address.
0041     */
0042     ipv4,
0043 
0044     /**
0045      * A host is specified by @ref ipv6_address.
0046     */
0047     ipv6,
0048 
0049     /**
0050      * A host is specified by IPvFuture.
0051     */
0052     ipvfuture
0053 };
0054 
0055 } // urls
0056 } // boost
0057 
0058 #endif