X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=globals.h;h=5977ee15e70941349b327eb6330414457963c71b;hp=fa890ab128d026295541de3a977cc790730b02c7;hb=86cf852af75aa1f893b25a5fd615ac1fdb1b6033;hpb=355d6c883e8aafb8f424c22aa576cf8262ed9e58 diff --git a/globals.h b/globals.h index fa890ab..5977ee1 100644 --- a/globals.h +++ b/globals.h @@ -11,7 +11,7 @@ #include "alias.h" -#include "lib/str.h" +#include #include "lib/list.h" #include "lib/rx.h" @@ -29,6 +29,7 @@ WHERE char Quotebuf[SHORT_STRING]; WHERE char *MuttDotlock; #endif +WHERE ADDRESS *EnvFrom; WHERE ADDRESS *From; WHERE char *AliasFile; @@ -72,7 +73,7 @@ WHERE char *Locale; WHERE char *MailcapPath; WHERE char *Maildir; -#if USE_HCACHE +#ifdef USE_HCACHE WHERE char *HeaderCache; #if HAVE_GDBM || HAVE_DB4 WHERE char *HeaderCachePageSize; @@ -147,7 +148,6 @@ WHERE char *SimpleSearch; #if defined(USE_LIBESMTP) WHERE char *SmtpAuthUser; WHERE char *SmtpAuthPass; -WHERE char *SmtpEnvFrom; WHERE char *SmtpHost; WHERE unsigned short SmtpPort; WHERE char *SmtpUseTLS; @@ -185,6 +185,10 @@ 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); @@ -282,7 +286,6 @@ WHERE char *SmimeCryptAlg; WHERE short SmimeTimeout; WHERE char *SmimeCertificates; WHERE char *SmimeKeys; -WHERE char *SmimeCryptAlg; WHERE char *SmimeCALocation; WHERE char *SmimeVerifyCommand; WHERE char *SmimeVerifyOpaqueCommand; @@ -313,14 +316,4 @@ extern const char *Weekdays[]; extern const char *Months[]; #endif -#ifdef MAIN_C -/* so that global vars get included - * FIXME WTF IS THIS?!?!???!?!??!?!?? - */ -#include "mx.h" -#include "buffy.h" -#include "sort.h" -#include "mutt_crypt.h" -#endif /* MAIN_C */ - #endif /* !_GLOBALS_H */