lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input charset.
authorMichael Adam <obnox@samba.org>
Fri, 29 Oct 2010 20:06:05 +0000 (22:06 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 3 Nov 2010 22:45:19 +0000 (22:45 +0000)
commit5829cb0a984b6f3ee2ef114a4d2ff85f1a5a592b
treee44cbf22f6c4ddfe17e95d8af4950b451db88a16
parenta50d3638a7440e30a0cbfb3bffe4712ff68e350a
lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input charset.

next_codepoint_convenience() takes as string in CH_UNIX encoding and returns the
unicode codepoint of the next (possibly multibyte) character of the
input string.

The new next_codepoint_convenience_ext() function adds the encoding of the input
string as a parameter. next_codepoint_convenience() now only calls
next_codepoint_convenience_ext() with CH_UNIX als src_charset argument.
lib/util/charset/charcnv.c
lib/util/charset/charset.h