diff options
author | Michael Adam <obnox@samba.org> | 2010-09-20 10:27:56 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-09-21 06:53:31 +0200 |
commit | 3c85a9fcbe56aadc6a50706d253d7d010cf91c63 (patch) | |
tree | dc32101519f13ee7625123b3217c9ce4a74e6e24 | |
parent | e28bc8d763978762480367d031a4a62ebd411f8a (diff) | |
download | samba-3c85a9fcbe56aadc6a50706d253d7d010cf91c63.tar.gz samba-3c85a9fcbe56aadc6a50706d253d7d010cf91c63.tar.bz2 samba-3c85a9fcbe56aadc6a50706d253d7d010cf91c63.zip |
s3:services_db: publish svcctl_get_string_value()
-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; |