summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */