1#ifndef LIBFILEZILLA_HOSTNAME_LOOKUP_HEADER
2#define LIBFILEZILLA_HOSTNAME_LOOKUP_HEADER
40struct hostname_lookup_event_type {};
Simple handler for asynchronous event processing.
Definition event_handler.hpp:55
Definition hostname_lookup.hpp:14
bool lookup(native_string const &host, address_type family=address_type::unknown)
Looks up the passed host.
This is the recommended event class.
Definition event.hpp:68
A dumb thread-pool for asynchronous tasks.
Definition thread_pool.hpp:64
Declares the event_handler class.
Various functions to deal with IP address strings.
Sets some global macros and further includes string.hpp.
The namespace used by libfilezilla.
Definition apply.hpp:17
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
bool dispatch(event_base const &ev, F &&f)
Dispatch for simple_event<> based events to simple functors.
Definition event_handler.hpp:199
simple_event< hostname_lookup_event_type, hostname_lookup *, int, std::vector< std::string > > hostname_lookup_event
Results of hostname_lookup. On success, second argument is zero, otherwise an error code.
Definition hostname_lookup.hpp:43