Ask the user a question. More...
#include "config/lib.h" Include dependency graph for lib.h:
 Include dependency graph for lib.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Functions | |
| int | mw_multi_choice (const char *prompt, const char *letters) | 
| Offer the user a multiple choice question -. | |
| enum QuadOption | query_yesorno (const char *prompt, enum QuadOption def) | 
| Ask the user a Yes/No question. | |
| enum QuadOption | query_yesorno_ignore_macro (const char *prompt, enum QuadOption def) | 
| Ask the user a Yes/No question ignoring the macro buffer. | |
| 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. | |
| enum QuadOption | query_quadoption (const char *prompt, struct ConfigSubset *sub, const char *name) | 
| Ask the user a quad-question. | |
Ask the user a question.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file lib.h.
| enum QuadOption query_yesorno | ( | const char * | prompt, | 
| enum QuadOption | def ) | 
Ask the user a Yes/No question.
| prompt | Prompt | 
| def | Default answer, e.g. MUTT_YES | 
| enum | QuadOption, Selection made | 
Wrapper for mw_yesorno().
Definition at line 326 of file question.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| enum QuadOption query_yesorno_ignore_macro | ( | const char * | prompt, | 
| enum QuadOption | def ) | 
Ask the user a Yes/No question ignoring the macro buffer.
| prompt | Prompt | 
| def | Default answer, e.g. MUTT_YES | 
| enum | QuadOption, Selection made | 
Like query_yesorno but don't read from the macro events buffer.
Definition at line 339 of file question.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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.
| prompt | Prompt | 
| def | Default answer, e.g. MUTT_YES | 
| sub | Config Subset | 
| name | Name of controlling config variable | 
| enum | QuadOption, Selection made | 
Wrapper for mw_yesorno().
Definition at line 354 of file question.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| enum QuadOption query_quadoption | ( | const char * | prompt, | 
| struct ConfigSubset * | sub, | ||
| const char * | name ) | 
Ask the user a quad-question.
| prompt | Message to show to the user | 
| sub | Config Subset | 
| name | Name of controlling config variable | 
| QuadOption | Result, e.g. MUTT_NO | 
If the config variable is set to 'yes' or 'no', the function returns immediately. Otherwise, the job is delegated to mw_yesorno().
Definition at line 378 of file question.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: