NeoMutt  2024-10-02-34-g9dd811
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
globals.h
Go to the documentation of this file.
1
23#ifndef MUTT_GLOBALS_H
24#define MUTT_GLOBALS_H
25
26#include "config.h"
27#include <stdbool.h>
28
29extern bool ErrorBufMessage;
30extern char ErrorBuf[1024];
31
32extern char *HomeDir;
33extern char *ShortHostname;
34
35extern char *Username;
36
37extern char *CurrentFolder;
38extern char *LastFolder;
39
40extern const char *GitVer;
41
42/* Lists of strings */
43extern struct ListHead AlternativeOrderList;
44extern struct ListHead AutoViewList;
45extern struct ListHead HeaderOrderList;
46extern struct ListHead MimeLookupList;
47extern struct ListHead Muttrc;
48extern struct ListHead TempAttachmentsList;
49extern struct ListHead UserHeader;
50
51/* pseudo options */
52#ifdef USE_AUTOCRYPT
53extern bool OptAutocryptGpgme;
54#endif
55extern bool OptDontHandlePgpKeys;
56extern bool OptForceRefresh;
57extern bool OptKeepQuiet;
58extern bool OptMsgErr;
59extern bool OptNeedRescore;
60extern bool OptNeedResort;
61extern bool OptNews;
62extern bool OptNewsSend;
63extern bool OptNoCurses;
64extern bool OptPgpCheckTrust;
65extern bool OptResortInit;
66extern bool OptSortSubthreads;
67
68extern char **EnvList;
69
70#endif /* MUTT_GLOBALS_H */
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition: globals.c:61
bool OptNews
(pseudo) used to change reader mode
Definition: globals.c:67
char * LastFolder
Previously selected mailbox.
Definition: globals.c:43
bool OptAutocryptGpgme
(pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c
Definition: globals.c:59
char * ShortHostname
Short version of the hostname.
Definition: globals.c:38
bool OptKeepQuiet
(pseudo) shut up the message and refresh functions while we are executing an external program
Definition: globals.c:63
struct ListHead TempAttachmentsList
List of temporary files for displaying attachments.
Definition: globals.c:52
bool OptNoCurses
(pseudo) when sending in batch mode
Definition: globals.c:69
bool OptNeedRescore
(pseudo) set when the 'score' command is used
Definition: globals.c:65
bool OptPgpCheckTrust
(pseudo) used by dlg_pgp()
Definition: globals.c:70
bool OptResortInit
(pseudo) used to force the next resort to be from scratch
Definition: globals.c:71
struct ListHead MimeLookupList
List of mime types that that shouldn't use the mailcap entry.
Definition: globals.c:50
struct ListHead AlternativeOrderList
List of preferred mime types to display.
Definition: globals.c:47
struct ListHead AutoViewList
List of mime types to auto view.
Definition: globals.c:48
char ErrorBuf[1024]
Copy of the last error message.
Definition: globals.c:35
char * HomeDir
User's home directory.
Definition: globals.c:37
bool OptMsgErr
(pseudo) used by mutt_error/mutt_message
Definition: globals.c:64
bool OptForceRefresh
(pseudo) refresh even during macros
Definition: globals.c:62
bool ErrorBufMessage
true if the last message was an error
Definition: globals.c:34
char * CurrentFolder
Currently selected mailbox.
Definition: globals.c:42
struct ListHead UserHeader
List of custom headers to add to outgoing emails.
Definition: globals.c:53
struct ListHead Muttrc
List of config files to read.
Definition: globals.c:51
char * Username
User's login name.
Definition: globals.c:40
bool OptSortSubthreads
(pseudo) used when $sort_aux changes
Definition: globals.c:72
struct ListHead HeaderOrderList
List of header fields in the order they should be displayed.
Definition: globals.c:49
bool OptNeedResort
(pseudo) used to force a re-sort
Definition: globals.c:66
const char * GitVer
bool OptNewsSend
(pseudo) used to change behavior when posting
Definition: globals.c:68
char ** EnvList
Private copy of the environment variables.
Definition: globals.c:75