Electroneum
view Struct Reference

#include <view.h>

Collaboration diagram for view:

Public Attributes

rbnode_type node
 
char * name
 
struct local_zoneslocal_zones
 
struct respip_set * respip_set
 
int isfirst
 
lock_rw_type lock
 

Detailed Description

View. Named structure holding local authority zones.

Definition at line 66 of file view.h.

Member Data Documentation

◆ 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

Definition at line 79 of file view.h.

◆ local_zones

struct local_zones* view::local_zones

view specific local authority zones

Definition at line 74 of file view.h.

◆ lock

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.

Definition at line 83 of file view.h.

◆ name

char* view::name

view name. Has to be right after rbnode_t due to pointer arithmetic in view_create's lock protect

Definition at line 72 of file view.h.

◆ node

rbnode_type view::node

rbtree node, key is name

Definition at line 68 of file view.h.

◆ respip_set

struct respip_set* view::respip_set

response-ip configuration data for this view

Definition at line 76 of file view.h.


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