diff options
author | NIIBE Yutaka <[email protected]> | 2020-04-02 06:39:26 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-04-02 06:39:26 +0000 |
commit | 2ccbcfec121f768574a59aa2ecff22d8b422d61b (patch) | |
tree | 15c6a997c0130805e0574f8a4a15cdec4d1d585d /scd/app-piv.c | |
parent | scd:p15: Cache the PIN. (diff) | |
download | gnupg-2ccbcfec121f768574a59aa2ecff22d8b422d61b.tar.gz gnupg-2ccbcfec121f768574a59aa2ecff22d8b422d61b.zip |
scd: New command DEVINFO.
* scd/app.c (notify_cond): New condition variable.
(app_send_devinfo, app_wait): New.
(scd_update_reader_status_file): Kick NOTIFY_COND.
(initialize_module_command): Initialize NOTIFY_COND.
* scd/command.c (struct server_local_s): Add watching_status.
(cmd_devinfo): New.
(register_commands): Add DEVINFO command.
(send_client_notifications): Write status change to DEVINFO channel.
* scd/scdaemon.h (app_wait, app_send_devinfo): New.
GnuPG-bug-id: 4864
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app-piv.c')
0 files changed, 0 insertions, 0 deletions