From 2c9cb11f53cb6454c0941028f6c4339244f2af93 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 20 Sep 2010 19:32:28 +0200 Subject: s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment them out --- source3/include/registry.h | 7 ------- source3/registry/reg_api_util.h | 11 +++++++++++ 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 */ -- cgit