diff options
| author | NIIBE Yutaka <[email protected]> | 2019-04-25 05:49:49 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2019-04-25 05:49:49 +0000 |
| commit | 874bc970ba6ec243ff474ef090242e0f7be6a7bc (patch) | |
| tree | b4c9814832ad8a1438ed708616a0c6671a05480f /scd/scdaemon.h | |
| parent | po: Update Japanese Translation. (diff) | |
| download | gnupg-874bc970ba6ec243ff474ef090242e0f7be6a7bc.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to 'scd/scdaemon.h')
| -rw-r--r-- | scd/scdaemon.h | 2 |
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); |
