From 3c85a9fcbe56aadc6a50706d253d7d010cf91c63 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 20 Sep 2010 10:27:56 +0200 Subject: [PATCH] s3:services_db: publish svcctl_get_string_value() --- source3/include/proto.h | 3 +++ 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 b076e230f7d..a77c90f3081 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 c296075c1f2..bd34ad113c5 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; -- 2.11.4.GIT