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.
18 WHERE void (*mutt_error) (const char *, ...);
19 WHERE void (*mutt_message) (const char *, ...);
21 WHERE CONTEXT *Context;
23 WHERE char Errorbuf[STRING];
24 WHERE char AttachmentMarker[STRING];
26 WHERE char Quotebuf[SHORT_STRING];
28 #if defined(DL_STANDALONE) && defined(USE_DOTLOCK)
29 WHERE char *MuttDotlock;
34 WHERE char *AliasFile;
36 WHERE char *AssumedCharset;
37 WHERE char *AttachSep;
38 WHERE char *Attribution;
39 WHERE char *AttachFormat;
41 WHERE char *ComposeFormat;
42 WHERE char *ConfigCharset;
43 WHERE char *ContentType;
44 WHERE char *DefaultHook;
46 WHERE char *DisplayFilter;
47 WHERE char *DsnNotify;
48 WHERE char *DsnReturn;
51 WHERE char *FileCharset;
52 WHERE char *FolderFormat;
60 WHERE char *ImapAuthenticators INITVAL (NULL);
61 WHERE char *ImapDelimChars INITVAL (NULL);
62 WHERE char *ImapHeaders;
63 WHERE char *ImapHomeNamespace INITVAL (NULL);
64 WHERE char *ImapLogin INITVAL (NULL);
65 WHERE char *ImapPass INITVAL (NULL);
66 WHERE char *ImapUser INITVAL (NULL);
71 WHERE char *MailcapPath;
75 WHERE char *HeaderCache;
76 #if HAVE_GDBM || HAVE_DB4
77 WHERE char *HeaderCachePageSize;
78 #endif /* HAVE_GDBM || HAVE_DB4 */
79 #endif /* USE_HCACHE */
80 WHERE char *MhFlagged;
81 WHERE char *MhReplied;
84 WHERE char *MsgIdFormat;
86 WHERE rx_t AttachRemindRegexp;
88 WHERE rx_t QuoteRegexp;
89 WHERE rx_t ReplyRegexp;
92 WHERE rx_t StripWasRegexp;
95 WHERE char *Preconnect INITVAL (NULL);
96 WHERE char *Tunnel INITVAL (NULL);
97 #endif /* USE_SOCKET */
100 WHERE char *Mixmaster;
101 WHERE char *MixEntryFormat;
104 WHERE char *OperatingSystem INITVAL (NULL);
106 WHERE char *Muttrc INITVAL (NULL);
109 WHERE char *NewsCacheDir;
110 WHERE char *GroupFormat;
112 WHERE char *NewsServer;
113 WHERE char *NntpUser;
114 WHERE char *NntpPass;
119 WHERE char *PagerFmt;
123 WHERE char *PopAuthenticators INITVAL (NULL);
124 WHERE short PopCheckTimeout;
126 WHERE char *PopPass INITVAL (NULL);
127 WHERE char *PopUser INITVAL (NULL);
129 WHERE char *PostIndentString;
130 WHERE char *Postponed;
132 WHERE char *PrintCmd;
133 WHERE char *QueryCmd;
134 WHERE char *Realname;
135 WHERE char *SendCharset;
136 WHERE char *Sendmail;
138 WHERE char *SidebarDelim;
139 WHERE char *SidebarNumberFormat;
140 WHERE char *SidebarBoundary;
141 WHERE char *Signature;
142 WHERE char *SignOffString;
143 WHERE char *SimpleSearch;
145 #if defined(USE_LIBESMTP)
146 WHERE char *SmtpAuthUser;
147 WHERE char *SmtpAuthPass;
148 WHERE char *SmtpEnvFrom;
149 WHERE char *SmtpHost;
150 WHERE unsigned short SmtpPort;
151 WHERE char *SmtpUseTLS;
153 WHERE char *Spoolfile;
156 #if defined(USE_SSL) || defined(USE_GNUTLS)
157 WHERE char *SslCertFile INITVAL (NULL);
160 WHERE char *SslEntropyFile INITVAL (NULL);
163 WHERE char *SslClientCert INITVAL (NULL);
164 WHERE LIST *SslSessionCerts INITVAL (NULL);
167 WHERE short SslDHPrimeBits;
168 WHERE char *SslCACertFile INITVAL (NULL);
174 WHERE char *TrashPath;
175 WHERE char *Username;
177 WHERE char *XtermTitle;
178 WHERE char *XtermLeave;
179 WHERE char *XtermIcon;
181 WHERE char *CurrentFolder;
182 WHERE char *LastFolder;
184 WHERE LIST *AutoViewList INITVAL (0);
185 WHERE LIST *AlternativeOrderList INITVAL (0);
186 WHERE LIST *HeaderOrderList INITVAL (0);
187 WHERE LIST *Ignore INITVAL (0);
188 WHERE LIST *MimeLookupList INITVAL (0);
189 WHERE LIST *UnIgnore INITVAL (0);
191 WHERE list2_t *Alternates INITVAL (0);
192 WHERE list2_t *UnAlternates INITVAL (0);
193 WHERE list2_t *MailLists INITVAL (0);
194 WHERE list2_t *UnMailLists INITVAL (0);
195 WHERE list2_t *SubscribedLists INITVAL (0);
196 WHERE list2_t *UnSubscribedLists INITVAL (0);
197 WHERE SPAM_LIST *SpamList INITVAL (0);
198 WHERE list2_t *NoSpamList INITVAL (0);
200 /* bit vector for boolean variables */
202 unsigned char Options[(OPTMAX + 7) / 8];
204 extern unsigned char Options[];
207 /* bit vector for the yes/no/ask variable type */
209 unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
211 extern unsigned char QuadOptions[];
214 WHERE unsigned short Counter INITVAL (0);
217 WHERE short NewsPollTimeout;
218 WHERE short NntpContext;
221 WHERE short ConnectTimeout;
222 WHERE short HistSize;
223 WHERE short MenuContext;
224 WHERE short PagerContext;
225 WHERE short PagerIndexLines;
227 WHERE short SendmailWait;
228 WHERE short SleepTime INITVAL (1);
230 WHERE short Umask INITVAL (0077);
231 WHERE short WrapMargin;
232 WHERE short WriteInc;
233 WHERE short MaxDispRecips;
234 WHERE short MaxLineLength;
236 WHERE short ScoreThresholdDelete;
237 WHERE short ScoreThresholdRead;
238 WHERE short ScoreThresholdFlag;
240 WHERE short DrawFullLine INITVAL (0);
241 WHERE short SidebarWidth;
244 WHERE short ImapKeepalive;
245 WHERE short ImapBuffyTimeout;
248 /* flags for received signals */
249 WHERE SIG_ATOMIC_VOLATILE_T SigAlrm INITVAL (0);
250 WHERE SIG_ATOMIC_VOLATILE_T SigInt INITVAL (0);
251 WHERE SIG_ATOMIC_VOLATILE_T SigWinch INITVAL (0);
253 WHERE int CurrentMenu;
255 WHERE ALIAS *Aliases INITVAL (0);
256 WHERE LIST *UserHeader INITVAL (0);
258 /*-- formerly in pgp.h --*/
259 WHERE rx_t PgpGoodSign;
260 WHERE char *PgpSignAs;
261 WHERE short PgpTimeout;
262 WHERE char *PgpEntryFormat;
263 WHERE char *PgpClearSignCommand;
264 WHERE char *PgpDecodeCommand;
265 WHERE char *PgpVerifyCommand;
266 WHERE char *PgpDecryptCommand;
267 WHERE char *PgpSignCommand;
268 WHERE char *PgpEncryptSignCommand;
269 WHERE char *PgpEncryptOnlyCommand;
270 WHERE char *PgpImportCommand;
271 WHERE char *PgpExportCommand;
272 WHERE char *PgpVerifyKeyCommand;
273 WHERE char *PgpListSecringCommand;
274 WHERE char *PgpListPubringCommand;
275 WHERE char *PgpGetkeysCommand;
277 /*-- formerly in smime.h --*/
278 WHERE char *SmimeDefaultKey;
279 WHERE char *SmimeCryptAlg;
280 WHERE short SmimeTimeout;
281 WHERE char *SmimeCertificates;
282 WHERE char *SmimeKeys;
283 WHERE char *SmimeCryptAlg;
284 WHERE char *SmimeCALocation;
285 WHERE char *SmimeVerifyCommand;
286 WHERE char *SmimeVerifyOpaqueCommand;
287 WHERE char *SmimeDecryptCommand;
288 WHERE char *SmimeSignCommand;
289 WHERE char *SmimeSignOpaqueCommand;
290 WHERE char *SmimeEncryptCommand;
291 WHERE char *SmimeGetSignerCertCommand;
292 WHERE char *SmimePk7outCommand;
293 WHERE char *SmimeGetCertCommand;
294 WHERE char *SmimeImportCertCommand;
295 WHERE char *SmimeGetCertEmailCommand;
298 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
299 const char *Months[] =
300 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
301 "Nov", "Dec", "ERR" };
303 const char *BodyTypes[] =
304 { "x-unknown", "audio", "application", "image", "message", "model",
305 "multipart", "text", "video" };
306 const char *BodyEncodings[] =
307 { "x-unknown", "7bit", "8bit", "quoted-printable", "base64", "binary",
310 extern const char *Weekdays[];
311 extern const char *Months[];
315 /* so that global vars get included
316 * FIXME WTF IS THIS?!?!???!?!??!?!??
321 #include "mutt_crypt.h"
324 #endif /* !_GLOBALS_H */