diff options
author | Alex Smith <aes7mv@virginia.edu> | 2020-10-16 18:35:58 -0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2021-02-25 21:25:17 -0800 |
commit | 83c14504257de168c45ae7730a00c930ab17cfa3 (patch) | |
tree | 56b0c640dff32b831c2d883d841b9622c790193a /hiredis.h | |
parent | c6646cb19242b0e0966760b38e7df74742b3a7b2 (diff) |
read: Add support for the RESP3 bignum type
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -112,7 +112,8 @@ typedef struct redisReply { double dval; /* The double when type is REDIS_REPLY_DOUBLE */ size_t len; /* Length of string */ char *str; /* Used for REDIS_REPLY_ERROR, REDIS_REPLY_STRING - REDIS_REPLY_VERB, and REDIS_REPLY_DOUBLE (in additional to dval). */ + REDIS_REPLY_VERB, REDIS_REPLY_DOUBLE (in additional to dval), + and REDIS_REPLY_BIGNUM. */ char vtype[4]; /* Used for REDIS_REPLY_VERB, contains the null terminated 3 character content type, such as "txt". */ size_t elements; /* number of elements, for REDIS_REPLY_ARRAY */ |