NeoMutt  2021-10-22-8-g9cb437
Teaching an old dog new tricks
DOXYGEN
mutt_globals.h File Reference

Hundreds of global variables to back the user variables. More...

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

Go to the source code of this file.

Variables

struct ContextContext
 
bool ErrorBufMessage
 true if the last message was an error More...
 
char ErrorBuf [256]
 Copy of the last error message. More...
 
char * HomeDir
 User's home directory. More...
 
char * ShortHostname
 Short version of the hostname. More...
 
char * Username
 User's login name. More...
 
char * CurrentFolder
 Currently selected mailbox. More...
 
char * LastFolder
 Previously selected mailbox. More...
 
const char * GitVer
 
struct HashTableTagFormats
 Hash Table of tag-formats (tag -> format string) More...
 
struct ListHead AlternativeOrderList
 List of preferred mime types to display. More...
 
struct ListHead AutoViewList
 List of mime types to auto view. More...
 
struct ListHead HeaderOrderList
 List of header fields in the order they should be displayed. More...
 
struct ListHead MimeLookupList
 List of mime types that that shouldn't use the mailcap entry. More...
 
struct ListHead Muttrc
 List of config files to read. More...
 
struct ListHead TempAttachmentsList
 List of temporary files for displaying attachments. More...
 
struct ListHead UserHeader
 List of custom headers to add to outgoing emails. More...
 
SIG_ATOMIC_VOLATILE_T SigInt
 true after SIGINT is received More...
 
SIG_ATOMIC_VOLATILE_T SigWinch
 true after SIGWINCH is received More...
 
enum MenuType CurrentMenu
 Current Menu, e.g. MENU_PAGER. More...
 

Detailed Description

Hundreds of global variables to back the user variables.

Authors
  • Michael R. Elkins

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 mutt_globals.h.

Variable Documentation

◆ Context

struct Context* Context

Definition at line 46 of file mutt_globals.h.

◆ ErrorBufMessage

bool ErrorBufMessage

true if the last message was an error

Definition at line 48 of file mutt_globals.h.

◆ ErrorBuf

char ErrorBuf[256]

Copy of the last error message.

Definition at line 49 of file mutt_globals.h.

◆ HomeDir

char* HomeDir

User's home directory.

Definition at line 51 of file mutt_globals.h.

◆ ShortHostname

char* ShortHostname

Short version of the hostname.

Definition at line 52 of file mutt_globals.h.

◆ Username

char* Username

User's login name.

Definition at line 54 of file mutt_globals.h.

◆ CurrentFolder

char* CurrentFolder

Currently selected mailbox.

Definition at line 56 of file mutt_globals.h.

◆ LastFolder

char* LastFolder

Previously selected mailbox.

Definition at line 57 of file mutt_globals.h.

◆ GitVer

const char* GitVer
extern

◆ TagFormats

struct HashTable* TagFormats

Hash Table of tag-formats (tag -> format string)

Definition at line 61 of file mutt_globals.h.

◆ AlternativeOrderList

struct ListHead AlternativeOrderList

List of preferred mime types to display.

Definition at line 61 of file mutt_globals.h.

◆ AutoViewList

struct ListHead AutoViewList

List of mime types to auto view.

Definition at line 61 of file mutt_globals.h.

◆ HeaderOrderList

struct ListHead HeaderOrderList

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

Definition at line 61 of file mutt_globals.h.

◆ MimeLookupList

struct ListHead MimeLookupList

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

Definition at line 61 of file mutt_globals.h.

◆ Muttrc

struct ListHead Muttrc

List of config files to read.

Definition at line 61 of file mutt_globals.h.

◆ TempAttachmentsList

struct ListHead TempAttachmentsList

List of temporary files for displaying attachments.

Definition at line 61 of file mutt_globals.h.

◆ UserHeader

struct ListHead UserHeader

List of custom headers to add to outgoing emails.

Definition at line 61 of file mutt_globals.h.

◆ SigInt

SIG_ATOMIC_VOLATILE_T SigInt

true after SIGINT is received

Definition at line 73 of file mutt_globals.h.

◆ SigWinch

SIG_ATOMIC_VOLATILE_T SigWinch

true after SIGWINCH is received

Definition at line 74 of file mutt_globals.h.

◆ CurrentMenu

enum MenuType CurrentMenu

Current Menu, e.g. MENU_PAGER.

Definition at line 74 of file mutt_globals.h.