Added dns_c_view_getname.

This commit is contained in:
James Brister 1999-10-13 18:00:17 +00:00
parent a7eb7752a7
commit 9a6479b068

View file

@ -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 */