#include <sent/stddefs.h>
Include dependency graph for charconv.c:
Go to the source code of this file.
Functions | |
boolean | j_printf_set_charconv (char *fromcode, char *tocode) |
char * | charconv (char *instr, char *outstr, int maxoutlen) |
Variables | |
static boolean | convert_enabled = FALSE |
TRUE if charset converstion is enabled. |
Definition in file charconv.c.
boolean j_printf_set_charconv | ( | char * | fromcode, | |
char * | tocode | |||
) |
Setup charset conversion.
fromcode | [in] input charset name (only libjcode accepts NULL) | |
tocode | [in] output charset name, or NULL when disable conversion |
Definition at line 46 of file charconv.c.
Referenced by main().
char* charconv | ( | char * | instr, | |
char * | outstr, | |||
int | maxoutlen | |||
) |
Apply charset conversion to a string.
instr | [in] source string | |
outstr | [in] destination buffer | |
maxoutlen | [in] allocated length of outstr in byte. |
Definition at line 80 of file charconv.c.
Referenced by j_printerr(), j_printf(), and module_send().