Prototype for a Postpone Function.
More...
Prototype for a Postpone Function.
- Parameters
-
menu | Menu |
op | Operation to perform, e.g. OP_DELETE |
- Return values
-
◆ op_delete()
Delete the current entry - Implements postpone_function_t -.
Definition at line 73 of file functions.c.
74{
78
80
84 if (c_resolve && (index < (menu->
max - 1)))
85 {
88 {
91 }
92 }
93 else
94 {
96 }
97
99}
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.
@ MUTT_DELETE
Messages to be deleted.
short PostCount
Number of postponed (draft) emails.
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()
static int op_generic_select_entry |
( |
struct PostponeData * |
pd, |
|
|
int |
op |
|
) |
| |
|
static |
◆ op_search()
Search for a regular expression - Implements postpone_function_t -.
Definition at line 126 of file functions.c.
127{
129 switch (op)
130 {
131 case OP_SEARCH:
134 break;
135 case OP_SEARCH_REVERSE:
138 break;
139 case OP_SEARCH_NEXT:
140 break;
141 case OP_SEARCH_OPPOSITE:
143 break;
144 }
145
149 if (index != -1)
151
153}
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