* For a calendar entry with method PUBLISH, we show all entries in the calendar.
[alpine.git] / alpine / mailpart.h
blobee9e63828e42cf5594c4e297aba21ede04b3807b
1 /*
2 * $Id: mailpart.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2007 University of Washington
6 * Copyright 2013-2018 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_MAILPART_INCLUDED
18 #define PINE_MAILPART_INCLUDED
21 #include "../pith/mailpart.h"
22 #include "context.h"
23 #include "../pith/state.h"
24 #include "../pith/icaltype.h"
26 #define DA_SAVE 0x01 /* flags used by display_attachment */
27 #define DA_FROM_VIEW 0x02 /* see mailpart.c */
28 #define DA_RESIZE 0x04
29 #define DA_DIDPROMPT 0x08 /* Already prompted to view att */
32 /* exported protoypes */
33 void attachment_screen(struct pine *);
34 void write_attachment(int, long, ATTACH_S *, char *);
35 int write_attachment_to_file(MAILSTREAM *, long, ATTACH_S *, int, char *);
36 int display_attachment(long, ATTACH_S *, int);
37 void display_vevent_summary(long, ATTACH_S *, int, int);
38 int dispatch_attachment(ATTACH_S *);
39 #ifdef _WINDOWS
40 void display_att_window(ATTACH_S *);
41 #endif
44 #endif /* PINE_MAILPART_INCLUDED */