1 #ifndef LIBFILEZILLA_IPUTILS_HEADER
2 #define LIBFILEZILLA_IPUTILS_HEADER
19 std::wstring FZ_PUBLIC_SYMBOL
get_ipv6_long_form(std::wstring_view
const& short_address);
40 enum class address_type
49 address_type FZ_PUBLIC_SYMBOL
get_address_type(std::wstring_view
const& address);
Sets some global macros and further includes string.hpp.
The namespace used by libfilezilla.
Definition: apply.hpp:17
address_type get_address_type(std::string_view const &address)
Gets the type of the passed IP address.
bool is_routable_address(std::string_view const &address)
Tests whether the passed IP address is routable on the public Internet.
std::string get_ipv6_long_form(std::string_view const &short_address)
Given a shortened IPv6 address, returns the full, unshortened address.