X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4f84351208e535c7406f059646bdd6ec518c5175..49132a3bb5c65364b1d9cc5b405bd0ef046e7828:/src/src/mime.h diff --git a/src/src/mime.h b/src/src/mime.h index 3022b1870..5fd4392d5 100644 --- a/src/src/mime.h +++ b/src/src/mime.h @@ -2,8 +2,10 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) Tom Kistner 2004, 2015 */ -/* License: GPL */ +/* Copyright (c) Tom Kistner 2004, 2015 + * License: GPL + * Copyright (c) The Exim Maintainers 2016 + */ #ifdef WITH_CONTENT_SCAN @@ -27,17 +29,6 @@ typedef struct mime_header { uschar ** value; } mime_header; -static mime_header mime_header_list[] = { - { US"content-type:", 13, &mime_content_type }, - { US"content-disposition:", 20, &mime_content_disposition }, - { US"content-transfer-encoding:", 26, &mime_content_transfer_encoding }, - { US"content-id:", 11, &mime_content_id }, - { US"content-description:", 20, &mime_content_description } -}; - -static int mime_header_list_size = sizeof(mime_header_list)/sizeof(mime_header); - - typedef struct mime_parameter { uschar * name; @@ -45,14 +36,6 @@ typedef struct mime_parameter { uschar ** value; } mime_parameter; -static mime_parameter mime_parameter_list[] = { - { US"name=", 5, &mime_filename }, - { US"filename=", 9, &mime_filename }, - { US"charset=", 8, &mime_charset }, - { US"boundary=", 9, &mime_boundary } -}; - - /* MIME Anomaly list */ #define MIME_ANOMALY_BROKEN_BASE64 1 #define MIME_ANOMALY_BROKEN_QP 0