Prototype for a History Function.
More...
Prototype for a History 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 history_function_t -.
Definition at line 41 of file functions.c.
42{
44
46 if (pentry)
48
52}
#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 StringArray * matches
History entries.
bool done
Should we close the Dialog?
bool selection
Was a selection made?
◆ op_quit()