summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 13:38:55 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:17:48 +0100
commitcd84256866d6d2bbd7494b67ae96c3546902e794 (patch)
treef6ca26835b5e8eabc6a13b24cc70a630109764e7 /source3/libnet
parentdde8701b85d88a5536a21d80a161c67c7e8634c9 (diff)
downloadsamba-cd84256866d6d2bbd7494b67ae96c3546902e794.tar.gz
samba-cd84256866d6d2bbd7494b67ae96c3546902e794.tar.bz2
samba-cd84256866d6d2bbd7494b67ae96c3546902e794.zip
Rename libnet_smbconf_reg_open_basekey() to libnet_conf_reg_open_base_key().
Michael (This used to be commit c2ba52b2c34abc42b4ff7945715dc36e08a2f112)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 735fddcfd2..53d70bd4f6 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -127,9 +127,9 @@ done:
/*
* open the base key KEY_SMBCONF
*/
-static WERROR libnet_smbconf_reg_open_basekey(TALLOC_CTX *ctx,
- uint32 desired_access,
- struct registry_key **key)
+static WERROR libnet_conf_reg_open_base_key(TALLOC_CTX *ctx,
+ uint32 desired_access,
+ struct registry_key **key)
{
return libnet_conf_reg_open_path(ctx, KEY_SMBCONF, desired_access, key);
}
@@ -171,8 +171,8 @@ static WERROR libnet_smbconf_reg_create_service_key(TALLOC_CTX *ctx,
goto done;
}
- werr = libnet_smbconf_reg_open_basekey(create_ctx, REG_KEY_WRITE,
- &create_parent);
+ werr = libnet_conf_reg_open_base_key(create_ctx, REG_KEY_WRITE,
+ &create_parent);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -548,9 +548,8 @@ WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
added_count++;
}
- werr = libnet_smbconf_reg_open_basekey(tmp_ctx,
- SEC_RIGHTS_ENUM_SUBKEYS,
- &key);
+ werr = libnet_conf_reg_open_base_key(tmp_ctx, SEC_RIGHTS_ENUM_SUBKEYS,
+ &key);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -664,7 +663,7 @@ WERROR libnet_smbconf_delshare(const char *servicename)
struct registry_key *key = NULL;
TALLOC_CTX *ctx = talloc_stackframe();
- werr = libnet_smbconf_reg_open_basekey(ctx, REG_KEY_WRITE, &key);
+ werr = libnet_conf_reg_open_base_key(ctx, REG_KEY_WRITE, &key);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}