summaryrefslogtreecommitdiff
path: root/source4/lib/registry/registry.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-04 17:26:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:31 -0500
commita487b6c19c28100041ceb2b7a5798c236983509c (patch)
treedaa1b55d9f92479e697b97b2cd5909e3683d3f00 /source4/lib/registry/registry.h
parentf4910eff485b0ad786c063870ff79a9391e0927b (diff)
downloadsamba-a487b6c19c28100041ceb2b7a5798c236983509c.tar.gz
samba-a487b6c19c28100041ceb2b7a5798c236983509c.tar.bz2
samba-a487b6c19c28100041ceb2b7a5798c236983509c.zip
r10028: More registry fixes.
Remove save_hive() function (there is a flush_key function already). Fixes for the allocation mechanism in the REGF backend (This used to be commit 499d03bc90382bcd33c8c3a1577a58d2c76e5129)
Diffstat (limited to 'source4/lib/registry/registry.h')
-rw-r--r--source4/lib/registry/registry.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h
index f9e8a7698c..e843e1a0be 100644
--- a/source4/lib/registry/registry.h
+++ b/source4/lib/registry/registry.h
@@ -73,6 +73,9 @@ typedef void (*value_notification_function) (void);
* Backends should always do case-insensitive compares
* (everything is case-insensitive but case-preserving,
* just like the FS)
+ *
+ * There is no save function as all operations are expected to
+ * be atomic.
*/
struct hive_operations {
@@ -80,7 +83,6 @@ struct hive_operations {
/* Implement this one */
WERROR (*open_hive) (struct registry_hive *, struct registry_key **);
- WERROR (*save_hive) (struct registry_hive *, const char *location);
/* Or this one */
WERROR (*open_key) (TALLOC_CTX *, struct registry_key *, const char *name, struct registry_key **);