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)
53 WHERE char *HeaderCachePageSize;
54 #endif /* HAVE_GDBM */
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;
89 WHERE char *PopAuthenticators INITVAL (NULL);
90 WHERE short PopCheckTimeout;
92 WHERE char *PopPass INITVAL (NULL);
93 WHERE char *PopUser INITVAL (NULL);
95 WHERE char *Postponed;
100 WHERE char *SidebarDelim;
101 WHERE char *SidebarNumberFormat;
102 WHERE char *SidebarBoundary;
103 WHERE char *SignOffString;
104 WHERE char *SimpleSearch;
106 #if defined(USE_LIBESMTP)
107 WHERE char *SmtpAuthUser;
108 WHERE char *SmtpAuthPass;
109 WHERE char *SmtpHost;
110 WHERE unsigned short SmtpPort;
111 WHERE char *SmtpUseTLS;
113 WHERE char *Spoolfile;
118 WHERE char *TrashPath;
119 WHERE char *XtermTitle;
120 WHERE char *XtermLeave;
121 WHERE char *XtermIcon;
123 WHERE char *CurrentFolder;
124 WHERE char *LastFolder;
126 WHERE string_list_t *AttachAllow INITVAL(0);
127 WHERE string_list_t *AttachExclude INITVAL(0);
128 WHERE string_list_t *InlineAllow INITVAL(0);
129 WHERE string_list_t *InlineExclude INITVAL(0);
131 /* bit vector for boolean variables */
132 WHERE unsigned char Options[(OPTMAX + 7) / 8];
134 /* bit vector for the yes/no/ask variable type */
135 WHERE unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
138 WHERE short NewsPollTimeout;
139 WHERE short NntpContext;
142 WHERE short ConnectTimeout;
143 WHERE short HistSize;
144 WHERE short MenuContext;
145 WHERE short PagerContext;
146 WHERE short PagerIndexLines;
148 WHERE short SleepTime INITVAL (1);
150 WHERE short Umask INITVAL (0077);
151 WHERE short WrapMargin;
152 WHERE short WriteInc;
153 WHERE short MaxDispRecips;
154 WHERE short MaxLineLength;
156 WHERE short DrawFullLine INITVAL (0);
157 WHERE short SidebarWidth;
159 WHERE short ImapKeepalive;
160 WHERE short ImapBuffyTimeout;
162 /* flags for received signals */
163 WHERE sig_atomic_t SigAlrm INITVAL (0);
164 WHERE sig_atomic_t SigInt INITVAL (0);
165 WHERE sig_atomic_t SigWinch INITVAL (0);
167 WHERE int CurrentMenu;
169 WHERE string_list_t *UserHeader INITVAL (0);
171 /*-- formerly in pgp.h --*/
172 WHERE char *PgpSignAs;
174 /*-- formerly in smime.h --*/
175 WHERE char *SmimeDefaultKey;
176 WHERE char *SmimeCryptAlg;
179 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
180 const char *Months[] =
181 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
182 "Nov", "Dec", "ERR" };
184 extern const char *Weekdays[];
185 extern const char *Months[];
188 #endif /* !_GLOBALS_H */