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

Convert to user error / warn callbacks.

This commit is contained in:
Mark Andrews
1999-02-10 05:25:37 +00:00
parent 07c7ca6f31
commit fdd04623a6
4 changed files with 161 additions and 34 deletions

View File

@@ -2,7 +2,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <isc/mem.h>
#include <isc/buffer.h>
@@ -70,7 +69,7 @@ main(int argc, char *argv[]) {
exit(1);
}
memset(&callbacks, 0, sizeof callbacks);
dns_rdatacallbacks_init(&callbacks);
callbacks.commit = print_dataset;
result = dns_master_load(argv[1], &origin, &origin, 1,