/bind-9.6-ESV-R11/bin/tests/ |
H A D | rbt_test.c | 29 #include <dns/rbt.h> 111 detail(dns_rbt_t *rbt, dns_name_t *name) { argument 135 result = dns_rbt_findnode(rbt, name, foundname, &node1, &chain, 194 iterate(dns_rbt_t *rbt, isc_boolean_t forward) { argument 212 result = dns_rbtnodechain_first(&chain, rbt, &foundname, 219 result = dns_rbtnodechain_last(&chain, rbt, &foundname, 262 dns_rbt_t *rbt = NULL; local 305 result = dns_rbt_create(mctx, delete_name, NULL, &rbt); 342 result = dns_rbt_addname(rbt, 351 result = dns_rbt_deletename(rbt, nam [all...] |
H A D | zone_test.c | 93 const char *rbt = "rbt"; local 114 result = dns_zone_setdbtype(zone, 1, &rbt);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | dbtable.c | 35 #include <dns/rbt.h> 48 dns_rbt_t * rbt; member in struct:dns_dbtable 78 dbtable->rbt = NULL; 79 result = dns_rbt_create(mctx, dbdetach, NULL, &dbtable->rbt); 105 dns_rbt_destroy(&dbtable->rbt); 124 dns_rbt_destroy(&dbtable->rbt); 187 result = dns_rbt_addname(dbtable->rbt, dns_db_origin(clone), clone); 205 * be verified. With the current rbt.c this is expensive to do, 213 result = dns_rbt_findname(dbtable->rbt, name, 0, NULL, 219 (void)dns_rbt_deletename(dbtable->rbt, nam [all...] |
H A D | rbt.c | 41 #include <dns/rbt.h> 45 #define VALID_RBT(rbt) ISC_MAGIC_VALID(rbt, RBT_MAGIC) 96 * used as part of the rbt.c algorithms. 157 inithash(dns_rbt_t *rbt); 203 hash_node(dns_rbt_t *rbt, dns_rbtnode_t *node, dns_name_t *name); 205 unhash_node(dns_rbt_t *rbt, dns_rbtnode_t *node); 207 #define hash_node(rbt, node, name) (ISC_R_SUCCESS) 208 #define unhash_node(rbt, node) 224 dns_rbt_deletetree(dns_rbt_t *rbt, dns_rbtnode_ 240 dns_rbt_t *rbt; local 284 dns_rbt_t *rbt; local 308 dns_rbt_nodecount(dns_rbt_t *rbt) argument 368 dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) argument 646 dns_rbt_addname(dns_rbt_t *rbt, dns_name_t *name, void *data) argument 676 dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname, dns_rbtnode_t **node, dns_rbtnodechain_t *chain, unsigned int options, dns_rbtfindcallback_t callback, void *callback_arg) argument 1179 dns_rbt_findname(dns_rbt_t *rbt, dns_name_t *name, unsigned int options, dns_name_t *foundname, void **data) argument 1202 dns_rbt_deletename(dns_rbt_t *rbt, dns_name_t *name, isc_boolean_t recurse) argument 1275 dns_rbt_deletenode(dns_rbt_t *rbt, dns_rbtnode_t *node, isc_boolean_t recurse) argument 1491 hash_add_node(dns_rbt_t *rbt, dns_rbtnode_t *node, dns_name_t *name) argument 1503 inithash(dns_rbt_t *rbt) argument 1519 rehash(dns_rbt_t *rbt) argument 1557 hash_node(dns_rbt_t *rbt, dns_rbtnode_t *node, dns_name_t *name) argument 1568 unhash_node(dns_rbt_t *rbt, dns_rbtnode_t *node) argument 2018 dns_rbt_deletetree(dns_rbt_t *rbt, dns_rbtnode_t *node) argument 2061 dns_rbt_deletetreeflat(dns_rbt_t *rbt, unsigned int quantum, dns_rbtnode_t **nodep) argument 2195 dns_rbt_printall(dns_rbt_t *rbt) argument 2605 dns_rbtnodechain_first(dns_rbtnodechain_t *chain, dns_rbt_t *rbt, dns_name_t *name, dns_name_t *origin) argument 2627 dns_rbtnodechain_last(dns_rbtnodechain_t *chain, dns_rbt_t *rbt, dns_name_t *name, dns_name_t *origin) argument [all...] |
H A D | zone.c | 640 static const char *dbargv_default[] = { "rbt" }; 1354 isc_boolean_t rbt; local 1373 rbt = strcmp(zone->db_argv[0], "rbt") == 0 || 1376 if (zone->db != NULL && zone->masterfile == NULL && rbt) { 1449 rbt) {
|
/bind-9.6-ESV-R11/bin/tests/rbt/ |
H A D | t_rbt.c | 32 #include <dns/rbt.h> 184 t1_add(char *name, dns_rbt_t *rbt, isc_mem_t *mctx, isc_result_t *dns_result) { argument 193 *dns_result = dns_rbt_addname(rbt, dns_name, dns_name); 210 t1_delete(char *name, dns_rbt_t *rbt, isc_mem_t *mctx, argument 219 *dns_result = dns_rbt_deletename(rbt, dns_name, 232 t1_search(char *name, dns_rbt_t *rbt, isc_mem_t *mctx, argument 247 *dns_result = dns_rbt_findname(rbt, dns_searchname, 0, 263 rbt_init(char *filename, dns_rbt_t **rbt, isc_mem_t *mctx) { argument 275 dns_result = dns_rbt_create(mctx, delete_name, mctx, rbt); 294 t_info("adding name %s to the rbt\ 315 dns_rbt_t *rbt; local 612 t9_walkchain(dns_rbtnodechain_t *chain, dns_rbt_t *rbt) argument 764 dns_rbt_t *rbt; local 1049 dns_rbt_t *rbt; local 1246 dns_rbt_t *rbt; local 1444 dns_rbt_t *rbt; local 1651 dns_rbt_t *rbt; local [all...] |