NeoMutt  2023-03-22-27-g3cb248
Teaching an old dog new tricks
DOXYGEN
type.c
Go to the documentation of this file.
1
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_ATTACH },
41#ifdef USE_AUTOCRYPT
42 { "autocrypt", MENU_AUTOCRYPT_ACCT },
43#endif
44 { "browser", MENU_FOLDER },
45 { "compose", MENU_COMPOSE },
46 { "editor", MENU_EDITOR },
47 { "index", MENU_INDEX },
48 { "pager", MENU_PAGER },
49 { "postpone", MENU_POSTPONE },
50 { "pgp", MENU_PGP },
51 { "smime", MENU_SMIME },
52#ifdef CRYPT_BACKEND_GPGME
53 { "key_select_pgp", MENU_KEY_SELECT_PGP },
54 { "key_select_smime", MENU_KEY_SELECT_SMIME },
55#endif
56#ifdef MIXMASTER
57 { "mix", MENU_MIX },
58#endif
59 { "query", MENU_QUERY },
60 { "generic", MENU_GENERIC },
61 { NULL, 0 },
62 // clang-format on
63};
64
#define mutt_array_size(x)
Definition: memory.h:36
Convenience wrapper for the library headers.
Mapping between user-readable string and a constant.
Definition: mapping.h:32
const int MenuNamesLen
Definition: type.c:65
const struct Mapping MenuNames[]
Menu name lookup table.
Definition: type.c:37
Menu types.
@ MENU_KEY_SELECT_PGP
Select a PGP key.
Definition: type.h:47
@ MENU_INDEX
Index panel (list of emails)
Definition: type.h:50
@ MENU_KEY_SELECT_SMIME
Select a SMIME key.
Definition: type.h:48
@ MENU_ATTACH
Select an attachment.
Definition: type.h:38
@ MENU_QUERY
Select from results of external query.
Definition: type.h:57
@ MENU_COMPOSE
Compose an email.
Definition: type.h:42
@ MENU_MIX
Create/edit a Mixmaster chain.
Definition: type.h:52
@ MENU_PGP
PGP encryption menu.
Definition: type.h:55
@ MENU_GENERIC
Generic selection list.
Definition: type.h:45
@ MENU_PAGER
Pager pager (email viewer)
Definition: type.h:54
@ MENU_SMIME
SMIME encryption menu.
Definition: type.h:58
@ MENU_EDITOR
Text entry area.
Definition: type.h:43
@ MENU_POSTPONE
Select a postponed email.
Definition: type.h:56
@ MENU_ALIAS
Select an email address by its alias.
Definition: type.h:37
@ MENU_FOLDER
General file/mailbox browser.
Definition: type.h:44
@ MENU_AUTOCRYPT_ACCT
Autocrypt Account menu.
Definition: type.h:40