32#include "docs/makedoc_defs.h"
54 {
"delete-entry", OP_DELETE },
55 {
"undelete-entry", OP_UNDELETE },
84 if (c_resolve && (index < (menu->
max - 1)))
135 case OP_SEARCH_REVERSE:
141 case OP_SEARCH_OPPOSITE:
179 if (!win || !win->
wdata)
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
struct MuttWindow * dialog_find(struct MuttWindow *win)
Find the parent Dialog of a Window.
const char * dispatcher_get_retval_name(int rv)
Get the name of a return value.
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_UNKNOWN
Unknown function.
@ FR_ERROR
Valid function - error occurred.
void mutt_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox)
Set a flag on an email.
static int op_delete(struct AliasMenuData *mdata, int op)
delete the current entry - Implements alias_function_t -
static int op_generic_select_entry(struct AliasMenuData *mdata, int op)
select the current entry - Implements alias_function_t -
static int op_exit(struct AliasMenuData *mdata, int op)
exit this menu - Implements alias_function_t -
static int op_search(struct AliasMenuData *mdata, int op)
search for a regular expression - Implements alias_function_t -
int postpone_function_dispatcher(struct MuttWindow *win, int op)
Perform a Postpone function - Implements function_dispatcher_t -.
#define mutt_debug(LEVEL,...)
Convenience wrapper for the gui headers.
@ LL_DEBUG1
Log at debug level 1.
Convenience wrapper for the library headers.
Many unsorted constants and some structs.
@ MUTT_DELETE
Messages to be deleted.
const char * opcodes_get_name(int op)
Get the name of an opcode.
Match patterns to emails.
int mutt_search_command(struct MailboxView *mv, struct Menu *menu, int cur, struct SearchState *state, SearchFlags flags)
Perform a search.
const struct MenuFuncOp OpPostponed[]
Functions for the Postpone Menu.
const struct MenuOpSeq PostponedDefaultBindings[]
Key bindings for the Postpone Menu.
struct MailboxView * postponed_get_mailbox_view(struct MuttWindow *dlg)
Extract the Mailbox from the Postponed Dialog.
static const struct PostponeFunction PostponeFunctions[]
All the NeoMutt functions that the Postpone supports.
short PostCount
Number of postponed (draft) emails.
Prototypes for many functions.
#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 Mailbox * mailbox
Current Mailbox.
int msg_count
Total number of messages.
struct Email ** emails
Array of Emails.
int msg_deleted
Number of deleted messages.
void * wdata
Private data.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
Data to pass to the Postpone Functions.
struct Email * email
Selected Email.
struct SearchState * search_state
State of the current search.
bool done
Should we close the Dialog?
struct MailboxView * mailbox_view
Postponed Mailbox view.
struct Menu * menu
Postponed Menu.
postpone_function_t function
Function to call.
int op
Op code, e.g. OP_DELETE.
bool reverse
search backwards