dns_cache_free_node
March 26, 2020
Name
dns_cache_free_node — Release a reference on a dns cache node
Synopsis
#include "dns-cache.h"
| void **dns_cache_free_node** (
| node)
; | |
dns_cache_cachenode * <var class="pdparam">node</var>
;
Description
Release a reference on a dns cache node. When the reference count falls to 0, the resources for the node are released.
Note
After calling dns_cache_free_node, you must assume that the node has been freed.
- node
-
The dns cache node. A pointer to a dns_cache_cachenode struct. For documentation of this data structure see “dns_cache_cachenode”
This function returns void.
It is legal to call this function in any thread.
See Also
dns_cache_lookup_wait, dns_cache_submit2, and dns_cache_lookup.