Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-imap/imap-quote.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | 8ac2a2d27364 |
children | 8f3115354d14 |
line wrap: on
line source
#ifndef IMAP_QUOTE_H #define IMAP_QUOTE_H /* Return value suitable for sending to client, either as quoted-string or literal. Note that this also converts TABs into spaces, multiple spaces into single space and NULs to #128. */ const char *imap_quote(pool_t pool, const unsigned char *value, size_t value_len); /* Append to existing string. */ void imap_quote_append(string_t *str, const unsigned char *value, size_t value_len, bool compress_lwsp); #define imap_quote_append_string(str, value, compress_lwsp) \ imap_quote_append(str, (const unsigned char *)(value), \ (size_t)-1, compress_lwsp) #endif