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 /**
24  * @page neo_options Option variables
25  *
26  * Option variables
27  */
28 
29 #ifndef MUTT_OPTIONS_H
30 #define MUTT_OPTIONS_H
31 
32 #include <stdbool.h>
33 #include "where.h"
34 
35 /* pseudo options */
36 
37 WHERE bool OptAttachMsg;           ///< (pseudo) used by attach-message
38 #ifdef USE_AUTOCRYPT
39 WHERE bool OptAutocryptGpgme;      ///< (pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c
40 #endif
41 WHERE bool OptDontHandlePgpKeys;   ///< (pseudo) used to extract PGP keys
42 WHERE bool OptForceRefresh;        ///< (pseudo) refresh even during macros
43 WHERE bool OptIgnoreMacroEvents;   ///< (pseudo) don't process macro/push/exec events while set
44 WHERE bool OptKeepQuiet;           ///< (pseudo) shut up the message and refresh functions while we are executing an external program
45 WHERE bool OptMenuPopClearScreen;  ///< (pseudo) clear the screen when popping the last menu
46 WHERE bool OptMsgErr;              ///< (pseudo) used by mutt_error/mutt_message
47 WHERE bool OptNeedRescore;         ///< (pseudo) set when the 'score' command is used
48 WHERE bool OptNeedResort;          ///< (pseudo) used to force a re-sort
49 #ifdef USE_NNTP
50 WHERE bool OptNews;                ///< (pseudo) used to change reader mode
51 WHERE bool OptNewsSend;            ///< (pseudo) used to change behavior when posting
52 #endif
53 WHERE bool OptNoCurses;            ///< (pseudo) when sending in batch mode
54 WHERE bool OptPgpCheckTrust;       ///< (pseudo) used by dlg_select_pgp_key()
55 WHERE bool OptRedrawTree;          ///< (pseudo) redraw the thread tree
56 WHERE bool OptResortInit;          ///< (pseudo) used to force the next resort to be from scratch
57 WHERE bool OptSearchInvalid;       ///< (pseudo) used to invalidate the search pattern
58 WHERE bool OptSearchReverse;       ///< (pseudo) used by ci_search_command
59 WHERE bool OptSortSubthreads;      ///< (pseudo) used when $sort_aux changes
60 WHERE bool OptViewAttach;          ///< (pseudo) signals that we are viewing attachments
61 
62 #endif /* MUTT_OPTIONS_H */
63