NeoMutt  2025-01-09-117-gace867
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 *ShortHostname;
33
34extern char *CurrentFolder;
35extern char *LastFolder;
36
37extern const char *GitVer;
38
39/* Lists of strings */
40extern struct ListHead AlternativeOrderList;
41extern struct ListHead AutoViewList;
42extern struct ListHead HeaderOrderList;
43extern struct ListHead MimeLookupList;
44extern struct ListHead Muttrc;
45extern struct ListHead TempAttachmentsList;
46extern struct ListHead UserHeader;
47
48/* pseudo options */
49#ifdef USE_AUTOCRYPT
50extern bool OptAutocryptGpgme;
51#endif
52extern bool OptDontHandlePgpKeys;
53extern bool OptForceRefresh;
54extern bool OptKeepQuiet;
55extern bool OptMsgErr;
56extern bool OptNeedRescore;
57extern bool OptNeedResort;
58extern bool OptNews;
59extern bool OptNewsSend;
60extern bool OptNoCurses;
61extern bool OptPgpCheckTrust;
62extern bool OptResortInit;
63extern bool OptSortSubthreads;
64
65#endif /* MUTT_GLOBALS_H */
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition: globals.c:58
bool OptNews
(pseudo) used to change reader mode
Definition: globals.c:64
char * LastFolder
Previously selected mailbox.
Definition: globals.c:40
bool OptAutocryptGpgme
(pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c
Definition: globals.c:56
char * ShortHostname
Short version of the hostname.
Definition: globals.c:37
bool OptKeepQuiet
(pseudo) shut up the message and refresh functions while we are executing an external program
Definition: globals.c:60
struct ListHead TempAttachmentsList
List of temporary files for displaying attachments.
Definition: globals.c:49
bool OptNoCurses
(pseudo) when sending in batch mode
Definition: globals.c:66
bool OptNeedRescore
(pseudo) set when the 'score' command is used
Definition: globals.c:62
bool OptPgpCheckTrust
(pseudo) used by dlg_pgp()
Definition: globals.c:67
bool OptResortInit
(pseudo) used to force the next resort to be from scratch
Definition: globals.c:68
struct ListHead MimeLookupList
List of mime types that that shouldn't use the mailcap entry.
Definition: globals.c:47
struct ListHead AlternativeOrderList
List of preferred mime types to display.
Definition: globals.c:44
struct ListHead AutoViewList
List of mime types to auto view.
Definition: globals.c:45
char ErrorBuf[1024]
Copy of the last error message.
Definition: globals.c:35
bool OptMsgErr
(pseudo) used by mutt_error/mutt_message
Definition: globals.c:61
bool OptForceRefresh
(pseudo) refresh even during macros
Definition: globals.c:59
bool ErrorBufMessage
true if the last message was an error
Definition: globals.c:34
char * CurrentFolder
Currently selected mailbox.
Definition: globals.c:39
struct ListHead UserHeader
List of custom headers to add to outgoing emails.
Definition: globals.c:50
struct ListHead Muttrc
List of config files to read.
Definition: globals.c:48
bool OptSortSubthreads
(pseudo) used when $sort_aux changes
Definition: globals.c:69
struct ListHead HeaderOrderList
List of header fields in the order they should be displayed.
Definition: globals.c:46
bool OptNeedResort
(pseudo) used to force a re-sort
Definition: globals.c:63
const char * GitVer
bool OptNewsSend
(pseudo) used to change behavior when posting
Definition: globals.c:65