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>2015-06-17 22:45:54 +0300
committermichael-grunder <michael.grunder@gmail.com>2015-06-17 22:45:54 +0300
commitfcea71f99bb5fc3873539d42e1e29000fa36ec46 (patch)
tree4d94d9c2e93e08607ed7febcedb012089a0df765 /cluster_library.h
parent4ce910ad383f29c05139d51d16b870020123ed2c (diff)
Initial commit for cluster-enabled session handling
Diffstat (limited to 'cluster_library.h')
-rw-r--r--cluster_library.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cluster_library.h b/cluster_library.h
index a5020dc6..e83ef2f9 100644
--- a/cluster_library.h
+++ b/cluster_library.h
@@ -358,6 +358,9 @@ PHP_REDIS_API short cluster_find_slot(redisCluster *c, const char *host,
PHP_REDIS_API int cluster_send_slot(redisCluster *c, short slot, char *cmd,
int cmd_len, REDIS_REPLY_TYPE rtype TSRMLS_DC);
+PHP_REDIS_API redisCluster *cluster_create(double timeout, double read_timeout,
+ int failover);
+PHP_REDIS_API void cluster_free(redisCluster *c);
PHP_REDIS_API int cluster_init_seeds(redisCluster *c, HashTable *ht_seeds);
PHP_REDIS_API int cluster_map_keyspace(redisCluster *c TSRMLS_DC);
PHP_REDIS_API void cluster_free_node(redisClusterNode *node);