diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-05 23:06:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-05 23:06:54 (GMT) |
commit | 46467e91b0c96f368b2ac75569dfab2d3a097ef8 (patch) | |
tree | 9028c68c57d3f0a06152823f768484d1d460562b /src/H5private.h | |
parent | 5afc64f31b1cb2f3907ad5fa5f1a1629d27fb5c4 (diff) | |
download | hdf5-46467e91b0c96f368b2ac75569dfab2d3a097ef8.zip hdf5-46467e91b0c96f368b2ac75569dfab2d3a097ef8.tar.gz hdf5-46467e91b0c96f368b2ac75569dfab2d3a097ef8.tar.bz2 |
[svn-r12649] Description:
Add a CRC algorithm to the library, initially for "small" (<256 byte)
metadata blocks.
Update checksum tests to verify it's working correctly.
Tested:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
(Will be testing on more platforms after checkin)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 28c72c8..e9beabd 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1447,7 +1447,8 @@ H5_DLL int H5T_term_interface(void); H5_DLL int H5Z_term_interface(void); /* Checksum functions */ -H5_DLL uint32_t H5_fletcher32(const void *data, size_t len); +H5_DLL uint32_t H5_checksum_fletcher32(const void *data, size_t len); +H5_DLL uint32_t H5_checksum_crc(const void *data, size_t len); H5_DLL uint32_t H5_checksum_metadata(const void *data, size_t len); /* Functions for debugging */ |