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 #if defined(HAVE_GDBM)
51 WHERE char *HeaderCachePageSize;
52 #endif /* HAVE_GDBM */
53 #endif /* USE_HCACHE */
54 WHERE char *MhFlagged;
55 WHERE char *MhReplied;
58 WHERE char *MsgIdFormat;
60 WHERE rx_t AttachRemindRegexp;
62 WHERE rx_t QuoteRegexp;
63 WHERE rx_t ReplyRegexp;
65 WHERE rx_t StripWasRegexp;
67 WHERE char *Preconnect INITVAL (NULL);
68 WHERE char *Tunnel INITVAL (NULL);
70 WHERE char *Muttrc INITVAL (NULL);
73 WHERE char *GroupFormat;
74 WHERE char *NewsServer;
81 WHERE char *PopAuthenticators INITVAL (NULL);
82 WHERE short PopCheckTimeout;
84 WHERE char *PopPass INITVAL (NULL);
85 WHERE char *PopUser INITVAL (NULL);
87 WHERE char *Postponed;
92 WHERE char *SidebarNumberFormat;
93 WHERE char *SidebarBoundary;
94 WHERE char *SignOffString;
95 WHERE char *SimpleSearch;
97 WHERE char *Spoolfile;
102 WHERE char *TrashPath;
103 WHERE char *XtermTitle;
104 WHERE char *XtermLeave;
105 WHERE char *XtermIcon;
107 WHERE char *CurrentFolder;
108 WHERE char *LastFolder;
110 WHERE string_list_t *AttachAllow INITVAL(0);
111 WHERE string_list_t *AttachExclude INITVAL(0);
112 WHERE string_list_t *InlineAllow INITVAL(0);
113 WHERE string_list_t *InlineExclude INITVAL(0);
115 /* bit vector for boolean variables */
116 WHERE unsigned char Options[(OPTMAX + 7) / 8];
118 /* bit vector for the yes/no/ask variable type */
119 WHERE unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
122 WHERE short NewsPollTimeout;
123 WHERE short NntpContext;
126 WHERE short ConnectTimeout;
127 WHERE short HistSize;
128 WHERE short MenuContext;
129 WHERE short PagerContext;
130 WHERE short PagerIndexLines;
132 WHERE short SleepTime INITVAL (1);
134 WHERE short Umask INITVAL (0077);
135 WHERE short WrapMargin;
136 WHERE short WriteInc;
137 WHERE short MaxDispRecips;
138 WHERE short MaxLineLength;
140 WHERE short DrawFullLine INITVAL (0);
141 WHERE short SidebarWidth;
143 WHERE short ImapKeepalive;
144 WHERE short ImapBuffyTimeout;
146 /* flags for received signals */
147 WHERE sig_atomic_t SigAlrm INITVAL (0);
148 WHERE sig_atomic_t SigInt INITVAL (0);
149 WHERE sig_atomic_t SigWinch INITVAL (0);
151 WHERE int CurrentMenu;
153 WHERE string_list_t *UserHeader INITVAL (0);
155 /*-- formerly in pgp.h --*/
156 WHERE char *PgpSignAs;
158 /*-- formerly in smime.h --*/
159 WHERE char *SmimeDefaultKey;
160 WHERE char *SmimeCryptAlg;
163 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
164 const char *Months[] =
165 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
166 "Nov", "Dec", "ERR" };
168 extern const char *Weekdays[];
169 extern const char *Months[];
172 #endif /* !_GLOBALS_H */