Searched refs:dbtable (Results 1 - 4 of 4) sorted by relevance

/bind-9.11.3/lib/dns/
H A Ddbtable.c10 * $Id: dbtable.c,v 1.33 2007/06/19 23:47:16 tbox Exp $
24 #include <dns/dbtable.h>
44 #define VALID_DBTABLE(dbtable) ISC_MAGIC_VALID(dbtable, DBTABLE_MAGIC)
59 dns_dbtable_t *dbtable; local
65 dbtable = (dns_dbtable_t *)isc_mem_get(mctx, sizeof(*dbtable));
66 if (dbtable == NULL)
69 dbtable->rbt = NULL;
70 result = dns_rbt_create(mctx, dbdetach, NULL, &dbtable
106 dbtable_free(dns_dbtable_t *dbtable) argument
145 dns_dbtable_t *dbtable; local
168 dns_dbtable_add(dns_dbtable_t *dbtable, dns_db_t *db) argument
186 dns_dbtable_remove(dns_dbtable_t *dbtable, dns_db_t *db) argument
218 dns_dbtable_adddefault(dns_dbtable_t *dbtable, dns_db_t *db) argument
232 dns_dbtable_getdefault(dns_dbtable_t *dbtable, dns_db_t **dbp) argument
244 dns_dbtable_removedefault(dns_dbtable_t *dbtable) argument
255 dns_dbtable_find(dns_dbtable_t *dbtable, dns_name_t *name, unsigned int options, dns_db_t **dbp) argument
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Ddbtable.h9 /* $Id: dbtable.h,v 1.23 2007/06/19 23:47:16 tbox Exp $ */
18 /*! \file dns/dbtable.h
53 * Make a new dbtable of class 'rdclass'
73 *\li 'source' is a valid dbtable.
85 * Detach *dbtablep from its dbtable.
89 *\li '*dbtablep' points to a valid dbtable.
95 *\li If '*dbtablep' is the last reference to the dbtable,
96 * all resources used by the dbtable will be freed
100 dns_dbtable_add(dns_dbtable_t *dbtable, dns_db_t *db);
102 * Add 'db' to 'dbtable'
[all...]
/bind-9.11.3/contrib/sdb/pgsql/
H A Dzonetodb.c44 char *dbname, *dbtable; variable
112 dbtable, canonnamearray, ttl, canontypearray, canondataarray);
142 printf("usage: %s origin file dbname dbtable\n", argv[0]);
150 dbtable = argv[4];
190 "DROP TABLE %s", dbtable);
212 dbtable);
/bind-9.11.3/bin/tests/
H A Ddb_test.c30 #include <dns/dbtable.h>
57 static dns_dbtable_t * dbtable; variable
286 dns_dbtable_adddefault(dbtable, dbi->db);
289 result = dns_dbtable_add(dbtable, dbi->db);
308 dns_dbtable_remove(dbtable, dbi->db);
311 dns_dbtable_removedefault(dbtable);
374 RUNTIME_CHECK(dns_dbtable_create(mctx, dns_rdataclass_in, &dbtable) ==
745 result = dns_dbtable_find(dbtable, &name, zcoptions,
931 dns_dbtable_detach(&dbtable);

Completed in 35 milliseconds