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.
12 #include <lib-lib/lib-lib.h>
14 WHERE void (*mutt_error) (const char *, ...) __attribute__((format(printf, 1, 2))) ;
15 WHERE void (*mutt_message) (const char *, ...) __attribute__((format(printf, 1, 2))) ;
17 WHERE CONTEXT *Context;
19 WHERE char Errorbuf[STRING];
20 WHERE char AttachmentMarker[STRING];
22 WHERE char Quotebuf[STRING];
24 WHERE char *AttachSep;
25 WHERE char *Attribution;
26 WHERE char *AttachFormat;
27 WHERE char *ComposeFormat;
28 WHERE char *ConfigCharset;
29 WHERE char *ContentType;
30 WHERE char *DefaultHook;
32 WHERE char *DisplayFilter;
33 WHERE char *EditorHeaders;
34 WHERE char *FileCharset;
35 WHERE char *FolderFormat;
39 WHERE char *ImapAuthenticators INITVAL (NULL);
40 WHERE char *ImapDelimChars INITVAL (NULL);
41 WHERE char *ImapHeaders;
42 WHERE char *ImapHomeNamespace INITVAL (NULL);
43 WHERE char *ImapLogin INITVAL (NULL);
44 WHERE char *ImapPass INITVAL (NULL);
45 WHERE char *ImapUser INITVAL (NULL);
51 WHERE char *HeaderCache;
52 #if defined(HAVE_GDBM) || defined(HAVE_DB4)
53 WHERE char *HeaderCachePageSize;
54 #endif /* HAVE_GDBM || HAVE_DB4 */
55 #endif /* USE_HCACHE */
56 WHERE char *MhFlagged;
57 WHERE char *MhReplied;
60 WHERE char *MsgIdFormat;
62 WHERE rx_t AttachRemindRegexp;
64 WHERE rx_t QuoteRegexp;
65 WHERE rx_t ReplyRegexp;
67 WHERE rx_t StripWasRegexp;
69 WHERE char *Preconnect INITVAL (NULL);
70 WHERE char *Tunnel INITVAL (NULL);
73 WHERE char *Mixmaster;
74 WHERE char *MixEntryFormat;
75 WHERE char *Muttrc INITVAL (NULL);
78 WHERE char *NewsCacheDir;
79 WHERE char *GroupFormat;
81 WHERE char *NewsServer;
90 WHERE char *PopAuthenticators INITVAL (NULL);
91 WHERE short PopCheckTimeout;
93 WHERE char *PopPass INITVAL (NULL);
94 WHERE char *PopUser INITVAL (NULL);
96 WHERE char *PostIndentString;
97 WHERE char *Postponed;
100 WHERE char *QueryCmd;
101 WHERE char *Realname;
102 WHERE char *SidebarDelim;
103 WHERE char *SidebarNumberFormat;
104 WHERE char *SidebarBoundary;
105 WHERE char *SignOffString;
106 WHERE char *SimpleSearch;
108 #if defined(USE_LIBESMTP)
109 WHERE char *SmtpAuthUser;
110 WHERE char *SmtpAuthPass;
111 WHERE char *SmtpHost;
112 WHERE unsigned short SmtpPort;
113 WHERE char *SmtpUseTLS;
115 WHERE char *Spoolfile;
117 #if defined(USE_SSL) || defined(USE_GNUTLS)
118 WHERE char *SslCertFile INITVAL (NULL);
121 WHERE char *SslEntropyFile INITVAL (NULL);
124 WHERE char *SslClientCert INITVAL (NULL);
125 WHERE string_list_t *SslSessionCerts INITVAL (NULL);
128 WHERE short SslDHPrimeBits;
129 WHERE char *SslCACertFile INITVAL (NULL);
134 WHERE char *TrashPath;
135 WHERE char *XtermTitle;
136 WHERE char *XtermLeave;
137 WHERE char *XtermIcon;
139 WHERE char *CurrentFolder;
140 WHERE char *LastFolder;
142 WHERE string_list_t *AttachAllow INITVAL(0);
143 WHERE string_list_t *AttachExclude INITVAL(0);
144 WHERE string_list_t *InlineAllow INITVAL(0);
145 WHERE string_list_t *InlineExclude INITVAL(0);
147 /* bit vector for boolean variables */
148 WHERE unsigned char Options[(OPTMAX + 7) / 8];
150 /* bit vector for the yes/no/ask variable type */
151 WHERE unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
154 WHERE short NewsPollTimeout;
155 WHERE short NntpContext;
158 WHERE short ConnectTimeout;
159 WHERE short HistSize;
160 WHERE short MenuContext;
161 WHERE short PagerContext;
162 WHERE short PagerIndexLines;
164 WHERE short SleepTime INITVAL (1);
166 WHERE short Umask INITVAL (0077);
167 WHERE short WrapMargin;
168 WHERE short WriteInc;
169 WHERE short MaxDispRecips;
170 WHERE short MaxLineLength;
172 WHERE short ScoreThresholdDelete;
173 WHERE short ScoreThresholdRead;
174 WHERE short ScoreThresholdFlag;
176 WHERE short DrawFullLine INITVAL (0);
177 WHERE short SidebarWidth;
179 WHERE short ImapKeepalive;
180 WHERE short ImapBuffyTimeout;
182 /* flags for received signals */
183 WHERE SIG_ATOMIC_VOLATILE_T SigAlrm INITVAL (0);
184 WHERE SIG_ATOMIC_VOLATILE_T SigInt INITVAL (0);
185 WHERE SIG_ATOMIC_VOLATILE_T SigWinch INITVAL (0);
187 WHERE int CurrentMenu;
189 WHERE string_list_t *UserHeader INITVAL (0);
191 /*-- formerly in pgp.h --*/
192 WHERE char *PgpSignAs;
193 WHERE char *PgpEntryFormat;
195 /*-- formerly in smime.h --*/
196 WHERE char *SmimeDefaultKey;
197 WHERE char *SmimeCryptAlg;
200 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
201 const char *Months[] =
202 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
203 "Nov", "Dec", "ERR" };
205 extern const char *Weekdays[];
206 extern const char *Months[];
209 #endif /* !_GLOBALS_H */