s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and comment...
authorMichael Adam <obnox@samba.org>
Mon, 20 Sep 2010 17:32:28 +0000 (19:32 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 20 Sep 2010 17:58:01 +0000 (19:58 +0200)
source3/include/registry.h
source3/registry/reg_api_util.h

index b1741bb8d2ef47f7de2ec4837c05eb91df7f15ea..600fffe679b9d950889b0f07e69f10a33205feb7 100644 (file)
@@ -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  */
 
index c7dd77e66ac1752c353319b797f76e7367d5a053..d2d7894d78b2c74df929e4e19fe9e3565a95e86d 100644 (file)
@@ -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 */