1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-04 00:23:49 +03:00

r4140: Get rid of close_hive (replace it with talloc destructors).

This commit is contained in:
Jelmer Vernooij
2004-12-10 22:57:43 +00:00
committed by Gerald (Jerry) Carter
parent 3040cd6515
commit bcbfce7b01
3 changed files with 27 additions and 22 deletions

View File

@@ -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;
};