2 * Copyright notice from original mutt:
3 * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
5 * This file is part of mutt-ng, see http://www.muttng.org/.
6 * It's licensed under the GNU General Public License,
7 * please see the file GPL in the top level source directory.
9 #ifndef _MUTT_RECVATTACH_H
10 #define _MUTT_RECVATTACH_H
12 #include "mutt_menu.h"
16 void mutt_update_tree (ATTACHPTR **, short);
18 ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *,
21 const char *mutt_attach_fmt (char *dest,
27 const char *elsestring,
28 unsigned long data, format_flag flags);
30 int mutt_tag_attach (MUTTMENU * menu, int n, int m);
32 int mutt_is_message_type (int, const char *);
34 void mutt_save_attachment_list (FILE * fp, int tag, BODY * top, HEADER * hdr,
37 void mutt_pipe_attachment_list (FILE * fp, int tag, BODY * top, int filter);
38 void mutt_print_attachment_list (FILE * fp, int tag, BODY * top);
40 int mutt_attach_display_loop (MUTTMENU * menu, int op, FILE * fp,
41 HEADER * hdr, BODY * cur, ATTACHPTR *** idxp,
42 short *idxlen, short *idxmax, int recv);
44 void mutt_attach_init (BODY *);
46 void mutt_view_attachments (HEADER *);
48 #endif /* !_MUTT_RECVATTACH_H */