diff options
author | Werner Koch <[email protected]> | 2009-07-13 09:59:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-07-13 09:59:50 +0000 |
commit | 816d0d83ef239cee28ab23f40f88eb8c004b3ad7 (patch) | |
tree | 844525658bd3ab3084d3088471cedb2c12e73ab2 | |
parent | * ccid-driver.c (struct ccid_driver_s): Add fields last_progress, (diff) | |
download | gnupg-816d0d83ef239cee28ab23f40f88eb8c004b3ad7.tar.gz gnupg-816d0d83ef239cee28ab23f40f88eb8c004b3ad7.zip |
Add new prototypes
Diffstat (limited to '')
-rw-r--r-- | scd/apdu.h | 2 | ||||
-rw-r--r-- | scd/ccid-driver.h | 3 |
2 files changed, 5 insertions, 0 deletions
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, |