summaryrefslogtreecommitdiff
path: root/source4/lib/registry/registry.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-27 22:01:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:57 -0500
commit5d518417f8dc64ce9bbfedc3ddb988d69961bde4 (patch)
tree63c8b26ebbde6839220bd3779bc520262bf07c26 /source4/lib/registry/registry.h
parent2cd9215e777820eec2cd6952aaa80c594facba32 (diff)
downloadsamba-5d518417f8dc64ce9bbfedc3ddb988d69961bde4.tar.gz
samba-5d518417f8dc64ce9bbfedc3ddb988d69961bde4.tar.bz2
samba-5d518417f8dc64ce9bbfedc3ddb988d69961bde4.zip
r24726: Add tests for getting/setting security descriptors (still failing at the moment)
(This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)
Diffstat (limited to 'source4/lib/registry/registry.h')
-rw-r--r--source4/lib/registry/registry.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h
index 9839786e01..616bbb82dc 100644
--- a/source4/lib/registry/registry.h
+++ b/source4/lib/registry/registry.h
@@ -269,6 +269,12 @@ struct registry_key *reg_import_hive_key(struct registry_context *ctx,
struct hive_key *hive,
uint32_t predef_key,
const char **elements);
+WERROR reg_get_security(TALLOC_CTX *mem_ctx,
+ const struct registry_key *key,
+ struct security_descriptor **security);
+
+WERROR reg_set_security(struct registry_key *key,
+ struct security_descriptor *security);
#endif /* _REGISTRY_H */