dead code
[apps/madmutt.git] / recvattach.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
4  *
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.
8  */
9 #ifndef _MUTT_RECVATTACH_H
10 #define _MUTT_RECVATTACH_H
11
12 #include <lib-mime/mime-types.h>
13
14 #include <lib-ui/menu.h>
15
16 #include "mutt.h"
17 #include "attach.h"
18
19 void mutt_update_tree (ATTACHPTR **, short);
20
21 ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *,
22                                   int, int);
23
24 const char *mutt_attach_fmt (char *dest,
25                              ssize_t destlen,
26                              char op,
27                              const char *src,
28                              const char *prefix,
29                              const char *ifstring,
30                              const char *elsestring,
31                              unsigned long data, format_flag flags);
32
33 int mutt_tag_attach (MUTTMENU * menu, int n, int m);
34
35 int mutt_is_message_type (int, const char *);
36
37 void mutt_save_attachment_list (FILE * fp, int tag, BODY * top, HEADER * hdr,
38                                 MUTTMENU * menu);
39
40 void mutt_pipe_attachment_list (FILE * fp, int tag, BODY * top, int filter);
41 void mutt_print_attachment_list (FILE * fp, int tag, BODY * top);
42
43 int mutt_attach_display_loop (MUTTMENU * menu, int op, FILE * fp,
44                               HEADER * hdr, BODY * cur, ATTACHPTR *** idxp,
45                               short *idxlen, short *idxmax, int recv);
46
47 void mutt_attach_init (BODY *);
48
49 void mutt_view_attachments (HEADER *);
50
51 #endif /* !_MUTT_RECVATTACH_H */