NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
globals.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_GLOBALS_H
24#define MUTT_GLOBALS_H
25
26#include <stdbool.h>
27
28extern bool ErrorBufMessage;
29extern char ErrorBuf[1024];
30
31extern char *ShortHostname;
32
33extern char *CurrentFolder;
34extern char *LastFolder;
35
36extern const char *GitVer;
37
38/* pseudo options */
39#ifdef USE_AUTOCRYPT
40extern bool OptAutocryptGpgme;
41#endif
42extern bool OptDontHandlePgpKeys;
43extern bool OptForceRefresh;
44extern bool OptGui;
45extern bool OptKeepQuiet;
46extern bool OptMsgErr;
47extern bool OptNeedRescore;
48extern bool OptNeedResort;
49extern bool OptNews;
50extern bool OptNewsSend;
51extern bool OptPgpCheckTrust;
52extern bool OptResortInit;
53extern bool OptSortSubthreads;
54
55#endif /* MUTT_GLOBALS_H */
bool OptNeedRescore
(pseudo) set when the 'score' command is used
Definition globals.c:51
bool OptResortInit
(pseudo) used to force the next resort to be from scratch
Definition globals.c:56
bool OptNeedResort
(pseudo) used to force a re-sort
Definition globals.c:52
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition globals.c:46
bool OptNews
(pseudo) used to change reader mode
Definition globals.c:53
char * LastFolder
Previously selected mailbox.
Definition globals.c:39
bool OptAutocryptGpgme
(pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c
Definition globals.c:44
char * ShortHostname
Short version of the hostname.
Definition globals.c:36
bool OptKeepQuiet
(pseudo) shut up the message and refresh functions while we are executing an external program
Definition globals.c:49
bool OptPgpCheckTrust
(pseudo) used by dlg_pgp()
Definition globals.c:55
char ErrorBuf[1024]
Copy of the last error message.
Definition globals.c:34
bool OptMsgErr
(pseudo) used by mutt_error/mutt_message
Definition globals.c:50
bool OptForceRefresh
(pseudo) refresh even during macros
Definition globals.c:47
bool ErrorBufMessage
true if the last message was an error
Definition globals.c:33
char * CurrentFolder
Currently selected mailbox.
Definition globals.c:38
bool OptGui
(pseudo) when the gui (and curses) are started
Definition globals.c:48
bool OptSortSubthreads
(pseudo) used when $sort_aux changes
Definition globals.c:57
bool OptNewsSend
(pseudo) used to change behavior when posting
Definition globals.c:54
const char * GitVer