unbound: auth_zones Struct Reference

unbound 0.1

Data Fields
auth_zones Struct Reference

Authoritative zones, shared. More...

`#include <authzone.h>`

## Data Fields
lock_rw_type | lock
| lock on the authzone trees.
rbtree_type | ztree
| rbtree of struct auth_zone
rbtree_type | xtree
| rbtree of struct auth_xfer
int | have_downstream
| do we have downstream enabled
struct auth_zone * | rpz_first
| first auth zone containing rpz item in linked list
lock_rw_type | rpz_lock
| rw lock for rpz linked list, needed when iterating or editing linked list.

## Detailed Description

Authoritative zones, shared.

## Field Documentation

## ◆ lock

lock_rw_type auth_zones::lock

lock on the authzone trees.

It is locked after views, respip, local_zones and before fwds and stubs.

Referenced by auth_xfer_pickup_initial(), auth_xfer_set_expired(), auth_zone_delegpt(), auth_zones_can_fallback(), auth_zones_cfg(), auth_zones_check_changes(), auth_zones_cleanup(), auth_zones_create(), auth_zones_delete(), auth_zones_downstream_answer(), auth_zones_get_mem(), auth_zones_lookup(), auth_zones_notify(), auth_zones_pickup_zonemd_verify(), auth_zones_read_zones(), auth_zones_setup_zones(), auth_zones_startprobesequence(), authtest_addzone(), az_delete_deleted_zones(), az_setall_deleted(), do_auth_zone_reload(), do_list_auth_zones(), do_rpz_enable_disable(), fr_pickup_auth_locks(), fr_reload_config(), fr_worker_auth_add(), fr_worker_auth_cha(), fr_worker_auth_del(), xfr_process_reacquire_locks(), and xfr_write_after_update().

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

- services/authzone.h