2 * Copyright notice from original mutt:
3 * Copyright (C) 1996-2002 Michael R. Elkins <me@mutt.org>
5 * This file is part of mutt-ng, see http://www.muttng.org/.
6 * It's licensed under the GNU General Public License,
7 * please see the file GPL in the top level source directory.
16 WHERE void (*mutt_error) (const char *, ...);
17 WHERE void (*mutt_message) (const char *, ...);
19 WHERE CONTEXT *Context;
21 WHERE char Errorbuf[STRING];
22 WHERE char AttachmentMarker[STRING];
24 WHERE char Quotebuf[SHORT_STRING];
26 #if defined(DL_STANDALONE) && defined(USE_DOTLOCK)
27 WHERE char *MuttDotlock;
32 WHERE char *AliasFile;
34 WHERE char *AssumedCharset;
35 WHERE char *AttachSep;
36 WHERE char *Attribution;
37 WHERE char *AttachFormat;
39 WHERE char *ComposeFormat;
40 WHERE char *ConfigCharset;
41 WHERE char *ContentType;
42 WHERE char *DefaultHook;
44 WHERE char *DisplayFilter;
45 WHERE char *DsnNotify;
46 WHERE char *DsnReturn;
49 WHERE char *FileCharset;
50 WHERE char *FolderFormat;
58 WHERE char *ImapAuthenticators INITVAL (NULL);
59 WHERE char *ImapDelimChars INITVAL (NULL);
60 WHERE char *ImapHeaders;
61 WHERE char *ImapHomeNamespace INITVAL (NULL);
62 WHERE char *ImapLogin INITVAL (NULL);
63 WHERE char *ImapPass INITVAL (NULL);
64 WHERE char *ImapUser INITVAL (NULL);
69 WHERE char *MailcapPath;
73 WHERE char *HeaderCache;
74 #if HAVE_GDBM || HAVE_DB4
75 WHERE char *HeaderCachePageSize;
76 #endif /* HAVE_GDBM || HAVE_DB4 */
77 #endif /* USE_HCACHE */
78 WHERE char *MhFlagged;
79 WHERE char *MhReplied;
82 WHERE char *MsgIdFormat;
85 WHERE rx_t QuoteRegexp;
86 WHERE rx_t ReplyRegexp;
89 WHERE rx_t StripWasRegexp;
92 WHERE char *Preconnect INITVAL (NULL);
93 WHERE char *Tunnel INITVAL (NULL);
94 #endif /* USE_SOCKET */
97 WHERE char *Mixmaster;
98 WHERE char *MixEntryFormat;
101 WHERE char *OperatingSystem INITVAL (NULL);
103 WHERE char *Muttrc INITVAL (NULL);
106 WHERE char *NewsCacheDir;
107 WHERE char *GroupFormat;
109 WHERE char *NewsServer;
110 WHERE char *NntpUser;
111 WHERE char *NntpPass;
116 WHERE char *PagerFmt;
120 WHERE char *PopAuthenticators INITVAL (NULL);
121 WHERE short PopCheckTimeout;
123 WHERE char *PopPass INITVAL (NULL);
124 WHERE char *PopUser INITVAL (NULL);
126 WHERE char *PostIndentString;
127 WHERE char *Postponed;
129 WHERE char *PrintCmd;
130 WHERE char *QueryCmd;
131 WHERE char *Realname;
132 WHERE char *SendCharset;
133 WHERE char *Sendmail;
135 WHERE char *SidebarDelim;
136 WHERE char *SidebarNumberFormat;
137 WHERE char *SidebarBoundary;
138 WHERE char *Signature;
139 WHERE char *SignOffString;
140 WHERE char *SimpleSearch;
142 #if defined(USE_LIBESMTP)
143 WHERE char *SmtpAuthUser;
144 WHERE char *SmtpAuthPass;
145 WHERE char *SmtpHost;
146 WHERE unsigned short SmtpPort;
148 WHERE char *Spoolfile;
151 #if defined(USE_SSL) || defined(USE_GNUTLS)
152 WHERE char *SslCertFile INITVAL (NULL);
155 WHERE char *SslEntropyFile INITVAL (NULL);
158 WHERE char *SslClientCert INITVAL (NULL);
159 WHERE LIST *SslSessionCerts INITVAL (NULL);
162 WHERE short SslDHPrimeBits;
163 WHERE char *SslCACertFile INITVAL (NULL);
169 WHERE char *TrashPath;
170 WHERE char *Username;
172 WHERE char *XtermTitle;
173 WHERE char *XtermLeave;
174 WHERE char *XtermIcon;
176 WHERE char *CurrentFolder;
177 WHERE char *LastFolder;
179 WHERE LIST *AutoViewList INITVAL (0);
180 WHERE LIST *AlternativeOrderList INITVAL (0);
181 WHERE LIST *HeaderOrderList INITVAL (0);
182 WHERE LIST *Ignore INITVAL (0);
183 WHERE LIST *MimeLookupList INITVAL (0);
184 WHERE LIST *UnIgnore INITVAL (0);
186 WHERE list2_t *Alternates INITVAL (0);
187 WHERE list2_t *UnAlternates INITVAL (0);
188 WHERE list2_t *MailLists INITVAL (0);
189 WHERE list2_t *UnMailLists INITVAL (0);
190 WHERE list2_t *SubscribedLists INITVAL (0);
191 WHERE list2_t *UnSubscribedLists INITVAL (0);
192 WHERE SPAM_LIST *SpamList INITVAL (0);
193 WHERE list2_t *NoSpamList INITVAL (0);
195 /* bit vector for boolean variables */
197 unsigned char Options[(OPTMAX + 7) / 8];
199 extern unsigned char Options[];
202 /* bit vector for the yes/no/ask variable type */
204 unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
206 extern unsigned char QuadOptions[];
209 WHERE unsigned short Counter INITVAL (0);
212 WHERE short NewsPollTimeout;
213 WHERE short NntpContext;
216 WHERE short ConnectTimeout;
217 WHERE short HistSize;
218 WHERE short MenuContext;
219 WHERE short PagerContext;
220 WHERE short PagerIndexLines;
222 WHERE short SendmailWait;
223 WHERE short SleepTime INITVAL (1);
225 WHERE short Umask INITVAL (0077);
226 WHERE short WrapMargin;
227 WHERE short WriteInc;
228 WHERE short MaxLineLength;
230 WHERE short ScoreThresholdDelete;
231 WHERE short ScoreThresholdRead;
232 WHERE short ScoreThresholdFlag;
234 WHERE short DrawFullLine INITVAL (0);
235 WHERE short SidebarWidth;
238 WHERE short ImapKeepalive;
239 WHERE short ImapBuffyTimeout;
242 /* flags for received signals */
243 WHERE SIG_ATOMIC_VOLATILE_T SigAlrm INITVAL (0);
244 WHERE SIG_ATOMIC_VOLATILE_T SigInt INITVAL (0);
245 WHERE SIG_ATOMIC_VOLATILE_T SigWinch INITVAL (0);
247 WHERE int CurrentMenu;
249 WHERE ALIAS *Aliases INITVAL (0);
250 WHERE LIST *UserHeader INITVAL (0);
252 /*-- formerly in pgp.h --*/
253 WHERE rx_t PgpGoodSign;
254 WHERE char *PgpSignAs;
255 WHERE short PgpTimeout;
256 WHERE char *PgpEntryFormat;
257 WHERE char *PgpClearSignCommand;
258 WHERE char *PgpDecodeCommand;
259 WHERE char *PgpVerifyCommand;
260 WHERE char *PgpDecryptCommand;
261 WHERE char *PgpSignCommand;
262 WHERE char *PgpEncryptSignCommand;
263 WHERE char *PgpEncryptOnlyCommand;
264 WHERE char *PgpImportCommand;
265 WHERE char *PgpExportCommand;
266 WHERE char *PgpVerifyKeyCommand;
267 WHERE char *PgpListSecringCommand;
268 WHERE char *PgpListPubringCommand;
269 WHERE char *PgpGetkeysCommand;
271 /*-- formerly in smime.h --*/
272 WHERE char *SmimeDefaultKey;
273 WHERE char *SmimeCryptAlg;
274 WHERE short SmimeTimeout;
275 WHERE char *SmimeCertificates;
276 WHERE char *SmimeKeys;
277 WHERE char *SmimeCryptAlg;
278 WHERE char *SmimeCALocation;
279 WHERE char *SmimeVerifyCommand;
280 WHERE char *SmimeVerifyOpaqueCommand;
281 WHERE char *SmimeDecryptCommand;
282 WHERE char *SmimeSignCommand;
283 WHERE char *SmimeSignOpaqueCommand;
284 WHERE char *SmimeEncryptCommand;
285 WHERE char *SmimeGetSignerCertCommand;
286 WHERE char *SmimePk7outCommand;
287 WHERE char *SmimeGetCertCommand;
288 WHERE char *SmimeImportCertCommand;
289 WHERE char *SmimeGetCertEmailCommand;
292 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
293 const char *Months[] =
294 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
295 "Nov", "Dec", "ERR" };
297 const char *BodyTypes[] =
298 { "x-unknown", "audio", "application", "image", "message", "model",
299 "multipart", "text", "video" };
300 const char *BodyEncodings[] =
301 { "x-unknown", "7bit", "8bit", "quoted-printable", "base64", "binary",
304 extern const char *Weekdays[];
305 extern const char *Months[];
309 /* so that global vars get included
310 * FIXME WTF IS THIS?!?!???!?!??!?!??
315 #include "mutt_crypt.h"
318 #endif /* !_GLOBALS_H */