Mercurial > dovecot > core-2.2
view src/lib-imap/imap-quote.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 | dad7264633a9 |
children | 4137ea599dcd |
line wrap: on
line source
#ifndef IMAP_QUOTE_H #define IMAP_QUOTE_H /* Append to existing string. If fix_text=TRUE, it converts TABs to spaces, multiple spaces into a single space and NULs to #128. */ void imap_quote_append(string_t *str, const unsigned char *value, size_t value_len, bool fix_text); #define imap_quote_append_string(str, value, fix_text) \ imap_quote_append(str, (const unsigned char *)(value), \ (size_t)-1, fix_text) /* Return value suitable for sending to client, either as quoted-string or literal. */ const char *imap_quote(pool_t pool, const unsigned char *value, size_t value_len, bool fix_text); /* Append data to destination string quoted using "". */ void imap_dquote_append(string_t *dest, const char *src); #endif