1#ifndef LIBFILEZILLA_IPUTILS_HEADER
2#define LIBFILEZILLA_IPUTILS_HEADER
20std::wstring FZ_PUBLIC_SYMBOL
get_ipv6_long_form(std::wstring_view
const& short_address);
41enum class address_type
51address_type FZ_PUBLIC_SYMBOL
get_address_type(std::wstring_view
const& address);
57 std::vector<std::string> addresses;
60std::optional<std::vector<network_interface>> FZ_PUBLIC_SYMBOL get_network_interfaces();
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.
std::wstring native_string
A string in the system's native character type and encoding. Note: This typedef changes depending on...
Definition string.hpp:36
std::string get_ipv6_long_form(std::string_view const &short_address)
Given a shortened IPv6 address, returns the full, unshortened address.
bool is_routable_address(std::string_view const &address)
Tests whether the passed IP address is routable on the public Internet.
Definition iputils.hpp:54