summaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2019-04-25 07:49:49 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2019-04-25 07:49:49 +0200
commit874bc970ba6ec243ff474ef090242e0f7be6a7bc (patch)
treeb4c9814832ad8a1438ed708616a0c6671a05480f /scd/scdaemon.h
parentpo: Update Japanese Translation. (diff)
downloadgnupg2-874bc970ba6ec243ff474ef090242e0f7be6a7bc.tar.xz
gnupg2-874bc970ba6ec243ff474ef090242e0f7be6a7bc.zip
scd: Add new command: KEYINFO.
* scd/app-common.h (struct app_ctx_s): Add with_keygrip function. * scd/app-openpgp.c (do_with_keygrip): New. * scd/app.c (app_do_with_keygrip): New. * scd/command.c (cmd_keyinfo): New. (send_keyinfo): New. -- KEYGRIP_ACTION_LOOKUP is not yet used. It will be used for directly asking PK* action to determine an APP. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r--scd/scdaemon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 73589ade8..230653b11 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -125,6 +125,8 @@ void send_status_info (ctrl_t ctrl, const char *keyword, ...)
void send_status_direct (ctrl_t ctrl, const char *keyword, const char *args);
gpg_error_t send_status_printf (ctrl_t ctrl, const char *keyword,
const char *format, ...) GPGRT_ATTR_PRINTF(3,4);
+void send_keyinfo (ctrl_t ctrl, int data, const char *keygrip_str,
+ const char *serialno, const char *idstr);
void popup_prompt (void *opaque, int on);
void send_client_notifications (app_t app, int removal);