![]() |
Go to the source code of this file.
Data Structures | |
struct | as_address_iterator |
Functions | |
static void | as_lookup_end (as_address_iterator *iter) |
as_status | as_lookup_host (as_address_iterator *iter, as_error *err, const char *hostname, in_port_t port) |
static bool | as_lookup_next (as_address_iterator *iter, struct sockaddr **addr) |
as_status | as_lookup_node (as_cluster *cluster, as_error *err, const char *tls_name, struct sockaddr *addr, as_node_info *node_info) |
|
inlinestaticprivate |
Release memory associated with address iterator.
Definition at line 81 of file as_lookup.h.
References as_address_iterator::addresses.
|
private |
Lookup hostname and initialize address iterator.
|
inlinestaticprivate |
Get next socket address with assigned port. Return false when there are no more addresses.
Definition at line 57 of file as_lookup.h.
References as_address_iterator::current, and as_address_iterator::port_be.
|
private |
Lookup and validate node.