-/* Converts the Unicode character CODE to its multibyte representation
- in the current locale and calls the CALLBACK on the resulting byte
- sequence. If an error occurs, invokes ERROR_CALLBACK instead,
- passing it CODE with errno set appropriately. Returns whatever the
- callback returns. */
-extern int unicode_to_mb
- PARAMS ((unsigned int code,
- int (*callback) PARAMS ((const char *buf, size_t buflen,
- void *callback_arg)),
- int (*error_callback) PARAMS ((unsigned int code,
- void * callback_arg)),
- void *callback_arg));
-
-/* Success callback that outputs the conversion of the character. */
-extern int print_unicode_success PARAMS((const char *buf, size_t buflen,
- void *callback_arg));
-
-/* Failure callback that outputs an ASCII representation. */
-extern int print_unicode_failure PARAMS((unsigned int code,
- void *callback_arg));
-