Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb88e1d

Browse files
committed
remove unused struct request_item + add redis_hstrlen_cmd proto
1 parent ac4ea8e commit fb88e1d

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

common.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,6 @@ typedef struct fold_item {
598598
struct fold_item *next;
599599
} fold_item;
600600

601-
typedef struct request_item {
602-
char *request_str;
603-
int request_size; /* size_t */
604-
struct request_item *next;
605-
} request_item;
606-
607601
/* {{{ struct RedisSock */
608602
typedef struct {
609603
php_stream *stream;

redis_commands.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ int redis_hmget_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
145145
int redis_hmset_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
146146
char **cmd, int *cmd_len, short *slot, void **ctx);
147147

148+
int redis_hstrlen_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
149+
char **cmd, int *cmd_len, short *slot, void **ctx);
150+
148151
int redis_bitop_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
149152
char **cmd, int *cmd_len, short *slot, void **ctx);
150153

0 commit comments

Comments
 (0)