NeoMutt  2020-11-20
Teaching an old dog new tricks
DOXYGEN
bool.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_CONFIG_BOOL_H
24 #define MUTT_CONFIG_BOOL_H
25 
26 struct Buffer;
27 struct ConfigSet;
28 struct ConfigSubset;
29 struct HashElem;
30 
31 extern const char *BoolValues[];
32 
33 int bool_he_toggle (struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err);
34 int bool_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err);
35 
36 #endif /* MUTT_CONFIG_BOOL_H */
Container for lots of config items.
Definition: set.h:228
const char * BoolValues[]
Valid strings for creating a Bool.
Definition: bool.c:49
String manipulation buffer.
Definition: buffer.h:33
A set of inherited config items.
Definition: subset.h:46
int bool_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err)
Toggle the value of a bool.
Definition: bool.c:213
The item stored in a Hash Table.
Definition: hash.h:43
int bool_he_toggle(struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err)
Toggle the value of a bool.
Definition: bool.c:185