83 if (!dlg || !dlg->
wdata)
#define ARRAY_GET(head, idx)
Return the element at index.
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
Convenience wrapper for the core headers.
struct MuttWindow * dialog_find(struct MuttWindow *win)
Find the parent Dialog of a Window.
const char * dispatcher_get_retval_name(int rv)
Get the name of a return value.
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_UNKNOWN
Unknown function.
@ FR_ERROR
Valid function - error occurred.
static int op_generic_select_entry(struct AliasMenuData *mdata, int op)
select the current entry - Implements alias_function_t -
int history_function_dispatcher(struct MuttWindow *win, int op)
Perform a History function - Implements function_dispatcher_t -.
static int op_quit(struct HistoryData *hd, int op)
Quit this menu - Implements history_function_t -.
#define mutt_debug(LEVEL,...)
Convenience wrapper for the gui headers.
static const struct HistoryFunction HistoryFunctions[]
All the NeoMutt functions that the History supports.
@ LL_DEBUG1
Log at debug level 1.
Convenience wrapper for the library headers.
const char * opcodes_get_name(int op)
Get the name of an opcode.
Data to pass to the History Functions.
struct Menu * menu
History Menu.
struct Buffer * buf
Buffer for the results.
struct HistoryArray * matches
History entries.
bool done
Should we close the Dialog?
bool selection
Was a selection made?
history_function_t function
Function to call.
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
void * wdata
Private data.