From 9a6479b068233f6460350e1049fdb74ce7e699e0 Mon Sep 17 00:00:00 2001 From: James Brister Date: Wed, 13 Oct 1999 18:00:17 +0000 Subject: [PATCH] Added dns_c_view_getname. --- lib/dns/include/dns/confview.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/dns/include/dns/confview.h b/lib/dns/include/dns/confview.h index 41006efbfb..e09acfc3fb 100644 --- a/lib/dns/include/dns/confview.h +++ b/lib/dns/include/dns/confview.h @@ -96,6 +96,8 @@ struct dns_c_view char *name; + dns_c_zonelist_t *zonelist; + dns_c_forw_t forward; dns_c_ipmatchlist_t *allowquery; @@ -357,4 +359,13 @@ void dns_c_view_print(isc_log_t *lctx, FILE *fp, int indent, */ +isc_result_t dns_c_view_getname(isc_log_t *lctx, dns_c_view_t *view, + const char **retval); + +/* + * Returns the name of the view. Caller must NOT free or touch the returned + * array. + */ + + #endif /* DNS_CONFIG_CONFVIEW_H */