1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-21 03:33:16 +03:00

s3:registry: compile reg_create_path() & reg_delete_path()

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Gregor Beck
2012-04-30 10:26:32 +02:00
committed by Michael Adam
parent a6c5376b97
commit 353f614c96
2 changed files with 0 additions and 7 deletions

View File

@@ -82,9 +82,6 @@ WERROR reg_open_path(TALLOC_CTX *mem_ctx, const char *orig_path,
return WERR_OK;
}
#if 0
/* these two functions are unused. */
/**
* Utility function to create a registry key without opening the hive
* before. Assumes the hive already exists.
@@ -179,4 +176,3 @@ WERROR reg_delete_path(const struct security_token *token,
TALLOC_FREE(hive);
return err;
}
#endif /* #if 0 */

View File

@@ -32,8 +32,6 @@ 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,
@@ -41,6 +39,5 @@ WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path,
struct registry_key **pkey);
WERROR reg_delete_path(const struct security_token *token,
const char *orig_path);
#endif
#endif /* _REG_API_UTIL_H */