![]() |
Go to the source code of this file.
Data Structures | |
struct | as_host |
Functions | |
static void | as_host_copy (const as_host *src, as_host *trg) |
static void | as_host_copy_fields (as_host *trg, const char *hostname, const char *tls_name, uint16_t port) |
static void | as_host_destroy (as_host *host) |
bool | as_host_parse_addresses (char *str, as_vector *hosts) |
Deep copy host.
Definition at line 66 of file as_host.h.
References as_host::name, as_host::port, and as_host::tls_name.
|
inlinestatic |
Deep copy host from fields.
Definition at line 77 of file as_host.h.
References as_host::name, as_host::port, and as_host::tls_name.
|
inlinestatic |
Release memory associated with host.
Definition at line 88 of file as_host.h.
References as_host::name, and as_host::tls_name.
bool as_host_parse_addresses | ( | char * | str, |
as_vector * | hosts ) |
Parse hosts from format: address1:port1,... Warning: Destructive parse. String is modified. Host name pointers are only in scope of string.