summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 00:35:09 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 01:29:43 +0100
commit83d74c10a27f2b90682f52fec677bfee67591400 (patch)
tree0180d42fbab1a818b534dd3c2f1a0707c774ca0f /source3
parent0df7bcaec38432863cde12cf8c15497d2ae30335 (diff)
downloadsamba-83d74c10a27f2b90682f52fec677bfee67591400.tar.gz
samba-83d74c10a27f2b90682f52fec677bfee67591400.tar.bz2
samba-83d74c10a27f2b90682f52fec677bfee67591400.zip
Rename libnet_smbconf_reg_open_basepath() to libnet_smbconf_reg_open_basekey().
Michael (This used to be commit 9e953a94e9b3a060769938ef6af25623e446c180)
Diffstat (limited to 'source3')
-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 21fe8572ea..2de4341e5d 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -93,9 +93,9 @@ done:
/*
* open the base key KEY_SMBCONF
*/
-static WERROR libnet_smbconf_reg_open_basepath(TALLOC_CTX *ctx,
- uint32 desired_access,
- struct registry_key **key)
+static WERROR libnet_smbconf_reg_open_basekey(TALLOC_CTX *ctx,
+ uint32 desired_access,
+ struct registry_key **key)
{
return libnet_smbconf_reg_open_path(ctx, NULL, desired_access, key);
}
@@ -137,8 +137,8 @@ static WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
goto done;
}
- werr = libnet_smbconf_reg_open_basepath(create_ctx, REG_KEY_WRITE,
- &create_parent);
+ werr = libnet_smbconf_reg_open_basekey(create_ctx, REG_KEY_WRITE,
+ &create_parent);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -520,9 +520,9 @@ WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
added_count++;
}
- werr = libnet_smbconf_reg_open_basepath(tmp_ctx,
- SEC_RIGHTS_ENUM_SUBKEYS,
- &key);
+ werr = libnet_smbconf_reg_open_basekey(tmp_ctx,
+ SEC_RIGHTS_ENUM_SUBKEYS,
+ &key);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -615,7 +615,7 @@ WERROR libnet_smbconf_delshare(const char *servicename)
struct registry_key *key = NULL;
TALLOC_CTX *ctx = talloc_stackframe();
- werr = libnet_smbconf_reg_open_basepath(ctx, REG_KEY_WRITE, &key);
+ werr = libnet_smbconf_reg_open_basekey(ctx, REG_KEY_WRITE, &key);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}