summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-23 20:42:20 +0200
committerGünther Deschner <gd@samba.org>2009-09-30 00:29:24 +0200
commitfcee9d2c97a673347baf58f749f35785a896e468 (patch)
treec2c2ee075eac1c2ab952ee3f83f6a3866be84b27 /source3/include
parentd31e4c2944a7ef0b903e14db5fb444d626fa3500 (diff)
downloadsamba-fcee9d2c97a673347baf58f749f35785a896e468.tar.gz
samba-fcee9d2c97a673347baf58f749f35785a896e468.tar.bz2
samba-fcee9d2c97a673347baf58f749f35785a896e468.zip
s3-util: add push_reg_sz() and push_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 d664a26949..328145b8f7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1259,6 +1259,8 @@ struct passwd *getpwuid_alloc(TALLOC_CTX *mem_ctx, uid_t uid) ;
const char *reg_type_lookup(enum winreg_Type type);
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);
/* The following definitions come from lib/util_reg_api.c */