79 if (!win || !win->
wdata)
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 pattern_function_dispatcher(struct MuttWindow *win, int op)
Perform a Pattern 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.
@ LL_DEBUG1
Log at debug level 1.
Convenience wrapper for the library headers.
size_t mutt_str_copy(char *dest, const char *src, size_t dsize)
Copy a string into a buffer (guaranteeing NUL-termination)
const char * opcodes_get_name(int op)
Get the name of an opcode.
static const struct PatternFunction PatternFunctions[]
All the NeoMutt functions that the Pattern supports.
void * wdata
Private data.
Data to pass to the Pattern Functions.
char * buf
Buffer for the results.
struct Menu * menu
Pattern Menu.
bool done
Should we close the Dialog?
size_t buflen
Length of the results buffer.
bool selection
Was a selection made?
A line in the Pattern Completion menu.
const char * tag
Copied to buffer if selected.
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
pattern_function_t function
Function to call.