MIMEDirAttribute
MIME Directory Attribute object
Error domain for #MIMEDirAttribute operations. Errors in this domain will be
from the #MIMEDirAttributeError enumeration. See #GError for information on
error domains.
Error codes returned by #MIMEDirAttribute operations.
@MIMEDIR_ATTRIBUTE_ERROR_SYNTAX: There was a syntax error.
@MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR: An illegal character was found in
the input stream.
@MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT: The format of an attribute value
does not match the requested value type.
@MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING: The attribute value can not
be decoded, since its encoding is unknown.
@MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE: The attribute value is out of
range.
@MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE: A parameter that is
required to be unique is not.
@MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64: Invalid Base64-encoded string.
@MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP: Invalid quoted-printable-encoded
string.
@MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT: The parameter list is too short.
@MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG: The parameter list is too long.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_SYNTAX
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT
error code.
Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG
error code.
The attribute's type.
@MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN: Attribute type is unknown.
@MIMEDIR_ATTRIBUTE_TYPE_URI: Attribute represents an URI as defined in
[RFC 1738].
@MIMEDIR_ATTRIBUTE_TYPE_TEXT: Attribute consists of a list of text string.
@MIMEDIR_ATTRIBUTE_TYPE_DATE: Attribute consists of a list of dates.
@MIMEDIR_ATTRIBUTE_TYPE_TIME: Attribute consists of a list of times.
@MIMEDIR_ATTRIBUTE_TYPE_DATETIME: Attribute consists of list of dates and times.
@MIMEDIR_ATTRIBUTE_TYPE_INTEGER: Attribute consists of a list of integer values.
@MIMEDIR_ATTRIBUTE_TYPE_FLOAT: Attribute consists of a list of floating point values.
@MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN: Attribute is a boolean value.
@MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT: Attribute is a structured text value.
@MIMEDIR_ATTRIBUTE_TYPE_PARAMETERS:
The encoding of the attribute's value.
@MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN: The encoding is unknown.
@MIMEDIR_ATTRIBUTE_ENCODING_BASE64: The value is Base64-encoded.
@MIMEDIR_ATTRIBUTE_ENCODING_QP: The value is encoded as a
quoted-printable string. This encoding is read-only and must not be set.
Alias for #MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN.
The #MIMEDirAttribute-struct struct contains private data only, and
should be accessed using the functions below.
@parent:
@priv:
@void:
@Returns:
@attribute:
@channel:
@error:
@Returns:
@attribute:
@Returns:
@attribute:
@group:
@attribute:
@Returns:
@attribute:
@type:
@attribute:
@Returns:
@attribute:
@name:
@values:
@attribute:
@name:
@value:
@attribute:
@parameter:
@Returns:
@attribute:
@parameter:
@Returns:
@attribute:
@parameter:
@Returns:
@attribute:
@list:
Sets the attribute's value to the supplied URI argument. @uri must be a valid URI as
described in [URI].
@attribute: a #MIMEDirAttribute
@uri: the new URI
Tries to parse the value of @attribute as an URI as described in
[URI]
and returns it. The returned string should be freed with g_free(). If the attribute
value can't be interpreted as an URI, @error will be set and %NULL will be returned.
@attribute: a #MIMEDirAttribute
@error: error storage location or %NULL
@Returns: the URI or %NULL
@attribute:
@text:
@attribute:
@error:
@Returns:
@attribute:
@list:
@attribute:
@error:
@Returns:
Frees a list of string pointers as returned by
mimedir_attribute_get_value_text_list().
@list:
@attribute:
@datetime:
@attribute:
@error:
@Returns:
@attribute:
@list:
@attribute:
@error:
@Returns:
@list:
@attribute:
@b:
@attribute:
@error:
@Returns:
@attribute:
@i:
@attribute:
@error:
@Returns:
@attribute:
@list:
@attribute:
@error:
@Returns:
@list:
@attribute:
@list:
@attribute:
@error:
@Returns:
@list:
@attribute:
@list:
@attribute:
@error:
@Returns:
@list: