|
Electroneum
|


Go to the source code of this file.
Classes | |
| struct | views |
| struct | view |
Functions | |
| struct views * | views_create (void) |
| void | views_delete (struct views *v) |
| int | views_apply_cfg (struct views *v, struct config_file *cfg) |
| int | view_cmp (const void *v1, const void *v2) |
| void | view_delete (struct view *v) |
| void | views_print (struct views *v) |
| struct view * | views_find_view (struct views *vs, const char *name, int write) |
This file contains functions to enable named views that can hold local zone authority service.
Definition in file view.h.
| int view_cmp | ( | const void * | v1, |
| const void * | v2 | ||
| ) |
Compare two view entries in rbtree. Sort canonical.
| v1 | view 1 |
| v2 | view 2 |
| void view_delete | ( | struct view * | v | ) |
Delete one view
| v | view to delete. |
| int views_apply_cfg | ( | struct views * | v, |
| struct config_file * | cfg | ||
| ) |
Apply config settings; Takes care of locking.
| v | view is set up. |
| cfg | config data. |
| struct views* views_create | ( | void | ) |
Create views storage
| void views_delete | ( | struct views * | v | ) |
Delete views storage
| v | views to delete. |
| void views_print | ( | struct views * | v | ) |
Debug helper. Print all views Takes care of locking.
| v | the views tree |