mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:services_db: publish svcctl_get_string_value()
This commit is contained in:
parent
e28bc8d763
commit
3c85a9fcbe
@ -4399,6 +4399,9 @@ void svcctl_init_keys( void );
|
|||||||
struct security_descriptor *svcctl_get_secdesc( TALLOC_CTX *ctx, const char *name, struct security_token *token );
|
struct security_descriptor *svcctl_get_secdesc( TALLOC_CTX *ctx, const char *name, struct security_token *token );
|
||||||
bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc,
|
bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc,
|
||||||
struct security_token *token);
|
struct security_token *token);
|
||||||
|
const char *svcctl_get_string_value(TALLOC_CTX *ctx, const char *key_name,
|
||||||
|
const char *value_name,
|
||||||
|
struct security_token *token);
|
||||||
const char *svcctl_lookup_dispname(TALLOC_CTX *ctx, const char *name, struct security_token *token );
|
const char *svcctl_lookup_dispname(TALLOC_CTX *ctx, const char *name, struct security_token *token );
|
||||||
const char *svcctl_lookup_description(TALLOC_CTX *ctx, const char *name, struct security_token *token );
|
const char *svcctl_lookup_description(TALLOC_CTX *ctx, const char *name, struct security_token *token );
|
||||||
struct regval_ctr *svcctl_fetch_regvalues( const char *name, struct security_token *token );
|
struct regval_ctr *svcctl_fetch_regvalues( const char *name, struct security_token *token );
|
||||||
|
@ -617,9 +617,9 @@ done:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *svcctl_get_string_value(TALLOC_CTX *ctx, const char *key_name,
|
const char *svcctl_get_string_value(TALLOC_CTX *ctx, const char *key_name,
|
||||||
const char *value_name,
|
const char *value_name,
|
||||||
struct security_token *token)
|
struct security_token *token)
|
||||||
{
|
{
|
||||||
const char *result = NULL;
|
const char *result = NULL;
|
||||||
struct registry_key *key = NULL;
|
struct registry_key *key = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user