From e10ea2b3cdfd32f810c6058446efb1392eb157ad Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Mon, 30 Apr 2012 10:27:56 +0200 Subject: s3:registry: add functions to conveniently create registry_values Pair-Programmed-With: Michael Adam --- source3/registry/reg_api_util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/registry/reg_api_util.h') diff --git a/source3/registry/reg_api_util.h b/source3/registry/reg_api_util.h index a70fa72561..7009794beb 100644 --- a/source3/registry/reg_api_util.h +++ b/source3/registry/reg_api_util.h @@ -40,4 +40,8 @@ WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path, WERROR reg_delete_path(const struct security_token *token, const char *orig_path); +struct registry_value *registry_value_dw(TALLOC_CTX *mem_ctx, uint32_t dw); +struct registry_value *registry_value_sz(TALLOC_CTX *mem_ctx, const char *str); +struct registry_value *registry_value_multi_sz(TALLOC_CTX *mem_ctx, const char **str); + #endif /* _REG_API_UTIL_H */ -- cgit