X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=attach.h;h=c5cdb71dcfe2016abad8fd80abd84f47b045414f;hp=f34816afb89c2a1c502dfaf5eddc1d960fcefc42;hb=7d29626ce4e1fa932c6349c7253e6f774df069fc;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed diff --git a/attach.h b/attach.h index f34816a..c5cdb71 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; @@ -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 */