mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <gniibe@fsij.org>
This commit is contained in:
parent
cdc8d0bd93
commit
f300e12a79
3 changed files with 68 additions and 58 deletions
|
@ -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*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue