X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=attach.h;h=c5cdb71dcfe2016abad8fd80abd84f47b045414f;hp=3bc1b8215dff191647303ce0c4a3df26811a8969;hb=6ebff74ad242d4c56fb7762965b19cee14fd2daa;hpb=841a368ddea400022328f35dd8c7a3eb6f543892 diff --git a/attach.h b/attach.h index 3bc1b82..c5cdb71 100644 --- a/attach.h +++ b/attach.h @@ -9,7 +9,7 @@ #ifndef _MUTT_ATTACH_H #define _MUTT_ATTACH_H -#include "mutt_menu.h" +#include typedef struct attachptr { BODY *content; @@ -20,27 +20,11 @@ typedef struct attachptr { unsigned int unowned:1; /* don't unlink on detach */ } ATTACHPTR; -int mutt_tag_attach (MUTTMENU * menu, int n, int m); -int mutt_attach_display_loop (MUTTMENU * menu, int op, FILE * fp, - HEADER * hdr, BODY * cur, ATTACHPTR *** idxp, - short *idxlen, short *idxmax, int recv); - - -void mutt_save_attachment_list (FILE * fp, int tag, BODY * top, HEADER * hdr, - MUTTMENU * menu); -void mutt_pipe_attachment_list (FILE * fp, int tag, BODY * top, int filter); -void mutt_print_attachment_list (FILE * fp, int tag, BODY * top); - void mutt_attach_bounce (FILE *, HEADER *, ATTACHPTR **, short, BODY *); void mutt_attach_resend (FILE *, HEADER *, ATTACHPTR **, short, BODY *); void mutt_attach_forward (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int); void mutt_attach_reply (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int); -ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *, - int, int); - -void mutt_update_tree (ATTACHPTR **, short); - int mutt_print_attachment (FILE *, BODY *); int mutt_decode_save_attachment (FILE *, BODY *, char *, int, int); int mutt_save_attachment (FILE *, BODY *, char *, int, HEADER *); @@ -52,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 */