NeoMutt  2021-02-05-666-ge300cd
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.

Functions

WHERE struct ListHead AlternativeOrderList INITVAL (STAILQ_HEAD_INITIALIZER(AlternativeOrderList))
 List of preferred mime types to display. More...
 
WHERE struct ListHead AutoViewList INITVAL (STAILQ_HEAD_INITIALIZER(AutoViewList))
 List of mime types to auto view. More...
 
WHERE struct ListHead HeaderOrderList INITVAL (STAILQ_HEAD_INITIALIZER(HeaderOrderList))
 List of header fields in the order they should be displayed. More...
 
WHERE struct ListHead MimeLookupList INITVAL (STAILQ_HEAD_INITIALIZER(MimeLookupList))
 List of mime types that that shouldn't use the mailcap entry. More...
 
WHERE struct ListHead Muttrc INITVAL (STAILQ_HEAD_INITIALIZER(Muttrc))
 List of config files to read. More...
 
WHERE struct ListHead TempAttachmentsList INITVAL (STAILQ_HEAD_INITIALIZER(TempAttachmentsList))
 List of temporary files for displaying attachments. More...
 
WHERE struct ListHead UserHeader INITVAL (STAILQ_HEAD_INITIALIZER(UserHeader))
 List of custom headers to add to outgoing emails. More...
 

Variables

WHERE struct ContextContext
 
WHERE bool ErrorBufMessage
 true if the last message was an error More...
 
WHERE char ErrorBuf [256]
 Copy of the last error message. More...
 
WHERE char * HomeDir
 User's home directory. More...
 
WHERE char * ShortHostname
 Short version of the hostname. More...
 
WHERE char * Username
 User's login name. More...
 
WHERE char * CurrentFolder
 Currently selected mailbox. More...
 
WHERE char * LastFolder
 Previously selected mailbox. More...
 
const char * GitVer
 
WHERE struct HashTableTagFormats
 Hash Table of tag-formats (tag -> format string) More...
 
WHERE SIG_ATOMIC_VOLATILE_T SigInt
 true after SIGINT is received More...
 
WHERE SIG_ATOMIC_VOLATILE_T SigWinch
 true after SIGWINCH is received More...
 
WHERE 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.

Function Documentation

◆ INITVAL() [1/7]

WHERE struct ListHead AlternativeOrderList INITVAL ( STAILQ_HEAD_INITIALIZER(AlternativeOrderList)  )

List of preferred mime types to display.

◆ INITVAL() [2/7]

WHERE struct ListHead AutoViewList INITVAL ( STAILQ_HEAD_INITIALIZER(AutoViewList)  )

List of mime types to auto view.

◆ INITVAL() [3/7]

WHERE struct ListHead HeaderOrderList INITVAL ( STAILQ_HEAD_INITIALIZER(HeaderOrderList)  )

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

◆ INITVAL() [4/7]

WHERE struct ListHead MimeLookupList INITVAL ( STAILQ_HEAD_INITIALIZER(MimeLookupList)  )

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

◆ INITVAL() [5/7]

WHERE struct ListHead Muttrc INITVAL ( STAILQ_HEAD_INITIALIZER(Muttrc)  )

List of config files to read.

◆ INITVAL() [6/7]

WHERE struct ListHead TempAttachmentsList INITVAL ( STAILQ_HEAD_INITIALIZER(TempAttachmentsList)  )

List of temporary files for displaying attachments.

◆ INITVAL() [7/7]

WHERE struct ListHead UserHeader INITVAL ( STAILQ_HEAD_INITIALIZER(UserHeader)  )

List of custom headers to add to outgoing emails.

Variable Documentation

◆ Context

Definition at line 40 of file mutt_globals.h.

◆ ErrorBufMessage

WHERE bool ErrorBufMessage

true if the last message was an error

Definition at line 42 of file mutt_globals.h.

◆ ErrorBuf

WHERE char ErrorBuf[256]

Copy of the last error message.

Definition at line 43 of file mutt_globals.h.

◆ HomeDir

WHERE char* HomeDir

User's home directory.

Definition at line 45 of file mutt_globals.h.

◆ ShortHostname

WHERE char* ShortHostname

Short version of the hostname.

Definition at line 46 of file mutt_globals.h.

◆ Username

WHERE char* Username

User's login name.

Definition at line 48 of file mutt_globals.h.

◆ CurrentFolder

WHERE char* CurrentFolder

Currently selected mailbox.

Definition at line 50 of file mutt_globals.h.

◆ LastFolder

WHERE char* LastFolder

Previously selected mailbox.

Definition at line 51 of file mutt_globals.h.

◆ GitVer

const char* GitVer

◆ TagFormats

WHERE struct HashTable* TagFormats

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

Definition at line 55 of file mutt_globals.h.

◆ SigInt

WHERE SIG_ATOMIC_VOLATILE_T SigInt

true after SIGINT is received

Definition at line 67 of file mutt_globals.h.

◆ SigWinch

WHERE SIG_ATOMIC_VOLATILE_T SigWinch

true after SIGWINCH is received

Definition at line 68 of file mutt_globals.h.

◆ CurrentMenu

WHERE enum MenuType CurrentMenu

Current Menu, e.g. MENU_PAGER.

Definition at line 70 of file mutt_globals.h.