aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-utils.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-19 08:03:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-19 08:03:05 +0800
commitda5d9e6dc27ff04ba3a571cdfbad6856297556cb (patch)
tree40ed654b0b93dac68571020a19e6813905350a57 /camel/providers/imap/camel-imap-utils.h
parent695a0a631bd4fae44f5e3427d0ed166cd0a80f52 (diff)
downloadgsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.tar
gsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.tar.gz
gsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.tar.bz2
gsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.tar.lz
gsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.tar.xz
gsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.tar.zst
gsoc2013-evolution-da5d9e6dc27ff04ba3a571cdfbad6856297556cb.zip
New function to decode an IMAP mailbox name from modified UTF-7 encoding
2002-01-18 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_mailbox_decode): New function to decode an IMAP mailbox name from modified UTF-7 encoding to UTF-8. (imap_mailbox_encode): New function to convert a mailbox name from UTF-8 to IMAP's modified UTF-7 encoding. svn path=/trunk/; revision=15361
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.h')
-rw-r--r--camel/providers/imap/camel-imap-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-utils.h b/camel/providers/imap/camel-imap-utils.h
index f64d56743a..bedc604116 100644
--- a/camel/providers/imap/camel-imap-utils.h
+++ b/camel/providers/imap/camel-imap-utils.h
@@ -72,6 +72,9 @@ void imap_uid_array_free (GPtrArray *arr);
char *imap_concat (CamelImapStore *imap_store, const char *prefix, const char *suffix);
char *imap_namespace_concat (CamelImapStore *store, const char *name);
+char *imap_mailbox_encode (const unsigned char *in, int inlen);
+char *imap_mailbox_decode (const unsigned char *in, int inlen);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */