mirror of
https://github.com/pcsc-for-php/pcsc.git
synced 2026-08-08 21:09:26 +02:00
Added scard_begin_transaction and scard_end_transaction; SEGFAULTS when using it
This commit is contained in:
parent
9023e2a831
commit
62b8e1e6d8
7 changed files with 151 additions and 53 deletions
|
|
@ -37,6 +37,18 @@ function scard_connect($context, string $reader_name, int $preferred_protocol=SC
|
|||
*/
|
||||
function scard_disconnect($card, int $disposition=SCARD_EJECT_CARD): bool {}
|
||||
|
||||
/**
|
||||
* @param resource $card
|
||||
* @return resource|false
|
||||
*/
|
||||
function scard_begin_transaction($card): bool {}
|
||||
|
||||
/**
|
||||
* @param resource $card
|
||||
* @return resource|false
|
||||
*/
|
||||
function scard_end_transaction($card, int $disposition=SCARD_LEAVE_CARD): bool {}
|
||||
|
||||
/**
|
||||
* @param resource $card
|
||||
* @return resource|false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue