view Struct Reference

View. More...

#include <view.h>

Data Fields

rbnode_type node
 rbtree node, key is name
 
char * name
 view name. More...
 
struct local_zoneslocal_zones
 view specific local authority zones
 
struct respip_setrespip_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.
 

Detailed Description

View.

Named structure holding local authority zones.

Field Documentation

◆ name

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().

◆ isfirst

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().


The documentation for this struct was generated from the following file: