summaryrefslogtreecommitdiff
path: root/source4/include/registry.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-10 22:57:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:30 -0500
commitf0eff2525b8df834765a7162007bc8b4565e9a58 (patch)
treed0903882670ba66ec968a0bc2dce80d97fe6e6b1 /source4/include/registry.h
parentd792ee488372c7259567d12b141cf449c0bdb6a8 (diff)
downloadsamba-f0eff2525b8df834765a7162007bc8b4565e9a58.tar.gz
samba-f0eff2525b8df834765a7162007bc8b4565e9a58.tar.bz2
samba-f0eff2525b8df834765a7162007bc8b4565e9a58.zip
r4140: Get rid of close_hive (replace it with talloc destructors).
(This used to be commit bcbfce7b0119538bab06801c97aa9c7d4bf3a6c6)
Diffstat (limited to 'source4/include/registry.h')
-rw-r--r--source4/include/registry.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/include/registry.h b/source4/include/registry.h
index 3e38faa772..b399869091 100644
--- a/source4/include/registry.h
+++ b/source4/include/registry.h
@@ -111,7 +111,6 @@ struct hive_operations {
/* Implement this one */
WERROR (*open_hive) (struct registry_hive *, struct registry_key **);
- WERROR (*close_hive) (struct registry_hive *);
/* Or this one */
WERROR (*open_key) (TALLOC_CTX *, struct registry_key *, const char *name, struct registry_key **);
@@ -148,9 +147,9 @@ struct hive_operations {
struct registry_hive {
const struct hive_operations *functions;
- char *location;
- void *backend_data;
struct registry_key *root;
+ void *backend_data;
+ const char *location;
struct registry_context *reg_ctx;
};