Use good m_ functions, because it smell like a flower, version 2.
[apps/madmutt.git] / attach.h
index f34816a..c5cdb71 100644 (file)
--- a/attach.h
+++ b/attach.h
@@ -9,6 +9,8 @@
 #ifndef _MUTT_ATTACH_H
 #define _MUTT_ATTACH_H
 
+#include <lib-mime/mime-types.h>
+
 typedef struct attachptr {
   BODY *content;
   int parent_type;
@@ -34,4 +36,8 @@ int mutt_edit_attachment (BODY *);
 int mutt_compose_attachment (BODY * a);
 int mutt_get_tmp_attachment (BODY *);
 
+/* this checks whether at least one text line matches
+ * AttachRemindRegexp and returns 1 if so and 0 otherwise */
+int mutt_attach_check (HEADER* hdr);
+
 #endif /* !_MUTT_ATTACH_H */