Esempio n. 1
0
File: db.c Progetto: pecharmin/bind9
static size_t
hashsize(dns_db_t *db) {
	sampledb_t *sampledb = (sampledb_t *) db;

	REQUIRE(VALID_SAMPLEDB(sampledb));

	return (dns_db_hashsize(sampledb->rbtdb));
}
Esempio n. 2
0
size_t
#else
unsigned int
#endif /* LIBDNS_VERSION_MAJOR >= 164 */
hashsize(dns_db_t *db)
{
	ldapdb_t *ldapdb = (ldapdb_t *) db;

	REQUIRE(VALID_LDAPDB(ldapdb));

	return dns_db_hashsize(ldapdb->rbtdb);
}