Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
00b67c06
Commit
00b67c06
authored
May 23, 2000
by
Mark Andrews
Browse files
Add contract notes for dns_requestmgr_{attach,detach}().
parent
c637772a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/include/dns/request.h
View file @
00b67c06
...
...
@@ -131,10 +131,32 @@ dns_requestmgr_shutdown(dns_requestmgr_t *requestmgr);
void
dns_requestmgr_attach
(
dns_requestmgr_t
*
source
,
dns_requestmgr_t
**
targetp
);
/*
* Attach to the request manager. dns_requestmgr_shutdown() must not
* have been called on 'source' prior to calling dns_requestmgr_attach().
*
* Requires:
*
* 'source' is a valid requestmgr.
*
* 'targetp' to be non NULL and '*targetp' to be NULL.
*/
void
dns_requestmgr_detach
(
dns_requestmgr_t
**
requestmgrp
);
/*
*
* Detach from the given requestmgr. If this is the final detach
* requestmgr will be destroyed. dns_requestmgr_shutdown() must
* be called before the final detach.
*
* Requires:
*
* '*requestmgrp' is a valid requestmgr.
*
* Ensures:
* '*requestmgrp' is NULL.
*/
isc_result_t
dns_request_create
(
dns_requestmgr_t
*
requestmgr
,
dns_message_t
*
message
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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