diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-29 13:38:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:02 -0500 |
commit | 9dc3f789c41cc63a784e087dc0f061e495e04bab (patch) | |
tree | 5e7aaa87ad933cd792327e92654a48249f36c877 /source4/include | |
parent | 9ba6c3885acb79d9c35e600f9a67f8ed0200edfd (diff) | |
download | samba-9dc3f789c41cc63a784e087dc0f061e495e04bab.tar.gz samba-9dc3f789c41cc63a784e087dc0f061e495e04bab.tar.bz2 samba-9dc3f789c41cc63a784e087dc0f061e495e04bab.zip |
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)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/registry.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |