1
0
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:
Michael Adam 2010-09-20 10:27:56 +02:00
parent e28bc8d763
commit 3c85a9fcbe
2 changed files with 6 additions and 3 deletions

View File

@ -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 );

View File

@ -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;