|                      |     | 
                                                                                                                                                                                                        - findmatch(caps, MIMEtype, key='view', filename='/dev/null', plist=[])
 - Find a match for a mailcap entry.
- Return a tuple containing the command line, and the mailcap entry
- used; (None, None) if no match is found.  This may invoke the
- 'test' command of several matching entries before deciding which
- entry to use.
     
 - findparam(name, plist)
 - no doc string
 
 - getcaps()
 - Return a dictionary containing the mailcap database.
- The dictionary maps a MIME type (in all lowercase,
- e.g. 'text/plain') to a list of corresponding mailcap entries.
   
 - listmailcapfiles()
 - Return a list of all mailcap files found on the system.
 
 - lookup(caps, MIMEtype, key=None)
 - no doc string
 
 - parsefield(line, i, n)
 - no doc string
 
 - parseline(line)
 - no doc string
 
 - readmailcapfile(fp)
 - # Part 2: the parser.
 
 - show(caps)
 - no doc string
 
 - subst(field, MIMEtype, filename, plist=[])
 - no doc string
 
 - test()
 - # Part 4: test program.
 
  |