/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | lookup.h | 71 dns_db_t *db; member in struct:dns_lookupevent
|
H A D | rdatasetiter.h | 88 * This structure is actually just the common prefix of a DNS db 100 dns_db_t * db; member in struct:dns_rdatasetiter
|
H A D | dbiterator.h | 92 * This structure is actually just the common prefix of a DNS db 95 * Clients may use the 'db' field of this structure. Except for that field, 105 dns_db_t * db; member in struct:dns_dbiterator
|
H A D | resolver.h | 64 * A dns_fetchevent_t is sent when a 'fetch' completes. Any of 'db', 77 dns_db_t * db; member in struct:dns_fetchevent
|
/bind-9.6-ESV-R11/lib/dns/tests/ |
H A D | nsec3_test.c | 27 #include <dns/db.h> 39 dns_db_t *db = NULL; local 45 result = dns_test_loaddb(&db, dns_dbtype_zone, "test", file); 48 result = dns_nsec3_maxiterations(db, NULL, mctx, &iterations); 53 dns_db_detach(&db); 71 iteration_test("testdata/nsec3/1024.db", 150); 72 iteration_test("testdata/nsec3/2048.db", 500); 73 iteration_test("testdata/nsec3/4096.db", 2500); 74 iteration_test("testdata/nsec3/min-1024.db", 150); 75 iteration_test("testdata/nsec3/min-2048.db", 50 [all...] |
H A D | db_test.c | 28 #include <dns/db.h> 53 dns_db_t *db = NULL; local 65 dns_rdataclass_in, 0, NULL, &db); 68 result = dns_db_getoriginnode(db, &node); 70 dns_db_detachnode(db, &node); 72 result = dns_db_getoriginnode(db, &node); 74 dns_db_detachnode(db, &node); 76 dns_db_detach(&db);
|
H A D | dbiterator_test.c | 28 #include <dns/db.h> 44 setup_db(const char *testfile, dns_dbtype_t dbtype, dns_db_t **db) { argument 67 dns_rdataclass_in, 0, NULL, db); 79 result = dns_db_load(*db, testfile); 99 dns_db_t *db = NULL; local 106 dns_dbtype_cache, &db); 109 result = dns_db_createiterator(db, 0, &iter); 113 dns_db_detach(&db); 139 dns_db_t *db = NULL; local 155 dns_dbtype_cache, &db); 202 dns_db_t *db = NULL; local 263 dns_db_t *db = NULL; local 338 dns_db_t *db = NULL; local 395 dns_db_t *db = NULL; local [all...] |
H A D | dnstest.c | 38 #include <dns/db.h> 303 dns_test_loaddb(dns_db_t **db, dns_dbtype_t dbtype, const char *origin, argument 318 0, NULL, db); 322 result = dns_db_load(*db, testfile);
|
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | query.h | 35 dns_db_t *db; member in struct:ns_dbversion
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | nsecify.c | 28 #include <dns/db.h> 54 active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) { argument 62 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter); 83 result = dns_db_deleterdataset(db, node, version, 94 next_active(dns_db_t *db, dns_dbversion_t *version, dns_dbiterator_t *dbiter, argument 104 active = active_node(db, version, *nodep); 106 dns_db_detachnode(db, nodep); 118 dns_db_t *db; local 145 db = NULL; 147 dns_rdataclass_in, 0, NULL, &db); [all...] |
H A D | zone_test.c | 38 #include <dns/db.h> 160 dns_db_t *db; local 168 db = NULL; 169 result = dns_zone_getdb(zone, &db); 212 result = dns_db_find(db, dns_fixedname_name(&name), 239 dns_db_detach(&db);
|
/bind-9.6-ESV-R11/contrib/dlz/drivers/ |
H A D | sdlz_helper.c | 343 dbinstance_t *db = NULL; local 349 db = isc_mem_get(mctx, sizeof(dbinstance_t)); 350 if (db == NULL) { 357 memset(db, 0, sizeof(dbinstance_t)); 358 db->dbconn = NULL; 359 db->client = NULL; 360 db->record = NULL; 361 db->zone = NULL; 362 db->mctx = NULL; 363 db [all...] |
H A D | dlz_bdb_driver.c | 73 #include <db.h> 224 bdb_instance_t *db = (bdb_instance_t *) dbdata; local 252 if (db->client->cursor(db->client, NULL, &client_cursor, 0) != 0) { 293 bdb_instance_t *db = (bdb_instance_t *) dbdata; local 314 if (db->zone->cursor(db->zone, NULL, &zone_cursor, 0) != 0) { 367 bdb_cleanup(bdb_instance_t *db) { argument 372 if (db->data != NULL) 373 db 400 bdb_instance_t *db = (bdb_instance_t *) dbdata; local 458 bdb_instance_t *db = (bdb_instance_t *) dbdata; local 569 bdb_opendb(DB_ENV *db_env, DBTYPE db_type, DB **db, const char *db_name, char *db_file, int flags) argument 614 bdb_instance_t *db = NULL; local [all...] |
/bind-9.6-ESV-R11/contrib/sdb/bdb/ |
H A D | zone2bdb.c | 27 #include <dns/db.h> 38 #include <db.h> 51 DB *db; local 53 REQUIRE(db_create(&db, NULL, 0) == 0); 54 REQUIRE(db->set_flags(db, DB_DUP) == 0); 55 REQUIRE(db->open(db, file, NULL, DB_HASH, DB_CREATE | DB_EXCL, 0) == 0); 57 return db; 61 * Puts resource record data on 'db' 64 bdb_putrdata(DB *db, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument 99 bdb_destroy(DB *db) argument 120 dns_db_t *db = NULL; local [all...] |
/bind-9.6-ESV-R11/contrib/sdb/pgsql/ |
H A D | zonetodb.c | 30 #include <dns/db.h> 138 dns_db_t *db = NULL; local 180 db = NULL; 182 dns_rdataclass_in, 0, NULL, &db); 185 result = dns_db_load(db, zonefile); 233 result = dns_db_createiterator(db, 0, &dbiter); 252 result = dns_db_allrdatasets(db, node, NULL, 0, &rdsiter); 271 dns_db_detachnode(db, &node); 286 dns_db_detach(&db);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | dbtable.c | 34 #include <dns/db.h> 57 dns_db_t *db = data; local 61 dns_db_detach(&db); 176 dns_dbtable_add(dns_dbtable_t *dbtable, dns_db_t *db) { argument 181 REQUIRE(dns_db_class(db) == dbtable->rdclass); 184 dns_db_attach(db, &clone); 194 dns_dbtable_remove(dns_dbtable_t *dbtable, dns_db_t *db) { argument 201 name = dns_db_origin(db); 204 * There is a requirement that the association of name with db 217 INSIST(stored_data == db); 226 dns_dbtable_adddefault(dns_dbtable_t *dbtable, dns_db_t *db) argument [all...] |
H A D | diff.c | 32 #include <dns/db.h> 232 diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver, argument 243 REQUIRE(DNS_DB_VALID(db)); 297 CHECK(dns_db_findnode(db, name, ISC_TRUE, 300 CHECK(dns_db_findnsec3node(db, name, ISC_TRUE, 351 result = dns_db_addrdataset(db, node, ver, 360 result = dns_db_subtractrdataset(db, node, ver, 374 dns_db_setsigningtime(db, modified, 400 dns_db_detachnode(db, &node); 410 dns_db_detachnode(db, 415 dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver) argument 420 dns_diff_applysilently(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver) argument [all...] |
H A D | dlz.c | 143 dns_dlzdb_t *db = NULL; local 182 db = isc_mem_get(mctx, sizeof(dns_dlzdb_t)); 183 if (db == NULL) { 189 memset(db, 0, sizeof(dns_dlzdb_t)); 191 db->implementation = impinfo; 196 &db->dbdata)); 201 db->magic = DNS_DLZ_MAGIC; 202 isc_mem_attach(mctx, &db->mctx); 206 *dbp = db; 216 isc_mem_put(mctx, db, sizeo [all...] |
H A D | nsec.c | 28 #include <dns/db.h> 70 dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version, argument 99 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter); 152 dns_db_class(db), 161 dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, argument 173 RETERR(dns_nsec_buildrdata(db, version, node, target, data, &rdata)); 175 rdatalist.rdclass = dns_db_class(db); 182 result = dns_db_addrdataset(db, node, version, 0, &rdataset, 229 dns_nsec_nseconly(dns_db_t *db, dns_dbversion_t *version, argument 241 result = dns_db_getoriginnode(db, [all...] |
H A D | rootns.c | 29 #include <dns/db.h> 147 check_hints(dns_db_t *db) { argument 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; local 211 rdclass, 0, NULL, &db); 221 result = dns_db_beginload(db, 322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, dns_name_t *name, isc_stdtime_t now) argument 422 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) argument [all...] |
/bind-9.6-ESV-R11/bin/check/ |
H A D | named-checkconf.c | 42 #include <dns/db.h> 160 dns_db_t *db = NULL; local 173 result = dns_rootns_create(mctx, rdclass, zfile, &db); 177 dns_db_detach(&db);
|
/bind-9.6-ESV-R11/bin/dnssec/ |
H A D | dnssec-dsfromkey.c | 34 #include <dns/db.h> 57 static dns_db_t *db = NULL; variable 101 rdclass, 0, NULL, &db); 105 result = dns_db_load(db, filename); 109 result = dns_db_findnode(db, name, ISC_FALSE, &node); 113 result = dns_db_findrdataset(db, node, NULL, dns_rdatatype_dnskey, 384 dns_db_detachnode(db, &node); 385 if (db != NULL) 386 dns_db_detach(&db);
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | lwdgrbn.c | 29 #include <dns/db.h> 73 iterate_node(lwres_grbnresponse_t *grbn, dns_db_t *db, dns_dbnode_t *node, argument 86 result = dns_db_allrdatasets(db, node, NULL, 0, &iter); 299 result = iterate_node(grbn, levent->db, levent->node,
|
/bind-9.6-ESV-R11/contrib/sdb/sqlite/ |
H A D | sqlitedb.c | 52 sqlite3 *db; member in struct:_dbinfo 61 if (sqlite3_open(dbi->filename, &dbi->db) == SQLITE_OK) { 65 sqlite3_close(dbi->db); 66 dbi->db = NULL; 132 result = sqlite3_exec(dbi->db, sql, 203 result = sqlite3_exec(dbi->db, sql, 225 if (dbi->db != NULL) 226 sqlite3_close(dbi->db); 269 dbi->db = NULL;
|
H A D | zone2sqlite.c | 28 #include <dns/db.h> 51 sqlite3 *db; member in struct:_dbinfo 62 if (dbi.db) { 63 sqlite3_close(dbi.db); 64 dbi.db = NULL; 82 if (sqlite3_open(dbi->filename, &dbi->db) == SQLITE_OK) { 86 sqlite3_close(dbi->db); 87 dbi->db = NULL; 137 res = sqlite3_exec(dbi.db, sql, add_rdata_cb, NULL, &errmsg); 155 dns_db_t *db local [all...] |