NeoMutt  2020-11-20
Teaching an old dog new tricks
DOXYGEN
quad.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_CONFIG_QUAD_H
24 #define MUTT_CONFIG_QUAD_H
25 
26 struct Buffer;
27 struct ConfigSet;
28 struct ConfigSubset;
29 struct HashElem;
30 
31 extern const char *QuadValues[];
32 
37 {
38  MUTT_ABORT = -1,
43 };
44 
45 int quad_he_toggle (struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err);
46 int quad_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err);
47 
48 #endif /* MUTT_CONFIG_QUAD_H */
Ask the user, defaulting to 'No'.
Definition: quad.h:41
Container for lots of config items.
Definition: set.h:228
String manipulation buffer.
Definition: buffer.h:33
const char * QuadValues[]
Valid strings for creating a QuadValue.
Definition: quad.c:48
QuadOption
Possible values for a quad-option.
Definition: quad.h:36
int quad_he_toggle(struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err)
Toggle the value of a quad.
Definition: quad.c:202
User aborted the question (with Ctrl-G)
Definition: quad.h:38
A set of inherited config items.
Definition: subset.h:46
Ask the user, defaulting to 'Yes'.
Definition: quad.h:42
int quad_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err)
Toggle the value of a quad.
Definition: quad.c:233
User answered 'No', or assume 'No'.
Definition: quad.h:39
The item stored in a Hash Table.
Definition: hash.h:43
User answered 'Yes', or assume 'Yes'.
Definition: quad.h:40