summaryrefslogtreecommitdiffstats
path: root/lib/util/charset/convert_string.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/util: Fix typo in comment.Jelmer Vernooij2012-06-151-1/+1
|
* lib/charset: Remove an unused variableVolker Lendecke2011-12-251-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Dec 25 15:07:56 CET 2011 on sn-devel-104
* lib: Allow NULL converted_size in convert_string_tallocVolker Lendecke2011-06-241-2/+6
|
* lib/util/charset Add copyright headersAndrew Bartlett2011-04-281-1/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 04:13:44 CEST 2011 on sn-devel-104
* lib/util/charset Make fast path from UTF16 to '8 bit' charsets clearerAndrew Tridgell2011-04-281-14/+28
| | | | | | | | This breaks the fast path into handling for -1 and handling for specified lenghts, avoding branch operations on each character. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util/charset use convert_string.c in commonAndrew Bartlett2011-04-281-2/+3
| | | | | | | | This brings another layer of the charcnv library in common. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util/charset Fix string termination conditions for UTF16 stringsAndrew Bartlett2011-04-281-4/+4
| | | | | | | | | This punts partial UTF16 strings to iconv() to deal with, as it's not a fast path any longer if it's got an odd length. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util/charset Always set *converted_size even on failureAndrew Bartlett2011-04-201-4/+2
| | | | | | | | | The caller may wish to inspect the partially converted string. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 20 05:17:48 CEST 2011 on sn-devel-104
* lib/util/charset create _handle functions for convert_string() et alAndrew Bartlett2011-04-201-29/+86
| | | | | | | | | | | | | | This is now API compatible with the existing code in lib/util/charset lazy_initialize_conv() is no longer called as init_iconv() is called when the smb.conf is processed, and get_conv_handle() will auto-init with defaults if required. load_case_tables_library() is no longer requried as all binaries and libraries already load these in their entry points, as otherwise all the other string functions would fail. Andrew Bartlett
* s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett2011-04-131-0/+467
This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>