add some lua in the mime module as well.
[apps/madmutt.git] / lib-mime / mime.h
index e5ab93d..8feddfe 100644 (file)
@@ -32,6 +32,9 @@
 #include "mime-types.h"
 #include "mime-token.h"
 
+#include <lib-lua/lib-lua.h>
+#include "mime.li"
+
 extern const char MimeSpecials[];
 extern const char *BodyTypes[];
 extern const char *BodyEncodings[];
@@ -47,8 +50,6 @@ extern const char *BodyEncodings[];
 #define TYPE(X) ((X->type == TYPEOTHER) && (X->xtype != NULL) ? X->xtype : BodyTypes[(X->type)])
 #define ENCODING(X) BodyEncodings[(X)]
 
-int url_parse_mailto(ENVELOPE *e, char **body, const char *src);
-
 /****************************************************************************/
 /* RFC 1524                                                                 */
 /*                   A User Agent Configuration Mechanism                   */