From 2b162db6e9cc3e098f339516bbda719618664a83 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 30 Jun 2011 14:36:35 +0200 Subject: s3:registry: add helper function regdb_delete_sorted_subkeys() Pair-Programmed-With: Gregor Beck Signed-off-by: Michael Adam --- source3/registry/reg_backend_db.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3') 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; -- cgit