From 1dc3fd7bf000b57f8462416ae3e17f2f580d2020 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 16 Jul 2010 17:35:51 +0200 Subject: Initial commit of the XCB rewrite of i3lock Changes: - Uses XCB instead of Xlib (like i3), thus cleaner/faster code - Uses cairo to load PNG images (*much* faster than XPM) --- ucs2_to_utf8.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ucs2_to_utf8.h (limited to 'ucs2_to_utf8.h') diff --git a/ucs2_to_utf8.h b/ucs2_to_utf8.h new file mode 100644 index 0000000..a3dcf2d --- /dev/null +++ b/ucs2_to_utf8.h @@ -0,0 +1,8 @@ +#ifndef _UCS2_TO_UTF8_H +#define _UCS2_TO_UTF8_H + +int convert_ucs_to_utf8(char *input, char *output); +char *convert_utf8_to_ucs2(char *input, int *real_strlen); +void u8_dec(char *s, int *i); + +#endif -- cgit v1.1