Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
8259b7b1
Commit
8259b7b1
authored
Apr 14, 1999
by
Bob Halley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API simplification
parent
95f78a20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
lib/dns/include/dns/dbtable.h
lib/dns/include/dns/dbtable.h
+8
-8
No files found.
lib/dns/include/dns/dbtable.h
View file @
8259b7b1
...
...
@@ -49,17 +49,18 @@ dns_dbtable_destroy(dns_dbtable_t **dbtablep);
*/
dns_result_t
dns_dbtable_add
(
dns_dbtable_t
*
dbtable
,
dns_name_t
*
name
,
dns_db_t
*
db
);
dns_dbtable_add
(
dns_dbtable_t
*
dbtable
,
dns_db_t
*
db
);
/*
* A
ssociate 'name' and 'db' in the
dbtable.
* A
dd 'db' to '
dbtable
'
.
*/
void
dns_dbtable_remove
(
dns_dbtable_t
*
dbtable
,
dns_name_t
*
name
,
dns_db_t
*
db
);
dns_dbtable_remove
(
dns_dbtable_t
*
dbtable
,
dns_db_t
*
db
);
/*
*
Dissociate 'name' and 'db' in the
dbtable.
*
Remove 'db' from '
dbtable
'
.
*
* Requires: they are already associated
* Requires:
* 'db' was previously added to 'dbtable'.
*/
void
...
...
@@ -77,10 +78,9 @@ dns_dbtable_getdefault(dns_dbtable_t *dbtable, dns_db_t **db);
*/
void
dns_dbtable_removedefault
(
dns_dbtable_t
*
dbtable
,
dns_db_t
*
db
);
dns_dbtable_removedefault
(
dns_dbtable_t
*
dbtable
);
/*
* Stop using 'db' as the result of a dns_dbtable_find() if no better match is
* available.
* Remove the default db from 'dbtable'.
*/
dns_result_t
...
...
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