Searched refs:bcp (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/dns/include/dns/
H A Dbadcache.h50 dns_badcache_init(isc_mem_t *mctx, unsigned int size, dns_badcache_t **bcp);
52 * Allocate and initialize a badcache and store it in '*bcp'.
56 * \li bcp != NULL
57 * \li *bcp == NULL
61 dns_badcache_destroy(dns_badcache_t **bcp);
63 * Flush and then free badcache in 'bcp'. '*bcp' is set to NULL on return.
66 * \li '*bcp' to be a valid badcache
/bind-9.11.3/lib/dns/
H A Dbadcache.c59 dns_badcache_init(isc_mem_t *mctx, unsigned int size, dns_badcache_t **bcp) { argument
63 REQUIRE(bcp != NULL && *bcp == NULL);
89 *bcp = bc;
100 dns_badcache_destroy(dns_badcache_t **bcp) { argument
103 REQUIRE(bcp != NULL && *bcp != NULL);
104 bc = *bcp;
112 *bcp = NULL;

Completed in 823 milliseconds