Lines Matching defs:view
2 * services/view.h - named views containing local zones authority service.
57 /** lock on the view tree. When locking order, the views lock
60 /** rbtree of struct view */
67 struct view {
70 /** view name.
74 /** view specific local authority zones */
76 /** response-ip configuration data for this view */
78 /** Fallback to global local_zones when there is no match in the view
103 * @param v: view is set up.
110 * Compare two view entries in rbtree. Sort canonical.
111 * @param v1: view 1
112 * @param v2: view 2
118 * Delete one view
119 * @param v: view to delete.
121 void view_delete(struct view* v);
131 * Find a view by name.
133 * @param name: name of the view we are looking for
134 * @param write: 1 for obtaining write lock on found view, 0 for read lock
135 * @return: locked view or NULL.
137 struct view* views_find_view(struct views* vs, const char* name, int write);
148 * Calculate memory usage of view.
149 * @param v: the view. The routine locks and unlocks the structure for reading.
152 size_t view_get_mem(struct view* v);