summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-26 01:03:28 +0100
committerMichael Adam <obnox@samba.org>2007-12-26 01:03:28 +0100
commitf99af84e6a48c8e3e3e4af9f06d31669a6fb2d90 (patch)
tree9ad7c736574d293fad6f89f5067dd658ae3e7448 /source3/libnet
parentafca308742795a34e58f7a049c9a8d86cdff80c1 (diff)
downloadsamba-f99af84e6a48c8e3e3e4af9f06d31669a6fb2d90.tar.gz
samba-f99af84e6a48c8e3e3e4af9f06d31669a6fb2d90.tar.bz2
samba-f99af84e6a48c8e3e3e4af9f06d31669a6fb2d90.zip
Move libnet_smbconf_reg_open_basepath() in source file
to group helper functions more logically. Michael (This used to be commit 3fa3891f8721e9f02594cd1be2dc6b9b88692416)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 3c765769fe..93e13009a4 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -64,6 +64,15 @@ done:
}
/*
+ * open the base key KEY_SMBCONF
+ */
+WERROR libnet_smbconf_reg_open_basepath(TALLOC_CTX *ctx, uint32 desired_access,
+ struct registry_key **key)
+{
+ return libnet_smbconf_reg_open_path(ctx, NULL, desired_access, key);
+}
+
+/*
* check if a subkey of KEY_SMBCONF of a given name exists
*/
bool libnet_smbconf_key_exists(const char *subkeyname)
@@ -101,15 +110,6 @@ static bool libnet_smbconf_value_exists(struct registry_key *key,
}
/*
- * open the base key KEY_SMBCONF
- */
-WERROR libnet_smbconf_reg_open_basepath(TALLOC_CTX *ctx, uint32 desired_access,
- struct registry_key **key)
-{
- return libnet_smbconf_reg_open_path(ctx, NULL, desired_access, key);
-}
-
-/*
* create a subkey of KEY_SMBCONF
*/
WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,