NeoMutt  2024-11-14-34-g5aaf0d
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
41 struct Buffer *fcc;
42 int flags;
43 bool fcc_set;
44 int rc;
45};
46
53{
56};
57
58void compose_shared_data_free(struct MuttWindow *win, void **ptr);
60
61#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:53
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
Definition: shared_data.h:54
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
Definition: shared_data.h:55
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
struct ConfigSubset * sub
Config set to use.
Definition: shared_data.h:36
struct Mailbox * mailbox
Current Mailbox.
Definition: shared_data.h:37
int flags
Flags, e.g. MUTT_COMPOSE_NOFREEHEADER.
Definition: shared_data.h:42
bool fcc_set
User has edited the Fcc: field.
Definition: shared_data.h:43
int rc
Return code to leave compose.
Definition: shared_data.h:44
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:41
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