Decodes header_value
, if needed, either from an address header or the Subject header.
Other header_name
headers are returned as is.
header_name |
the header name |
header_value |
the header value |
default_charset |
the default charset to use for the decode, or null |
decoded header value, suitable for text comparison. Free the returned pointer with g_free when done with it. |