NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mime.c
Go to the documentation of this file.
1
29#include "config.h"
30#include "mime.h"
31
35const int IndexHex[128] = {
36 // clang-format off
37 -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
38 -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
39 -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
40 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,-1,-1, -1,-1,-1,-1,
41 -1,10,11,12, 13,14,15,-1, -1,-1,-1,-1, -1,-1,-1,-1,
42 -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
43 -1,10,11,12, 13,14,15,-1, -1,-1,-1,-1, -1,-1,-1,-1,
44 -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1
45 // clang-format on
46};
47
51const char *const BodyTypes[] = {
52 "x-unknown", "audio", "application", "image", "message",
53 "model", "multipart", "text", "video", "*",
54};
55
59const char *const BodyEncodings[] = {
60 "x-unknown", "7bit", "8bit", "quoted-printable",
61 "base64", "binary", "x-uuencoded",
62};
63
67const char MimeSpecials[] = "@.,;:<>[]\\\"()?/= \t";
const char MimeSpecials[]
Characters that need special treatment in MIME.
Definition: mime.c:67
const char *const BodyTypes[]
Common MIME body types.
Definition: mime.c:51
const int IndexHex[128]
Lookup table for ASCII hex digits.
Definition: mime.c:35
const char *const BodyEncodings[]
Common MIME body encodings.
Definition: mime.c:59
Constants and macros for managing MIME encoding.