RFC1524 defines a format for the Multimedia Mail Configuration, which is the standard mailcap file format under Unix which specifies what external programs should be used to view/compose/edit multimedia files based on content type.
This file contains various functions for implementing a fair subset of RFC1524.
Function | Description | Links |
---|---|---|
get_field() | NUL terminate a RFC1524 field | |
get_field_text() | Get the matching text from a mailcap | |
mailcap_entry_free() | Deallocate an struct MailcapEntry | |
mailcap_entry_new() | Allocate memory for a new rfc1524 entry | |
mailcap_expand_command() | Expand expandos in a command | |
mailcap_expand_filename() | Expand a new filename from a template or existing filename | |
mailcap_lookup() | Find given type in the list of mailcap files | |
rfc1524_mailcap_parse() | Parse a mailcap entry |