NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
globals.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include <stdbool.h>
31#include <stddef.h>
32#include "mutt/lib.h"
33
35char ErrorBuf[1024];
36
37char *ShortHostname = NULL;
38
39char *CurrentFolder = NULL;
40char *LastFolder = NULL;
41
42/* Lists of strings */
43// clang-format off
50// clang-format on
51
52/* pseudo options */
53// clang-format off
54#ifdef USE_AUTOCRYPT
56#endif
59bool OptGui;
64bool OptNews;
69// clang-format on
bool OptNeedRescore
(pseudo) set when the 'score' command is used
Definition globals.c:62
bool OptResortInit
(pseudo) used to force the next resort to be from scratch
Definition globals.c:67
bool OptNeedResort
(pseudo) used to force a re-sort
Definition globals.c:63
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition globals.c:57
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:55
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:48
bool OptPgpCheckTrust
(pseudo) used by dlg_pgp()
Definition globals.c:66
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:58
bool ErrorBufMessage
true if the last message was an error
Definition globals.c:34
char * CurrentFolder
Currently selected mailbox.
Definition globals.c:39
bool OptGui
(pseudo) when the gui (and curses) are started
Definition globals.c:59
struct ListHead UserHeader
List of custom headers to add to outgoing emails.
Definition globals.c:49
bool OptSortSubthreads
(pseudo) used when $sort_aux changes
Definition globals.c:68
struct ListHead HeaderOrderList
List of header fields in the order they should be displayed.
Definition globals.c:46
bool OptNewsSend
(pseudo) used to change behavior when posting
Definition globals.c:65
Convenience wrapper for the library headers.
#define STAILQ_HEAD_INITIALIZER(head)
Definition queue.h:324