add some lua in the mime module as well. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
turn charset into a lua package as well. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
simplifications around mutt_is_message_type Signed-off-by: Pierre Habouzit <madcoder@debian.org>
always build support for mixmaster. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
sort out some prototypes, put them where they belong. rework lib-lib, have a public lib-lib/lib-lib.h header that will be our main library we always want to have. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
move more things in the lib-mime Signed-off-by: Pierre Habouzit <madcoder@debian.org>
simplify some bits of code, also simplify includes. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
ctors/dtors for BODY's Signed-off-by: Pierre Habouzit <madcoder@debian.org>
move all the parameter related functions into the lib-mime. rename the type and the APIs Signed-off-by: Pierre Habouzit <madcoder@debian.org>
move mutt_get_parameter -> parameter_getval into mime.c Signed-off-by: Pierre Habouzit <madcoder@debian.org>
begin to rework mailcap parsing a "bit". the current way is really really really completely naïve (the mailcap parse is done many times whereas it just should be put into structs once for all !). Signed-off-by: Pierre Habouzit <madcoder@debian.org>
rationalize list handling in mutt a bit. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
move url.[hc] into the lib-lib. move parse_mailto into the lib-mime Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Simplications go on. make mutt_parse_rfc822_line more functionnal, that makes the API less awkward. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
use my own APIS for headers, parameters and so on Signed-off-by: Pierre Habouzit <madcoder@debian.org>
forgotten add. Signed-off-by: Pierre Habouzit <madcoder@debian.org>