$Revision: 1.6 $
mm - MIME Parser module. Functions to parse a mail message, find if it is MIME-encapsulated, and return the parts of the message which are supported by the UP module.
Status: NOT COMPLETE, NOT REVUED, NOT TESTED
Design and implementation by: Daniele Arena
Included in: | modules/mm/mm.c |
#define DEFAULT_DEBUG DO_DEBUG
#define TEMPDIR "/tmp"
#define FILENAMELEN 1024
#define GLOBALPREFIX "mime"
#define STR_M 255
#define STR_L 1023
#define STR_XL 4095
#define STR_XXL 16383
struct MM_body_section | |
{ | |
char* number; | |
char* type; | |
unsigned long size; | |
char* mime_headers; | |
char* contents; | |
short supported; | |
sectptr next; | |
} |
struct MM_body_section_list | |
{ | |
int size; | |
MM_b_section* head; | |
MM_b_section* tail; | |
} |
struct MM_extracted_mimepart | |
{ | |
char* number; | |
char* type; | |
char* file; | |
short supported; | |
partptr next; | |
} |
struct MM_extracted_mimepart_list | |
{ | |
int size; | |
MM_xmp* head; | |
MM_xmp* tail; | |
} |
struct MM_mail_header | |
{ | |
char* from; | |
char* subject; | |
char* date; | |
char* message_id; | |
char* reply_to; | |
char* cc; | |
} |