NeoMutt  2022-04-29-81-g9c5a59
Teaching an old dog new tricks
DOXYGEN
mutt_globals.h
Go to the documentation of this file.
1 
29 #ifndef MUTT_MUTT_GLOBALS_H
30 #define MUTT_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 WHERE char ErrorBuf[256];
48 
49 WHERE char *HomeDir;
51 
52 WHERE char *Username;
53 
56 
57 extern const char *GitVer;
58 
59 /* Lists of strings */
67 
68 /* flags for received signals */
69 WHERE SIG_ATOMIC_VOLATILE_T SigInt;
70 WHERE SIG_ATOMIC_VOLATILE_T SigWinch;
71 
73 
74 #endif /* MUTT_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:55
char * ShortHostname
Short version of the hostname.
Definition: mutt_globals.h:50
struct ListHead TempAttachmentsList
List of temporary files for displaying attachments.
Definition: mutt_globals.h:65
struct ListHead MimeLookupList
List of mime types that that shouldn't use the mailcap entry.
Definition: mutt_globals.h:63
struct ListHead AlternativeOrderList
List of preferred mime types to display.
Definition: mutt_globals.h:60
struct ListHead AutoViewList
List of mime types to auto view.
Definition: mutt_globals.h:61
char * HomeDir
User's home directory.
Definition: mutt_globals.h:49
bool ErrorBufMessage
true if the last message was an error
Definition: mutt_globals.h:46
char * CurrentFolder
Currently selected mailbox.
Definition: mutt_globals.h:54
SIG_ATOMIC_VOLATILE_T SigWinch
true after SIGWINCH is received
Definition: mutt_globals.h:70
char ErrorBuf[256]
Copy of the last error message.
Definition: mutt_globals.h:47
struct ListHead UserHeader
List of custom headers to add to outgoing emails.
Definition: mutt_globals.h:66
enum MenuType CurrentMenu
Current Menu, e.g. MENU_PAGER.
Definition: mutt_globals.h:72
struct ListHead Muttrc
List of config files to read.
Definition: mutt_globals.h:64
char * Username
User's login name.
Definition: mutt_globals.h:52
struct ListHead HeaderOrderList
List of header fields in the order they should be displayed.
Definition: mutt_globals.h:62
const char * GitVer
SIG_ATOMIC_VOLATILE_T SigInt
true after SIGINT is received
Definition: mutt_globals.h:69
API for mailboxes.
API for encryption/signing of emails.
#define STAILQ_HEAD_INITIALIZER(head)
Definition: queue.h:324
Assorted sorting methods.
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