diff options
author | NIIBE Yutaka <[email protected]> | 2019-06-04 00:59:08 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2019-06-04 00:59:08 +0000 |
commit | 3a1bb0081087c0604ed681642114934ffe607fa1 (patch) | |
tree | 05082ad8b8c731444abe65f0fcf194ef7721aaea /agent/agent.h | |
parent | scd: Remove unsupported --card-timeout option. (diff) | |
download | gnupg-3a1bb0081087c0604ed681642114934ffe607fa1.tar.gz gnupg-3a1bb0081087c0604ed681642114934ffe607fa1.zip |
agent: Add pinentry_loopback_confirm declaration.
* agent/agent.h (pinentry_loopback_confirm): New.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/agent/agent.h b/agent/agent.h index ec8370c4b..84e5e782b 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -398,8 +398,11 @@ void bump_key_eventcounter (void); void bump_card_eventcounter (void); void start_command_handler (ctrl_t, gnupg_fd_t, gnupg_fd_t); gpg_error_t pinentry_loopback (ctrl_t, const char *keyword, - unsigned char **buffer, size_t *size, - size_t max_length); + unsigned char **buffer, size_t *size, + size_t max_length); +gpg_error_t pinentry_loopback_confirm (ctrl_t ctrl, const char *desc, + int ask_confirmation, + const char *ok, const char *notok); #ifdef HAVE_W32_SYSTEM int serve_mmapped_ssh_request (ctrl_t ctrl, |