return isn't a function FFS Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Remove the time module alltogether. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Rewrite is_from efficiently, and put it in lib-mime where it belongs. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Use str[pf]time. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
some fixes wrt imap and pop authentication. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
I'm fed up with stupid defines when C can come up with *way* betted: bit-fields. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
EXIT AUTOCRAP \o/ Use cmake now. conversion is still rough, but works mostly. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
use buffers instead of realloc-ed string. makes code shorter. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
drop openssl support as well, only use GNUTLS. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
simplifications. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
more documentation. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
create the lib-mx now Signed-off-by: Pierre Habouzit <madcoder@madism.org>
remove mx_{pop,nntp,imap}.[hc] those prevented good modularization. Signed-off-by: Pierre Habouzit <madcoder@madism.org>
rationnalize includes a lot: that's very dirty, but lib-lib/lib-lib.h has a lot of commonly used includes. that saves a lot of things from the rest of the code. 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>
remove most of the debug code: often makes the code unreadable, for little gain when we debug, because the debugging is due to the high level of code interweaving Signed-off-by: Pierre Habouzit <madcoder@debian.org>
a whole lot of size_t -> ssize_t. remove old cruft too. 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>
lib-network -> lib-sys. it will receive the unix things soon (like signal handling, exit code handling and things like that). Signed-off-by: Pierre Habouzit <madcoder@debian.org>