diff options
Diffstat (limited to 'pith/mailpart.h')
-rw-r--r-- | pith/mailpart.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pith/mailpart.h b/pith/mailpart.h index aad3fdc4..076ed174 100644 --- a/pith/mailpart.h +++ b/pith/mailpart.h @@ -32,6 +32,9 @@ || ((t) == TYPETEXT \ && (s) && !strucmp((s),"X-VCARD"))) +/* Is this a VCalendar type? */ +#define MIME_VCALENDAR(t,s) ((t) == TYPETEXT && (s) && !strucmp((s),"CALENDAR")) + /* Is this a multipart signed? */ #define MIME_MULT_SIGNED(t,s) ((t) == TYPEMULTIPART && (s) && !strucmp((s),"signed")) @@ -44,6 +47,9 @@ /* Is this a vCard attachment? */ #define MIME_VCARD_A(a) MIME_VCARD((a)->body->type, (a)->body->subtype) +/* Is this a VCalendar attachment? */ +#define MIME_VCALENDAR_A(a) MIME_VCALENDAR((a)->body->type, (a)->body->subtype) + /* exported protoypes */ |