Details
struct GMimeDisposition
struct GMimeDisposition {
char *disposition;
GMimeParam *params;
GHashTable *param_hash;
}; |
GMIME_DISPOSITION_ATTACHMENT
#define GMIME_DISPOSITION_ATTACHMENT "attachment" |
GMIME_DISPOSITION_INLINE
#define GMIME_DISPOSITION_INLINE "inline" |
g_mime_disposition_new ()
Creates a new GMimeDisposition object.
g_mime_disposition_destroy ()
Destroy the disposition object.
g_mime_disposition_set ()
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.
g_mime_disposition_get ()
Gets the disposition or NULL on fail.
g_mime_disposition_add_parameter ()
void g_mime_disposition_add_parameter
(GMimeDisposition *disposition,
const char *attribute,
const char *value); |
Adds a new parameter of name name and value value to the
disposition.
g_mime_disposition_get_parameter ()
const char* g_mime_disposition_get_parameter
(GMimeDisposition *disposition,
const char *attribute); |
Gets the value of the parameter attribute, or NULL on fail.
g_mime_disposition_header ()
Allocates a string buffer containing the Content-Disposition header
represented by the disposition object disposition.