X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=attach.h;h=9d55056629eaf244c4b70f5bd12975f2b584684c;hp=f34816afb89c2a1c502dfaf5eddc1d960fcefc42;hb=3b833648493d9f1c7579b60b6e1fa4122ae3adab;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed diff --git a/attach.h b/attach.h index f34816a..9d55056 100644 --- a/attach.h +++ b/attach.h @@ -9,6 +9,8 @@ #ifndef _MUTT_ATTACH_H #define _MUTT_ATTACH_H +#include + typedef struct attachptr { BODY *content; int parent_type; @@ -24,9 +26,9 @@ void mutt_attach_forward (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int); 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); @@ -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 */