Prototype for a History Function.
More...
Prototype for a History 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 HistoryData * |
hd, |
|
|
int |
op |
|
) |
| |
|
static |
Select the current entry - Implements history_function_t -.
Definition at line 39 of file functions.c.
40{
42
44 if (pentry)
46
50}
#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
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?
◆ op_quit()