From 9dc3f789c41cc63a784e087dc0f061e495e04bab Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 29 Oct 2004 13:38:37 +0000 Subject: r3369: More registry updates We now pass the RPC-WINREG torture test. Also, constructions like the following work now: regtree <-> smbd <-> NTUSER.DAT (This used to be commit df952e95cd1cbbfb62b4620e9452993aaef44ad3) --- source4/include/registry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/include') diff --git a/source4/include/registry.h b/source4/include/registry.h index 3aea70ecc1..a099ae1e0f 100644 --- a/source4/include/registry.h +++ b/source4/include/registry.h @@ -73,7 +73,7 @@ struct registry_key { struct registry_value { char *name; - int data_type; + unsigned int data_type; int data_len; void *data_blk; /* Might want a separate block */ struct registry_hive *hive; @@ -104,6 +104,7 @@ struct registry_operations { /* Implement this one */ WERROR (*open_hive) (TALLOC_CTX *, struct registry_hive *, struct registry_key **); + WERROR (*close_hive) (struct registry_hive *); /* Or this one */ WERROR (*open_key) (TALLOC_CTX *, struct registry_hive *, const char *name, struct registry_key **); @@ -131,6 +132,7 @@ struct registry_operations { /* Key management */ WERROR (*add_key)(TALLOC_CTX *, struct registry_key *, const char *name, uint32_t access_mask, SEC_DESC *, struct registry_key **); WERROR (*del_key)(struct registry_key *); + WERROR (*flush_key) (struct registry_key *); /* Value management */ WERROR (*set_value)(struct registry_key *, const char *name, int type, void *data, int len); -- cgit