NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
shared_data.h
Go to the documentation of this file.
1
23#ifndef MUTT_COMPOSE_SHARED_DATA_H
24#define MUTT_COMPOSE_SHARED_DATA_H
25
26#include "config.h"
27#include <stdbool.h>
28
29struct MuttWindow;
30
35{
36 struct ConfigSubset *sub;
37 struct Mailbox *mailbox;
38 struct Email *email;
40 struct ComposeEnvelopeData *edata;
41
42 struct Buffer *fcc;
43 int flags;
44 bool fcc_set;
45 int rc;
46 bool news;
47};
48
55{
58};
59
60void compose_shared_data_free(struct MuttWindow *win, void **ptr);
62
63#endif /* MUTT_COMPOSE_SHARED_DATA_H */
struct ComposeSharedData * compose_shared_data_new(void)
Free the compose shared data.
Definition: shared_data.c:48
ExpandoDataCompose
Expando UIDs for Compose.
Definition: shared_data.h:55
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
Definition: shared_data.h:56
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
Definition: shared_data.h:57
void compose_shared_data_free(struct MuttWindow *win, void **ptr)
Free the compose shared data - Implements MuttWindow::wdata_free() -.
Definition: shared_data.c:36
String manipulation buffer.
Definition: buffer.h:36
Data to fill the Compose Attach Window.
Definition: attach_data.h:33
Shared Compose Data.
Definition: shared_data.h:35
bool news
Email is a news article.
Definition: shared_data.h:46
struct ConfigSubset * sub
Config set to use.
Definition: shared_data.h:36
struct Mailbox * mailbox
Current Mailbox.
Definition: shared_data.h:37
struct ComposeEnvelopeData * edata
Envelope data.
Definition: shared_data.h:40
int flags
Flags, e.g. MUTT_COMPOSE_NOFREEHEADER.
Definition: shared_data.h:43
bool fcc_set
User has edited the Fcc: field.
Definition: shared_data.h:44
int rc
Return code to leave compose.
Definition: shared_data.h:45
struct ComposeAttachData * adata
Attachments.
Definition: shared_data.h:39
struct Email * email
Email being composed.
Definition: shared_data.h:38
struct Buffer * fcc
Buffer to save FCC.
Definition: shared_data.h:42
A set of inherited config items.
Definition: subset.h:47
The envelope/body of an email.
Definition: email.h:39
A mailbox.
Definition: mailbox.h:79