1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004, 2015
7 * Copyright (c) The Exim Maintainers 2016
10 #ifdef WITH_CONTENT_SCAN
12 #define MIME_MAX_HEADER_SIZE 8192
13 #define MIME_MAX_LINE_LENGTH 32768
15 #define MBC_ATTACHMENT 0
16 #define MBC_COVERLETTER_ONESHOT 1
17 #define MBC_COVERLETTER_ALL 2
19 struct mime_boundary_context
21 struct mime_boundary_context *parent;
22 unsigned char *boundary;
26 typedef struct mime_header {
33 typedef struct mime_parameter {
39 /* MIME Anomaly list */
40 #define MIME_ANOMALY_BROKEN_BASE64 1
41 #define MIME_ANOMALY_BROKEN_QP 0