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);
49 WHERE char *MhFlagged;
50 WHERE char *MhReplied;
53 WHERE char *MsgIdFormat;
55 WHERE rx_t AttachRemindRegexp;
57 WHERE rx_t QuoteRegexp;
58 WHERE rx_t ReplyRegexp;
60 WHERE rx_t StripWasRegexp;
62 WHERE char *Preconnect INITVAL (NULL);
63 WHERE char *Tunnel INITVAL (NULL);
65 WHERE char *Muttrc INITVAL (NULL);
68 WHERE char *GroupFormat;
69 WHERE char *NewsServer;
76 WHERE char *PopAuthenticators INITVAL (NULL);
77 WHERE short PopCheckTimeout;
79 WHERE char *PopPass INITVAL (NULL);
80 WHERE char *PopUser INITVAL (NULL);
82 WHERE char *Postponed;
87 WHERE char *SidebarNumberFormat;
88 WHERE char *SidebarBoundary;
89 WHERE char *SignOffString;
90 WHERE char *SimpleSearch;
92 WHERE char *Spoolfile;
97 WHERE char *TrashPath;
98 WHERE char *XtermTitle;
99 WHERE char *XtermLeave;
100 WHERE char *XtermIcon;
102 WHERE char *CurrentFolder;
103 WHERE char *LastFolder;
105 WHERE string_list_t *AttachAllow INITVAL(0);
106 WHERE string_list_t *AttachExclude INITVAL(0);
107 WHERE string_list_t *InlineAllow INITVAL(0);
108 WHERE string_list_t *InlineExclude INITVAL(0);
110 /* bit vector for boolean variables */
111 WHERE unsigned char Options[(OPTMAX + 7) / 8];
113 /* bit vector for the yes/no/ask variable type */
114 WHERE unsigned char QuadOptions[(OPT_MAX * 2 + 7) / 8];
117 WHERE short NewsPollTimeout;
118 WHERE short NntpContext;
121 WHERE short ConnectTimeout;
122 WHERE short HistSize;
123 WHERE short MenuContext;
124 WHERE short PagerContext;
125 WHERE short PagerIndexLines;
127 WHERE short SleepTime INITVAL (1);
129 WHERE short Umask INITVAL (0077);
130 WHERE short WrapMargin;
131 WHERE short WriteInc;
132 WHERE short MaxDispRecips;
133 WHERE short MaxLineLength;
135 WHERE short DrawFullLine INITVAL (0);
136 WHERE short SidebarWidth;
138 WHERE short ImapKeepalive;
139 WHERE short ImapBuffyTimeout;
141 /* flags for received signals */
142 WHERE sig_atomic_t SigAlrm INITVAL (0);
143 WHERE sig_atomic_t SigInt INITVAL (0);
144 WHERE sig_atomic_t SigWinch INITVAL (0);
146 WHERE int CurrentMenu;
148 WHERE string_list_t *UserHeader INITVAL (0);
150 /*-- formerly in pgp.h --*/
151 WHERE char *PgpSignAs;
153 /*-- formerly in smime.h --*/
154 WHERE char *SmimeDefaultKey;
155 WHERE char *SmimeCryptAlg;
158 const char *Weekdays[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
159 const char *Months[] =
160 { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
161 "Nov", "Dec", "ERR" };
163 extern const char *Weekdays[];
164 extern const char *Months[];
167 #endif /* !_GLOBALS_H */