62b8e1e6d8
Added scard_begin_transaction and scard_end_transaction; SEGFAULTS when using it
2021-02-22 04:21:28 +01:00
1226d9ace8
Replaced tabs with 2 whitespaces in pcsc.c
2021-02-22 02:46:54 +01:00
Remi Collet
7849799fe7
generate arginfo from stub file
2021-02-10 10:23:42 +01:00
Remi Collet
1d0a009e02
add missing arginfo (mandatory for PHP 8)
2021-02-09 07:50:34 +01:00
Remi Collet
054ec3d5a3
fix build warnings ([-Wunused-variable] and [-Wformat=])
2021-02-09 07:40:33 +01:00
Calvin Buckley
c44c0067eb
Fix types for PHP 7; fix argument parsing
...
PHP 7 uses 64-bit zend_long and string lengths are size_t.
The preferred protocol was getting overwritten with a default 0.
Only use this argument if more than 2 arguments were specified.
2021-02-04 17:19:07 -04:00
Calvin Buckley
1961db1475
Remove TSRM crud
2021-02-03 15:15:23 -04:00
Calvin Buckley
ddd241448c
Bare-minimum pass for PHP 7
...
Not tested, nor has PHP 8 been done yet.
2021-02-03 15:13:20 -04:00
Johannes Findeisen
e5df8d6e39
just housekkeeping; mostly inserted whitespaces...
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@335788 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-22 22:46:11 +00:00
Johannes Findeisen
55640fee83
cleanups, release fixes and ugly code replace
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@335787 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-22 22:21:24 +00:00
Johannes Findeisen
287b21c653
Fixed bug to also make it possible to use T=0 protocol cards
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@335785 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-22 19:36:27 +00:00
Remi Collet
6db752f61c
fix copy/paste error in previous
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@333474 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-04 17:53:25 +00:00
Remi Collet
12a1e3f374
fix build with old pcsc-lite (tested with 1.5.2 on rhel-6)
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@333473 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-04 17:50:17 +00:00
Marco Schuster
4ef88ac844
fix Linux build errors due to buggy header files
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@333416 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-24 00:28:48 +00:00
Marco Schuster
d47c882716
Replace warnings with RETURN_FALSE and a global last_errno to allow userland response to errors
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@332847 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-13 11:05:09 +00:00
Marco Schuster
3bbd4620a1
Fix compiler warnings, use zval resource instead of long for handles
...
Also bump version because the new return values have a different type now.
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@332839 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-12 17:02:04 +00:00
Anatol Belski
f6656f07df
fixed version macros in almost all recently active extensions
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@331846 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-15 10:48:51 +00:00
Johannes Findeisen
a6d9a70013
added w32 support; thanks to Goker Cetin: please test this stuff since i don't use windows OS
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@330078 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-11 17:55:27 +00:00
Johannes Findeisen
3e56a29eba
fixed a small error to compile succesfully using PHP5.4
...
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@330077 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-11 17:39:38 +00:00
Johannes Findeisen
8db0824d92
Initial commit of the PC/SC (pcsc) extension. There is some stuff that needs to be romoved like the build.sh script and the subfolders tmp/ and php/.
...
I think the .m4 file has some bugs because it fails to build without my weird build.sh script. I will fix that ASAP.
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@320951 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-13 16:57:24 +00:00