![]() |
wget2
2.0.0
|
Functions for DNS caching. More...
#include <config.h>#include <stdlib.h>#include <string.h>#include <netdb.h>#include <wget.h>#include "private.h"
Data Structures | |
| struct | cache_entry |
| struct | wget_dns_cache_st |
Functions | |
| int | wget_dns_cache_init (wget_dns_cache **cache) |
| void | wget_dns_cache_free (wget_dns_cache **cache) |
| struct addrinfo * | wget_dns_cache_get (wget_dns_cache *cache, const char *host, uint16_t port) |
| int | wget_dns_cache_add (wget_dns_cache *cache, const char *host, uint16_t port, struct addrinfo **addrinfo) |
Functions for DNS caching.