Lines Matching defs:db
29 #include <dns/db.h>
147 check_hints(dns_db_t *db) {
163 (void)dns_db_find(db, dns_rootname, NULL, dns_rdatatype_ns, 0,
165 result = dns_db_createiterator(db, 0, &dbiter);
173 result = dns_db_allrdatasets(db, node, NULL, now, &rdsiter);
180 dns_db_detachnode(db, &node);
192 dns_db_detachnode(db, &node);
206 dns_db_t *db = NULL;
211 rdclass, 0, NULL, &db);
221 result = dns_db_beginload(db, &callbacks.add,
229 result = dns_master_loadfile(filename, &db->origin,
230 &db->origin, db->rdclass,
232 &callbacks, db->mctx);
237 result = dns_master_loadbuffer(&source, &db->origin,
238 &db->origin, db->rdclass,
240 &callbacks, db->mctx);
243 eresult = dns_db_endload(db, &callbacks.add_private);
248 if (check_hints(db) != ISC_R_SUCCESS)
253 *target = db;
257 dns_db_detach(&db);
322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db,
338 rresult = dns_db_find(db, name, NULL, dns_rdatatype_a,
380 rresult = dns_db_find(db, name, NULL, dns_rdatatype_aaaa,
422 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) {
433 REQUIRE(db != NULL);
460 result = dns_db_find(db, dns_rootname, NULL, dns_rdatatype_ns, 0,
490 check_address_records(view, hints, db, &ns.name, now);