X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=globals.h;h=aaca563eb9814f1147fe78981385f3dc1ac8d8f0;hp=486c3614d6e6353335b6d4868e18f220c2e56cfd;hb=68edc972742930c4003e554144bfe197ba6199aa;hpb=0ac011f8eb41bab7808881ebf9802b4eb252fe3b diff --git a/globals.h b/globals.h index 486c361..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 *, ...); @@ -30,13 +28,10 @@ WHERE char *MuttDotlock; 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; @@ -47,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; @@ -56,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; @@ -64,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; @@ -73,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 */ @@ -88,7 +80,6 @@ WHERE rx_t Mask; WHERE rx_t QuoteRegexp; WHERE rx_t ReplyRegexp; WHERE rx_t Smileys; -WHERE rx_t GecosMask; WHERE rx_t StripWasRegexp; WHERE char *Preconnect INITVAL (NULL); @@ -158,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; @@ -170,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; @@ -178,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); @@ -241,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); @@ -253,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;