#ifndef _MUTT_ATTACH_H
#define _MUTT_ATTACH_H
+#include <lib-mime/mime-types.h>
+
typedef struct attachptr {
BODY *content;
int parent_type;
void mutt_attach_reply (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int);
int mutt_print_attachment (FILE *, BODY *);
-int mutt_decode_save_attachment (FILE *, BODY *, char *, int, int);
+int mutt_decode_save_attachment (FILE *, BODY *, int, int);
int mutt_save_attachment (FILE *, BODY *, char *, int, HEADER *);
-int mutt_pipe_attachment (FILE *, BODY *, const char *, char *);
+int mutt_pipe_attachment (FILE *, BODY *, const char *, int);
int mutt_view_attachment (FILE *, BODY *, int, HEADER *, ATTACHPTR **, short);
int mutt_is_autoview (BODY *, const char *);
void mutt_check_lookup_list (BODY *, char *, int);
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 */