* src/procmime.[ch]
[claws.git] / src / procmime.h
index 5143ee1324cbae92d6c4831a781d8fdd2d451169..cd309511dceb171376bae72c9781e3f8692d39b9 100644 (file)
@@ -54,6 +54,13 @@ typedef enum
        MIMETYPE_UNKNOWN,
 } MimeMediaType;
 
+typedef enum
+{
+       DISPOSITIONTYPE_INLINE,
+       DISPOSITIONTYPE_ATTACHMENT,
+       DISPOSITIONTYPE_UNKNOWN
+} DispositionType;
+
 #include <glib.h>
 #include <stdio.h>
 
@@ -94,8 +101,6 @@ struct _MimeInfo
 
        gchar *name;
 
-       gchar *content_disposition;
-
        /* Internal data */
        gchar *filename;
        gboolean tmpfile;
@@ -121,6 +126,9 @@ struct _MimeInfo
        guint            offset;
        guint            length;
 
+       /* Content-Disposition */
+       DispositionType  disposition;
+
        /* Privacy */
        PrivacyData     *privacy;
 };