NeoMutt  2023-05-17-33-gce4425
Teaching an old dog new tricks
DOXYGEN
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
33{
34 struct ConfigSubset *sub;
35 struct Mailbox *mailbox;
36 struct Email *email;
38 struct ComposeEnvelopeData *edata;
39
40 struct Buffer *fcc;
41 int flags;
42 bool fcc_set;
43 int rc;
44#ifdef USE_NNTP
45 bool news;
46#endif
47};
48
49struct MuttWindow;
50
51void compose_shared_data_free(struct MuttWindow *win, void **ptr);
53
54#endif /* MUTT_COMPOSE_SHARED_DATA_H */
struct ComposeSharedData * compose_shared_data_new(void)
Free the compose shared data.
Definition: shared_data.c:45
void compose_shared_data_free(struct MuttWindow *win, void **ptr)
Create the compose shared data - Implements MuttWindow::wdata_free() -.
Definition: shared_data.c:36
String manipulation buffer.
Definition: buffer.h:34
Data to fill the Compose Attach Window.
Definition: attach_data.h:33
Shared Compose Data.
Definition: shared_data.h:33
bool news
Email is a news article.
Definition: shared_data.h:45
struct ConfigSubset * sub
Config set to use.
Definition: shared_data.h:34
struct Mailbox * mailbox
Current Mailbox.
Definition: shared_data.h:35
struct ComposeEnvelopeData * edata
Envelope data.
Definition: shared_data.h:38
int flags
Flags, e.g. MUTT_COMPOSE_NOFREEHEADER.
Definition: shared_data.h:41
bool fcc_set
User has edited the Fcc: field.
Definition: shared_data.h:42
int rc
Return code to leave compose.
Definition: shared_data.h:43
struct ComposeAttachData * adata
Attachments.
Definition: shared_data.h:37
struct Email * email
Email being composed.
Definition: shared_data.h:36
struct Buffer * fcc
Buffer to save FCC.
Definition: shared_data.h:40
A set of inherited config items.
Definition: subset.h:47
The envelope/body of an email.
Definition: email.h:37
A mailbox.
Definition: mailbox.h:79