diff --git a/scd/apdu.h b/scd/apdu.h index 3261fa6b9..03c774cc2 100644 --- a/scd/apdu.h +++ b/scd/apdu.h @@ -105,6 +105,8 @@ const char *apdu_strerror (int rc); int apdu_connect (int slot); int apdu_disconnect (int slot); +int apdu_set_progress_cb (int slot, gcry_handler_progress_t cb, void *cb_arg); + int apdu_activate (int slot); int apdu_reset (int slot); int apdu_get_status (int slot, int hang, diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h index 341876b22..6bb1913e1 100644 --- a/scd/ccid-driver.h +++ b/scd/ccid-driver.h @@ -80,6 +80,9 @@ typedef struct ccid_driver_s *ccid_driver_t; int ccid_set_debug_level (int level); char *ccid_get_reader_list (void); int ccid_open_reader (ccid_driver_t *handle, const char *readerid); +int ccid_set_progress_cb (ccid_driver_t handle, + void (*cb)(void *, const char *, int, int, int), + void *cb_arg); int ccid_shutdown_reader (ccid_driver_t handle); int ccid_close_reader (ccid_driver_t handle); int ccid_get_atr (ccid_driver_t handle,