NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_ATTACH_FUNCTIONS_H
24#define MUTT_ATTACH_FUNCTIONS_H
25
27struct MuttWindow;
28
39typedef int (*attach_function_t)(struct AttachPrivateData *priv, int op);
40
45{
46 int op;
48};
49
50int attach_function_dispatcher(struct MuttWindow *win, int op);
51
52extern struct AttachFunction AttachFunctions[];
53
54#endif /* MUTT_ATTACH_FUNCTIONS_H */
struct AttachFunction AttachFunctions[]
All the NeoMutt functions that the Attach supports.
Definition: functions.c:600
int(* attach_function_t)(struct AttachPrivateData *priv, int op)
Definition: functions.h:39
int attach_function_dispatcher(struct MuttWindow *win, int op)
Perform a Attach function - Implements function_dispatcher_t -.
Definition: functions.c:641
A NeoMutt function.
Definition: functions.h:45
attach_function_t function
Function to call.
Definition: functions.h:47
int op
Op code, e.g. OP_ATTACHMENT_COLLAPSE.
Definition: functions.h:46
Private state data for Attachments.
Definition: private_data.h:34
int op
Op returned from the Pager, e.g. OP_NEXT_ENTRY.
Definition: private_data.h:39