|
SDL
2.0
|
Include dependency graph for geniconv.c:Go to the source code of this file.
Macros | |
| #define | INCL_DOSMODULEMGR /* Module Manager values */ |
| #define | INCL_DOSERRORS /* Error values */ |
| #define | debug(s, ...) do {} while (0) |
Typedefs | |
| typedef iconv_t _System(* | FNICONV_OPEN) (const char *tocode, const char *fromcode) |
| typedef size_t _System(* | FNICONV) (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
| typedef int _System(* | FNICONV_CLOSE) (iconv_t cd) |
Functions | |
| iconv_t _System | os2_iconv_open (const char *tocode, const char *fromcode) |
| size_t _System | os2_iconv (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
| int _System | os2_iconv_close (iconv_t cd) |
| static BOOL | _loadDLL (PSZ pszName, PSZ pszIconvOpen, PSZ pszIconv, PSZ pszIconvClose) |
| static void | _init (void) |
| void | libiconv_clean (void) |
| iconv_t | libiconv_open (const char *tocode, const char *fromcode) |
| size_t | libiconv (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
| int | libiconv_close (iconv_t cd) |
Variables | |
| static HMODULE | hmIconv = NULLHANDLE |
| static FNICONV_OPEN | fn_iconv_open = NULL |
| static FNICONV | fn_iconv = NULL |
| static FNICONV_CLOSE | fn_iconv_close = NULL |
| #define debug | ( | s, | |
| ... | |||
| ) | do {} while (0) |
Definition at line 40 of file geniconv.c.
| #define INCL_DOSERRORS /* Error values */ |
Definition at line 29 of file geniconv.c.
| #define INCL_DOSMODULEMGR /* Module Manager values */ |
Definition at line 28 of file geniconv.c.
| typedef size_t _System(* FNICONV) (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
Definition at line 52 of file geniconv.c.
Definition at line 55 of file geniconv.c.
| typedef iconv_t _System(* FNICONV_OPEN) (const char *tocode, const char *fromcode) |
Definition at line 51 of file geniconv.c.
Definition at line 105 of file geniconv.c.
References _loadDLL(), debug, fn_iconv, fn_iconv_close, fn_iconv_open, NULL, os2_iconv(), os2_iconv_close(), and os2_iconv_open().
Referenced by libiconv_open().
|
static |
Definition at line 65 of file geniconv.c.
References debug, FALSE, fn_iconv, fn_iconv_close, fn_iconv_open, hmIconv, and TRUE.
Referenced by _init().
| size_t libiconv | ( | iconv_t | cd, |
| char ** | inbuf, | ||
| size_t * | inbytesleft, | ||
| char ** | outbuf, | ||
| size_t * | outbytesleft | ||
| ) |
Definition at line 146 of file geniconv.c.
References fn_iconv.
Definition at line 128 of file geniconv.c.
References fn_iconv, fn_iconv_close, fn_iconv_open, hmIconv, and NULL.
Definition at line 152 of file geniconv.c.
References fn_iconv_close.
| iconv_t libiconv_open | ( | const char * | tocode, |
| const char * | fromcode | ||
| ) |
| size_t _System os2_iconv | ( | iconv_t | cd, |
| char ** | inbuf, | ||
| size_t * | inbytesleft, | ||
| char ** | outbuf, | ||
| size_t * | outbytesleft | ||
| ) |
Definition at line 146 of file os2iconv.c.
References done, free, malloc, memcpy, min, and NULL.
Referenced by _init().
| iconv_t _System os2_iconv_open | ( | const char * | tocode, |
| const char * | fromcode | ||
| ) |
Definition at line 103 of file os2iconv.c.
References iuconv_obj::buf, iuconv_obj::buf_len, FALSE, iuconv_obj::hMtx, malloc, NULL, uconv_open(), iuconv_obj::uo_fromcode, and iuconv_obj::uo_tocode.
Referenced by _init().
Definition at line 61 of file geniconv.c.
Referenced by _init(), _loadDLL(), libiconv(), and libiconv_clean().
|
static |
Definition at line 62 of file geniconv.c.
Referenced by _init(), _loadDLL(), libiconv_clean(), and libiconv_close().
|
static |
Definition at line 60 of file geniconv.c.
Referenced by _init(), _loadDLL(), libiconv_clean(), and libiconv_open().
|
static |
Definition at line 58 of file geniconv.c.
Referenced by _loadDLL(), and libiconv_clean().