From 4cc118a3b000432ed836cc21518a09b32bc0322f Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Thu, 2 Nov 2006 02:27:23 +0100 Subject: [PATCH] forgotten add. Signed-off-by: Pierre Habouzit --- lib-mime/mime.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 lib-mime/mime.c diff --git a/lib-mime/mime.c b/lib-mime/mime.c new file mode 100644 index 0000000..5eaab58 --- /dev/null +++ b/lib-mime/mime.c @@ -0,0 +1,43 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + * + * Copyright © 2006 Pierre Habouzit + */ + +const char MimeSpecials[] = "@.,;:<>[]\\\"()?/= \t"; + +const char *BodyTypes[] = { + "x-unknown", + "audio", + "application", + "image", + "message", + "model", + "multipart", + "text", + "video", +}; + +const char *BodyEncodings[] = { + "x-unknown", + "7bit", + "8bit", + "quoted-printable", + "base64", + "binary", + "x-uuencoded", +}; + -- 2.20.1