Prototype for a Postpone Function.
More...
Prototype for a Postpone Function.
- Parameters
-
| menu | Menu |
| event | Event to process |
- Return values
-
- Precondition
- menu is not NULL
-
event is not NULL
◆ op_delete()
Delete the current entry - Implements postpone_function_t -.
Definition at line 87 of file functions.c.
88{
92
94
98 if (c_resolve && (index < (menu->
max - 1)))
99 {
102 {
105 }
106 }
107 else
108 {
110 }
111
113}
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
@ FR_SUCCESS
Valid function - successfully performed.
void mutt_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox)
Set a flag on an email.
short PostCount
Number of postponed (draft) emails.
@ MUTT_DELETE
Messages to be deleted.
int op
Function opcode, e.g. OP_HELP.
struct Mailbox * mailbox
Current Mailbox.
int msg_count
Total number of messages.
struct Email ** emails
Array of Emails.
int msg_deleted
Number of deleted messages.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
struct MailboxView * mailbox_view
Postponed Mailbox view.
struct Menu * menu
Postponed Menu.
◆ op_exit()
◆ op_generic_select_entry()
◆ op_search()
Search for a regular expression - Implements postpone_function_t -.
Definition at line 140 of file functions.c.
141{
144 {
145 case OP_SEARCH:
148 break;
149 case OP_SEARCH_REVERSE:
152 break;
153 case OP_SEARCH_NEXT:
154 break;
155 case OP_SEARCH_OPPOSITE:
157 break;
158 }
159
163 if (index != -1)
165
167}
int mutt_search_command(struct MailboxView *mv, struct Menu *menu, int cur, struct SearchState *state, SearchFlags flags)
Perform a search.
#define SEARCH_OPPOSITE
Search in the opposite direction.
uint8_t SearchFlags
Flags for a specific search, e.g. SEARCH_PROMPT.
#define SEARCH_NO_FLAGS
No flags are set.
#define SEARCH_PROMPT
Ask for search input.
struct SearchState * search_state
State of the current search.
bool reverse
search backwards