NeoMutt  2022-04-29-178-g3b62e6
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
26struct Buffer;
27struct ConfigSubset;
28struct HashElem;
29
30extern const char *QuadValues[];
31
36{
42};
43
44int quad_he_toggle (struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err);
45int quad_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err);
46
47#endif /* MUTT_CONFIG_QUAD_H */
int quad_he_toggle(struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err)
Toggle the value of a quad.
Definition: quad.c:204
QuadOption
Possible values for a quad-option.
Definition: quad.h:36
@ MUTT_ABORT
User aborted the question (with Ctrl-G)
Definition: quad.h:37
@ MUTT_ASKNO
Ask the user, defaulting to 'No'.
Definition: quad.h:40
@ MUTT_NO
User answered 'No', or assume 'No'.
Definition: quad.h:38
@ MUTT_ASKYES
Ask the user, defaulting to 'Yes'.
Definition: quad.h:41
@ MUTT_YES
User answered 'Yes', or assume 'Yes'.
Definition: quad.h:39
int quad_str_toggle(struct ConfigSubset *sub, const char *name, struct Buffer *err)
Toggle the value of a quad.
Definition: quad.c:235
const char * QuadValues[]
Valid strings for creating a QuadValue.
Definition: quad.c:49
String manipulation buffer.
Definition: buffer.h:34
A set of inherited config items.
Definition: subset.h:47
The item stored in a Hash Table.
Definition: hash.h:44