mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Add cpr_get_answer_is_yes_def()
* g10/cpr.c (cpr_get_answer_is_yes): Factor code out to .... (cpr_get_answer_is_yes_def): ...new.
This commit is contained in:
parent
17404b2fcc
commit
75127bc456
2 changed files with 10 additions and 2 deletions
|
@ -191,6 +191,8 @@ char *cpr_get_no_help( const char *keyword, const char *prompt );
|
|||
char *cpr_get_utf8( const char *keyword, const char *prompt );
|
||||
char *cpr_get_hidden( const char *keyword, const char *prompt );
|
||||
void cpr_kill_prompt(void);
|
||||
int cpr_get_answer_is_yes_def (const char *keyword, const char *prompt,
|
||||
int def_yes);
|
||||
int cpr_get_answer_is_yes( const char *keyword, const char *prompt );
|
||||
int cpr_get_answer_yes_no_quit( const char *keyword, const char *prompt );
|
||||
int cpr_get_answer_okay_cancel (const char *keyword,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue