1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004, 2015 */
8 #ifdef WITH_CONTENT_SCAN
10 #define MIME_MAX_HEADER_SIZE 8192
11 #define MIME_MAX_LINE_LENGTH 32768
13 #define MBC_ATTACHMENT 0
14 #define MBC_COVERLETTER_ONESHOT 1
15 #define MBC_COVERLETTER_ALL 2
17 struct mime_boundary_context
19 struct mime_boundary_context *parent;
20 unsigned char *boundary;
24 typedef struct mime_header {
31 typedef struct mime_parameter {
37 /* MIME Anomaly list */
38 #define MIME_ANOMALY_BROKEN_BASE64 1
39 #define MIME_ANOMALY_BROKEN_QP 0