]> granicus.if.org Git - neomutt/blob - options.h
Convert mutt_attach_reply() to use buffer pool
[neomutt] / options.h
1 /**
2  * @file
3  * Handling of global boolean variables
4  *
5  * @authors
6  * Copyright (C) 2017 Richard Russon <rich@flatcap.org>
7  *
8  * @copyright
9  * This program is free software: you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License as published by the Free Software
11  * Foundation, either version 2 of the License, or (at your option) any later
12  * version.
13  *
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
17  * details.
18  *
19  * You should have received a copy of the GNU General Public License along with
20  * this program.  If not, see <http://www.gnu.org/licenses/>.
21  */
22
23 #ifndef MUTT_OPTIONS_H
24 #define MUTT_OPTIONS_H
25
26 #include <stdbool.h>
27 #include "where.h"
28
29 /* pseudo options */
30
31 WHERE bool OptAttachMsg;           /**< (pseudo) used by attach-message */
32 WHERE bool OptAutocryptGpgme;      /**< (pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c */
33 WHERE bool OptAuxSort;             /**< (pseudo) using auxiliary sort function */
34 WHERE bool OptDontHandlePgpKeys; /**< (pseudo) used to extract PGP keys */
35 WHERE bool OptForceRefresh;        /**< (pseudo) refresh even during macros */
36 WHERE bool OptIgnoreMacroEvents;  /**< (pseudo) don't process macro/push/exec events while set */
37 WHERE bool OptKeepQuiet;           /**< (pseudo) shut up the message and refresh functions while we are executing an external program.  */
38 WHERE bool OptMenuCaller;          /**< (pseudo) tell menu to give caller a take */
39 WHERE bool OptMsgErr;              /**< (pseudo) used by mutt_error/mutt_message */
40 WHERE bool OptNeedRescore;         /**< (pseudo) set when the 'score' command is used */
41 WHERE bool OptNeedResort;          /**< (pseudo) used to force a re-sort */
42 #ifdef USE_NNTP
43 WHERE bool OptNews;                 /**< (pseudo) used to change reader mode */
44 WHERE bool OptNewsSend;            /**< (pseudo) used to change behavior when posting */
45 #endif
46 WHERE bool OptNoCurses;            /**< (pseudo) when sending in batch mode */
47 WHERE bool OptPgpCheckTrust;      /**< (pseudo) used by pgp_select_key () */
48 WHERE bool OptRedrawTree;          /**< (pseudo) redraw the thread tree */
49 WHERE bool OptResortInit;          /**< (pseudo) used to force the next resort to be from scratch */
50 WHERE bool OptSearchInvalid;       /**< (pseudo) used to invalidate the search pat */
51 WHERE bool OptSearchReverse;       /**< (pseudo) used by ci_search_command */
52 WHERE bool OptSortSubthreads;      /**< (pseudo) used when $sort_aux changes */
53 WHERE bool OptViewAttach;          /**< (pseudo) signals that we are viewing attachments */
54
55 #endif /* MUTT_OPTIONS_H */