spf_dns_cache.h

Go to the documentation of this file.
00001 /* 
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of either:
00004  * 
00005  *   a) The GNU Lesser General Public License as published by the Free
00006  *      Software Foundation; either version 2.1, or (at your option) any
00007  *      later version,
00008  * 
00009  *   OR
00010  * 
00011  *   b) The two-clause BSD license.
00012  *
00013  * These licenses can be found with the distribution in the file LICENSES
00014  */
00015 
00016 
00017 
00018 
00019 #ifndef INC_SPF_DNS_CACHE
00020 #define INC_SPF_DNS_CACHE
00021 
00022 
00057 SPF_dns_server_t        *SPF_dns_cache_new(SPF_dns_server_t *layer_below,
00058                                 const char *name, int debug, int cache_bits);
00059 
00060 
00098 void     SPF_dns_cache_set_ttl( SPF_dns_server_t *spf_dns_server,
00099                                 time_t min_ttl, time_t err_ttl,
00100                                 time_t txt_ttl, time_t rdns_ttl );
00101 
00118 void     SPF_dns_set_conserve_cache( SPF_dns_server_t *spf_dns_server,
00119                                 int conserve_cache );
00120 
00121 #endif

Generated on Tue Nov 4 13:27:38 2008 for libspf2 by  doxygen 1.5.4