Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (46 sloc) 2.146 kb
14c2920 Imported Upstream version 1.5.18
Antonio Radici authored
1 /*
2 * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19 /* common protos for compose / attach menus */
20
21 #ifndef _ATTACH_H_
22 #define _ATTACH_H_ 1
23
24 #include "mutt_menu.h"
25
26 typedef struct attachptr
27 {
28 BODY *content;
29 int parent_type;
30 char *tree;
31 int level;
32 int num;
33 unsigned int unowned : 1; /* don't unlink on detach */
34 } ATTACHPTR;
35
36 ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *,
37 int, int);
38 void mutt_update_tree (ATTACHPTR **, short);
39 int mutt_view_attachment (FILE*, BODY *, int, HEADER *, ATTACHPTR **, short);
40
41 int mutt_tag_attach (MUTTMENU *menu, int n, int m);
42 int mutt_attach_display_loop (MUTTMENU *menu, int op, FILE *fp, HEADER *hdr,
43 BODY *cur, ATTACHPTR ***idxp, short *idxlen, short *idxmax,
44 int recv);
45
46
47 void mutt_save_attachment_list (FILE *fp, int tag, BODY *top, HEADER *hdr, MUTTMENU *menu);
48 void mutt_pipe_attachment_list (FILE *fp, int tag, BODY *top, int filter);
49 void mutt_print_attachment_list (FILE *fp, int tag, BODY *top);
50
51 void mutt_attach_bounce (FILE *, HEADER *, ATTACHPTR **, short, BODY *);
52 void mutt_attach_resend (FILE *, HEADER *, ATTACHPTR **, short, BODY *);
53 void mutt_attach_forward (FILE *, HEADER *, ATTACHPTR **, short, BODY *);
54 void mutt_attach_reply (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int);
55
56 #endif /* _ATTACH_H_ */
Something went wrong with that request. Please try again.