* Deactivate some color code from Pico (as standalone editor) until
[alpine.git] / alpine / mailpart.h
blobf57f018b43c0094fe48634b1f989e78e3692b705
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-2017 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"
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 int dispatch_attachment(ATTACH_S *);
38 #ifdef _WINDOWS
39 void display_att_window(ATTACH_S *);
40 #endif
43 #endif /* PINE_MAILPART_INCLUDED */