NeoMutt  2020-08-07-1-gab41a1
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 void quad_init(struct ConfigSet *cs);
46 
47 int quad_he_toggle (struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err);
48 int quad_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err);
49 
50 #endif /* MUTT_CONFIG_QUAD_H */
Container for lots of config items.
Definition: set.h:227
const char * QuadValues[]
Valid strings for creating a QuadValue.
Definition: quad.c:48
User aborted the question (with Ctrl-G)
Definition: quad.h:38
User answered 'Yes', or assume 'Yes'.
Definition: quad.h:40
String manipulation buffer.
Definition: buffer.h:33
int quad_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err)
Toggle the value of a quad.
Definition: quad.c:253
Ask the user, defaulting to 'Yes'.
Definition: quad.h:42
A set of inherited config items.
Definition: subset.h:46
User answered 'No', or assume 'No'.
Definition: quad.h:39
Ask the user, defaulting to 'No'.
Definition: quad.h:41
int quad_he_toggle(struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err)
Toggle the value of a quad.
Definition: quad.c:222
The item stored in a Hash Table.
Definition: hash.h:43
void quad_init(struct ConfigSet *cs)
Register the Quad-option config type.
Definition: quad.c:184
QuadOption
Possible values for a quad-option.
Definition: quad.h:36