NeoMutt  2025-12-11-694-ga89709
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
globals.c File Reference

Global variables. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
+ Include dependency graph for globals.c:

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 * ShortHostname = NULL
 Short version of the hostname.
 
char * CurrentFolder = NULL
 Currently selected mailbox.
 
char * LastFolder = NULL
 Previously selected mailbox.
 
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 OptGui
 (pseudo) when the gui (and curses) are started
 
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 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
 

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.c.

Variable Documentation

◆ ErrorBufMessage

bool ErrorBufMessage

true if the last message was an error

Definition at line 33 of file globals.c.

◆ ErrorBuf

char ErrorBuf[1024]

Copy of the last error message.

Definition at line 34 of file globals.c.

◆ ShortHostname

char* ShortHostname = NULL

Short version of the hostname.

Definition at line 36 of file globals.c.

◆ CurrentFolder

char* CurrentFolder = NULL

Currently selected mailbox.

Definition at line 38 of file globals.c.

◆ LastFolder

char* LastFolder = NULL

Previously selected mailbox.

Definition at line 39 of file globals.c.

◆ OptAutocryptGpgme

bool OptAutocryptGpgme

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

Definition at line 44 of file globals.c.

◆ OptDontHandlePgpKeys

bool OptDontHandlePgpKeys

(pseudo) used to extract PGP keys

Definition at line 46 of file globals.c.

◆ OptForceRefresh

bool OptForceRefresh

(pseudo) refresh even during macros

Definition at line 47 of file globals.c.

◆ OptGui

bool OptGui

(pseudo) when the gui (and curses) are started

Definition at line 48 of file globals.c.

◆ OptKeepQuiet

bool OptKeepQuiet

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

Definition at line 49 of file globals.c.

◆ OptMsgErr

bool OptMsgErr

(pseudo) used by mutt_error/mutt_message

Definition at line 50 of file globals.c.

◆ OptNeedRescore

bool OptNeedRescore

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

Definition at line 51 of file globals.c.

◆ OptNeedResort

bool OptNeedResort

(pseudo) used to force a re-sort

Definition at line 52 of file globals.c.

◆ OptNews

bool OptNews

(pseudo) used to change reader mode

Definition at line 53 of file globals.c.

◆ OptNewsSend

bool OptNewsSend

(pseudo) used to change behavior when posting

Definition at line 54 of file globals.c.

◆ OptPgpCheckTrust

bool OptPgpCheckTrust

(pseudo) used by dlg_pgp()

Definition at line 55 of file globals.c.

◆ OptResortInit

bool OptResortInit

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

Definition at line 56 of file globals.c.

◆ OptSortSubthreads

bool OptSortSubthreads

(pseudo) used when $sort_aux changes

Definition at line 57 of file globals.c.