Searched refs:views (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/unbound/services/
H A Dview.h2 * services/view.h - named views containing local zones authority service.
39 * This file contains functions to enable named views that can hold local zone
56 struct views { struct
88 * Create views storage
91 struct views* views_create(void);
94 * Delete views storage
95 * @param v: views to delete.
97 void views_delete(struct views* v);
106 int views_apply_cfg(struct views* v, struct config_file* cfg);
123 * Debug helper. Print all views
[all...]
H A Dview.c2 * services/view.c - named views containing local zones authority service.
39 * This file contains functions to enable named views that can hold local zone
56 struct views*
59 struct views* v = (struct views*)calloc(1,
93 views_delete(struct views* v)
121 views_enter_view_name(struct views* vs, char* name)
144 views_apply_cfg(struct views* vs, struct config_file* cfg)
150 * views are already checked when parsing config. */
151 if(cfg->views
[all...]
/freebsd-11-stable/contrib/unbound/daemon/
H A Ddaemon.h56 struct views;
124 /** views structure containing view tree */
125 struct views* views; member in struct:daemon
H A Dacl_list.h126 * @param v: views structure
130 struct views* v);
H A Ddaemon.c598 if(!(daemon->views = views_create()))
599 fatal_exit("Could not create views: out of memory");
600 /* create individual views and their localzone/data trees */
601 if(!views_apply_cfg(daemon->views, daemon->cfg))
602 fatal_exit("Could not set up views");
604 if(!acl_list_apply_cfg(daemon->acl, daemon->cfg, daemon->views))
630 if(!respip_views_apply_cfg(daemon->views, daemon->cfg,
736 views_delete(daemon->views);
737 daemon->views = NULL;
H A Dacl_list.c178 struct views* vs)
368 read_acl_view(struct acl_list* acl, struct config_file* cfg, struct views* v)
438 struct views* v)
H A Dremote.c1384 v = views_find_view(worker->daemon->views,
1417 v = views_find_view(worker->daemon->views,
1440 v = views_find_view(worker->daemon->views,
1462 v = views_find_view(worker->daemon->views,
1487 v = views_find_view(worker->daemon->views,
1507 v = views_find_view(worker->daemon->views,
2749 struct view* v = views_find_view(worker->daemon->views,
2765 struct view* v = views_find_view(worker->daemon->views,
/freebsd-11-stable/contrib/unbound/respip/
H A Drespip.h53 struct views;
118 * Apply response-ip config settings in named views.
125 int respip_views_apply_cfg(struct views* vs, struct config_file* cfg,
H A Drespip.c409 * configuration; at this point we should have already seen all the views,
410 * so if any of the views that respip data refer to does not exist, that's
417 respip_views_apply_cfg(struct views* vs, struct config_file* cfg,
424 for(cv = cfg->views; cv; cv = cv->next) {
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-checkconf.c198 /** checks for acl and views */
200 acl_view_tag_checks(struct config_file* cfg, struct views* views) argument
217 v = views_find_view(views, acl->str2, 0);
290 struct views* views = NULL; local
293 if(!(views = views_create()))
294 fatal_exit("Could not create views: out of memory");
297 if(!views_apply_cfg(views, cfg))
298 fatal_exit("Could not set up views");
[all...]
/freebsd-11-stable/contrib/unbound/util/
H A Dconfigparser.y344 s->next = cfg_parser->cfg->views;
347 cfg_parser->cfg->views = s;
2777 if(cfg_parser->cfg->views->name)
2780 free(cfg_parser->cfg->views->name);
2781 cfg_parser->cfg->views->name = $2;
2804 if(!cfg_strlist_insert(&cfg_parser->cfg->views->
2810 if(!cfg_strlist_insert(&cfg_parser->cfg->views->
2817 &cfg_parser->cfg->views->local_zones,
2828 &cfg_parser->cfg->views->respip_actions, $2, $3))
2837 &cfg_parser->cfg->views
[all...]
H A Dconfig_file.h234 /** the views definitions, linked list */
235 struct config_view* views; member in struct:config_file
H A Dconfig_file.c220 cfg->views = NULL;
1510 config_delviews(cfg->views);

Completed in 218 milliseconds