NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
wdata.h
Go to the documentation of this file.
1
23#ifndef MUTT_ENVELOPE_WDATA_H
24#define MUTT_ENVELOPE_WDATA_H
25
26#include <stdbool.h>
27#include "config.h"
28#include "mutt/lib.h"
29#ifdef USE_AUTOCRYPT
30#include "autocrypt/lib.h"
31#endif
32
33struct MuttWindow;
34
39{
40 struct ConfigSubset *sub;
41 struct Email *email;
42 struct Buffer *fcc;
43
44 struct ListHead to_list;
45 struct ListHead cc_list;
46 struct ListHead bcc_list;
47
48 short to_rows;
49 short cc_rows;
50 short bcc_rows;
51 short sec_rows;
52
53#ifdef USE_NNTP
54 bool is_news;
55#endif
56#ifdef USE_AUTOCRYPT
58#endif
59};
60
61void env_wdata_free(struct MuttWindow *win, void **ptr);
63
64#endif /* MUTT_ENVELOPE_WDATA_H */
Autocrypt end-to-end encryption.
AutocryptRec
Recommendation.
Definition: lib.h:157
struct EnvelopeWindowData * env_wdata_new(void)
Create new Envelope Data.
Definition: wdata.c:55
void env_wdata_free(struct MuttWindow *win, void **ptr)
Free the Envelope Data - Implements MuttWindow::wdata_free() -.
Definition: wdata.c:39
Convenience wrapper for the library headers.
String manipulation buffer.
Definition: buffer.h:34
A set of inherited config items.
Definition: subset.h:47
The envelope/body of an email.
Definition: email.h:37
Data to fill the Envelope Window.
Definition: wdata.h:39
struct ListHead cc_list
'Cc:' list of addresses
Definition: wdata.h:45
bool is_news
Email is a news article.
Definition: wdata.h:54
struct ListHead bcc_list
'Bcc:' list of addresses
Definition: wdata.h:46
struct Buffer * fcc
Where the outgoing Email will be saved.
Definition: wdata.h:42
struct Email * email
Email being composed.
Definition: wdata.h:41
short sec_rows
Number of rows used by the security fields.
Definition: wdata.h:51
short cc_rows
Number of rows used by the 'Cc:' field.
Definition: wdata.h:49
struct ConfigSubset * sub
Inherited config items.
Definition: wdata.h:40
enum AutocryptRec autocrypt_rec
Autocrypt recommendation.
Definition: wdata.h:57
struct ListHead to_list
'To:' list of addresses
Definition: wdata.h:44
short to_rows
Number of rows used by the 'To:' field.
Definition: wdata.h:48
short bcc_rows
Number of rows used by the 'Bcc:' field.
Definition: wdata.h:50