summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2015-02-01 15:03:39 -0700
committerTushar Gohad <tushar.gohad@intel.com>2015-02-01 15:03:39 -0700
commit6d9c09faeb995a4e6c9dfe88ba14d1f944f164a4 (patch)
tree05bce42a9a7d2efaa3f6e50adaafd54ed5bceaeb
parentdc4e6f07ce586327cbb19c1f6c31f2b3edc33def (diff)
downloadliberasurecode-6d9c09faeb995a4e6c9dfe88ba14d1f944f164a4.tar.gz
Adjust checksum enum defintions to match pyeclib
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
-rw-r--r--include/erasurecode/erasurecode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/erasurecode/erasurecode.h b/include/erasurecode/erasurecode.h
index 74f6385..53c89d9 100644
--- a/include/erasurecode/erasurecode.h
+++ b/include/erasurecode/erasurecode.h
@@ -52,9 +52,9 @@ typedef enum {
/* Checksum types supported for fragment metadata stored in each fragment */
typedef enum {
- CHKSUM_NONE = 0,
- CHKSUM_CRC32 = 1,
- CHKSUM_MD5 = 2,
+ CHKSUM_NONE = 1,
+ CHKSUM_CRC32 = 2,
+ CHKSUM_MD5 = 3,
CHKSUM_TYPES_MAX,
} ec_checksum_type_t;