forked from phpredis/phpredis
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredis_array_impl.h
More file actions
Latest commit
32 lines (25 loc) · 1.5 KB
/
Copy pathredis_array_impl.h
File metadata and controls
32 lines (25 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndefREDIS_ARRAY_IMPL_H
#defineREDIS_ARRAY_IMPL_H
#ifdefPHP_WIN32
#include<win32/php_stdint.h>
#else
#include<stdint.h>
#endif
#include"redis_array.h"
RedisArray*ra_load_hosts(RedisArray*ra, HashTable*hosts, longretry_interval, zend_boolb_lazy_connectTSRMLS_DC);
RedisArray*ra_load_array(constchar*nameTSRMLS_DC);
RedisArray*ra_make_array(HashTable*hosts, zval*z_fun, zval*z_dist, HashTable*hosts_prev, zend_boolb_index, zend_boolb_pconnect, longretry_interval, zend_boolb_lazy_connect, doubleconnect_timeout, doubleread_timeoutTSRMLS_DC);
zval*ra_find_node_by_name(RedisArray*ra, constchar*host, inthost_lenTSRMLS_DC);
zval*ra_find_node(RedisArray*ra, constchar*key, intkey_len, int*out_posTSRMLS_DC);
voidra_init_function_table(RedisArray*ra);
voidra_move_key(constchar*key, intkey_len, zval*z_from, zval*z_toTSRMLS_DC);
voidra_index_multi(zval*z_redis, long multi_valueTSRMLS_DC);
voidra_index_key(constchar*key, intkey_len, zval*z_redisTSRMLS_DC);
voidra_index_keys(zval*z_pairs, zval*z_redisTSRMLS_DC);
voidra_index_del(zval*z_keys, zval*z_redisTSRMLS_DC);
voidra_index_exec(zval*z_redis, zval*return_value, intkeep_allTSRMLS_DC);
voidra_index_discard(zval*z_redis, zval*return_valueTSRMLS_DC);
voidra_index_unwatch(zval*z_redis, zval*return_valueTSRMLS_DC);
zend_boolra_is_write_cmd(RedisArray*ra, constchar*cmd, intcmd_len);
voidra_rehash(RedisArray*ra, zend_fcall_info*z_cb, zend_fcall_info_cache*z_cb_cacheTSRMLS_DC);
#endif