Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
b8029095
Commit
b8029095
authored
Nov 22, 1999
by
Bob Halley
Browse files
add shutdown and whenshutdown methods
parent
27d4efe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dns/include/dns/adb.h
View file @
b8029095
...
...
@@ -222,6 +222,34 @@ dns_adb_detach(dns_adb_t **adb);
* dns_adb_create().
*/
void
dns_adb_whenshutdown
(
dns_adb_t
*
adb
,
isc_task_t
*
task
,
isc_event_t
**
eventp
);
/*
* Send '*eventp' to 'task' when 'adb' has shutdown.
*
* Requires:
*
* '*adb' is a valid dns_adb_t.
*
* eventp != NULL && *eventp is a valid event.
*
* Ensures:
*
* *eventp == NULL
*
* The event's sender field is set to the value of adb when the event
* is sent.
*/
void
dns_adb_shutdown
(
dns_adb_t
*
adb
);
/*
* Shutdown 'adb'.
*
* Requires:
*
* '*adb' is a valid dns_adb_t.
*/
isc_result_t
dns_adb_createfind
(
dns_adb_t
*
adb
,
isc_task_t
*
task
,
isc_taskaction_t
action
,
...
...
lib/dns/include/dns/resolver.h
View file @
b8029095
...
...
@@ -81,6 +81,13 @@ dns_resolver_create(dns_view_t *view,
isc_timermgr_t
*
timermgr
,
dns_dispatch_t
*
dispatch
,
dns_resolver_t
**
resp
);
void
dns_resolver_whenshutdown
(
dns_resolver_t
*
res
,
isc_task_t
*
task
,
isc_event_t
**
eventp
);
void
dns_resolver_shutdown
(
dns_resolver_t
*
res
);
void
dns_resolver_attach
(
dns_resolver_t
*
source
,
dns_resolver_t
**
targetp
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment