view src/lib-imap/imap-utf7.h @ 12636:fa4b84059ae2

IMAP LIST: Never return subscribed children state if RECURSIVEMATCH isn't specified. Not even when backends give it automatically.
author Timo Sirainen <tss@iki.fi>
date Wed, 02 Feb 2011 05:31:46 +0200
parents 81c0fe5bd635
children 1a2ad02123f1
line wrap: on
line source

#ifndef IMAP_UTF7_H
#define IMAP_UTF7_H

/* Convert an UTF-8 string to IMAP-UTF-7. Returns 0 if ok, -1 if src isn't
   valid UTF-8. */
int imap_utf8_to_utf7(const char *src, string_t *dest);
/* Convert IMAP-UTF-7 string to UTF-8. Returns 0 if ok, -1 if src isn't
   valid IMAP-UTF-7. */
int imap_utf7_to_utf8(const char *src, string_t *dest);

#endif