mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Make the last two helper functions in libnet_conf.c static.
Now the registry backend is completely hidden from the API. Michael (This used to be commit 5608c398ad9a0d05d651905a81dd92b7a0e120ff)
This commit is contained in:
parent
4c7ef1c03e
commit
8598bbbcb1
@ -120,9 +120,9 @@ static bool libnet_smbconf_value_exists(struct registry_key *key,
|
||||
/*
|
||||
* create a subkey of KEY_SMBCONF
|
||||
*/
|
||||
WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
|
||||
const char * subkeyname,
|
||||
struct registry_key **newkey)
|
||||
static 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;
|
||||
@ -162,7 +162,7 @@ done:
|
||||
/*
|
||||
* add a value to a key.
|
||||
*/
|
||||
WERROR libnet_smbconf_reg_setvalue_internal(struct registry_key *key,
|
||||
static WERROR libnet_smbconf_reg_setvalue_internal(struct registry_key *key,
|
||||
const char *valname,
|
||||
const char *valstr)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user