X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=globals.h;h=aaca563eb9814f1147fe78981385f3dc1ac8d8f0;hp=7a624d9e7a57ba4e2a0cc4336764cbda66a7776f;hb=68edc972742930c4003e554144bfe197ba6199aa;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235 diff --git a/globals.h b/globals.h index 7a624d9..aaca563 100644 --- a/globals.h +++ b/globals.h @@ -9,11 +9,9 @@ #ifndef _GLOBALS_H #define _GLOBALS_H -#include "alias.h" +#include -#include #include "lib/list.h" -#include "lib/rx.h" WHERE void (*mutt_error) (const char *, ...); WHERE void (*mutt_message) (const char *, ...); @@ -25,20 +23,15 @@ WHERE char AttachmentMarker[STRING]; WHERE char Quotebuf[SHORT_STRING]; -#if defined(DL_STANDALONE) && defined(USE_DOTLOCK) WHERE char *MuttDotlock; -#endif WHERE address_t *EnvFrom; WHERE address_t *From; -WHERE char *AliasFile; -WHERE char *AliasFmt; WHERE char *AssumedCharset; WHERE char *AttachSep; WHERE char *Attribution; WHERE char *AttachFormat; -WHERE char *Charset; WHERE char *ComposeFormat; WHERE char *ConfigCharset; WHERE char *ContentType; @@ -49,7 +42,6 @@ WHERE char *DsnNotify; WHERE char *DsnReturn; WHERE char *Editor; WHERE char *EditorHeaders; -WHERE char *EscChar; WHERE char *FileCharset; WHERE char *FolderFormat; WHERE char *ForwFmt; @@ -58,7 +50,6 @@ WHERE char *HdrFmt; WHERE char *Homedir; WHERE char *Hostname; -#ifdef USE_IMAP WHERE char *ImapAuthenticators INITVAL (NULL); WHERE char *ImapDelimChars INITVAL (NULL); WHERE char *ImapHeaders; @@ -66,7 +57,6 @@ WHERE char *ImapHomeNamespace INITVAL (NULL); WHERE char *ImapLogin INITVAL (NULL); WHERE char *ImapPass INITVAL (NULL); WHERE char *ImapUser INITVAL (NULL); -#endif WHERE char *Inbox; WHERE char *Ispell; WHERE char *Locale; @@ -75,7 +65,7 @@ WHERE char *Maildir; #ifdef USE_HCACHE WHERE char *HeaderCache; -#if HAVE_GDBM || HAVE_DB4 +#if defined(HAVE_GDBM) || defined(HAVE_DB4) WHERE char *HeaderCachePageSize; #endif /* HAVE_GDBM || HAVE_DB4 */ #endif /* USE_HCACHE */ @@ -90,14 +80,11 @@ WHERE rx_t Mask; WHERE rx_t QuoteRegexp; WHERE rx_t ReplyRegexp; WHERE rx_t Smileys; -WHERE rx_t GecosMask; WHERE rx_t StripWasRegexp; -#ifdef USE_SOCKET WHERE char *Preconnect INITVAL (NULL); WHERE char *Tunnel INITVAL (NULL); WHERE short NetInc; -#endif /* USE_SOCKET */ #ifdef MIXMASTER WHERE char *Mixmaster; @@ -122,13 +109,12 @@ WHERE char *Pager; WHERE char *PagerFmt; WHERE char *PipeSep; -#ifdef USE_POP WHERE char *PopAuthenticators INITVAL (NULL); WHERE short PopCheckTimeout; WHERE char *PopHost; WHERE char *PopPass INITVAL (NULL); WHERE char *PopUser INITVAL (NULL); -#endif + WHERE char *PostIndentString; WHERE char *Postponed; WHERE char *Prefix; @@ -163,7 +149,7 @@ WHERE char *SslEntropyFile INITVAL (NULL); #endif #ifdef USE_SSL WHERE char *SslClientCert INITVAL (NULL); -WHERE LIST *SslSessionCerts INITVAL (NULL); +WHERE string_list_t *SslSessionCerts INITVAL (NULL); #endif #ifdef USE_GNUTLS WHERE short SslDHPrimeBits; @@ -175,7 +161,6 @@ WHERE char *Tempdir; WHERE char *Tochars; WHERE char *TrashPath; WHERE char *Username; -WHERE char *Visual; WHERE char *XtermTitle; WHERE char *XtermLeave; WHERE char *XtermIcon; @@ -183,16 +168,16 @@ WHERE char *XtermIcon; WHERE char *CurrentFolder; WHERE char *LastFolder; -WHERE LIST *AutoViewList INITVAL (0); -WHERE LIST *AlternativeOrderList INITVAL (0); -WHERE LIST *AttachAllow INITVAL(0); -WHERE LIST *AttachExclude INITVAL(0); -WHERE LIST *InlineAllow INITVAL(0); -WHERE LIST *InlineExclude INITVAL(0); -WHERE LIST *HeaderOrderList INITVAL (0); -WHERE LIST *Ignore INITVAL (0); -WHERE LIST *MimeLookupList INITVAL (0); -WHERE LIST *UnIgnore INITVAL (0); +WHERE string_list_t *AutoViewList INITVAL (0); +WHERE string_list_t *AlternativeOrderList INITVAL (0); +WHERE string_list_t *AttachAllow INITVAL(0); +WHERE string_list_t *AttachExclude INITVAL(0); +WHERE string_list_t *InlineAllow INITVAL(0); +WHERE string_list_t *InlineExclude INITVAL(0); +WHERE string_list_t *HeaderOrderList INITVAL (0); +WHERE string_list_t *Ignore INITVAL (0); +WHERE string_list_t *MimeLookupList INITVAL (0); +WHERE string_list_t *UnIgnore INITVAL (0); WHERE list2_t *Alternates INITVAL (0); WHERE list2_t *UnAlternates INITVAL (0); @@ -246,10 +231,8 @@ WHERE short ScoreThresholdFlag; WHERE short DrawFullLine INITVAL (0); WHERE short SidebarWidth; -#ifdef USE_IMAP WHERE short ImapKeepalive; WHERE short ImapBuffyTimeout; -#endif /* flags for received signals */ WHERE SIG_ATOMIC_VOLATILE_T SigAlrm INITVAL (0); @@ -258,8 +241,7 @@ WHERE SIG_ATOMIC_VOLATILE_T SigWinch INITVAL (0); WHERE int CurrentMenu; -WHERE ALIAS *Aliases INITVAL (0); -WHERE LIST *UserHeader INITVAL (0); +WHERE string_list_t *UserHeader INITVAL (0); /*-- formerly in pgp.h --*/ WHERE rx_t PgpGoodSign;