Constants and macros for managing MIME encoding. More...
Go to the source code of this file.
Macros | |
#define | MUTT_MIME_MAX_DEPTH 50 |
#define | MUTT_MIME_MAX_PARTS 500 |
#define | hexval(ch) IndexHex[(unsigned int) (ch)] |
#define | is_multipart(body) |
#define | TYPE(body) ((body->type == TYPE_OTHER) && body->xtype ? body->xtype : BodyTypes[(body->type)]) |
#define | ENCODING(x) BodyEncodings[(x)] |
Enumerations | |
enum | ContentType { TYPE_OTHER , TYPE_AUDIO , TYPE_APPLICATION , TYPE_IMAGE , TYPE_MESSAGE , TYPE_MODEL , TYPE_MULTIPART , TYPE_TEXT , TYPE_VIDEO , TYPE_ANY } |
Content-Type. More... | |
enum | ContentEncoding { ENC_OTHER , ENC_7BIT , ENC_8BIT , ENC_QUOTED_PRINTABLE , ENC_BASE64 , ENC_BINARY , ENC_UUENCODED } |
Content-Transfer-Encoding. More... | |
enum | ContentDisposition { DISP_INLINE , DISP_ATTACH , DISP_FORM_DATA , DISP_NONE } |
Content-Disposition values. More... | |
Variables | |
const int | IndexHex [128] |
Lookup table for ASCII hex digits. | |
const char *const | BodyTypes [] |
Common MIME body types. | |
const char *const | BodyEncodings [] |
Common MIME body encodings. | |
const char | MimeSpecials [] |
Characters that need special treatment in MIME. | |
Constants and macros for managing MIME encoding.
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, see http://www.gnu.org/licenses/.
Definition in file mime.h.
#define is_multipart | ( | body | ) |
#define TYPE | ( | body | ) | ((body->type == TYPE_OTHER) && body->xtype ? body->xtype : BodyTypes[(body->type)]) |
#define ENCODING | ( | x | ) | BodyEncodings[(x)] |
enum ContentType |
Content-Type.
Definition at line 29 of file mime.h.
enum ContentEncoding |
Content-Transfer-Encoding.
enum ContentDisposition |
Content-Disposition values.
Enumerator | |
---|---|
DISP_INLINE | Content is inline. |
DISP_ATTACH | Content is attached. |
DISP_FORM_DATA | Content is form-data. |
DISP_NONE | No preferred disposition. |
|
extern |
|
extern |