NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
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 
39 int mutt_multi_choice(const char *prompt, const char *letters);
40 enum QuadOption mutt_yesorno (const char *msg, enum QuadOption def);
41 enum QuadOption query_quadoption (enum QuadOption opt, const char *prompt);
42 
43 #endif /* MUTT_QUESTION_LIB_H */
QuadOption
Possible values for a quad-option.
Definition: quad.h:35
Convenience wrapper for the config headers.
enum QuadOption query_quadoption(enum QuadOption opt, const char *prompt)
Ask the user a quad-question.
Definition: question.c:347
char msg[1024]
Message to display.
Definition: progress.c:50
int mutt_multi_choice(const char *prompt, const char *letters)
Offer the user a multiple choice question.
Definition: question.c:49
enum QuadOption mutt_yesorno(const char *msg, enum QuadOption def)
Ask the user a Yes/No question.
Definition: question.c:180