23#ifndef MUTT_MLIST_FUNCTIONS_H
24#define MUTT_MLIST_FUNCTIONS_H
#define ARRAY_HEAD(name, T)
Define a named struct for arrays of elements of a certain type.
Structs that make up an email.
int mlist_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a List dialog function - Implements function_dispatcher_t -.
const int ListActionsCount
Number of entries in ListActions.
const struct ListAction ListActions[]
Mailing-list actions shown in the dialog.
int(* mlist_function_t)(struct ListData *ld, const struct KeyEvent *event)
bool mlist_open_url(const char *url)
struct ListHead * mlist_action_value(struct Rfc2369ListHeaders *headers, const struct ListAction *action)
Get the stored value for a mailing-list action.
Convenience wrapper for the library headers.
An event such as a keypress.
A mailing-list action in the dialog.
const char * name
Label for the action.
size_t offset
Offset into struct Rfc2369ListHeaders.
Private data for the Mailing-list action dialog.
int label_width
Width of the longest action label.
struct Menu * menu
Dialog menu.
struct Mailbox * mailbox
Source mailbox.
struct ListEntryArray entries
Menu rows.
struct Rfc2369ListHeaders headers
Parsed List-* headers.
bool done
Exit the dialog.
A mailing-list action in the dialog.
const char * value
URI to use.
const struct ListAction * action
Action definition.
mlist_function_t function
Function to call.
int op
Op code, e.g. OP_QUIT.