aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-01-31 03:56:11 +0000
committerNIIBE Yutaka <[email protected]>2017-01-31 04:04:22 +0000
commitf08d37af049bf1718b301644020658dd2bb07638 (patch)
tree79861753e40e28f899f4b4c07f2fcf1c57891c0f /scd/scdaemon.h
parentgpgscm: Use a compact vector representation. (diff)
downloadgnupg-f08d37af049bf1718b301644020658dd2bb07638.tar.gz
gnupg-f08d37af049bf1718b301644020658dd2bb07638.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--scd/scdaemon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 6d950b5c0..37590b65e 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -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*/