NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
34#ifndef MUTT_QUESTION_LIB_H
35#define MUTT_QUESTION_LIB_H
36
37#include "config/lib.h"
38
39int mw_multi_choice (const char *prompt, const char *letters);
40enum QuadOption query_yesorno (const char *prompt, enum QuadOption def);
41enum QuadOption query_yesorno_ignore_macro (const char *prompt, enum QuadOption def);
42enum QuadOption query_yesorno_help (const char *prompt, enum QuadOption def, struct ConfigSubset *sub, const char *name);
43enum QuadOption query_quadoption (const char *prompt, struct ConfigSubset *sub, const char *name);
44
45#endif /* MUTT_QUESTION_LIB_H */
Convenience wrapper for the config headers.
int mw_multi_choice(const char *prompt, const char *letters)
Offer the user a multiple choice question -.
Definition: question.c:63
QuadOption
Possible values for a quad-option.
Definition: quad.h:36
enum QuadOption query_yesorno_ignore_macro(const char *prompt, enum QuadOption def)
Ask the user a Yes/No question ignoring the macro buffer.
Definition: question.c:340
enum QuadOption query_yesorno_help(const char *prompt, enum QuadOption def, struct ConfigSubset *sub, const char *name)
Ask the user a Yes/No question offering help.
Definition: question.c:355
enum QuadOption query_quadoption(const char *prompt, struct ConfigSubset *sub, const char *name)
Ask the user a quad-question.
Definition: question.c:379
enum QuadOption query_yesorno(const char *prompt, enum QuadOption def)
Ask the user a Yes/No question.
Definition: question.c:327
A set of inherited config items.
Definition: subset.h:47