git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
30829d1
)
Add a comment header and do some slight reformatting.
author
Michael Adam
<obnox@samba.org>
Thu, 3 Jan 2008 13:34:31 +0000
(14:34 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 3 Jan 2008 13:34:31 +0000
(14:34 +0100)
Michael
(This used to be commit
5d557e3f95b8d53114c25ba7fa3e564a50be9e05
)
source3/libnet/libnet_conf.c
patch
|
blob
|
history
diff --git
a/source3/libnet/libnet_conf.c
b/source3/libnet/libnet_conf.c
index ea3f708883fae1b71bdec3674f0e91de155fab31..86ef3e5517c6bbd34465dd21f43a6e3ea22a6e07 100644
(file)
--- a/
source3/libnet/libnet_conf.c
+++ b/
source3/libnet/libnet_conf.c
@@
-124,7
+124,7
@@
done:
return werr;
}
return werr;
}
-/*
+/*
*
* open the base key KEY_SMBCONF
*/
static WERROR libnet_conf_reg_open_base_key(TALLOC_CTX *ctx,
* 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);
}
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)
{
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;
}
return ret;
}
-/*
+/*
*
* create a subkey of KEY_SMBCONF
*/
static WERROR libnet_conf_reg_create_service_key(TALLOC_CTX *ctx,
* create a subkey of KEY_SMBCONF
*/
static WERROR libnet_conf_reg_create_service_key(TALLOC_CTX *ctx,
@@
-193,7
+196,7
@@
done:
return werr;
}
return werr;
}
-/*
+/*
*
* add a value to a key.
*/
static WERROR libnet_conf_reg_set_value(struct registry_key *key,
* 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);
}
{
return libnet_conf_set_parameter(GLOBAL_NAME, param, val);
}