Handle iterator options in rpsdb_allrdatasets()
Commit 7695c36a5d added a new parameter,
'options', to the prototype of the 'allrdatasets' function pointer in
struct dns_dbmethods. Handle this new parameter accordingly in
rpsdb_allrdatasets().
This commit is contained in:
@@ -624,7 +624,8 @@ rpsdb_finddb(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
|
||||
|
||||
static isc_result_t
|
||||
rpsdb_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
||||
isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) {
|
||||
unsigned int options, isc_stdtime_t now,
|
||||
dns_rdatasetiter_t **iteratorp) {
|
||||
rpsdb_t *rpsdb = (rpsdb_t *)db;
|
||||
rpsdb_rdatasetiter_t *rpsdb_iter;
|
||||
|
||||
@@ -640,6 +641,7 @@ rpsdb_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
||||
.common= {.magic = DNS_RDATASETITER_MAGIC,
|
||||
.methods = &rpsdb_rdatasetiter_methods,
|
||||
.db = db,
|
||||
.options = options,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user