*.o
*.Po
*.Tpo
+html
lib*.a
po/*.mo
po/neomutt.pot
# libemail
LIBEMAIL= libemail.a
LIBEMAILOBJS= email/address.o email/attach.o email/body.o email/envelope.o \
- email/from.o email/header.o email/parameter.o email/tags.o email/thread.o email/url.o
+ email/from.o email/header.o email/idna.o email/mime.o email/parameter.o email/rfc2047.o email/tags.o email/thread.o email/url.o
CLEANFILES+= $(LIBEMAIL) $(LIBEMAILOBJS)
MUTTLIBS+= $(LIBEMAIL)
ALLOBJS+= $(LIBEMAILOBJS)
LIBMUTT= libmutt.a
LIBMUTTOBJS= mutt/base64.o mutt/buffer.o mutt/charset.o mutt/date.o \
mutt/envlist.o mutt/exit.o mutt/file.o mutt/hash.o mutt/history.o \
- mutt/idna.o mutt/list.o mutt/logging.o mutt/mapping.o \
- mutt/mbyte.o mutt/md5.o mutt/memory.o mutt/mime.o mutt/regex.o \
- mutt/rfc2047.o mutt/sha1.o mutt/signal.o mutt/string.o
+ mutt/list.o mutt/logging.o mutt/mapping.o \
+ mutt/mbyte.o mutt/md5.o mutt/memory.o mutt/regex.o \
+ mutt/sha1.o mutt/signal.o mutt/string.o
CLEANFILES+= $(LIBMUTT) $(LIBMUTTOBJS)
MUTTLIBS+= $(LIBMUTT)
ALLOBJS+= $(LIBMUTTOBJS)
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
+#include "email/email.h"
#include "conn_globals.h"
#include "connection.h"
#include "curs_lib.h"
#include "mutt/memory.h"
#include "mutt/message.h"
#include "mutt/string2.h"
+#include "email/idna2.h"
#include "mutt.h"
#include "ssl.h"
#include "account.h"
#include <string.h>
#include "mutt/mutt.h"
#include "address.h"
+#include "idna2.h"
/**
* AddressSpecials - Characters with special meaning for email addresses
#include "mutt/mutt.h"
#include "body.h"
#include "header.h"
+#include "mime.h"
/**
* mutt_body_new - Create a new Body
* | email/envelope.c | @subpage email_envelope |
* | email/from.c | @subpage email_from |
* | email/header.c | @subpage email_header |
+ * | email/idna.c | @subpage email_idna |
* | email/parameter.c | @subpage email_parameter |
+ * | email/mime.c | @subpage email_mime |
+ * | email/rfc2047.c | @subpage email_rfc2047 |
* | email/tags.c | @subpage email_tags |
* | email/thread.c | @subpage email_thread |
* | email/url.c | @subpage email_url |
#include "envelope.h"
#include "from.h"
#include "header.h"
+#include "idna2.h"
+#include "mime.h"
#include "parameter.h"
+#include "rfc2047.h"
#include "tags.h"
#include "thread.h"
#include "url.h"
*/
/**
- * @page idna Handling of international domain names
+ * @page email_idna Handling of international domain names
*
* Handling of international domain names
*/
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-#include "charset.h"
+#include "mutt/mutt.h"
#include "idna2.h"
-#include "logging.h"
-#include "memory.h"
-#include "string2.h"
#ifdef HAVE_STRINGPREP_H
#include <stringprep.h>
#elif defined(HAVE_IDN_STRINGPREP_H)
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_IDNA_H
-#define _MUTT_IDNA_H
+#ifndef _EMAIL_IDNA_H
+#define _EMAIL_IDNA_H
#include <stdbool.h>
int mutt_idna_to_ascii_lz(const char *input, char **output, int flags);
-#endif /* _MUTT_IDNA_H */
+#endif /* _EMAIL_IDNA_H */
*/
/**
- * @page mime Constants and macros for managing MIME encoding
+ * @page email_mime Constants and macros for managing MIME encoding
*
* Constants and macros for managing MIME encoding.
*/
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_MIME_H
-#define _MUTT_MIME_H
+#ifndef _EMAIL_MIME_H
+#define _EMAIL_MIME_H
/**
* enum ContentType - Content-Type
((X->type == TYPEOTHER) && (X->xtype != NULL) ? X->xtype : BodyTypes[(X->type)])
#define ENCODING(X) BodyEncodings[(X)]
-#endif /* _MUTT_MIME_H */
+#endif /* _EMAIL_MIME_H */
*/
/**
- * @page rfc2047 RFC2047 encoding / decoding functions
+ * @page email_rfc2047 RFC2047 encoding / decoding functions
*
* RFC2047 MIME extensions encoding / decoding routines.
*/
#include <stdbool.h>
#include <string.h>
#include "rfc2047.h"
-#include "base64.h"
-#include "buffer.h"
-#include "charset.h"
-#include "mbyte.h"
-#include "memory.h"
+#include "mutt/mutt.h"
#include "mime.h"
-#include "regex3.h"
-#include "string2.h"
#define ENCWORD_LEN_MAX 75
#define ENCWORD_LEN_MIN 9 /* strlen ("=?.?.?.?=") */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _MUTT_RFC2047_H
-#define _MUTT_RFC2047_H
+#ifndef _EMAIL_RFC2047_H
+#define _EMAIL_RFC2047_H
void mutt_rfc2047_decode(char **pd);
void mutt_rfc2047_encode(char **pd, const char *specials, int col, const char *charsets);
-#endif /* _MUTT_RFC2047_H */
+#endif /* _EMAIL_RFC2047_H */
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * @page email_url Parse and identify different URL schemes
+ *
+ * Parse and identify different URL schemes
+ */
+
#include "config.h"
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include "mutt/mutt.h"
#include "url.h"
+#include "mime.h"
static const struct Mapping UrlMap[] = {
{ "file", U_FILE }, { "imap", U_IMAP }, { "imaps", U_IMAPS },
* | mutt/file.c | @subpage file |
* | mutt/hash.c | @subpage hash |
* | mutt/history.c | @subpage history |
- * | mutt/idna.c | @subpage idna |
* | mutt/list.c | @subpage list |
* | mutt/logging.c | @subpage logging |
* | mutt/mapping.c | @subpage mapping |
* | mutt/mbyte.c | @subpage mbyte |
* | mutt/md5.c | @subpage md5 |
* | mutt/memory.c | @subpage memory |
- * | mutt/mime.c | @subpage mime |
* | mutt/regex.c | @subpage regex |
- * | mutt/rfc2047.c | @subpage rfc2047 |
* | mutt/sha1.c | @subpage sha1 |
* | mutt/signal.c | @subpage signal |
* | mutt/string.c | @subpage string |
*
* @note The library is self-contained -- some files may depend on others in
* the library, but none depends on source from outside.
- *
- * @image html libmutt.svg
*/
#ifndef _MUTT_MUTT_H
#include "file.h"
#include "hash.h"
#include "history.h"
-#include "idna2.h"
#include "list.h"
#include "logging.h"
#include "mapping.h"
#include "md5.h"
#include "memory.h"
#include "message.h"
-#include "mime.h"
#include "queue.h"
#include "regex3.h"
-#include "rfc2047.h"
#include "sha1.h"
#include "signal2.h"
#include "string2.h"
#include <time.h>
#include <unistd.h>
#include "mutt/mutt.h"
+#include "email/email.h"
#include "filter.h"
#include "globals.h"
#include "ncrypt.h"
#include "mutt/charset.h"
#include "mutt/memory.h"
-#include "mutt/rfc2047.h"
#include "mutt/string2.h"
+#include "email/rfc2047.h"
#include <locale.h>
#include <sys/utsname.h>
#include <unistd.h>
#include "mutt/mutt.h"
+#include "email/email.h"
#include "mutt_curses.h"
/* #include "protos.h" */