|
| 1 | +/* This is a generated file, edit the .stub.php file instead. |
| 2 | + * Stub hash: 3e1df1d509b6416c1eb997f61295c26d9ad0fd03 */ |
| 3 | + |
| 4 | +ZEND_BEGIN_ARG_INFO_EX(arginfo_scard_establish_context, 0, 0, 0) |
| 5 | +ZEND_END_ARG_INFO() |
| 6 | + |
| 7 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_scard_release_context, 0, 1, _IS_BOOL, 0) |
| 8 | + ZEND_ARG_INFO(0, context) |
| 9 | +ZEND_END_ARG_INFO() |
| 10 | + |
| 11 | +#define arginfo_scard_is_valid_context arginfo_scard_release_context |
| 12 | + |
| 13 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_scard_list_readers, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) |
| 14 | + ZEND_ARG_INFO(0, context) |
| 15 | +ZEND_END_ARG_INFO() |
| 16 | + |
| 17 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_scard_connect, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE) |
| 18 | + ZEND_ARG_INFO(0, context) |
| 19 | + ZEND_ARG_TYPE_INFO(0, reader_name, IS_STRING, 0) |
| 20 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preferred_protocol, IS_LONG, 0, "SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1") |
| 21 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(1, current_protocol, IS_LONG, 0, "NULL") |
| 22 | +ZEND_END_ARG_INFO() |
| 23 | + |
| 24 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_scard_disconnect, 0, 1, _IS_BOOL, 0) |
| 25 | + ZEND_ARG_INFO(0, card) |
| 26 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, disposition, IS_LONG, 0, "SCARD_EJECT_CARD") |
| 27 | +ZEND_END_ARG_INFO() |
| 28 | + |
| 29 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_scard_transmit, 0, 2, MAY_BE_STRING|MAY_BE_FALSE) |
| 30 | + ZEND_ARG_INFO(0, card) |
| 31 | + ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0) |
| 32 | +ZEND_END_ARG_INFO() |
| 33 | + |
| 34 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_scard_status, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) |
| 35 | + ZEND_ARG_INFO(0, card) |
| 36 | +ZEND_END_ARG_INFO() |
| 37 | + |
| 38 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_scard_last_errno, 0, 0, IS_LONG, 0) |
| 39 | +ZEND_END_ARG_INFO() |
| 40 | + |
| 41 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_scard_errstr, 0, 1, IS_STRING, 0) |
| 42 | + ZEND_ARG_TYPE_INFO(0, errno, IS_LONG, 0) |
| 43 | +ZEND_END_ARG_INFO() |
| 44 | + |
| 45 | + |
| 46 | +ZEND_FUNCTION(scard_establish_context); |
| 47 | +ZEND_FUNCTION(scard_release_context); |
| 48 | +ZEND_FUNCTION(scard_is_valid_context); |
| 49 | +ZEND_FUNCTION(scard_list_readers); |
| 50 | +ZEND_FUNCTION(scard_connect); |
| 51 | +ZEND_FUNCTION(scard_disconnect); |
| 52 | +ZEND_FUNCTION(scard_transmit); |
| 53 | +ZEND_FUNCTION(scard_status); |
| 54 | +ZEND_FUNCTION(scard_last_errno); |
| 55 | +ZEND_FUNCTION(scard_errstr); |
| 56 | + |
| 57 | + |
| 58 | +static const zend_function_entry ext_functions[] = { |
| 59 | + ZEND_FE(scard_establish_context, arginfo_scard_establish_context) |
| 60 | + ZEND_FE(scard_release_context, arginfo_scard_release_context) |
| 61 | + ZEND_FE(scard_is_valid_context, arginfo_scard_is_valid_context) |
| 62 | + ZEND_FE(scard_list_readers, arginfo_scard_list_readers) |
| 63 | + ZEND_FE(scard_connect, arginfo_scard_connect) |
| 64 | + ZEND_FE(scard_disconnect, arginfo_scard_disconnect) |
| 65 | + ZEND_FE(scard_transmit, arginfo_scard_transmit) |
| 66 | + ZEND_FE(scard_status, arginfo_scard_status) |
| 67 | + ZEND_FE(scard_last_errno, arginfo_scard_last_errno) |
| 68 | + ZEND_FE(scard_errstr, arginfo_scard_errstr) |
| 69 | + ZEND_FE_END |
| 70 | +}; |
0 commit comments