diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:00:43 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:00:43 +0200 |
commit | c3415b3e57717cfb96b9df7caa1a27fbc26bde21 (patch) | |
tree | 4217157469cf5162c97c515e0288b963cf457437 /lib/util/charset/charset.h | |
parent | 264277b555a7bd9d2308ef6ec24ecef77fa1d401 (diff) | |
download | samba-c3415b3e57717cfb96b9df7caa1a27fbc26bde21.tar.gz samba-c3415b3e57717cfb96b9df7caa1a27fbc26bde21.tar.bz2 samba-c3415b3e57717cfb96b9df7caa1a27fbc26bde21.zip |
Add version of next_codepoint without iconv_convenience.
Diffstat (limited to 'lib/util/charset/charset.h')
-rw-r--r-- | lib/util/charset/charset.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/charset/charset.h b/lib/util/charset/charset.h index 51e0193173..f8b3f65548 100644 --- a/lib/util/charset/charset.h +++ b/lib/util/charset/charset.h @@ -124,8 +124,10 @@ ssize_t convert_string(charset_t from, charset_t to, extern struct smb_iconv_convenience *global_iconv_convenience; +_PUBLIC_ codepoint_t next_codepoint(const char *str, size_t *size); + /* codepoints */ -codepoint_t next_codepoint(struct smb_iconv_convenience *ic, +codepoint_t next_codepoint_convenience(struct smb_iconv_convenience *ic, const char *str, size_t *size); ssize_t push_codepoint(struct smb_iconv_convenience *ic, char *str, codepoint_t c); |