2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

s/dns_dispatch_destroy()/dns_dispatch_detach()/g

This commit is contained in:
Michael Graff
1999-07-13 00:25:21 +00:00
parent 5039f2cad3
commit 2743e0ce08
4 changed files with 34 additions and 37 deletions

View File

@@ -942,7 +942,19 @@ dns_dispatch_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task,
}
void
dns_dispatch_destroy(dns_dispatch_t **dispp)
dns_dispatch_attach(dns_dispatch_t *disp, dns_dispatch_t **dispp)
{
REQUIRE(VALID_DISPATCH(disp));
REQUIRE(dispp != NULL && *dispp == NULL);
disp->refcount++;
*dispp = disp;
}
void
dns_dispatch_detach(dns_dispatch_t **dispp)
{
dns_dispatch_t *disp;
isc_boolean_t killit;