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>2020-06-25 03:00:01 +0300
committerGitHub <noreply@github.com>2020-06-25 03:00:01 +0300
commita311cc4ec3cecdbaf83ba66985efa82137e37cc0 (patch)
tree078ca80c140e3a77e088a213066b27d0b350c7c6 /redis_array_impl.h
parent04def9fbe2194b3b711362de57260a6cd5216e69 (diff)
Support for Redis 6 ACLs (#1791)
Add support for Redis 6 ACLs in the `Redis`, `RedisCluster`, and `RedisArray` classes. On a related note, it adds a mechanism for users to customize how we generate persistent connection IDs such that they can be grouped in different ways depending on the specific use case required (e.g. it would allow connections to be grouped by username, or by user-defined persistent_id, or both).
Diffstat (limited to 'redis_array_impl.h')
-rw-r--r--redis_array_impl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/redis_array_impl.h b/redis_array_impl.h
index b5d2e1ce..0ef5a73f 100644
--- a/redis_array_impl.h
+++ b/redis_array_impl.h
@@ -10,7 +10,15 @@
#include "redis_array.h"
RedisArray *ra_load_array(const char *name);
-RedisArray *ra_make_array(HashTable *hosts, zval *z_fun, zval *z_dist, HashTable *hosts_prev, zend_bool b_index, zend_bool b_pconnect, long retry_interval, zend_bool b_lazy_connect, double connect_timeout, double read_timeout, zend_bool consistent, zend_string *algorithm, zend_string *auth);
+
+RedisArray *ra_make_array(HashTable *hosts, zval *z_fun, zval *z_dist,
+ HashTable *hosts_prev, zend_bool b_index,
+ zend_bool b_pconnect, long retry_interval,
+ zend_bool b_lazy_connect, double connect_timeout,
+ double read_timeout, zend_bool consistent,
+ zend_string *algorithm, zend_string *auth,
+ zend_string *pass);
+
zval *ra_find_node_by_name(RedisArray *ra, const char *host, int host_len);
zval *ra_find_node(RedisArray *ra, const char *key, int key_len, int *out_pos);
void ra_init_function_table(RedisArray *ra);