diff options
author | Günther Deschner <gd@samba.org> | 2009-09-25 00:56:17 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-30 00:30:47 +0200 |
commit | f8016cfee922cba97b70f56c752827e4584da6c6 (patch) | |
tree | 1e6e2706e8d4442e6cbb8cf62038ec305b3ed765 /source3/include | |
parent | 2d6e5e160b9fd1a21bbbe699f6786c570daa0467 (diff) | |
download | samba-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.h | 2 |
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 */ |