summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorAlex Smith <aes7mv@virginia.edu>2020-10-16 18:35:58 -0400
committermichael-grunder <michael.grunder@gmail.com>2021-02-25 21:25:17 -0800
commit83c14504257de168c45ae7730a00c930ab17cfa3 (patch)
tree56b0c640dff32b831c2d883d841b9622c790193a /hiredis.h
parentc6646cb19242b0e0966760b38e7df74742b3a7b2 (diff)
read: Add support for the RESP3 bignum type
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index a629930..e77a88a 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -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 */