diff options
author | Michael Adam <obnox@samba.org> | 2011-06-30 14:36:35 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-06-30 15:41:22 +0200 |
commit | 2b162db6e9cc3e098f339516bbda719618664a83 (patch) | |
tree | 0e343f4518e0b5fc6f958407a68d337f96fd5409 | |
parent | c234b4b0c0c59c4e972d0832aefc6a94f41f4e1f (diff) | |
download | samba-2b162db6e9cc3e098f339516bbda719618664a83.tar.gz samba-2b162db6e9cc3e098f339516bbda719618664a83.tar.bz2 samba-2b162db6e9cc3e098f339516bbda719618664a83.zip |
s3:registry: add helper function regdb_delete_sorted_subkeys()
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | source3/registry/reg_backend_db.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 812dd0d43c..c82ab1dc25 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -712,6 +712,13 @@ static WERROR regdb_delete_subkeylist(struct db_context *db, const char *keyname return regdb_delete_key_with_prefix(db, keyname, NULL); } +static WERROR regdb_delete_sorted_subkeys(struct db_context *db, + const char *keyname) +{ + return regdb_delete_key_with_prefix(db, keyname, REG_SORTED_SUBKEYS_PREFIX); +} + + static WERROR regdb_delete_key_lists(struct db_context *db, const char *keyname) { WERROR werr; |