Commit a99979c6 authored by Bob Halley's avatar Bob Halley
Browse files

add dns_db_origin

parent 1ed857d6
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment