GMime Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
void g_mime_iconv_init (void); |
void g_mime_iconv_init (void); |
Initialize GMime's iconv cache. This *MUST* be called before any gmime-iconv interfaces will work correctly.
|
Allocates a coversion descriptor suitable for converting byte sequences from charset from to charset to. The resulting descriptor can be used with iconv (or the g_mime_iconv wrapper) any number of times until closed using g_mime_iconv_close.
to : | charset to convert to |
from : | charset to convert from |
Returns : | a new conversion descriptor for use with iconv on success or (iconv_t) -1 on fail as well as setting an appropriate errno value. |
#define g_mime_iconv(cd,inbuf,inleft,outbuf,outleft) |
cd : | |
inbuf : | |
inleft : | |
outbuf : | |
outleft : |
|