summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-23 04:10:15 +0100
committerMichael Adam <obnox@samba.org>2007-12-23 04:10:32 +0100
commitd1c2280cd44e40a4398115c7d862ac0c296c98bc (patch)
tree79095855088bab2bba29a7b35b2f90ea792e926e /source3
parenta48f3c8a964fe6b320a052a6251354351f8d98e0 (diff)
downloadsamba-d1c2280cd44e40a4398115c7d862ac0c296c98bc.tar.gz
samba-d1c2280cd44e40a4398115c7d862ac0c296c98bc.tar.bz2
samba-d1c2280cd44e40a4398115c7d862ac0c296c98bc.zip
Rename libnet_reg_createkey_internal() to libnet_smbconf_reg_createkey_internal().
Michael (This used to be commit 0e7f215f54c68b2d40f65f90ed11c41e1a7ef5ed)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_conf.c9
-rw-r--r--source3/utils/net_conf.c4
2 files changed, 7 insertions, 6 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 9d06f8287b..69a105f8f5 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -134,9 +134,9 @@ WERROR libnet_smbconf_open_basepath(TALLOC_CTX *ctx, uint32 desired_access,
/*
* create a subkey of KEY_SMBCONF
*/
-WERROR libnet_reg_createkey_internal(TALLOC_CTX *ctx,
- const char * subkeyname,
- struct registry_key **newkey)
+WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
+ const char * subkeyname,
+ struct registry_key **newkey)
{
WERROR werr = WERR_OK;
struct registry_key *create_parent = NULL;
@@ -258,7 +258,8 @@ WERROR libnet_smbconf_setparm(TALLOC_CTX *mem_ctx,
struct registry_key *key = NULL;
if (!libnet_smbconf_key_exists(mem_ctx, service)) {
- werr = libnet_reg_createkey_internal(mem_ctx, service, &key);
+ werr = libnet_smbconf_reg_createkey_internal(mem_ctx, service,
+ &key);
} else {
werr = libnet_smbconf_open_path(mem_ctx, service, REG_KEY_WRITE,
&key);
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 1ab1378910..673d373177 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -346,7 +346,7 @@ static int import_process_service(TALLOC_CTX *ctx,
goto done;
}
}
- werr = libnet_reg_createkey_internal(tmp_ctx, servicename, &key);
+ werr = libnet_smbconf_reg_createkey_internal(tmp_ctx, servicename, &key);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -776,7 +776,7 @@ int net_conf_addshare(int argc, const char **argv)
* create the share
*/
- werr = libnet_reg_createkey_internal(NULL, argv[0], &newkey);
+ werr = libnet_smbconf_reg_createkey_internal(NULL, argv[0], &newkey);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}