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);
71 WHERE char *Mixmaster;
72 WHERE char *MixEntryFormat;
73 WHERE char *Muttrc INITVAL (NULL);
76 WHERE char *GroupFormat;
77 WHERE char *NewsServer;
84 WHERE char *PopAuthenticators INITVAL (NULL);
85 WHERE short PopCheckTimeout;
87 WHERE char *PopPass INITVAL (NULL);
88 WHERE char *PopUser INITVAL (NULL);
90 WHERE char *Postponed;
95 WHERE char *SidebarDelim;
96 WHERE char *SidebarNumberFormat;
97 WHERE char *SidebarBoundary;
98 WHERE char *SignOffString;
99 WHERE char *SimpleSearch;
101 WHERE char *Spoolfile;
106 WHERE char *TrashPath;
107 WHERE char *XtermTitle;
108 WHERE char *XtermLeave;
109 WHERE char *XtermIcon;
111 WHERE char *CurrentFolder;
112 WHERE char *LastFolder;
114 WHERE string_list_t *AttachAllow INITVAL(0);
115 WHERE string_list_t *AttachExclude INITVAL(0);
116 WHERE string_list_t *InlineAllow INITVAL(0);
117 WHERE string_list_t *InlineExclude INITVAL(0);
119 /* bit vector for boolean variables */
120 WHERE unsigned char Options[(OPTMAX + 7) / 8];
122 /* bit vector for the yes/no/ask variable type */
123 WHERE unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
126 WHERE short NewsPollTimeout;
127 WHERE short NntpContext;
130 WHERE short ConnectTimeout;
131 WHERE short HistSize;
132 WHERE short MenuContext;
133 WHERE short PagerContext;
134 WHERE short PagerIndexLines;
136 WHERE short SleepTime INITVAL (1);
138 WHERE short Umask INITVAL (0077);
139 WHERE short WrapMargin;
140 WHERE short WriteInc;
141 WHERE short MaxDispRecips;
142 WHERE short MaxLineLength;
144 WHERE short DrawFullLine INITVAL (0);
145 WHERE short SidebarWidth;
147 WHERE short ImapKeepalive;
148 WHERE short ImapBuffyTimeout;
150 /* flags for received signals */
151 WHERE sig_atomic_t SigAlrm INITVAL (0);
152 WHERE sig_atomic_t SigInt INITVAL (0);
153 WHERE sig_atomic_t SigWinch INITVAL (0);
155 WHERE int CurrentMenu;
157 WHERE string_list_t *UserHeader INITVAL (0);
159 /*-- formerly in pgp.h --*/
160 WHERE char *PgpSignAs;
162 /*-- formerly in smime.h --*/
163 WHERE char *SmimeDefaultKey;
164 WHERE char *SmimeCryptAlg;
167 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
168 const char *Months[] =
169 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
170 "Nov", "Dec", "ERR" };
172 extern const char *Weekdays[];
173 extern const char *Months[];
176 #endif /* !_GLOBALS_H */