Prototype for a Pattern Function.
More...
Prototype for a Pattern Function.
- Parameters
-
| menu | Menu |
| event | Event to process |
- Return values
-
- Precondition
- menu is not NULL
-
event is not NULL
◆ op_generic_select_entry()
Select the current entry - Implements pattern_function_t -.
Definition at line 43 of file functions.c.
44{
47
48 if (entry)
50
54}
#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.
@ FR_SUCCESS
Valid function - successfully performed.
struct Menu * menu
Pattern Menu.
struct PatternEntryArray entries
Patterns for the Menu.
bool done
Should we close the Dialog?
struct Buffer * buf
Buffer for the results.
bool selection
Was a selection made?
A line in the Pattern Completion menu.
const char * tag
Copied to buffer if selected.
◆ op_quit()