Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
637
Issues
637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
6bb7b678
Commit
6bb7b678
authored
Apr 16, 1999
by
Bob Halley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not pass the version to dns_db_createiterator()
parent
a8166bf1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
14 deletions
+3
-14
lib/dns/db.c
lib/dns/db.c
+2
-4
lib/dns/include/dns/db.h
lib/dns/include/dns/db.h
+1
-10
No files found.
lib/dns/db.c
View file @
6bb7b678
...
...
@@ -310,8 +310,7 @@ dns_db_printnode(dns_db_t *db, dns_dbnode_t *node, FILE *out) {
***/
dns_result_t
dns_db_createiterator
(
dns_db_t
*
db
,
dns_dbversion_t
*
version
,
isc_boolean_t
relative_names
,
dns_db_createiterator
(
dns_db_t
*
db
,
isc_boolean_t
relative_names
,
dns_dbiterator_t
**
iteratorp
)
{
/*
...
...
@@ -321,8 +320,7 @@ dns_db_createiterator(dns_db_t *db, dns_dbversion_t *version,
REQUIRE
(
DNS_DB_VALID
(
db
));
REQUIRE
(
iteratorp
!=
NULL
&&
*
iteratorp
==
NULL
);
return
(
db
->
methods
->
createiterator
(
db
,
version
,
relative_names
,
iteratorp
));
return
(
db
->
methods
->
createiterator
(
db
,
relative_names
,
iteratorp
));
}
/***
...
...
lib/dns/include/dns/db.h
View file @
6bb7b678
...
...
@@ -98,7 +98,6 @@ typedef struct dns_dbmethods {
void
(
*
printnode
)(
dns_db_t
*
db
,
dns_dbnode_t
*
node
,
FILE
*
out
);
dns_result_t
(
*
createiterator
)(
dns_db_t
*
db
,
dns_dbversion_t
*
version
,
isc_boolean_t
relative_names
,
dns_dbiterator_t
**
iteratorp
);
dns_result_t
(
*
findrdataset
)(
dns_db_t
*
db
,
dns_dbnode_t
*
node
,
...
...
@@ -604,19 +603,13 @@ dns_db_printnode(dns_db_t *db, dns_dbnode_t *node, FILE *out);
***/
dns_result_t
dns_db_createiterator
(
dns_db_t
*
db
,
dns_dbversion_t
*
version
,
isc_boolean_t
relative_names
,
dns_db_createiterator
(
dns_db_t
*
db
,
isc_boolean_t
relative_names
,
dns_dbiterator_t
**
iteratorp
);
/*
* Create an iterator for version 'version' of 'db'.
*
* Notes:
*
* If 'version' is NULL, then the current version will be used.
*
* If a non-NULL version is specified, the iterator will create its
* own reference to it, so the caller need not keep its reference open.
*
* If 'relative_names' is ISC_TRUE, then node names returned by the
* iterator will be relative to the iterator's current origin. If
* ISC_FALSE, then the node names will be absolute.
...
...
@@ -625,8 +618,6 @@ dns_db_createiterator(dns_db_t *db, dns_dbversion_t *version,
*
* 'db' is a valid database.
*
* version == NULL, or is a valid read-only version.
*
* iteratorp != NULL && *iteratorp == NULL
*
* Ensures:
...
...
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