aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-utf8.h')
-rw-r--r--camel/camel-utf8.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/camel/camel-utf8.h b/camel/camel-utf8.h
new file mode 100644
index 0000000000..7d6fac5410
--- /dev/null
+++ b/camel/camel-utf8.h
@@ -0,0 +1,16 @@
+
+#ifndef _CAMEL_UTF8_H
+#define _CAMEL_UTF8_H
+
+void camel_utf8_putc(unsigned char **ptr, guint32 c);
+guint32 camel_utf8_getc(const unsigned char **ptr);
+
+/* utility func for utf8 gstrings */
+void g_string_append_u(GString *out, guint32 c);
+
+/* convert utf7 to/from utf8, actually this is modified IMAP utf7 */
+char *camel_utf7_utf8(const char *ptr);
+char *camel_utf8_utf7(const char *ptr);
+
+
+#endif /* ! _CAMEL_UTF8_H */