Skip to main content

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.

Parameters

node

The dns cache node. A pointer to a dns_cache_cachenode struct. For documentation of this data structure see “dns_cache_cachenode”

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?