NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
private_data.h
Go to the documentation of this file.
1
23
24
#ifndef MUTT_ATTACH_PRIVATE_DATA_H
25
#define MUTT_ATTACH_PRIVATE_DATA_H
26
27
#include <stdbool.h>
28
29
struct
Menu
;
30
34
struct
AttachPrivateData
35
{
36
struct
Menu
*
menu
;
37
struct
AttachCtx
*
actx
;
38
struct
ConfigSubset
*
sub
;
39
struct
Mailbox
*
mailbox
;
40
int
op
;
41
bool
attach_msg
;
42
};
43
44
void
attach_private_data_free
(
struct
Menu
*menu,
void
**ptr);
45
struct
AttachPrivateData
*
attach_private_data_new
(
void
);
46
47
#endif
/* MUTT_ATTACH_PRIVATE_DATA_H */
attach_private_data_new
struct AttachPrivateData * attach_private_data_new(void)
Create new Attach Data.
Definition
private_data.c:50
attach_private_data_free
void attach_private_data_free(struct Menu *menu, void **ptr)
Free the Attach Data - Implements Menu::mdata_free() -.
Definition
private_data.c:38
AttachCtx
A set of attachments.
Definition
attach.h:65
AttachPrivateData
Private state data for Attachments.
Definition
private_data.h:35
AttachPrivateData::op
int op
Op returned from the Pager, e.g. OP_NEXT_ENTRY.
Definition
private_data.h:40
AttachPrivateData::menu
struct Menu * menu
Current Menu.
Definition
private_data.h:36
AttachPrivateData::sub
struct ConfigSubset * sub
Config subset.
Definition
private_data.h:38
AttachPrivateData::actx
struct AttachCtx * actx
List of all Attachments.
Definition
private_data.h:37
AttachPrivateData::attach_msg
bool attach_msg
Are we in "attach message" mode?
Definition
private_data.h:41
AttachPrivateData::mailbox
struct Mailbox * mailbox
Current Mailbox.
Definition
private_data.h:39
ConfigSubset
A set of inherited config items.
Definition
subset.h:46
Mailbox
A mailbox.
Definition
mailbox.h:81
Menu
Definition
lib.h:86