2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

add dns_db_origin

This commit is contained in:
Bob Halley
1999-02-01 21:21:35 +00:00
parent 1ed857d600
commit a99979c686
2 changed files with 10 additions and 0 deletions

View File

@@ -97,6 +97,13 @@ dns_db_iszone(dns_db_t *db) {
return (!db->cache);
}
dns_name_t *
dns_db_origin(dns_db_t *db) {
REQUIRE(DNS_DB_VALID(db));
return (&db->base);
}
dns_result_t
dns_db_load(dns_db_t *db, char *filename) {

View File

@@ -132,6 +132,9 @@ dns_db_iscache(dns_db_t *db);
isc_boolean_t
dns_db_iszone(dns_db_t *db);
dns_name_t *
dns_db_origin(dns_db_t *db);
dns_result_t
dns_db_load(dns_db_t *db, char *filename);