|
| 1 | +/* This is a generated file, edit the .stub.php file instead. |
| 2 | + * Stub hash: cfb8ad8fbaaed2ecae02a1385d26e9645364ba9d */ |
| 3 | + |
| 4 | +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel___construct, 0, 0, 1) |
| 5 | + ZEND_ARG_TYPE_INFO(0, host, IS_STRING, 0) |
| 6 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 0, "26379") |
| 7 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timeout, IS_DOUBLE, 0, "0") |
| 8 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, IS_MIXED, 0, "NULL") |
| 9 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, retry_interval, IS_LONG, 0, "0") |
| 10 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, read_timeout, IS_DOUBLE, 0, "0") |
| 11 | +ZEND_END_ARG_INFO() |
| 12 | + |
| 13 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_RedisSentinel_ckquorum, 0, 1, _IS_BOOL, 0) |
| 14 | + ZEND_ARG_TYPE_INFO(0, master, IS_STRING, 0) |
| 15 | +ZEND_END_ARG_INFO() |
| 16 | + |
| 17 | +#define arginfo_class_RedisSentinel_failover arginfo_class_RedisSentinel_ckquorum |
| 18 | + |
| 19 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_RedisSentinel_flushconfig, 0, 0, _IS_BOOL, 0) |
| 20 | +ZEND_END_ARG_INFO() |
| 21 | + |
| 22 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisSentinel_getMasterAddrByName, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE) |
| 23 | + ZEND_ARG_TYPE_INFO(0, master, IS_STRING, 0) |
| 24 | +ZEND_END_ARG_INFO() |
| 25 | + |
| 26 | +#define arginfo_class_RedisSentinel_master arginfo_class_RedisSentinel_getMasterAddrByName |
| 27 | + |
| 28 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisSentinel_masters, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE) |
| 29 | +ZEND_END_ARG_INFO() |
| 30 | + |
| 31 | +#define arginfo_class_RedisSentinel_ping arginfo_class_RedisSentinel_flushconfig |
| 32 | + |
| 33 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_RedisSentinel_reset, 0, 1, _IS_BOOL, 0) |
| 34 | + ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) |
| 35 | +ZEND_END_ARG_INFO() |
| 36 | + |
| 37 | +#define arginfo_class_RedisSentinel_sentinels arginfo_class_RedisSentinel_getMasterAddrByName |
| 38 | + |
| 39 | +#define arginfo_class_RedisSentinel_slaves arginfo_class_RedisSentinel_getMasterAddrByName |
| 40 | + |
| 41 | + |
| 42 | +ZEND_METHOD(RedisSentinel, __construct); |
| 43 | +ZEND_METHOD(RedisSentinel, ckquorum); |
| 44 | +ZEND_METHOD(RedisSentinel, failover); |
| 45 | +ZEND_METHOD(RedisSentinel, flushconfig); |
| 46 | +ZEND_METHOD(RedisSentinel, getMasterAddrByName); |
| 47 | +ZEND_METHOD(RedisSentinel, master); |
| 48 | +ZEND_METHOD(RedisSentinel, masters); |
| 49 | +ZEND_METHOD(RedisSentinel, ping); |
| 50 | +ZEND_METHOD(RedisSentinel, reset); |
| 51 | +ZEND_METHOD(RedisSentinel, sentinels); |
| 52 | +ZEND_METHOD(RedisSentinel, slaves); |
| 53 | + |
| 54 | + |
| 55 | +static const zend_function_entry class_RedisSentinel_methods[] = { |
| 56 | + ZEND_ME(RedisSentinel, __construct, arginfo_class_RedisSentinel___construct, ZEND_ACC_PUBLIC) |
| 57 | + ZEND_ME(RedisSentinel, ckquorum, arginfo_class_RedisSentinel_ckquorum, ZEND_ACC_PUBLIC) |
| 58 | + ZEND_ME(RedisSentinel, failover, arginfo_class_RedisSentinel_failover, ZEND_ACC_PUBLIC) |
| 59 | + ZEND_ME(RedisSentinel, flushconfig, arginfo_class_RedisSentinel_flushconfig, ZEND_ACC_PUBLIC) |
| 60 | + ZEND_ME(RedisSentinel, getMasterAddrByName, arginfo_class_RedisSentinel_getMasterAddrByName, ZEND_ACC_PUBLIC) |
| 61 | + ZEND_ME(RedisSentinel, master, arginfo_class_RedisSentinel_master, ZEND_ACC_PUBLIC) |
| 62 | + ZEND_ME(RedisSentinel, masters, arginfo_class_RedisSentinel_masters, ZEND_ACC_PUBLIC) |
| 63 | + ZEND_ME(RedisSentinel, ping, arginfo_class_RedisSentinel_ping, ZEND_ACC_PUBLIC) |
| 64 | + ZEND_ME(RedisSentinel, reset, arginfo_class_RedisSentinel_reset, ZEND_ACC_PUBLIC) |
| 65 | + ZEND_ME(RedisSentinel, sentinels, arginfo_class_RedisSentinel_sentinels, ZEND_ACC_PUBLIC) |
| 66 | + ZEND_ME(RedisSentinel, slaves, arginfo_class_RedisSentinel_slaves, ZEND_ACC_PUBLIC) |
| 67 | + ZEND_FE_END |
| 68 | +}; |
0 commit comments