summaryrefslogtreecommitdiff
path: root/pith/mailpart.h
diff options
context:
space:
mode:
Diffstat (limited to 'pith/mailpart.h')
-rw-r--r--pith/mailpart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pith/mailpart.h b/pith/mailpart.h
index 9e5a52f9..24b8d050 100644
--- a/pith/mailpart.h
+++ b/pith/mailpart.h
@@ -35,6 +35,9 @@
/* Is this a VCalendar type? */
#define MIME_VCALENDAR(t,s) ((t) == TYPETEXT && (s) && !strucmp((s),"CALENDAR"))
+/* Is this a text/html attachment? */
+#define TEXT_HTML(t,s) ((t) == TYPETEXT && (s) && !strucmp((s),"HTML"))
+
/* Is this a multipart signed? */
#define MIME_MULT_SIGNED(t,s) ((t) == TYPEMULTIPART && (s) && !strucmp((s),"signed"))