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