unbound
0.1
|
View. More...
#include <view.h>
Data Fields | |
rbnode_type | node |
rbtree node, key is name | |
char * | name |
view name. More... | |
struct local_zones * | local_zones |
view specific local authority zones | |
struct respip_set * | respip_set |
response-ip configuration data for this view | |
int | isfirst |
Fallback to global local_zones when there is no match in the view specific tree. More... | |
lock_rw_type | lock |
lock on the data in the structure For the node and name you need to also hold the views_tree lock to change them. More... | |
View.
Named structure holding local authority zones.
char* view::name |
view name.
Has to be right after rbnode_t due to pointer arithmetic in view_create's lock protect
Referenced by local_zones_answer(), view_cmp(), view_create(), view_delete(), views_enter_view_name(), and views_find_view().
int view::isfirst |
Fallback to global local_zones when there is no match in the view specific tree.
1 for yes, 0 for no
Referenced by do_view_zone_add(), local_zones_answer(), respip_rewrite_reply(), and views_apply_cfg().
lock_rw_type view::lock |
lock on the data in the structure For the node and name you need to also hold the views_tree lock to change them.
Referenced by do_view_data_add(), do_view_data_remove(), do_view_list_local_data(), do_view_list_local_zones(), do_view_zone_add(), do_view_zone_remove(), local_zones_answer(), respip_rewrite_reply(), respip_view_conf_data_test(), respip_views_apply_cfg(), view_create(), view_delete(), views_apply_cfg(), views_enter_view_name(), and views_find_view().