NeoMutt  2021-10-22-8-g9cb437
Teaching an old dog new tricks
DOXYGEN
mutt_globals.h
Go to the documentation of this file.
1 
29 #ifndef MUTT_GLOBALS_H
30 #define MUTT_GLOBALS_H
31 
32 #include "config.h"
33 #include <signal.h> // IWYU pragma: keep
34 #include <stdbool.h>
35 #include "mutt/lib.h"
36 #include "menu/lib.h"
37 #include "where.h"
38 
39 #ifdef MAIN_C
40 /* so that global vars get included */
41 #include "mx.h"
42 #include "sort.h"
43 #include "ncrypt/lib.h"
44 #endif /* MAIN_C */
45 
47 
49 WHERE char ErrorBuf[256];
50 
51 WHERE char *HomeDir;
53 
54 WHERE char *Username;
55 
58 
59 extern const char *GitVer;
60 
62 
63 /* Lists of strings */
71 
72 /* flags for received signals */
73 WHERE SIG_ATOMIC_VOLATILE_T SigInt;
74 WHERE SIG_ATOMIC_VOLATILE_T SigWinch;
75 
77 
78 #endif /* MUTT_GLOBALS_H */
GUI present the user with a selectable list.
Convenience wrapper for the library headers.
char * LastFolder
Previously selected mailbox.
Definition: mutt_globals.h:57
char * ShortHostname
Short version of the hostname.
Definition: mutt_globals.h:52
struct ListHead TempAttachmentsList
List of temporary files for displaying attachments.
Definition: mutt_globals.h:69
struct ListHead MimeLookupList
List of mime types that that shouldn't use the mailcap entry.
Definition: mutt_globals.h:67
struct ListHead AlternativeOrderList
List of preferred mime types to display.
Definition: mutt_globals.h:64
struct ListHead AutoViewList
List of mime types to auto view.
Definition: mutt_globals.h:65
char * HomeDir
User's home directory.
Definition: mutt_globals.h:51
struct HashTable * TagFormats
Hash Table of tag-formats (tag -> format string)
Definition: mutt_globals.h:61
bool ErrorBufMessage
true if the last message was an error
Definition: mutt_globals.h:48
char * CurrentFolder
Currently selected mailbox.
Definition: mutt_globals.h:56
SIG_ATOMIC_VOLATILE_T SigWinch
true after SIGWINCH is received
Definition: mutt_globals.h:74
char ErrorBuf[256]
Copy of the last error message.
Definition: mutt_globals.h:49
struct ListHead UserHeader
List of custom headers to add to outgoing emails.
Definition: mutt_globals.h:70
enum MenuType CurrentMenu
Current Menu, e.g. MENU_PAGER.
Definition: mutt_globals.h:76
struct ListHead Muttrc
List of config files to read.
Definition: mutt_globals.h:68
char * Username
User's login name.
Definition: mutt_globals.h:54
struct ListHead HeaderOrderList
List of header fields in the order they should be displayed.
Definition: mutt_globals.h:66
const char * GitVer
SIG_ATOMIC_VOLATILE_T SigInt
true after SIGINT is received
Definition: mutt_globals.h:73
struct Context * Context
Definition: mutt_globals.h:46
API for mailboxes.
API for encryption/signing of emails.
#define STAILQ_HEAD_INITIALIZER(head)
Definition: queue.h:324
Assorted sorting methods.
The "current" mailbox.
Definition: context.h:38
A Hash Table.
Definition: hash.h:97
MenuType
Types of GUI selections.
Definition: type.h:36
An evil macro.
#define INITVAL(x)
Definition: where.h:31
#define WHERE
Definition: where.h:30