Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
dns.h
1#ifndef SOURCEMETA_CORE_DNS_H_
2#define SOURCEMETA_CORE_DNS_H_
3
4#ifndef SOURCEMETA_CORE_DNS_EXPORT
5#include <sourcemeta/core/dns_export.h>
6#endif
7
8#include <string_view> // std::string_view
9
18
19namespace sourcemeta::core {
20
37SOURCEMETA_CORE_DNS_EXPORT
38auto is_hostname_label(const std::string_view value) -> bool;
39
60SOURCEMETA_CORE_DNS_EXPORT
61auto is_hostname(const std::string_view value) -> bool;
62
81SOURCEMETA_CORE_DNS_EXPORT
82auto is_idn_hostname(const std::string_view value) -> bool;
83
103SOURCEMETA_CORE_DNS_EXPORT
104auto is_idn_hostname_uts46(const std::string_view value) -> bool;
105
106} // namespace sourcemeta::core
107
108#endif
SOURCEMETA_CORE_DNS_EXPORT auto is_hostname(const std::string_view value) -> bool
SOURCEMETA_CORE_DNS_EXPORT auto is_hostname_label(const std::string_view value) -> bool
SOURCEMETA_CORE_DNS_EXPORT auto is_idn_hostname(const std::string_view value) -> bool
SOURCEMETA_CORE_DNS_EXPORT auto is_idn_hostname_uts46(const std::string_view value) -> bool