s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.
commit190d0b28f452ecc427de52da3a6469af3e225488
authorMichael Adam <obnox@samba.org>
Fri, 29 Oct 2010 20:06:05 +0000 (29 22:06 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 4 Nov 2010 03:09:02 +0000 (4 04:09 +0100)
treed31b9f85c6a09158541b0ed372832694451c771b
parent977504757270e069b6221ab559830d4a29005812
s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.

next_codepoint() 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_ext() function adds the encoding of the input
string as a parameter. next_codepoint() now only calls next_codepoint_ext()
with CH_UNIX als src_charset argument.
source3/include/proto.h
source3/lib/charcnv.c