* This is libmutt for the Hurd mboxfs translator.
* (c) 2002 Ludovic Courts
*******************************************************************************

Libmutt is a mailbox parsing library that derives from the Mutt mail user
agent (http://www.mutt.org), version 1.2.5.1. Most of the code from Mutt
remains unchanged; however, it had to be modified in order to (1) make it
a library and (2) make it fit the needs for mboxfs (which are pretty much
the same as the needs of most programs that would need libmutt i guess ;).
Note that it also contains a lot of unused (#if 0'd) code.


Among the most significant changes introduced to mutt (http://www.mutt.org):

* Added a callback field to the CONTEXT structure (called `notify_new_header')
  that gets called every time a header has been successfully decoded (in
  (mbox|mmdf)_parse_mailbox(), mbox.c).

* Multipart emails gets parsed `directly'. In other words, mutt_parse_part()
  is called by (mbox|mmdf)_parse_mailbox(), whereas mutt would just do it when
  necessary (that is, when viewing an attachment list).

* Modified the STATE structure so that:
  - parsed attachments are stored in a buffer instead of being directly
    dumped to a file (field `bufout');
  - it is possible to resume attachment parsing (thanks to the `offset' field).

* All the functions in handler.c (mutt_decode_attachment(), mutt_decode_xbit(),
  etc.) and charset.c (mutt_decoder_pop*()) were modified accordingly.
 
* Some initialization code that was originally in init.c has been moved to
  the `right place' (see for instance parse.c:mutt_read_rfc822_header()).
