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/scdaemon.h | |
| 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/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 391f16578..5ae656ca2 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -153,5 +153,7 @@ int get_active_connection_count (void); /*-- app.c --*/ int scd_update_reader_status_file (void); +void app_wait (void); +gpg_error_t app_send_devinfo (ctrl_t ctrl); #endif /*SCDAEMON_H*/ |
