diff options
author | NIIBE Yutaka <[email protected]> | 2016-12-30 04:17:49 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-12-30 04:17:49 +0000 |
commit | f300e12a793d59deb1a369713384eaabfa39b3e6 (patch) | |
tree | 9c60f5f566157604120e82b3cf26ee71e871cfd7 /scd/scdaemon.h | |
parent | scd: Improve internal CCID driver. (diff) | |
download | gnupg-f300e12a793d59deb1a369713384eaabfa39b3e6.tar.gz gnupg-f300e12a793d59deb1a369713384eaabfa39b3e6.zip |
scd: Fix card removal monitor.
* scd/app.c (app_reset): Call send_client_notification with REMOVAL.
(scd_update_reader_status_file): Likewise.
* scd/command.c (send_client_notifications): Distinguish removal.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | scd/scdaemon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h index 22b17b49e..d0bc98efe 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -124,7 +124,7 @@ void send_status_info (ctrl_t ctrl, const char *keyword, ...) GPGRT_ATTR_SENTINEL(1); void send_status_direct (ctrl_t ctrl, const char *keyword, const char *args); void scd_update_reader_status_file (void); -void send_client_notifications (app_t app); +void send_client_notifications (app_t app, int removal); #endif /*SCDAEMON_H*/ |