diff options
author | Chris Davis <cd.rattan@gmail.com> | 2014-07-31 23:24:19 -0700 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-10-01 14:32:09 +0200 |
commit | bcab659516382d5dc51b1558a895a9a26d81c6b8 (patch) | |
tree | 3fd5eedf3128d2731e114913388a0419ca237a90 /source3/utils/regedit.h | |
parent | 09245177a4031fb1a1319071e745f0df10b1ee53 (diff) | |
download | samba-bcab659516382d5dc51b1558a895a9a26d81c6b8.tar.gz |
regedit: search values and repeat search from cursor positions
Recovering the search position from the cursors is safer than retaining
a pointer to the last node, as the pointer will become invalid if the
user deletes the item or refreshes the cache.
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.h')
-rw-r--r-- | source3/utils/regedit.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/regedit.h b/source3/utils/regedit.h index c99aebab97f..0928f9ea9b4 100644 --- a/source3/utils/regedit.h +++ b/source3/utils/regedit.h @@ -64,7 +64,6 @@ typedef bool (*regedit_search_match_fn_t)(const char *, const char *); struct regedit_search_opts { const char *query; regedit_search_match_fn_t match; - struct tree_node *node; bool search_key; bool search_value; bool search_recursive; |