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 *ImapLogin INITVAL (NULL);
43 WHERE char *ImapPass INITVAL (NULL);
44 WHERE char *ImapUser INITVAL (NULL);
50 WHERE char *HeaderCache;
51 #if defined(HAVE_GDBM)
52 WHERE char *HeaderCachePageSize;
53 #endif /* HAVE_GDBM */
54 #endif /* USE_HCACHE */
55 WHERE char *MhFlagged;
56 WHERE char *MhReplied;
59 WHERE char *MsgIdFormat;
61 WHERE rx_t AttachRemindRegexp;
63 WHERE rx_t QuoteRegexp;
64 WHERE rx_t ReplyRegexp;
66 WHERE rx_t StripWasRegexp;
68 WHERE char *Preconnect INITVAL (NULL);
69 WHERE char *Tunnel INITVAL (NULL);
72 WHERE char *Mixmaster;
73 WHERE char *MixEntryFormat;
74 WHERE char *Muttrc INITVAL (NULL);
77 WHERE char *NewsCacheDir;
78 WHERE char *GroupFormat;
79 WHERE char *NewsServer;
86 WHERE char *PopAuthenticators INITVAL (NULL);
87 WHERE short PopCheckTimeout;
89 WHERE char *PopPass INITVAL (NULL);
90 WHERE char *PopUser INITVAL (NULL);
92 WHERE char *Postponed;
97 WHERE char *SidebarDelim;
98 WHERE char *SidebarNumberFormat;
99 WHERE char *SidebarBoundary;
100 WHERE char *SignOffString;
101 WHERE char *SimpleSearch;
103 WHERE char *Spoolfile;
108 WHERE char *TrashPath;
109 WHERE char *XtermTitle;
110 WHERE char *XtermLeave;
111 WHERE char *XtermIcon;
113 WHERE char *CurrentFolder;
114 WHERE char *LastFolder;
116 WHERE string_list_t *AttachAllow INITVAL(0);
117 WHERE string_list_t *AttachExclude INITVAL(0);
118 WHERE string_list_t *InlineAllow INITVAL(0);
119 WHERE string_list_t *InlineExclude INITVAL(0);
121 /* bit vector for boolean variables */
122 WHERE unsigned char Options[(OPTMAX + 7) / 8];
124 /* bit vector for the yes/no/ask variable type */
125 WHERE unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
128 WHERE short NewsPollTimeout;
129 WHERE short NntpContext;
132 WHERE short ConnectTimeout;
133 WHERE short HistSize;
134 WHERE short MenuContext;
135 WHERE short PagerContext;
136 WHERE short PagerIndexLines;
138 WHERE short SleepTime INITVAL (1);
140 WHERE short Umask INITVAL (0077);
141 WHERE short WrapMargin;
142 WHERE short WriteInc;
143 WHERE short MaxDispRecips;
144 WHERE short MaxLineLength;
146 WHERE short DrawFullLine INITVAL (0);
147 WHERE short SidebarWidth;
149 WHERE short ImapKeepalive;
150 WHERE short ImapBuffyTimeout;
152 /* flags for received signals */
153 WHERE sig_atomic_t SigAlrm INITVAL (0);
154 WHERE sig_atomic_t SigInt INITVAL (0);
155 WHERE sig_atomic_t SigWinch INITVAL (0);
157 WHERE int CurrentMenu;
159 WHERE string_list_t *UserHeader INITVAL (0);
161 /*-- formerly in pgp.h --*/
162 WHERE char *PgpSignAs;
164 /*-- formerly in smime.h --*/
165 WHERE char *SmimeDefaultKey;
166 WHERE char *SmimeCryptAlg;
169 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
170 const char *Months[] =
171 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
172 "Nov", "Dec", "ERR" };
174 extern const char *Weekdays[];
175 extern const char *Months[];
178 #endif /* !_GLOBALS_H */