NeoMutt  2025-09-05-55-g97fc89
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
type.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include <stddef.h>
31#include "mutt/lib.h"
32#include "type.h"
33
37const struct Mapping MenuNames[] = {
38 // clang-format off
39 { "alias", MENU_ALIAS },
40 { "attach", MENU_ATTACHMENT },
41#ifdef USE_AUTOCRYPT
42 { "autocrypt", MENU_AUTOCRYPT },
43#endif
44 { "browser", MENU_BROWSER },
45 { "compose", MENU_COMPOSE },
46 { "dialog", MENU_DIALOG },
47 { "editor", MENU_EDITOR },
48 { "index", MENU_INDEX },
49 { "pager", MENU_PAGER },
50 { "postpone", MENU_POSTPONED },
51 { "pgp", MENU_PGP },
52 { "smime", MENU_SMIME },
53 { "query", MENU_QUERY },
54 { "generic", MENU_GENERIC },
55 { NULL, 0 },
56 // clang-format on
57};
Convenience wrapper for the library headers.
Mapping between user-readable string and a constant.
Definition mapping.h:33
const struct Mapping MenuNames[]
Menu name lookup table.
Definition type.c:37
Menu types.
@ MENU_INDEX
Index panel (list of emails)
Definition type.h:46
@ MENU_DIALOG
Simple Dialog.
Definition type.h:43
@ MENU_QUERY
Select from results of external query.
Definition type.h:50
@ MENU_BROWSER
General file/mailbox browser.
Definition type.h:41
@ MENU_AUTOCRYPT
Autocrypt Account menu.
Definition type.h:39
@ MENU_COMPOSE
Compose an email.
Definition type.h:42
@ MENU_ATTACHMENT
Select an attachment.
Definition type.h:37
@ MENU_PGP
PGP encryption menu.
Definition type.h:48
@ MENU_GENERIC
Generic selection list.
Definition type.h:45
@ MENU_PAGER
Pager pager (email viewer)
Definition type.h:47
@ MENU_SMIME
SMIME encryption menu.
Definition type.h:51
@ MENU_EDITOR
Text entry area.
Definition type.h:44
@ MENU_ALIAS
Select an email address by its alias.
Definition type.h:36
@ MENU_POSTPONED
Select a postponed email.
Definition type.h:49