cache: make cname ttl countdown

This commit is contained in:
Nick Peng
2022-02-16 19:02:37 +08:00
parent e98cf5b711
commit 75d91096ca
3 changed files with 45 additions and 2 deletions

View File

@@ -143,6 +143,8 @@ void dns_cache_invalidate(dns_cache_preinvalid_callback callback, int ttl_pre);
int dns_cache_get_ttl(struct dns_cache *dns_cache);
int dns_cache_get_cname_ttl(struct dns_cache *dns_cache);
int dns_cache_is_soa(struct dns_cache *dns_cache);
struct dns_cache_data *dns_cache_new_data(void);