Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2014-07-11 19:37:23 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 01:04:11 +0300
commita85e04b2fec1697111876256c1461dcbccc1ee4b (patch)
tree2dff7c5dc1c08f921ba90b6faabdd023670fa593 /redis_cluster.h
parent23572bb2e2d944d70980a549335fda2655a6f0ab (diff)
TIME/ROLE
Implemented ROLE and TIME commands in RedisCluster, as well as updated the TIME command for Redis proper such that we use the new calling convention. Updated redis_read_variant_reply to take a context void* so it conforms with the correct prototype.
Diffstat (limited to 'redis_cluster.h')
-rw-r--r--redis_cluster.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/redis_cluster.h b/redis_cluster.h
index 86ac7f24..6468e6e7 100644
--- a/redis_cluster.h
+++ b/redis_cluster.h
@@ -241,7 +241,7 @@ PHP_METHOD(RedisCluster, discard);
PHP_METHOD(RedisCluster, watch);
PHP_METHOD(RedisCluster, unwatch);
-/* DB saving, etc */
+/* DB saving, server info, etc */
PHP_METHOD(RedisCluster, save);
PHP_METHOD(RedisCluster, bgsave);
PHP_METHOD(RedisCluster, flushdb);
@@ -249,6 +249,8 @@ PHP_METHOD(RedisCluster, flushall);
PHP_METHOD(RedisCluster, dbsize);
PHP_METHOD(RedisCluster, bgrewriteaof);
PHP_METHOD(RedisCluster, lastsave);
+PHP_METHOD(RedisCluster, role);
+PHP_METHOD(RedisCluster, time);
/* Introspection */
PHP_METHOD(RedisCluster, getoption);