1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Add a comment header and do some slight reformatting.

Michael
(This used to be commit 5d557e3f95)
This commit is contained in:
Michael Adam 2008-01-03 14:34:31 +01:00
parent 30829d1bda
commit 6dce6ba0a6

View File

@ -124,7 +124,7 @@ done:
return werr;
}
/*
/**
* open the base key KEY_SMBCONF
*/
static WERROR libnet_conf_reg_open_base_key(TALLOC_CTX *ctx,
@ -134,6 +134,9 @@ static WERROR libnet_conf_reg_open_base_key(TALLOC_CTX *ctx,
return libnet_conf_reg_open_path(ctx, KEY_SMBCONF, desired_access, key);
}
/**
* check if a value exists in a given registry key
*/
static bool libnet_conf_value_exists(struct registry_key *key,
const char *param)
{
@ -151,7 +154,7 @@ static bool libnet_conf_value_exists(struct registry_key *key,
return ret;
}
/*
/**
* create a subkey of KEY_SMBCONF
*/
static WERROR libnet_conf_reg_create_service_key(TALLOC_CTX *ctx,
@ -193,7 +196,7 @@ done:
return werr;
}
/*
/**
* add a value to a key.
*/
static WERROR libnet_conf_reg_set_value(struct registry_key *key,
@ -792,8 +795,7 @@ done:
*
**********************************************************************/
WERROR libnet_conf_set_global_parameter(const char *param,
const char *val)
WERROR libnet_conf_set_global_parameter(const char *param, const char *val)
{
return libnet_conf_set_parameter(GLOBAL_NAME, param, val);
}