summaryrefslogtreecommitdiffstats
path: root/source3/utils/regedit_treeview.h
diff options
context:
space:
mode:
authorChris Davis <cd.rattan@gmail.com>2014-06-27 18:01:36 -0700
committerMichael Adam <obnox@samba.org>2014-10-01 14:32:08 +0200
commit75045f052a5bc00fc8ffe35514c60e2f1611c9e9 (patch)
tree4fae0d2fb6c16cb47066b4907311f3d88488dae2 /source3/utils/regedit_treeview.h
parent2a8beb99a49829adfbad1c887448e3a2caa32255 (diff)
downloadsamba-75045f052a5bc00fc8ffe35514c60e2f1611c9e9.tar.gz
samba-75045f052a5bc00fc8ffe35514c60e2f1611c9e9.tar.xz
samba-75045f052a5bc00fc8ffe35514c60e2f1611c9e9.zip
regedit: reopen parent keys when adding or removing subkeys
This clears any cache associated with the parent key, and ensures the changes will be noticed by the UI. Signed-off-by: Chris Davis <cd.rattan@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/regedit_treeview.h')
-rw-r--r--source3/utils/regedit_treeview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/regedit_treeview.h b/source3/utils/regedit_treeview.h
index cd17a3c265..954bae5ec7 100644
--- a/source3/utils/regedit_treeview.h
+++ b/source3/utils/regedit_treeview.h
@@ -66,6 +66,7 @@ void tree_view_resize(struct tree_view *view, int nlines, int ncols,
void tree_view_show(struct tree_view *view);
void tree_view_clear(struct tree_view *view);
WERROR tree_view_update(struct tree_view *view, struct tree_node *list);
+WERROR tree_node_reopen_key(struct tree_node *node);
bool tree_node_has_children(struct tree_node *node);
WERROR tree_node_load_children(struct tree_node *node);
void tree_node_insert_sorted(struct tree_node *list, struct tree_node *node);