summaryrefslogtreecommitdiffstats
path: root/rfc2045/rfc2045.h
diff options
context:
space:
mode:
authorSam Varshavchik2018-02-16 20:54:41 -0500
committerSam Varshavchik2018-02-16 21:19:05 -0500
commitc6c18e6142360a30cc11bfe29ac8b762e99a2104 (patch)
treeee18c5fcb707c5d230950dd57e4ae619e3bd38b0 /rfc2045/rfc2045.h
parent8b4fcc3895ca8243e200c15cd089323a482cad13 (diff)
downloadcourier-libs-c6c18e6142360a30cc11bfe29ac8b762e99a2104.tar.bz2
maildrop: Add :H pattern modifier to maildrop.
rfc2045: RFC2045_DECODEMSG_NOATTACHHEADERS flag, do not decode attachment headers. maildrop: The ":H" pattern modifier searches main headers only, does not search attachments' headers.
Diffstat (limited to 'rfc2045/rfc2045.h')
-rw-r--r--rfc2045/rfc2045.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rfc2045/rfc2045.h b/rfc2045/rfc2045.h
index c7e2a62..90c2b56 100644
--- a/rfc2045/rfc2045.h
+++ b/rfc2045/rfc2045.h
@@ -559,6 +559,13 @@ struct rfc2045_decodemsgtoutf8_cb {
** Do not prepend name: to converted header content.
*/
+
+#define RFC2045_DECODEMSG_NOATTACHHEADERS 0x08
+/*
+** Do not decode MIME headers of attachments. Decode only the message's
+** main headers.
+*/
+
/*
** Convert a message into a utf8 bytestream. The output produced by this
** function is a catentation of decoded header and text content data, converted