NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
shared_data.h
Go to the documentation of this file.
1
24#ifndef MUTT_COMPOSE_SHARED_DATA_H
25#define MUTT_COMPOSE_SHARED_DATA_H
26
27#include "config.h"
28#include <stdbool.h>
29
30struct MuttWindow;
31
36{
37 struct ConfigSubset *sub;
38 struct Mailbox *mailbox;
39 struct Email *email;
44
45 struct Buffer *fcc;
46 int flags;
47 bool fcc_set;
48 int rc;
49};
50
57{
60};
61
62void compose_shared_data_free(struct MuttWindow *win, void **ptr);
64
65#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:57
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
Definition: shared_data.h:58
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
Definition: shared_data.h:59
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:36
struct ConfigSubset * sub
Config set to use.
Definition: shared_data.h:37
struct Mailbox * mailbox
Current Mailbox.
Definition: shared_data.h:38
int flags
Flags, e.g. MUTT_COMPOSE_NOFREEHEADER.
Definition: shared_data.h:46
struct MuttWindow * win_preview
Message preview window.
Definition: shared_data.h:42
struct MuttWindow * win_preview_bar
Status bar divider above preview.
Definition: shared_data.h:43
bool fcc_set
User has edited the Fcc: field.
Definition: shared_data.h:47
int rc
Return code to leave compose.
Definition: shared_data.h:48
struct ComposeAttachData * adata
Attachments.
Definition: shared_data.h:40
struct Email * email
Email being composed.
Definition: shared_data.h:39
struct MuttWindow * win_attach_bar
Status bar divider above attachments.
Definition: shared_data.h:41
struct Buffer * fcc
Buffer to save FCC.
Definition: shared_data.h:45
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