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

Add dns_dumpctx_db() and dns_dumpctx_version().

This commit is contained in:
Mark Andrews
2001-09-05 10:28:55 +00:00
parent 7f006841fc
commit ed03e26c44
3 changed files with 35 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.58 2001/09/05 06:04:58 marka Exp $ */
/* $Id: masterdump.c,v 1.59 2001/09/05 10:28:53 marka Exp $ */
#include <config.h>
@@ -942,6 +942,18 @@ dns_dumpctx_detach(dns_dumpctx_t **dctxp) {
dumpctx_destroy(dctx);
}
dns_dbversion_t *
dns_dumpctx_version(dns_dumpctx_t *dctx) {
REQUIRE(DNS_DCTX_VALID(dctx));
return (dctx->version);
}
dns_db_t *
dns_dumpctx_db(dns_dumpctx_t *dctx) {
REQUIRE(DNS_DCTX_VALID(dctx));
return (dctx->db);
}
void
dns_dumpctx_cancel(dns_dumpctx_t *dctx) {
REQUIRE(DNS_DCTX_VALID(dctx));