Lines Matching refs:view
43 #include <dns/view.h>
192 * 'zonep'. If 'view' is set, add the zone to that view; otherwise, create
193 * a new view for the purpose.
195 * If the created view is going to be needed by the caller subsequently,
196 * then 'keepview' should be set to true; this will prevent the view
198 * detaching the view.
201 dns_test_makezone(const char *name, dns_zone_t **zonep, dns_view_t *view,
210 if (view == NULL)
211 CHECK(dns_view_create(mctx, dns_rdataclass_in, "view", &view));
223 dns_zone_setview(zone, view);
225 dns_zone_setclass(zone, view->rdclass);
226 dns_view_addzone(view, zone);
229 dns_view_detach(&view);
238 if (view != NULL)
239 dns_view_detach(&view);