diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-03-30 17:49:30 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-03-30 13:02:47 +0200 |
commit | 43e364e61bc232e167ed1a18de037f8a278c8c24 (patch) | |
tree | d2f29637bc267f3b07dccfd4bfbdc78cdb4c40c2 /lib/util/charset/charset.h | |
parent | a64958a8805b6ef1758293697e63309d3ddbe4ae (diff) | |
download | samba-43e364e61bc232e167ed1a18de037f8a278c8c24.tar.gz samba-43e364e61bc232e167ed1a18de037f8a278c8c24.tar.bz2 samba-43e364e61bc232e167ed1a18de037f8a278c8c24.zip |
lib/util/charset Add tests for convert_string_talloc_handle()
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/util/charset/charset.h')
-rw-r--r-- | lib/util/charset/charset.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h index 30ebcd5595..b17ceabd83 100644 --- a/lib/util/charset/charset.h +++ b/lib/util/charset/charset.h @@ -161,6 +161,10 @@ ssize_t iconv_talloc(TALLOC_CTX *mem_ctx, extern struct smb_iconv_handle *global_iconv_handle; struct smb_iconv_handle *get_iconv_handle(void); +struct smb_iconv_handle *get_iconv_testing_handle(TALLOC_CTX *mem_ctx, + const char *dos_charset, + const char *unix_charset, + const char *display_charset); smb_iconv_t get_conv_handle(struct smb_iconv_handle *ic, charset_t from, charset_t to); const char *charset_name(struct smb_iconv_handle *ic, charset_t ch); |