Home GnuPG
Diffusion GnuPG 2ccbcfec121f

scd: New command DEVINFO.

Description

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: T4864
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 2 2020, 8:39 AM
Parents
rG29f8f52bf816: scd:p15: Cache the PIN.
Branches
Unknown
Tags
Unknown
Tasks
T4864: New scdaemon command to watch device removal