Prototype for a Pattern Function.
More...
Prototype for a Pattern Function.
- Parameters
-
menu | Menu |
op | Operation to perform, e.g. OP_GENERIC_SELECT_ENTRY |
- Return values
-
◆ op_generic_select_entry()
static int op_generic_select_entry |
( |
struct PatternData * |
pd, |
|
|
int |
op |
|
) |
| |
|
static |
Select the current entry - Implements pattern_function_t -.
Definition at line 40 of file functions.c.
41{
45
49}
@ FR_SUCCESS
Valid function - successfully performed.
size_t mutt_str_copy(char *dest, const char *src, size_t dsize)
Copy a string into a buffer (guaranteeing NUL-termination)
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.
◆ op_quit()