NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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_ATTACHMENT },
41#ifdef USE_AUTOCRYPT
42 { "autocrypt", MENU_AUTOCRYPT },
43#endif
44 { "browser", MENU_FOLDER },
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#ifdef CRYPT_BACKEND_GPGME
54 { "key_select_pgp", MENU_KEY_SELECT_PGP },
55 { "key_select_smime", MENU_KEY_SELECT_SMIME },
56#endif
57 { "query", MENU_QUERY },
58 { "generic", MENU_GENERIC },
59 { NULL, 0 },
60 // clang-format on
61};
62
#define mutt_array_size(x)
Definition: memory.h:38
Convenience wrapper for the library headers.
Mapping between user-readable string and a constant.
Definition: mapping.h:33
const int MenuNamesLen
Number of entries in the MenuNames array.
Definition: type.c:64
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:48
@ MENU_INDEX
Index panel (list of emails)
Definition: type.h:51
@ MENU_DIALOG
Simple Dialog.
Definition: type.h:43
@ MENU_KEY_SELECT_SMIME
Select a SMIME key.
Definition: type.h:49
@ MENU_QUERY
Select from results of external query.
Definition: type.h:55
@ MENU_AUTOCRYPT
Autocrypt Account menu.
Definition: type.h:40
@ MENU_COMPOSE
Compose an email.
Definition: type.h:42
@ MENU_ATTACHMENT
Select an attachment.
Definition: type.h:38
@ MENU_PGP
PGP encryption menu.
Definition: type.h:53
@ MENU_GENERIC
Generic selection list.
Definition: type.h:46
@ MENU_PAGER
Pager pager (email viewer)
Definition: type.h:52
@ MENU_SMIME
SMIME encryption menu.
Definition: type.h:56
@ MENU_EDITOR
Text entry area.
Definition: type.h:44
@ MENU_ALIAS
Select an email address by its alias.
Definition: type.h:37
@ MENU_FOLDER
General file/mailbox browser.
Definition: type.h:45
@ MENU_POSTPONED
Select a postponed email.
Definition: type.h:54