Lines Matching defs:vconfig

324 	       const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
332 * 'vconfig' (for per-view configuration) and maybe from 'config'
335 configure_view_acl(const cfg_obj_t *vconfig, const cfg_obj_t *config,
346 if (vconfig != NULL)
347 maps[i++] = cfg_tuple_get(vconfig, "options");
376 configure_view_sortlist(const cfg_obj_t *vconfig, const cfg_obj_t *config,
387 if (vconfig != NULL)
388 maps[i++] = cfg_tuple_get(vconfig, "options");
414 configure_view_dnsseckey(const cfg_obj_t *vconfig, const cfg_obj_t *key,
438 if (vconfig == NULL)
441 const cfg_obj_t *classobj = cfg_tuple_get(vconfig, "class");
521 * from 'vconfig' and 'config'. The variable to be configured is '*target'.
524 configure_view_dnsseckeys(const cfg_obj_t *vconfig, const cfg_obj_t *config,
537 if (vconfig != NULL)
538 voptions = cfg_tuple_get(vconfig, "options");
556 CHECK(configure_view_dnsseckey(vconfig, key,
1307 * Configure 'view' according to 'vconfig', taking defaults from 'config'
1308 * where values are missing in 'vconfig'.
1310 * When configuring the default view, 'vconfig' will be NULL and the
1315 const cfg_obj_t *vconfig, isc_mem_t *mctx,
1369 if (vconfig != NULL) {
1370 voptions = cfg_tuple_get(vconfig, "options");
1443 CHECK(configure_view_acl(vconfig, config, "allow-query", actx,
1468 CHECK(configure_zone(config, zconfig, vconfig, mctx, view,
1806 CHECK(ns_tsigkeyring_fromconfig(config, vconfig, view->mctx, &ring));
1865 CHECK(configure_view_acl(vconfig, config, "match-clients", actx,
1867 CHECK(configure_view_acl(vconfig, config, "match-destinations", actx,
1940 CHECK(configure_view_acl(vconfig, config, "allow-query-cache",
1942 CHECK(configure_view_acl(vconfig, config, "allow-query-cache-on",
1949 CHECK(configure_view_acl(vconfig, config, "allow-recursion",
1952 CHECK(configure_view_acl(vconfig, config, "allow-recursion-on",
1966 CHECK(configure_view_acl(vconfig, config, "allow-query",
1998 CHECK(configure_view_sortlist(vconfig, config, actx, ns_g_mctx,
2101 CHECK(configure_view_dnsseckeys(vconfig, config, mctx,
2533 get_viewinfo(const cfg_obj_t *vconfig, const char **namep,
2543 if (vconfig != NULL) {
2546 viewname = cfg_obj_asstring(cfg_tuple_get(vconfig, "name"));
2547 classobj = cfg_tuple_get(vconfig, "class");
2564 * If 'vconfig' is NULL, attach to the default view.
2567 find_view(const cfg_obj_t *vconfig, dns_viewlist_t *viewlist,
2575 result = get_viewinfo(vconfig, &viewname, &viewclass);
2590 * If 'vconfig' is NULL, create the default view.
2595 create_view(const cfg_obj_t *vconfig, dns_viewlist_t *viewlist,
2603 result = get_viewinfo(vconfig, &viewname, &viewclass);
2628 const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
2669 if (vconfig != NULL)
2670 vname = cfg_obj_asstring(cfg_tuple_get(vconfig,
2845 CHECK(ns_zone_configure(config, vconfig, zconfig, aclconf, zone));
3700 const cfg_obj_t *vconfig = cfg_listelt_value(element);
3701 const cfg_obj_t *voptions = cfg_tuple_get(vconfig, "options");
3704 CHECK(create_view(vconfig, &viewlist, &view));
3740 const cfg_obj_t *vconfig = cfg_listelt_value(element);
3743 CHECK(find_view(vconfig, &viewlist, &view));
3744 CHECK(configure_view(view, config, vconfig,
3780 const cfg_obj_t *vconfig = cfg_listelt_value(element);
3781 CHECK(create_view(vconfig, &viewlist, &view));
3782 CHECK(configure_view(view, config, vconfig, ns_g_mctx,