diff options
author | Werner Koch <[email protected]> | 2014-07-23 12:35:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-07-23 12:35:22 +0000 |
commit | 75127bc4561787aa9bc1cf976658e20192446d7f (patch) | |
tree | e789993d0c001a658f781587e4061421704b202c /g10/main.h | |
parent | gpg: Make --quick-sign-key promote local key signatures. (diff) | |
download | gnupg-75127bc4561787aa9bc1cf976658e20192446d7f.tar.gz gnupg-75127bc4561787aa9bc1cf976658e20192446d7f.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | g10/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index e75f6168f..d39c7c853 100644 --- a/g10/main.h +++ b/g10/main.h @@ -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, |