| Top |  |  |  |  | 
| #define | GMIME_DISPOSITION_ATTACHMENT | 
| #define | GMIME_DISPOSITION_INLINE | 
| struct | GMimeContentDisposition | 
A GMimeContentDisposition represents the pre-parsed contents of a Content-Disposition header field.
GMimeContentDisposition *
g_mime_content_disposition_new (void);
Creates a new GMimeContentDisposition object.
GMimeContentDisposition * g_mime_content_disposition_parse (GMimeParserOptions *options,const char *str);
Parses the input string into a GMimeContentDisposition object.
gboolean
g_mime_content_disposition_is_attachment
                               (GMimeContentDisposition *disposition);
Determines if a Content-Disposition has a value of "attachment".
void g_mime_content_disposition_set_disposition (GMimeContentDisposition *disposition,const char *value);
Sets the disposition to value
 which may be one of
GMIME_DISPOSITION_ATTACHMENT or GMIME_DISPOSITION_INLINE or, by
your choice, any other string which would indicate how the MIME
part should be displayed by the MUA.
const char *
g_mime_content_disposition_get_disposition
                               (GMimeContentDisposition *disposition);
Gets the disposition or NULL on fail.
the disposition string which is probably one of GMIME_DISPOSITION_ATTACHMENT or GMIME_DISPOSITION_INLINE.
GMimeParamList *
g_mime_content_disposition_get_parameters
                               (GMimeContentDisposition *disposition);
Gets the Content-Disposition parameter list.
void g_mime_content_disposition_set_parameter (GMimeContentDisposition *disposition,const char *name,const char *value);
Sets a parameter on the Content-Disposition.
Note: The name
 should be in US-ASCII while the value
 should be in
UTF-8.
const char * g_mime_content_disposition_get_parameter (GMimeContentDisposition *disposition,const char *name);
Gets the parameter value specified by name
 if it's available.
char * g_mime_content_disposition_encode (GMimeContentDisposition *disposition,GMimeFormatOptions *options);
Encodes the Content-Disposition header.
| disposition | a GMimeContentDisposition object | |
| options | a GMimeFormatOptions or  | [nullable] |