summaryrefslogtreecommitdiff
path: root/lib/util/charset/charcnv.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 14:26:46 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 14:26:46 +0200
commit37d885c51a559d2be7dd15f46a80027e4f1dffef (patch)
tree5e6fd2f9fb3463f8694ee9b6b022d0878737e0e6 /lib/util/charset/charcnv.c
parent284f523ec70477c408887a478e8392671f12dfff (diff)
downloadsamba-37d885c51a559d2be7dd15f46a80027e4f1dffef.tar.gz
samba-37d885c51a559d2be7dd15f46a80027e4f1dffef.tar.bz2
samba-37d885c51a559d2be7dd15f46a80027e4f1dffef.zip
Remove iconv_convenience argument from convert_string{,talloc}() but
make them wrappers around convert_string{,talloc}_convenience().
Diffstat (limited to 'lib/util/charset/charcnv.c')
-rw-r--r--lib/util/charset/charcnv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/charset/charcnv.c b/lib/util/charset/charcnv.c
index 91a16a1cda..d63a9ce194 100644
--- a/lib/util/charset/charcnv.c
+++ b/lib/util/charset/charcnv.c
@@ -164,7 +164,7 @@ static smb_iconv_t get_conv_handle(struct smb_iconv_convenience *ic,
* @param destlen maximal length allowed for string
* @returns the number of bytes occupied in the destination
**/
-_PUBLIC_ ssize_t convert_string(struct smb_iconv_convenience *ic,
+_PUBLIC_ ssize_t convert_string_convenience(struct smb_iconv_convenience *ic,
charset_t from, charset_t to,
void const *src, size_t srclen,
void *dest, size_t destlen)
@@ -286,7 +286,7 @@ convert:
* @returns Size in bytes of the converted string; or -1 in case of error.
**/
-_PUBLIC_ ssize_t convert_string_talloc(TALLOC_CTX *ctx,
+_PUBLIC_ ssize_t convert_string_talloc_convenience(TALLOC_CTX *ctx,
struct smb_iconv_convenience *ic,
charset_t from, charset_t to,
void const *src, size_t srclen,