s3:registry: add helper function regdb_delete_sorted_subkeys()
authorMichael Adam <obnox@samba.org>
Thu, 30 Jun 2011 12:36:35 +0000 (14:36 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 30 Jun 2011 13:41:22 +0000 (15:41 +0200)
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Signed-off-by: Michael Adam <obnox@samba.org>
source3/registry/reg_backend_db.c

index 812dd0d43cf891d0cf222b0706c1bd0684daf98a..c82ab1dc25b6519e2530a301deca51e6e5918677 100644 (file)
@@ -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;