syslog-ng source
dnscache.h File Reference
#include "syslog-ng.h"
Include dependency graph for dnscache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DNSCacheOptions
 

Functions

void dns_cache_store_persistent (DNSCache *self, gint family, void *addr, const gchar *hostname)
 
void dns_cache_store_dynamic (DNSCache *self, gint family, void *addr, const gchar *hostname, gboolean positive)
 
gboolean dns_cache_lookup (DNSCache *self, gint family, void *addr, const gchar **hostname, gsize *hostname_len, gboolean *positive)
 
DNSCache * dns_cache_new (const DNSCacheOptions *options)
 
void dns_cache_free (DNSCache *self)
 
void dns_cache_options_defaults (DNSCacheOptions *options)
 
void dns_cache_options_destroy (DNSCacheOptions *options)
 
gboolean dns_caching_lookup (gint family, void *addr, const gchar **hostname, gsize *hostname_len, gboolean *positive)
 
void dns_caching_store (gint family, void *addr, const gchar *hostname, gboolean positive)
 
void dns_caching_update_options (const DNSCacheOptions *dns_cache_options)
 
void dns_caching_thread_init (void)
 
void dns_caching_thread_deinit (void)
 
void dns_caching_global_init (void)
 
void dns_caching_global_deinit (void)
 

Function Documentation

◆ dns_cache_free()

void dns_cache_free ( DNSCache *  self)

◆ dns_cache_lookup()

gboolean dns_cache_lookup ( DNSCache *  self,
gint  family,
void *  addr,
const gchar **  hostname,
gsize *  hostname_len,
gboolean *  positive 
)

◆ dns_cache_new()

DNSCache* dns_cache_new ( const DNSCacheOptions options)

◆ dns_cache_options_defaults()

void dns_cache_options_defaults ( DNSCacheOptions options)

◆ dns_cache_options_destroy()

void dns_cache_options_destroy ( DNSCacheOptions options)

◆ dns_cache_store_dynamic()

void dns_cache_store_dynamic ( DNSCache *  self,
gint  family,
void *  addr,
const gchar *  hostname,
gboolean  positive 
)

◆ dns_cache_store_persistent()

void dns_cache_store_persistent ( DNSCache *  self,
gint  family,
void *  addr,
const gchar *  hostname 
)

◆ dns_caching_global_deinit()

void dns_caching_global_deinit ( void  )

◆ dns_caching_global_init()

void dns_caching_global_init ( void  )

◆ dns_caching_lookup()

gboolean dns_caching_lookup ( gint  family,
void *  addr,
const gchar **  hostname,
gsize *  hostname_len,
gboolean *  positive 
)

◆ dns_caching_store()

void dns_caching_store ( gint  family,
void *  addr,
const gchar *  hostname,
gboolean  positive 
)

◆ dns_caching_thread_deinit()

void dns_caching_thread_deinit ( void  )

◆ dns_caching_thread_init()

void dns_caching_thread_init ( void  )

◆ dns_caching_update_options()

void dns_caching_update_options ( const DNSCacheOptions dns_cache_options)