libspf2 1.2.11
spf_dns_cache.h
Go to the documentation of this file.
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of either:
4 *
5 * a) The GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1, or (at your option) any
7 * later version,
8 *
9 * OR
10 *
11 * b) The two-clause BSD license.
12 *
13 * These licenses can be found with the distribution in the file LICENSES
14 */
15
16
17
18
19#ifndef INC_SPF_DNS_CACHE
20#define INC_SPF_DNS_CACHE
21
22
57SPF_dns_server_t *SPF_dns_cache_new(SPF_dns_server_t *layer_below,
58 const char *name, int debug, int cache_bits);
59
60
98void SPF_dns_cache_set_ttl( SPF_dns_server_t *spf_dns_server,
99 time_t min_ttl, time_t err_ttl,
100 time_t txt_ttl, time_t rdns_ttl );
101
118void SPF_dns_set_conserve_cache( SPF_dns_server_t *spf_dns_server,
119 int conserve_cache );
120
121#endif
SPF_dns_server_t * SPF_dns_cache_new(SPF_dns_server_t *layer_below, const char *name, int debug, int cache_bits)
void SPF_dns_cache_set_ttl(SPF_dns_server_t *spf_dns_server, time_t min_ttl, time_t err_ttl, time_t txt_ttl, time_t rdns_ttl)
void SPF_dns_set_conserve_cache(SPF_dns_server_t *spf_dns_server, int conserve_cache)
#define debug