Skip to content

Commit

Permalink
BIND 9.11: Add wrapper for new DB API method nodefullname.
Browse files Browse the repository at this point in the history
  • Loading branch information
pspacek committed Nov 30, 2016
1 parent 2649ef1 commit 8178f3c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/ldap_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,16 @@ hashsize(dns_db_t *db)
return dns_db_hashsize(ldapdb->rbtdb);
}

isc_result_t
nodefullname(dns_db_t *db, dns_dbnode_t *node, dns_name_t *name)
{
ldapdb_t *ldapdb = (ldapdb_t *) db;

REQUIRE(VALID_LDAPDB(ldapdb));

return dns_db_nodefullname(ldapdb->rbtdb, node, name);
}

static dns_dbmethods_t ldapdb_methods = {
attach,
detach,
Expand Down Expand Up @@ -852,7 +862,8 @@ static dns_dbmethods_t ldapdb_methods = {
findnodeext,
findext,
setcachestats,
hashsize
hashsize,
nodefullname
};

isc_result_t ATTR_NONNULLS
Expand Down

0 comments on commit 8178f3c

Please sign in to comment.