summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2019-06-04 02:59:08 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2019-06-04 02:59:08 +0200
commit3a1bb0081087c0604ed681642114934ffe607fa1 (patch)
tree05082ad8b8c731444abe65f0fcf194ef7721aaea /agent
parentscd: Remove unsupported --card-timeout option. (diff)
downloadgnupg2-3a1bb0081087c0604ed681642114934ffe607fa1.tar.xz
gnupg2-3a1bb0081087c0604ed681642114934ffe607fa1.zip
agent: Add pinentry_loopback_confirm declaration.
* agent/agent.h (pinentry_loopback_confirm): New. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'agent')
-rw-r--r--agent/agent.h7
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,