1 /** 2 * @file 3 * Ask the user a question 4 * 5 * @authors 6 * Copyright (C) 2018-2021 Richard Russon <rich@flatcap.org> 7 * Copyright (C) 2019 Pietro Cerutti <gahr@gahr.ch> 8 * 9 * @copyright 10 * This program is free software: you can redistribute it and/or modify it under 11 * the terms of the GNU General Public License as published by the Free Software 12 * Foundation, either version 2 of the License, or (at your option) any later 13 * version. 14 * 15 * This program is distributed in the hope that it will be useful, but WITHOUT 16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 17 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 18 * details. 19 * 20 * You should have received a copy of the GNU General Public License along with 21 * this program. If not, see <http://www.gnu.org/licenses/>. 22 */ 23 24 /** 25 * @page lib_question Question 26 * 27 * Ask the user a question 28 * 29 * | File | Description | 30 * | :------------------ | :------------------------- | 31 * | question/question.c | @subpage question_question | 32 */ 33 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 */ 44