summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION23
1 files changed, 16 insertions, 7 deletions
diff --git a/REFLECTION b/REFLECTION
index c1b1758..3bc7af9 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #91 PC/SC version 0.5.1 ] {
+Extension [ <persistent> extension #89 PC/SC version 0.5.1 ] {
- Constants [74] {
Constant [ int SCARD_E_BAD_SEEK ] { 2148532265 }
@@ -88,58 +88,67 @@ Extension [ <persistent> extension #91 PC/SC version 0.5.1 ] {
- Parameters [1] {
Parameter #0 [ <required> $context ]
}
+ - Return [ bool ]
}
Function [ <internal:PC/SC> function scard_is_valid_context ] {
- Parameters [1] {
Parameter #0 [ <required> $context ]
}
+ - Return [ bool ]
}
Function [ <internal:PC/SC> function scard_list_readers ] {
- Parameters [1] {
Parameter #0 [ <required> $context ]
}
+ - Return [ array|false ]
}
Function [ <internal:PC/SC> function scard_connect ] {
- Parameters [4] {
Parameter #0 [ <required> $context ]
- Parameter #1 [ <required> $reader_name ]
- Parameter #2 [ <optional> $preferred_protocol ]
- Parameter #3 [ <optional> &$current_protocol ]
+ Parameter #1 [ <required> string $reader_name ]
+ Parameter #2 [ <optional> int $preferred_protocol = SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 ]
+ Parameter #3 [ <optional> int &$current_protocol = NULL ]
}
+ - Return [ array|false ]
}
Function [ <internal:PC/SC> function scard_disconnect ] {
- Parameters [2] {
Parameter #0 [ <required> $card ]
- Parameter #1 [ <optional> $disposition ]
+ Parameter #1 [ <optional> int $disposition = SCARD_EJECT_CARD ]
}
+ - Return [ bool ]
}
Function [ <internal:PC/SC> function scard_transmit ] {
- Parameters [2] {
Parameter #0 [ <required> $card ]
- Parameter #1 [ <required> $command ]
+ Parameter #1 [ <required> string $command ]
}
+ - Return [ string|false ]
}
Function [ <internal:PC/SC> function scard_status ] {
- Parameters [1] {
Parameter #0 [ <required> $card ]
}
+ - Return [ array|false ]
}
Function [ <internal:PC/SC> function scard_last_errno ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Function [ <internal:PC/SC> function scard_errstr ] {
- Parameters [1] {
- Parameter #0 [ <required> $errno ]
+ Parameter #0 [ <required> int $errno ]
}
+ - Return [ string ]
}
}
}