1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Rename libnet_reg_createkey_internal() to libnet_smbconf_reg_createkey_internal().

Michael
(This used to be commit 0e7f215f54)
This commit is contained in:
Michael Adam 2007-12-23 04:10:15 +01:00
parent a48f3c8a96
commit d1c2280cd4
2 changed files with 7 additions and 6 deletions

View File

@ -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);

View File

@ -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;
}