summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-20 19:32:28 +0200
committerMichael Adam <obnox@samba.org>2010-09-20 19:58:01 +0200
commit2c9cb11f53cb6454c0941028f6c4339244f2af93 (patch)
treed2cc7178a14b9caa2e324f161f765b7063db86d0 /source3
parent8eb487cabac003911a49a4b5d3a9346fcb639430 (diff)
downloadsamba-2c9cb11f53cb6454c0941028f6c4339244f2af93.tar.gz
samba-2c9cb11f53cb6454c0941028f6c4339244f2af93.tar.bz2
samba-2c9cb11f53cb6454c0941028f6c4339244f2af93.zip
s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment them out
Diffstat (limited to 'source3')
-rw-r--r--source3/include/registry.h7
-rw-r--r--source3/registry/reg_api_util.h11
2 files changed, 11 insertions, 7 deletions
diff --git a/source3/include/registry.h b/source3/include/registry.h
index b1741bb8d2..600fffe679 100644
--- a/source3/include/registry.h
+++ b/source3/include/registry.h
@@ -176,13 +176,6 @@ WERROR reg_deletekey_recursive(TALLOC_CTX *ctx,
WERROR reg_deletesubkeys_recursive(TALLOC_CTX *ctx,
struct registry_key *parent,
const char *path);
-WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path,
- uint32 desired_access,
- const struct security_token *token,
- enum winreg_CreateAction *paction,
- struct registry_key **pkey);
-WERROR reg_delete_path(const struct security_token *token,
- const char *orig_path);
/* The following definitions come from registry/reg_api_regf.c */
diff --git a/source3/registry/reg_api_util.h b/source3/registry/reg_api_util.h
index c7dd77e66a..d2d7894d78 100644
--- a/source3/registry/reg_api_util.h
+++ b/source3/registry/reg_api_util.h
@@ -32,4 +32,15 @@ WERROR reg_open_path(TALLOC_CTX *mem_ctx, const char *orig_path,
uint32 desired_access, const struct security_token *token,
struct registry_key **pkey);
+#if 0
+/* currently unused */
+WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path,
+ uint32 desired_access,
+ const struct security_token *token,
+ enum winreg_CreateAction *paction,
+ struct registry_key **pkey);
+WERROR reg_delete_path(const struct security_token *token,
+ const char *orig_path);
+#endif
+
#endif /* _REG_API_UTIL_H */