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
41SOURCEMETA_CORE_DNS_EXPORT
42auto is_hostname(const std::string_view value) -> bool;
43
62SOURCEMETA_CORE_DNS_EXPORT
63auto is_idn_hostname(const std::string_view value) -> bool;
64
84SOURCEMETA_CORE_DNS_EXPORT
85auto is_idn_hostname_uts46(const std::string_view value) -> bool;
86
87} // namespace sourcemeta::core
88
89#endif
SOURCEMETA_CORE_DNS_EXPORT auto is_hostname(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