@@ -22,7 +22,7 @@ typedef struct subscribeContext {
22
22
} subscribeContext ;
23
23
24
24
/* Construct a raw command */
25
- int redis_build_raw_cmd (zval * * z_args , int argc , char * * cmd , int * cmd_len TSRMLS_DC );
25
+ int redis_build_raw_cmd (zval * z_args , int argc , char * * cmd , int * cmd_len TSRMLS_DC );
26
26
27
27
/* Redis command generics. Many commands share common prototypes meaning that
28
28
* we can write one function to handle all of them. For example, there are
@@ -44,7 +44,7 @@ int redis_kv_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
44
44
char * kw , char * * cmd , int * cmd_len , short * slot , void * * ctx );
45
45
46
46
int redis_key_str_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
47
- char * kw , char * * cmd , int * cmd_len , short * slot , void * * ctx );
47
+ char * kw , char * * cmd , int * cmd_len , short * slot , void * * ctx );
48
48
49
49
int redis_key_key_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
50
50
char * kw , char * * cmd , int * cmd_len , short * slot , void * * ctx );
@@ -79,11 +79,11 @@ typedef int (*zrange_cb)(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
79
79
char * ,char * * ,int * ,int * ,short * ,void * * );
80
80
81
81
int redis_zrange_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
82
- char * kw , char * * cmd , int * cmd_len , int * withscores , short * slot ,
82
+ char * kw , char * * cmd , int * cmd_len , int * withscores , short * slot ,
83
83
void * * ctx );
84
84
85
85
int redis_zrangebyscore_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
86
- char * kw , char * * cmd , int * cmd_len , int * withscores , short * slot ,
86
+ char * kw , char * * cmd , int * cmd_len , int * withscores , short * slot ,
87
87
void * * ctx );
88
88
89
89
int redis_zinter_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
@@ -102,7 +102,7 @@ int redis_gen_zlex_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
102
102
char * kw , char * * cmd , int * cmd_len , short * slot , void * * ctx );
103
103
104
104
/* Commands which need a unique construction mechanism. This is either because
105
- * they don't share a signature with any other command, or because there is
105
+ * they don't share a signature with any other command, or because there is
106
106
* specific processing we do (e.g. verifying subarguments) that make them
107
107
* unique */
108
108
@@ -130,7 +130,7 @@ int redis_hmget_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
130
130
int redis_hmset_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
131
131
char * * cmd , int * cmd_len , short * slot , void * * ctx );
132
132
133
- int redis_bitop_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
133
+ int redis_bitop_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
134
134
char * * cmd , int * cmd_len , short * slot , void * * ctx );
135
135
136
136
int redis_bitcount_cmd (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
@@ -224,20 +224,20 @@ int redis_command_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
224
224
int redis_fmt_scan_cmd (char * * cmd , REDIS_SCAN_TYPE type , char * key , int key_len ,
225
225
long it , char * pat , int pat_len , long count );
226
226
227
- /* Commands that don't communicate with Redis at all (such as getOption,
227
+ /* Commands that don't communicate with Redis at all (such as getOption,
228
228
* setOption, _prefix, _serialize, etc). These can be handled in one place
229
- * with the method of grabbing our RedisSock* object in different ways
229
+ * with the method of grabbing our RedisSock* object in different ways
230
230
* depending if this is a Redis object or a RedisCluster object. */
231
231
232
- void redis_getoption_handler (INTERNAL_FUNCTION_PARAMETERS ,
232
+ void redis_getoption_handler (INTERNAL_FUNCTION_PARAMETERS ,
233
233
RedisSock * redis_sock , redisCluster * c );
234
- void redis_setoption_handler (INTERNAL_FUNCTION_PARAMETERS ,
234
+ void redis_setoption_handler (INTERNAL_FUNCTION_PARAMETERS ,
235
235
RedisSock * redis_sock , redisCluster * c );
236
- void redis_prefix_handler (INTERNAL_FUNCTION_PARAMETERS ,
236
+ void redis_prefix_handler (INTERNAL_FUNCTION_PARAMETERS ,
237
237
RedisSock * redis_sock );
238
- void redis_serialize_handler (INTERNAL_FUNCTION_PARAMETERS ,
238
+ void redis_serialize_handler (INTERNAL_FUNCTION_PARAMETERS ,
239
239
RedisSock * redis_sock );
240
- void redis_unserialize_handler (INTERNAL_FUNCTION_PARAMETERS ,
240
+ void redis_unserialize_handler (INTERNAL_FUNCTION_PARAMETERS ,
241
241
RedisSock * redis_sock , zend_class_entry * ex );
242
242
243
243
#endif
0 commit comments