diff options
author | Günther Deschner <gd@samba.org> | 2009-11-24 15:26:08 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-24 15:47:59 +0100 |
commit | d4e06596d50e008425b9d346c3814a03eea8309a (patch) | |
tree | 1d90754af6cbb2e6a541e6fbd14896291e50c9b2 /source3/lib/util_reg.c | |
parent | be90385a0b1f8a29c5d181d26c0844f314d04ea7 (diff) | |
download | samba-d4e06596d50e008425b9d346c3814a03eea8309a.tar.gz samba-d4e06596d50e008425b9d346c3814a03eea8309a.tar.bz2 samba-d4e06596d50e008425b9d346c3814a03eea8309a.zip |
s3-registry: remove reg_pull_multi_sz().
Guenther
Diffstat (limited to 'source3/lib/util_reg.c')
-rw-r--r-- | source3/lib/util_reg.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/lib/util_reg.c b/source3/lib/util_reg.c index ca46f86f69..850dbfae66 100644 --- a/source3/lib/util_reg.c +++ b/source3/lib/util_reg.c @@ -73,29 +73,6 @@ const char *reg_type_lookup(enum winreg_Type type) return result; } -WERROR reg_pull_multi_sz(TALLOC_CTX *mem_ctx, const void *buf, size_t len, - uint32 *num_values, char ***values) -{ - DATA_BLOB blob; - const char **vals; - int i; - - blob = data_blob_const((uint8_t *)buf, len); - - if (!pull_reg_multi_sz(mem_ctx, &blob, &vals)) { - return WERR_NOMEM; - } - - for (i=0; vals[i]; i++) { - ;; - } - - *num_values = i; - *values = (char **)vals; - - return WERR_OK; -} - /******************************************************************* push a string in unix charset into a REG_SZ UCS2 null terminated blob ********************************************************************/ |