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:
@@ -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) {
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user