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