Lines Matching defs:sdbnode
428 dns_sdbnode_t *sdbnode;
453 sdbnode = ISC_LIST_HEAD(allnodes->nodelist);
454 if (sdbnode == NULL || !dns_name_equal(sdbnode->name, newname)) {
455 sdbnode = NULL;
456 result = createnode(sdb, &sdbnode);
459 sdbnode->name = isc_mem_get(mctx, sizeof(dns_name_t));
460 if (sdbnode->name == NULL) {
461 destroynode(sdbnode);
464 dns_name_init(sdbnode->name, NULL);
465 result = dns_name_dup(newname, mctx, sdbnode->name);
467 isc_mem_put(mctx, sdbnode->name, sizeof(dns_name_t));
468 destroynode(sdbnode);
471 ISC_LIST_PREPEND(allnodes->nodelist, sdbnode, link);
474 allnodes->origin = sdbnode;
476 *nodep = sdbnode;
485 dns_sdbnode_t *sdbnode = NULL;
486 result = getnode(allnodes, name, &sdbnode);
489 return (dns_sdb_putrr(sdbnode, type, ttl, data));
498 dns_sdbnode_t *sdbnode = NULL;
499 result = getnode(allnodes, name, &sdbnode);
502 return (dns_sdb_putrdata(sdbnode, type, ttl, rdata, rdlen));
1117 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *)node;
1130 list = ISC_LIST_HEAD(sdbnode->lists);
1389 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *) node;
1390 dns_db_t *db = (dns_db_t *) sdbnode->sdb;
1399 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *) node;
1400 dns_db_t *db = (dns_db_t *) sdbnode->sdb;
1567 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *)iterator->node;
1569 if (ISC_LIST_EMPTY(sdbnode->lists))
1571 sdbiterator->current = ISC_LIST_HEAD(sdbnode->lists);