NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
type.c File Reference

Menu types. More...

#include "config.h"
#include <stddef.h>
#include "mutt/lib.h"
#include "type.h"
+ Include dependency graph for type.c:

Go to the source code of this file.

Variables

const struct Mapping MenuNames []
 Menu name lookup table.
 
const int MenuNamesLen = mutt_array_size(MenuNames) - 1
 Number of entries in the MenuNames array.
 

Detailed Description

Menu types.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file type.c.

Variable Documentation

◆ MenuNames

const struct Mapping MenuNames[]
Initial value:
= {
{ "alias", MENU_ALIAS },
{ "attach", MENU_ATTACHMENT },
{ "autocrypt", MENU_AUTOCRYPT },
{ "browser", MENU_FOLDER },
{ "compose", MENU_COMPOSE },
{ "dialog", MENU_DIALOG },
{ "editor", MENU_EDITOR },
{ "index", MENU_INDEX },
{ "pager", MENU_PAGER },
{ "postpone", MENU_POSTPONED },
{ "pgp", MENU_PGP },
{ "smime", MENU_SMIME },
{ "key_select_pgp", MENU_KEY_SELECT_PGP },
{ "key_select_smime", MENU_KEY_SELECT_SMIME },
{ "query", MENU_QUERY },
{ "generic", MENU_GENERIC },
{ NULL, 0 },
}
@ 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

Menu name lookup table.

Definition at line 37 of file type.c.

◆ MenuNamesLen

const int MenuNamesLen = mutt_array_size(MenuNames) - 1

Number of entries in the MenuNames array.

Definition at line 64 of file type.c.