NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_ENVELOPE_FUNCTIONS_H
24#define MUTT_ENVELOPE_FUNCTIONS_H
25
26struct MuttWindow;
28
39typedef int (*envelope_function_t)(struct EnvelopeWindowData *wdata, int op);
40
45{
46 int op;
48};
49
50int env_function_dispatcher(struct MuttWindow *win, int op);
51void update_crypt_info(struct EnvelopeWindowData *wdata);
52
54
55#endif /* MUTT_ENVELOPE_FUNCTIONS_H */
struct EnvelopeFunction EnvelopeFunctions[]
All the NeoMutt functions that the Envelope supports.
Definition: functions.c:526
int(* envelope_function_t)(struct EnvelopeWindowData *wdata, int op)
Definition: functions.h:39
void update_crypt_info(struct EnvelopeWindowData *wdata)
Update the crypto info.
Definition: functions.c:146
int env_function_dispatcher(struct MuttWindow *win, int op)
Perform an Envelope function - Implements function_dispatcher_t -.
Definition: functions.c:559
A NeoMutt Envelope function.
Definition: functions.h:45
int op
Op code, e.g. OP_ENVELOPE_EDIT_FROM.
Definition: functions.h:46
envelope_function_t function
Function to call.
Definition: functions.h:47
Data to fill the Envelope Window.
Definition: wdata.h:39