diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-11 20:15:53 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-04-13 14:47:07 +1000 |
commit | cd63c9205e79df250c4d4fefb35c917701fd7db6 (patch) | |
tree | 1d4aa728471be12c9d0e84f4a52d9b885e9e634c /lib/util/charset/charset.h | |
parent | 87d2722b84992b27b199d362ac4b9034b4697942 (diff) | |
download | samba-cd63c9205e79df250c4d4fefb35c917701fd7db6.tar.gz samba-cd63c9205e79df250c4d4fefb35c917701fd7db6.tar.bz2 samba-cd63c9205e79df250c4d4fefb35c917701fd7db6.zip |
lib/util/charset Fix and add public interface for convert_string_error_handle
It makes much more sense for this to match the source3/ interface and
return a bool.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/util/charset/charset.h')
-rw-r--r-- | lib/util/charset/charset.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h index 3a6e6a3216..9e2aa8f136 100644 --- a/lib/util/charset/charset.h +++ b/lib/util/charset/charset.h @@ -222,6 +222,12 @@ bool convert_string_handle(struct smb_iconv_handle *ic, charset_t from, charset_t to, void const *src, size_t srclen, void *dest, size_t destlen, size_t *converted_size); +bool convert_string_error_handle(struct smb_iconv_handle *ic, + charset_t from, charset_t to, + void const *src, size_t srclen, + void *dest, size_t destlen, + size_t *converted_size); + bool convert_string_talloc_handle(TALLOC_CTX *ctx, struct smb_iconv_handle *ic, charset_t from, charset_t to, |