/* unicutils.c */

#ifndef unicutils_H
#define unicutils_H

size_t strlen_u(const zword_t *);
zword_t *strstr_u(const zword_t *a, const zword_t *b);
zword_t *strcpy_u(zword_t *a, const zword_t *b);
zword_t *strncpy_u(zword_t *a, const zword_t *b, size_t n);
int strcmp_u(const zword_t *a, const zword_t *b);
void font_paint_u(unsigned char, const zword_t *, unsigned int,
                  int, int, struct font_paint_block *,
                  struct os_trfm *,
                  int);
unsigned tolower_u(unsigned);

char *UCS_to_UTF8(char *out, zword_t code);
int UTF8_to_UCS(const char *c, zword_t *r);
#endif
