diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 3 | ||||
-rw-r--r-- | source3/services/services_db.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b076e230f7..a77c90f308 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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 ); bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc, 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_description(TALLOC_CTX *ctx, const char *name, struct security_token *token ); struct regval_ctr *svcctl_fetch_regvalues( const char *name, struct security_token *token ); diff --git a/source3/services/services_db.c b/source3/services/services_db.c index c296075c1f..bd34ad113c 100644 --- a/source3/services/services_db.c +++ b/source3/services/services_db.c @@ -617,9 +617,9 @@ done: return ret; } -static const char *svcctl_get_string_value(TALLOC_CTX *ctx, const char *key_name, - const char *value_name, - 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 *result = NULL; struct registry_key *key = NULL; |