Functions
portable_c.c File Reference
#include <iconv.h>

Go to the source code of this file.

Functions

void * portable_iconv_open (const char *tocode, const char *fromcode)
 
size_t portable_iconv (void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
 
int portable_iconv_close (void *cd)
 

Function Documentation

size_t portable_iconv ( void *  cd,
char **  inbuf,
size_t *  inbytesleft,
char **  outbuf,
size_t *  outbytesleft 
)

Definition at line 24 of file portable_c.c.

26 {
27  return iconv((iconv_t)cd,inbuf,inbytesleft,outbuf,outbytesleft);
28 }
void * iconv_t
Definition: iconv.h:57
LIBICONV_DLL_EXPORTED size_t iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
int portable_iconv_close ( void *  cd)

Definition at line 30 of file portable_c.c.

31 {
32  return iconv_close((iconv_t)cd);
33 }
void * iconv_t
Definition: iconv.h:57
LIBICONV_DLL_EXPORTED int iconv_close(iconv_t cd)
void* portable_iconv_open ( const char *  tocode,
const char *  fromcode 
)

Definition at line 19 of file portable_c.c.

20 {
21  return iconv_open(tocode,fromcode);
22 }
LIBICONV_DLL_EXPORTED iconv_t iconv_open(const char *tocode, const char *fromcode)