NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
shared_data.h
Go to the documentation of this file.
1
23
24
#ifndef MUTT_COMPOSE_SHARED_DATA_H
25
#define MUTT_COMPOSE_SHARED_DATA_H
26
27
#include <stdbool.h>
28
29
struct
MuttWindow
;
30
34
struct
ComposeSharedData
35
{
36
struct
ConfigSubset
*
sub
;
37
struct
Mailbox
*
mailbox
;
38
struct
Email
*
email
;
39
struct
ComposeAttachData
*
adata
;
40
struct
MuttWindow
*
win_attach_bar
;
41
struct
MuttWindow
*
win_preview
;
42
struct
MuttWindow
*
win_preview_bar
;
43
44
struct
Buffer
*
fcc
;
45
int
flags
;
46
bool
fcc_set
;
47
int
rc
;
48
};
49
55
enum
ExpandoDataCompose
56
{
57
ED_COM_ATTACH_COUNT
= 1,
58
ED_COM_ATTACH_SIZE
,
59
ED_COM_SPELLING_FILE
,
60
};
61
62
void
compose_shared_data_free
(
struct
MuttWindow
*win,
void
**ptr);
63
struct
ComposeSharedData
*
compose_shared_data_new
(
void
);
64
65
#endif
/* MUTT_COMPOSE_SHARED_DATA_H */
compose_shared_data_new
struct ComposeSharedData * compose_shared_data_new(void)
Free the compose shared data.
Definition
shared_data.c:48
ExpandoDataCompose
ExpandoDataCompose
Expando UIDs for Compose.
Definition
shared_data.h:56
ED_COM_SPELLING_FILE
@ ED_COM_SPELLING_FILE
Spelling command's filename.
Definition
shared_data.h:59
ED_COM_ATTACH_COUNT
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments().
Definition
shared_data.h:57
ED_COM_ATTACH_SIZE
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size().
Definition
shared_data.h:58
compose_shared_data_free
void compose_shared_data_free(struct MuttWindow *win, void **ptr)
Free the compose shared data - Implements MuttWindow::wdata_free() -.
Definition
shared_data.c:36
Buffer
String manipulation buffer.
Definition
buffer.h:36
ComposeAttachData
Data to fill the Compose Attach Window.
Definition
attach_data.h:33
ComposeSharedData
Shared Compose Data.
Definition
shared_data.h:35
ComposeSharedData::sub
struct ConfigSubset * sub
Config set to use.
Definition
shared_data.h:36
ComposeSharedData::mailbox
struct Mailbox * mailbox
Current Mailbox.
Definition
shared_data.h:37
ComposeSharedData::flags
int flags
Flags, e.g. MUTT_COMPOSE_NOFREEHEADER.
Definition
shared_data.h:45
ComposeSharedData::win_preview
struct MuttWindow * win_preview
Message preview window.
Definition
shared_data.h:41
ComposeSharedData::win_preview_bar
struct MuttWindow * win_preview_bar
Status bar divider above preview.
Definition
shared_data.h:42
ComposeSharedData::fcc_set
bool fcc_set
User has edited the Fcc: field.
Definition
shared_data.h:46
ComposeSharedData::rc
int rc
Return code to leave compose.
Definition
shared_data.h:47
ComposeSharedData::adata
struct ComposeAttachData * adata
Attachments.
Definition
shared_data.h:39
ComposeSharedData::email
struct Email * email
Email being composed.
Definition
shared_data.h:38
ComposeSharedData::win_attach_bar
struct MuttWindow * win_attach_bar
Status bar divider above attachments.
Definition
shared_data.h:40
ComposeSharedData::fcc
struct Buffer * fcc
Buffer to save FCC.
Definition
shared_data.h:44
ConfigSubset
A set of inherited config items.
Definition
subset.h:46
Email
The envelope/body of an email.
Definition
email.h:39
Mailbox
A mailbox.
Definition
mailbox.h:81
MuttWindow
Definition
mutt_window.h:129