#include "host-resolve.h"#include "hostname.h"#include "dnscache.h"#include "messages.h"#include "cfg.h"#include "tls-support.h"#include "compat/socket.h"#include "apphook.h"#include <iv.h>#include <arpa/inet.h>#include <netdb.h>#include <string.h>#include <resolv.h>
Macros | |
| #define | AI_V4MAPPED 0 |
| #define | hostname_buffer __slng_tls_deref(hostname_buffer) |
Functions | |
| G_LOCK_DEFINE_STATIC (resolv_lock) | |
| gboolean | resolve_hostname_to_sockaddr (GSockAddr **addr, gint family, const gchar *name) |
| const gchar * | resolve_sockaddr_to_hostname (gsize *result_len, GSockAddr *saddr, const HostResolveOptions *host_resolve_options) |
| const gchar * | resolve_hostname_to_hostname (gsize *result_len, const gchar *hname, HostResolveOptions *host_resolve_options) |
| void | host_resolve_options_defaults (HostResolveOptions *options) |
| void | host_resolve_options_global_defaults (HostResolveOptions *options) |
| void | host_resolve_options_init_globals (HostResolveOptions *options) |
| void | host_resolve_options_init (HostResolveOptions *options, HostResolveOptions *global_options) |
| void | host_resolve_options_destroy (HostResolveOptions *options) |
| void | host_resolve_global_init (void) |
Variables | |
| TLS_BLOCK_START | |
| TLS_BLOCK_END | |
| #define AI_V4MAPPED 0 |
| #define hostname_buffer __slng_tls_deref(hostname_buffer) |
| G_LOCK_DEFINE_STATIC | ( | resolv_lock | ) |
| void host_resolve_global_init | ( | void | ) |
| void host_resolve_options_defaults | ( | HostResolveOptions * | options | ) |
| void host_resolve_options_destroy | ( | HostResolveOptions * | options | ) |
| void host_resolve_options_global_defaults | ( | HostResolveOptions * | options | ) |
| void host_resolve_options_init | ( | HostResolveOptions * | options, |
| HostResolveOptions * | global_options | ||
| ) |
| void host_resolve_options_init_globals | ( | HostResolveOptions * | options | ) |
| const gchar* resolve_hostname_to_hostname | ( | gsize * | result_len, |
| const gchar * | hname, | ||
| HostResolveOptions * | host_resolve_options | ||
| ) |
| gboolean resolve_hostname_to_sockaddr | ( | GSockAddr ** | addr, |
| gint | family, | ||
| const gchar * | name | ||
| ) |
| const gchar* resolve_sockaddr_to_hostname | ( | gsize * | result_len, |
| GSockAddr * | saddr, | ||
| const HostResolveOptions * | host_resolve_options | ||
| ) |
| TLS_BLOCK_END |
| TLS_BLOCK_START |