NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
type.c
Go to the documentation of this file.
1
23#include "config.h"
24#include <stddef.h>
25#include "mutt/lib.h"
26#include "type.h"
27
31const struct Mapping MenuNames[] = {
32 // clang-format off
33 { "alias", MENU_ALIAS },
34 { "attach", MENU_ATTACH },
35#ifdef USE_AUTOCRYPT
36 { "autocrypt", MENU_AUTOCRYPT_ACCT },
37#endif
38 { "browser", MENU_FOLDER },
39 { "compose", MENU_COMPOSE },
40 { "editor", MENU_EDITOR },
41 { "index", MENU_INDEX },
42 { "pager", MENU_PAGER },
43 { "postpone", MENU_POSTPONE },
44 { "pgp", MENU_PGP },
45 { "smime", MENU_SMIME },
46#ifdef CRYPT_BACKEND_GPGME
47 { "key_select_pgp", MENU_KEY_SELECT_PGP },
48 { "key_select_smime", MENU_KEY_SELECT_SMIME },
49#endif
50#ifdef MIXMASTER
51 { "mix", MENU_MIX },
52#endif
53 { "query", MENU_QUERY },
54 { "generic", MENU_GENERIC },
55 { NULL, 0 },
56 // clang-format on
57};
58
#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:59
const struct Mapping MenuNames[]
Menu name lookup table.
Definition: type.c:31
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