NeoMutt  2024-04-25-89-g194907
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
globals.h File Reference

Global variables. More...

#include "config.h"
#include <stdbool.h>
#include "mutt/lib.h"
#include "menu/lib.h"
+ Include dependency graph for globals.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

bool ErrorBufMessage
 true if the last message was an error
 
char ErrorBuf [1024]
 Copy of the last error message.
 
char * HomeDir
 User's home directory.
 
char * ShortHostname
 Short version of the hostname.
 
char * Username
 User's login name.
 
char * CurrentFolder
 Currently selected mailbox.
 
char * LastFolder
 Previously selected mailbox.
 
const char * GitVer
 
struct ListHead AlternativeOrderList
 List of preferred mime types to display.
 
struct ListHead AutoViewList
 List of mime types to auto view.
 
struct ListHead HeaderOrderList
 List of header fields in the order they should be displayed.
 
struct ListHead MimeLookupList
 List of mime types that that shouldn't use the mailcap entry.
 
struct ListHead Muttrc
 List of config files to read.
 
struct ListHead TempAttachmentsList
 List of temporary files for displaying attachments.
 
struct ListHead UserHeader
 List of custom headers to add to outgoing emails.
 
enum MenuType CurrentMenu
 Current Menu, e.g. MENU_PAGER.
 
bool OptAutocryptGpgme
 (pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c
 
bool OptDontHandlePgpKeys
 (pseudo) used to extract PGP keys
 
bool OptForceRefresh
 (pseudo) refresh even during macros
 
bool OptKeepQuiet
 (pseudo) shut up the message and refresh functions while we are executing an external program
 
bool OptMsgErr
 (pseudo) used by mutt_error/mutt_message
 
bool OptNeedRescore
 (pseudo) set when the 'score' command is used
 
bool OptNeedResort
 (pseudo) used to force a re-sort
 
bool OptNews
 (pseudo) used to change reader mode
 
bool OptNewsSend
 (pseudo) used to change behavior when posting
 
bool OptNoCurses
 (pseudo) when sending in batch mode
 
bool OptPgpCheckTrust
 (pseudo) used by dlg_pgp()
 
bool OptResortInit
 (pseudo) used to force the next resort to be from scratch
 
bool OptSortSubthreads
 (pseudo) used when $sort_aux changes
 
char ** EnvList
 Private copy of the environment variables.
 

Detailed Description

Global variables.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file globals.h.

Variable Documentation

◆ ErrorBufMessage

bool ErrorBufMessage
extern

true if the last message was an error

Definition at line 35 of file globals.c.

◆ ErrorBuf

char ErrorBuf[1024]
extern

Copy of the last error message.

Definition at line 36 of file globals.c.

◆ HomeDir

char* HomeDir
extern

User's home directory.

Definition at line 38 of file globals.c.

◆ ShortHostname

char* ShortHostname
extern

Short version of the hostname.

Definition at line 39 of file globals.c.

◆ Username

char* Username
extern

User's login name.

Definition at line 41 of file globals.c.

◆ CurrentFolder

char* CurrentFolder
extern

Currently selected mailbox.

Definition at line 43 of file globals.c.

◆ LastFolder

char* LastFolder
extern

Previously selected mailbox.

Definition at line 44 of file globals.c.

◆ GitVer

const char* GitVer
extern

◆ AlternativeOrderList

struct ListHead AlternativeOrderList
extern

List of preferred mime types to display.

Definition at line 48 of file globals.c.

◆ AutoViewList

struct ListHead AutoViewList
extern

List of mime types to auto view.

Definition at line 49 of file globals.c.

◆ HeaderOrderList

struct ListHead HeaderOrderList
extern

List of header fields in the order they should be displayed.

Definition at line 50 of file globals.c.

◆ MimeLookupList

struct ListHead MimeLookupList
extern

List of mime types that that shouldn't use the mailcap entry.

Definition at line 51 of file globals.c.

◆ Muttrc

struct ListHead Muttrc
extern

List of config files to read.

Definition at line 52 of file globals.c.

◆ TempAttachmentsList

struct ListHead TempAttachmentsList
extern

List of temporary files for displaying attachments.

Definition at line 53 of file globals.c.

◆ UserHeader

struct ListHead UserHeader
extern

List of custom headers to add to outgoing emails.

Definition at line 54 of file globals.c.

◆ CurrentMenu

enum MenuType CurrentMenu
extern

Current Menu, e.g. MENU_PAGER.

Definition at line 57 of file globals.c.

◆ OptAutocryptGpgme

bool OptAutocryptGpgme
extern

(pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c

Definition at line 62 of file globals.c.

◆ OptDontHandlePgpKeys

bool OptDontHandlePgpKeys
extern

(pseudo) used to extract PGP keys

Definition at line 64 of file globals.c.

◆ OptForceRefresh

bool OptForceRefresh
extern

(pseudo) refresh even during macros

Definition at line 65 of file globals.c.

◆ OptKeepQuiet

bool OptKeepQuiet
extern

(pseudo) shut up the message and refresh functions while we are executing an external program

Definition at line 66 of file globals.c.

◆ OptMsgErr

bool OptMsgErr
extern

(pseudo) used by mutt_error/mutt_message

Definition at line 67 of file globals.c.

◆ OptNeedRescore

bool OptNeedRescore
extern

(pseudo) set when the 'score' command is used

Definition at line 68 of file globals.c.

◆ OptNeedResort

bool OptNeedResort
extern

(pseudo) used to force a re-sort

Definition at line 69 of file globals.c.

◆ OptNews

bool OptNews
extern

(pseudo) used to change reader mode

Definition at line 70 of file globals.c.

◆ OptNewsSend

bool OptNewsSend
extern

(pseudo) used to change behavior when posting

Definition at line 71 of file globals.c.

◆ OptNoCurses

bool OptNoCurses
extern

(pseudo) when sending in batch mode

Definition at line 72 of file globals.c.

◆ OptPgpCheckTrust

bool OptPgpCheckTrust
extern

(pseudo) used by dlg_pgp()

Definition at line 73 of file globals.c.

◆ OptResortInit

bool OptResortInit
extern

(pseudo) used to force the next resort to be from scratch

Definition at line 74 of file globals.c.

◆ OptSortSubthreads

bool OptSortSubthreads
extern

(pseudo) used when $sort_aux changes

Definition at line 75 of file globals.c.

◆ EnvList

char** EnvList
extern

Private copy of the environment variables.

Definition at line 78 of file globals.c.