|
MSymbol | mchar_define_charset (const char *name, MPlist *plist) |
|
MSymbol | mchar_resolve_charset (MSymbol symbol) |
| Resolve charset name.
|
|
int | mchar_list_charset (MSymbol **symbols) |
| List symbols representing charsets.
|
|
int | mchar_decode (MSymbol charset_name, unsigned code) |
| Decode a code-point.
|
|
unsigned | mchar_encode (MSymbol charset_name, int c) |
| Encode a character code.
|
|
int | mchar_map_charset (MSymbol charset_name, void(*func)(int from, int to, void *arg), void *func_arg) |
| Call a function for all the characters in a specified charset.
|
|
MSymbol | mconv_define_coding (const char *name, MPlist *plist, int(*resetter)(MConverter *), int(*decoder)(const unsigned char *, int, MText *, MConverter *), int(*encoder)(MText *, int, int, unsigned char *, int, MConverter *), void *extra_info) |
|
MSymbol | mconv_resolve_coding (MSymbol symbol) |
| Resolve coding system name.
|
|
int | mconv_list_codings (MSymbol **symbols) |
| List symbols representing coding systems.
|
|
MConverter * | mconv_buffer_converter (MSymbol coding, const unsigned char *buf, int n) |
| Create a code converter bound to a buffer.
|
|
MConverter * | mconv_stream_converter (MSymbol coding, FILE *fp) |
| Create a code converter bound to a stream.
|
|
int | mconv_reset_converter (MConverter *converter) |
| Reset a code converter.
|
|
void | mconv_free_converter (MConverter *converter) |
| Free a code converter.
|
|
MConverter * | mconv_rebind_buffer (MConverter *converter, const unsigned char *buf, int n) |
| Bind a buffer to a code converter.
|
|
MConverter * | mconv_rebind_stream (MConverter *converter, FILE *fp) |
| Bind a stream to a code converter.
|
|
MText * | mconv_decode (MConverter *converter, MText *mt) |
| Decode a byte sequence into an M-text.
|
|
MText * | mconv_decode_buffer (MSymbol name, const unsigned char *buf, int n) |
| Decode a buffer area based on a coding system.
|
|
MText * | mconv_decode_stream (MSymbol name, FILE *fp) |
| Decode a stream input based on a coding system.
|
|
int | mconv_encode (MConverter *converter, MText *mt) |
| Encode an M-text into a byte sequence.
|
|
int | mconv_encode_range (MConverter *converter, MText *mt, int from, int to) |
| Encode a part of an M-text.
|
|
int | mconv_encode_buffer (MSymbol name, MText *mt, unsigned char *buf, int n) |
| Encode an M-text into a buffer area.
|
|
int | mconv_encode_stream (MSymbol name, MText *mt, FILE *fp) |
| Encode an M-text to write to a stream.
|
|
int | mconv_getc (MConverter *converter) |
| Read a character via a code converter.
|
|
int | mconv_ungetc (MConverter *converter, int c) |
| Push a character back to a code converter.
|
|
int | mconv_putc (MConverter *converter, int c) |
| Write a character via a code converter.
|
|
MText * | mconv_gets (MConverter *converter, MText *mt) |
| Read a line using a code converter.
|
|
MPlist * | mlanguage_list (void) |
| List 3-letter language codes.
|
|
MSymbol | mlanguage_code (MSymbol language, int len) |
| Get a language code.
|
|
MPlist * | mlanguage_name_list (MSymbol language, MSymbol target, MSymbol script, MSymbol territory) |
| Return the language names written in the specified language.
|
|
MText * | mlanguage_text (MSymbol language) |
| Return the language name written in that language.
|
|
MPlist * | mscript_list (void) |
| List script names.
|
|
MPlist * | mscript_language_list (MSymbol script) |
| List languages that use a specified script.
|
|
MSymbol | mlanguage_name (MSymbol language) |
|
MLocale * | mlocale_set (int category, const char *locale) |
| Set the current locale.
|
|
MSymbol | mlocale_get_prop (MLocale *locale, MSymbol key) |
| Get the value of a locale property.
|
|
int | mtext_ftime (MText *mt, const char *format, const struct tm *tm, MLocale *locale) |
| Format date and time.
|
|
MText * | mtext_getenv (const char *name) |
| Get an environment variable.
|
|
int | mtext_putenv (MText *mt) |
| Change or add an environment variable.
|
|
int | mtext_coll (MText *mt1, MText *mt2) |
| Compare two M-texts using the current locale.
|
|
MInputMethod * | minput_open_im (MSymbol language, MSymbol name, void *arg) |
| Open an input method.
|
|
void | minput_close_im (MInputMethod *im) |
| Close an input method.
|
|
MInputContext * | minput_create_ic (MInputMethod *im, void *arg) |
| Create an input context.
|
|
void | minput_destroy_ic (MInputContext *ic) |
| Destroy an input context.
|
|
int | minput_filter (MInputContext *ic, MSymbol key, void *arg) |
| Filter an input key.
|
|
int | minput_lookup (MInputContext *ic, MSymbol key, void *arg, MText *mt) |
| Look up a text produced in the input context.
|
|
void | minput_set_spot (MInputContext *ic, int x, int y, int ascent, int descent, int fontsize, MText *mt, int pos) |
| Set the spot of the input context.
|
|
void | minput_toggle (MInputContext *ic) |
| Toggle input method.
|
|
void | minput_reset_ic (MInputContext *ic) |
| Reset an input context.
|
|
MText * | minput_get_description (MSymbol language, MSymbol name) |
| Get description text of an input method.
|
|
MPlist * | minput_get_title_icon (MSymbol language, MSymbol name) |
| Get title and icon filename of an input method.
|
|
MPlist * | minput_get_command (MSymbol language, MSymbol name, MSymbol command) |
|
int | minput_config_command (MSymbol language, MSymbol name, MSymbol command, MPlist *keyseq) |
|
MPlist * | minput_get_variable (MSymbol language, MSymbol name, MSymbol variable) |
|
int | minput_config_variable (MSymbol language, MSymbol name, MSymbol variable, MPlist *value) |
| Configure the value of an input method variable.
|
|
char * | minput_config_file (void) |
| Get the name of per-user customization file.
|
|
int | minput_save_config (void) |
| Save configurations in per-user customization file.
|
|
int | minput_callback (MInputContext *ic, MSymbol command) |
| Call a callback function.
|
|
MPlist * | minput_get_commands (MSymbol language, MSymbol name) |
| Get information about input method commands.
|
|
int | minput_assign_command_keys (MSymbol language, MSymbol name, MSymbol command, MPlist *keys) |
| Assign a key sequence to an input method command (obsolete).
|
|
MPlist * | minput_get_variables (MSymbol language, MSymbol name) |
|
int | minput_set_variable (MSymbol language, MSymbol name, MSymbol variable, void *value) |
| Set the initial value of an input method variable.
|
|
MPlist * | minput_parse_im_names (MText *mt) |
| Parse input method names.
|
|
MPlist * | minput_list (MSymbol lang) |
|
MInputMethod * | mdebug_dump_im (MInputMethod *im, int indent) |
| Dump an input method.
|
|