mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
scd: Fix SERIALNO for multiple devices.
* scd/app.c (select_application): Fix the logic if periodical check is needed. If it is needed for newly found device(s), kick the loop. (scd_update_reader_status_file): Return value if select(2) should be called with timeout. * scd/ccid-driver.c (ccid_require_get_status): Don't return 0 for token with no interrupt transfer for now. * scd/command.c (open_card_with_request): Fix scan by SERIALNO. * scd/scdaemon.c (update_usb): Remove. (handle_connections): Evaluate need_tick after handle_tick. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
49e2ae65e8
commit
f08d37af04
5 changed files with 71 additions and 76 deletions
|
@ -123,9 +123,10 @@ int scd_command_handler (ctrl_t, int);
|
|||
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, int removal);
|
||||
void update_usb (int periodical_check_needed);
|
||||
void scd_kick_the_loop (void);
|
||||
|
||||
/*-- app.c --*/
|
||||
int scd_update_reader_status_file (void);
|
||||
|
||||
#endif /*SCDAEMON_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue