diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2013-09-15 15:20:16 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2013-09-15 15:20:16 -0700 |
commit | 0ef89c02abaaf51cc0875153ef9d7e673889a1c1 (patch) | |
tree | 9f84c706da583b9f54e9ec60928a2edee5ff8bac /sesman/chansrv/smartcard.h | |
parent | a1352b62e34a1849d55188123335db526b51d011 (diff) | |
download | xrdp-proprietary-0ef89c02abaaf51cc0875153ef9d7e673889a1c1.tar.gz xrdp-proprietary-0ef89c02abaaf51cc0875153ef9d7e673889a1c1.zip |
scard: changed the way we store and pass context
Diffstat (limited to 'sesman/chansrv/smartcard.h')
-rw-r--r-- | sesman/chansrv/smartcard.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sesman/chansrv/smartcard.h b/sesman/chansrv/smartcard.h index 046bb14a..1927b2e0 100644 --- a/sesman/chansrv/smartcard.h +++ b/sesman/chansrv/smartcard.h @@ -74,16 +74,19 @@ int APP_CC scard_check_wait_objs(void); int APP_CC scard_init(void); int APP_CC scard_deinit(void); int APP_CC scard_send_irp_establish_context(struct trans *con, int scope); -int APP_CC scard_send_release_context(struct trans *con); -int APP_CC scard_send_irp_list_readers(struct trans *con); +int APP_CC scard_send_release_context(struct trans *con, tui32 context); +int APP_CC scard_send_irp_list_readers(struct trans *con, tui32 context, int wide); -int APP_CC scard_send_irp_get_status_change(struct trans *con, int wide, tui32 timeout, +int APP_CC scard_send_irp_get_status_change(struct trans *con, tui32 context, + int wide, tui32 timeout, tui32 num_readers, READER_STATE* rsa); -int APP_CC scard_send_irp_connect(struct trans *con, int wide, READER_STATE* rs); +int APP_CC scard_send_irp_connect(struct trans *con, tui32 context, int wide, + READER_STATE* rs); + int APP_CC scard_send_begin_transaction(struct trans *con, tui32 sc_handle); int APP_CC scard_send_end_transaction(struct trans *con, tui32 sc_handle); int APP_CC scard_send_status(struct trans *con, int wide, tui32 sc_handle); -int APP_CC scard_send_disconnect(struct trans *con, tui32 sc_handle); +int APP_CC scard_send_disconnect(struct trans *con, tui32 context, tui32 sc_handle); #endif /* end #ifndef _SMARTCARD_C */ |