Searched defs:db (Results 1 - 25 of 52) sorted by relevance

123

/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dlookup.h71 dns_db_t *db; member in struct:dns_lookupevent
H A Drdatasetiter.h88 * This structure is actually just the common prefix of a DNS db
100 dns_db_t * db; member in struct:dns_rdatasetiter
H A Ddbiterator.h92 * 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 Dresolver.h64 * 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 Dnsec3_test.c27 #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 Ddb_test.c28 #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 Ddbiterator_test.c28 #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 Ddnstest.c38 #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 Dquery.h35 dns_db_t *db; member in struct:ns_dbversion
/bind-9.6-ESV-R11/bin/tests/
H A Dnsecify.c28 #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 Dzone_test.c38 #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 Dsdlz_helper.c343 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 Ddlz_bdb_driver.c73 #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 Dzone2bdb.c27 #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 Dzonetodb.c30 #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 Ddbtable.c34 #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 Ddiff.c32 #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 Ddlz.c143 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 Dnsec.c28 #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 Drootns.c29 #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 Dnamed-checkconf.c42 #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 Ddnssec-dsfromkey.c34 #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 Dlwdgrbn.c29 #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 Dsqlitedb.c52 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 Dzone2sqlite.c28 #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...]

Completed in 1127 milliseconds

123