summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 14:34:31 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:34:31 +0100
commit6dce6ba0a6551c4db29ccf51e346f20ea1f8430e (patch)
tree1a9ff7cc26b0298c3947d639f135938b3fcffe8b /source3/libnet
parent30829d1bdad9387650486f05280a2061af19796a (diff)
downloadsamba-6dce6ba0a6551c4db29ccf51e346f20ea1f8430e.tar.gz
samba-6dce6ba0a6551c4db29ccf51e346f20ea1f8430e.tar.bz2
samba-6dce6ba0a6551c4db29ccf51e346f20ea1f8430e.zip
Add a comment header and do some slight reformatting.
Michael (This used to be commit 5d557e3f95b8d53114c25ba7fa3e564a50be9e05)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index ea3f708883..86ef3e5517 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -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);
}