NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_HISTORY_FUNCTIONS_H
24#define MUTT_HISTORY_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct MuttWindow;
29
34{
35 bool done;
36 bool selection;
37 struct Buffer *buf;
38 struct Menu *menu;
39 struct StringArray *matches;
40};
41
52typedef int (*history_function_t)(struct HistoryData *pd, int op);
53
62
63int history_function_dispatcher(struct MuttWindow *win, int op);
64
65#endif /* MUTT_HISTORY_FUNCTIONS_H */
int history_function_dispatcher(struct MuttWindow *win, int op)
Perform a History function - Implements function_dispatcher_t -.
Definition functions.c:79
int(* history_function_t)(struct HistoryData *pd, int op)
Definition functions.h:52
String manipulation buffer.
Definition buffer.h:36
Data to pass to the History Functions.
Definition functions.h:34
struct Menu * menu
History Menu.
Definition functions.h:38
struct Buffer * buf
Buffer for the results.
Definition functions.h:37
struct StringArray * matches
History entries.
Definition functions.h:39
bool done
Should we close the Dialog?
Definition functions.h:35
bool selection
Was a selection made?
Definition functions.h:36
A NeoMutt function.
Definition functions.h:58
history_function_t function
Function to call.
Definition functions.h:60
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
Definition functions.h:59
Definition lib.h:79