summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-25 00:56:17 +0200
committerGünther Deschner <gd@samba.org>2009-09-30 00:30:47 +0200
commitf8016cfee922cba97b70f56c752827e4584da6c6 (patch)
tree1e6e2706e8d4442e6cbb8cf62038ec305b3ed765 /source3/include
parent2d6e5e160b9fd1a21bbbe699f6786c570daa0467 (diff)
downloadsamba-f8016cfee922cba97b70f56c752827e4584da6c6.tar.gz
samba-f8016cfee922cba97b70f56c752827e4584da6c6.tar.bz2
samba-f8016cfee922cba97b70f56c752827e4584da6c6.zip
s3-util: add pull_reg_sz() and pull_reg_multi_sz() convenience functions.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0335876b7f..5de6ebf33e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1261,6 +1261,8 @@ WERROR reg_pull_multi_sz(TALLOC_CTX *mem_ctx, const void *buf, size_t len,
uint32 *num_values, char ***values);
bool push_reg_sz(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, const char *s);
bool push_reg_multi_sz(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, const char **a);
+bool pull_reg_sz(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, const char **s);
+bool pull_reg_multi_sz(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, const char ***a);
/* The following definitions come from lib/util_reg_api.c */