diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-08-19 17:49:34 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-08-19 17:49:34 +1000 |
commit | e1188406fb1e42ac04abc46f8a09522a29b83178 (patch) | |
tree | 8b9a125ef14271bc43e143a6c0bc4666104b7efd /source4 | |
parent | 336f6810cec9b30ad497da26ee463ed5736db2bd (diff) | |
download | samba-e1188406fb1e42ac04abc46f8a09522a29b83178.tar.gz samba-e1188406fb1e42ac04abc46f8a09522a29b83178.tar.bz2 samba-e1188406fb1e42ac04abc46f8a09522a29b83178.zip |
added some comments at the request of a frustrated abartlet
(This used to be commit cad2e6c4c13ccd02587e47d13e897e0a327b58eb)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/charset/iconv.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/charset/iconv.c b/source4/lib/charset/iconv.c index 4f4bc8fd2d..d4f930b462 100644 --- a/source4/lib/charset/iconv.c +++ b/source4/lib/charset/iconv.c @@ -469,6 +469,9 @@ static size_t iconv_copy(void *cd, const char **inbuf, size_t *inbytesleft, return 0; } +/* + this takes a UTF8 sequence and produces a UTF16 sequence + */ static size_t utf8_pull(void *cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) { @@ -586,6 +589,10 @@ error: return -1; } + +/* + this takes a UTF16 sequence and produces a UTF8 sequence + */ static size_t utf8_push(void *cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) { |