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.
14 WHERE void (*mutt_error) (const char *, ...);
15 WHERE void (*mutt_message) (const char *, ...);
17 WHERE CONTEXT *Context;
19 WHERE char Errorbuf[STRING];
20 WHERE char AttachmentMarker[STRING];
22 WHERE char Quotebuf[SHORT_STRING];
24 #if defined(DL_STANDALONE) && defined(USE_DOTLOCK)
25 WHERE char *MuttDotlock;
30 WHERE char *AliasFile;
32 WHERE char *AssumedCharset;
33 WHERE char *AttachSep;
34 WHERE char *Attribution;
35 WHERE char *AttachFormat;
37 WHERE char *ComposeFormat;
38 WHERE char *ConfigCharset;
39 WHERE char *ContentType;
40 WHERE char *DefaultHook;
42 WHERE char *DisplayFilter;
43 WHERE char *DsnNotify;
44 WHERE char *DsnReturn;
47 WHERE char *FileCharset;
48 WHERE char *FolderFormat;
56 WHERE char *ImapAuthenticators INITVAL (NULL);
57 WHERE char *ImapDelimChars INITVAL (NULL);
58 WHERE char *ImapHeaders;
59 WHERE char *ImapHomeNamespace INITVAL (NULL);
60 WHERE char *ImapPass INITVAL (NULL);
61 WHERE char *ImapUser INITVAL (NULL);
66 WHERE char *MailcapPath;
70 WHERE char *HeaderCache;
71 WHERE char *HeaderCachePageSize;
73 WHERE char *MhFlagged;
74 WHERE char *MhReplied;
77 WHERE char *MsgIdFormat;
80 WHERE char *Preconnect INITVAL (NULL);
81 WHERE char *Tunnel INITVAL (NULL);
82 #endif /* USE_SOCKET */
85 WHERE char *Mixmaster;
86 WHERE char *MixEntryFormat;
89 WHERE char *OperatingSystem INITVAL (NULL);
91 WHERE char *Muttrc INITVAL (NULL);
94 WHERE char *NewsCacheDir;
95 WHERE char *GroupFormat;
97 WHERE char *NewsServer;
104 WHERE char *PagerFmt;
108 WHERE char *PopAuthenticators INITVAL (NULL);
109 WHERE short PopCheckTimeout;
111 WHERE char *PopPass INITVAL (NULL);
112 WHERE char *PopUser INITVAL (NULL);
114 WHERE char *PostIndentString;
115 WHERE char *Postponed;
117 WHERE char *PrintCmd;
118 WHERE char *QueryCmd;
119 WHERE char *Realname;
120 WHERE char *SendCharset;
121 WHERE char *Sendmail;
123 WHERE char *SidebarDelim;
124 WHERE char *Signature;
125 WHERE char *SignOffString;
126 WHERE char *SimpleSearch;
128 #if defined(USE_LIBESMTP)
129 WHERE char *SmtpAuthUser;
130 WHERE char *SmtpAuthPass;
131 WHERE char *SmtpHost;
132 WHERE unsigned short SmtpPort;
134 WHERE char *Spoolfile;
137 #if defined(USE_SSL) || defined(USE_NSS) || defined(USE_GNUTLS)
138 WHERE char *SslCertFile INITVAL (NULL);
140 #if defined(USE_SSL) || defined(USE_NSS)
141 WHERE char *SslEntropyFile INITVAL (NULL);
144 WHERE char *SslClientCert INITVAL (NULL);
147 WHERE short SslDHPrimeBits;
148 WHERE char *SslCACertFile INITVAL (NULL);
154 WHERE char *TrashPath;
155 WHERE char *Username;
157 WHERE char *XtermTitle;
158 WHERE char *XtermIcon;
160 WHERE char *CurrentFolder;
161 WHERE char *LastFolder;
163 WHERE LIST *AutoViewList INITVAL (0);
164 WHERE LIST *AlternativeOrderList INITVAL (0);
165 WHERE LIST *HeaderOrderList INITVAL (0);
166 WHERE LIST *Ignore INITVAL (0);
167 WHERE LIST *MimeLookupList INITVAL (0);
168 WHERE LIST *UnIgnore INITVAL (0);
170 WHERE RX_LIST *Alternates INITVAL (0);
171 WHERE RX_LIST *UnAlternates INITVAL (0);
172 WHERE RX_LIST *MailLists INITVAL (0);
173 WHERE RX_LIST *UnMailLists INITVAL (0);
174 WHERE RX_LIST *SubscribedLists INITVAL (0);
175 WHERE RX_LIST *UnSubscribedLists INITVAL (0);
176 WHERE SPAM_LIST *SpamList INITVAL (0);
177 WHERE RX_LIST *NoSpamList INITVAL (0);
179 /* bit vector for boolean variables */
181 unsigned char Options[(OPTMAX + 7) / 8];
183 extern unsigned char Options[];
186 /* bit vector for the yes/no/ask variable type */
188 unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
190 extern unsigned char QuadOptions[];
193 WHERE unsigned short Counter INITVAL (0);
196 WHERE short NewsPollTimeout;
197 WHERE short NntpContext;
200 WHERE short ConnectTimeout;
201 WHERE short HistSize;
202 WHERE short MenuContext;
203 WHERE short PagerContext;
204 WHERE short PagerIndexLines;
206 WHERE short SendmailWait;
207 WHERE short SleepTime INITVAL (1);
209 WHERE short Umask INITVAL (0077);
210 WHERE short WrapMargin;
211 WHERE short WriteInc;
212 WHERE short MaxLineLength;
214 WHERE short ScoreThresholdDelete;
215 WHERE short ScoreThresholdRead;
216 WHERE short ScoreThresholdFlag;
218 WHERE short DrawFullLine INITVAL (0);
219 WHERE short SidebarWidth;
222 WHERE short ImapKeepalive;
223 WHERE short ImapBuffyTimeout;
226 /* flags for received signals */
227 WHERE SIG_ATOMIC_VOLATILE_T SigAlrm INITVAL (0);
228 WHERE SIG_ATOMIC_VOLATILE_T SigInt INITVAL (0);
229 WHERE SIG_ATOMIC_VOLATILE_T SigWinch INITVAL (0);
231 WHERE int CurrentMenu;
233 WHERE ALIAS *Aliases INITVAL (0);
234 WHERE LIST *UserHeader INITVAL (0);
236 /*-- formerly in pgp.h --*/
237 WHERE REGEXP PgpGoodSign;
238 WHERE char *PgpSignAs;
239 WHERE short PgpTimeout;
240 WHERE char *PgpEntryFormat;
241 WHERE char *PgpClearSignCommand;
242 WHERE char *PgpDecodeCommand;
243 WHERE char *PgpVerifyCommand;
244 WHERE char *PgpDecryptCommand;
245 WHERE char *PgpSignCommand;
246 WHERE char *PgpEncryptSignCommand;
247 WHERE char *PgpEncryptOnlyCommand;
248 WHERE char *PgpImportCommand;
249 WHERE char *PgpExportCommand;
250 WHERE char *PgpVerifyKeyCommand;
251 WHERE char *PgpListSecringCommand;
252 WHERE char *PgpListPubringCommand;
253 WHERE char *PgpGetkeysCommand;
255 /*-- formerly in smime.h --*/
256 WHERE char *SmimeDefaultKey;
257 WHERE char *SmimeCryptAlg;
258 WHERE short SmimeTimeout;
259 WHERE char *SmimeCertificates;
260 WHERE char *SmimeKeys;
261 WHERE char *SmimeCryptAlg;
262 WHERE char *SmimeCALocation;
263 WHERE char *SmimeVerifyCommand;
264 WHERE char *SmimeVerifyOpaqueCommand;
265 WHERE char *SmimeDecryptCommand;
266 WHERE char *SmimeSignCommand;
267 WHERE char *SmimeSignOpaqueCommand;
268 WHERE char *SmimeEncryptCommand;
269 WHERE char *SmimeGetSignerCertCommand;
270 WHERE char *SmimePk7outCommand;
271 WHERE char *SmimeGetCertCommand;
272 WHERE char *SmimeImportCertCommand;
273 WHERE char *SmimeGetCertEmailCommand;
278 WHERE FILE *debugfile INITVAL (0);
279 WHERE int debuglevel INITVAL (0);
283 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
284 const char *Months[] =
285 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
286 "Nov", "Dec", "ERR" };
288 const char *BodyTypes[] =
289 { "x-unknown", "audio", "application", "image", "message", "model",
290 "multipart", "text", "video" };
291 const char *BodyEncodings[] =
292 { "x-unknown", "7bit", "8bit", "quoted-printable", "base64", "binary",
295 extern const char *Weekdays[];
296 extern const char *Months[];
300 /* so that global vars get included */
302 #include "mutt_regex.h"
305 #include "mutt_crypt.h"
308 #endif /* !_GLOBALS_H */