diff options
author | Günther Deschner <gd@samba.org> | 2010-04-27 16:37:56 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-27 16:42:15 +0200 |
commit | a833be0c4e44135e4f45b3d460586762da04cf32 (patch) | |
tree | 16aa6654051c1488dc562a4ed0e2269c267bf972 /source4/lib/registry/registry.h | |
parent | ee1b8e5edeecd5a6a3526e88265a5ad28522a45d (diff) | |
download | samba-a833be0c4e44135e4f45b3d460586762da04cf32.tar.gz samba-a833be0c4e44135e4f45b3d460586762da04cf32.tar.bz2 samba-a833be0c4e44135e4f45b3d460586762da04cf32.zip |
s4: use shared registry functions.
Guenther
Diffstat (limited to 'source4/lib/registry/registry.h')
-rw-r--r-- | source4/lib/registry/registry.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h index 3ac50d517d..e43b0b054c 100644 --- a/source4/lib/registry/registry.h +++ b/source4/lib/registry/registry.h @@ -453,6 +453,15 @@ WERROR reg_create_key(TALLOC_CTX *mem_ctx, /* Utility functions */ const char *str_regtype(int type); +bool push_reg_sz(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *ic, + DATA_BLOB *blob, const char *s); +bool push_reg_multi_sz(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *ic, + DATA_BLOB *blob, const char **a); +bool pull_reg_sz(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *ic, + const DATA_BLOB *blob, const char **s); +bool pull_reg_multi_sz(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *ic, + const DATA_BLOB *blob, const char ***a); +int regtype_by_string(const char *str); char *reg_val_data_string(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *iconv_convenience, uint32_t type, const DATA_BLOB data); char *reg_val_description(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *iconv_convenience, const char *name, uint32_t type, const DATA_BLOB data); |