diff options
| author | zhengchao <[email protected]> | 2022-07-09 18:01:48 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2022-07-09 18:01:48 +0800 |
| commit | 323f88e0469fd3d87867d9a243cf7dba83592265 (patch) | |
| tree | 0443988a66365bd4881e608824a335fb2cffd9d9 /include | |
| parent | 52d9404f06464885cba2d8ad084dc38cad1cfe1a (diff) | |
PN Counter支持Set;SET命令支持Counter数据类型
Diffstat (limited to 'include')
| -rw-r--r-- | include/swarmkv/swarmkv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/swarmkv/swarmkv.h b/include/swarmkv/swarmkv.h index be7471c..383bfbb 100644 --- a/include/swarmkv/swarmkv.h +++ b/include/swarmkv/swarmkv.h @@ -3,7 +3,7 @@ * SwarmKV is a embedded and distributed key-CRDT store with p2p networking * Authors: Zheng Chao [email protected] * Jiang Ping -* Version 2022-01-24 version 2.0.0 +* Version 2022-01-24 version 3.0.0 ******************************************************************************* */ @@ -31,7 +31,7 @@ struct swarmkv_reply enum swarmkv_reply_type type; long long integer; /* The integer when type is SWARMKV_REPLY_INTEGER */ int len; /* Length of string */ - char *str; /* Used for SWARMKV_REPLY_ERROR, SWARMKV_REPLY_STATUS and SWARMKV_REPLY_STRING */ + char *str; /* Used for SWARMKV_REPLY_ERROR, SWARMKV_REPLY_STATUS, SWARMKV_NODE and SWARMKV_REPLY_STRING */ size_t n_element; /* number of elements, for SWARMKV_REPLY_ARRAY */ struct swarmkv_reply **elements;/* elements vector for SWARMKV_REPLY_ARRAY */ }; |
