diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2010-07-16 17:35:51 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2010-07-16 17:35:51 +0200 |
commit | 1dc3fd7bf000b57f8462416ae3e17f2f580d2020 (patch) | |
tree | c99f60831281a1ac59aecf2cc21f22c106798608 /ucs2_to_utf8.h | |
parent | b4c10df0fc8440804d87e4df2f68a860b0bb08af (diff) |
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)
Diffstat (limited to 'ucs2_to_utf8.h')
-rw-r--r-- | ucs2_to_utf8.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |