summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-18 15:27:14 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-18 15:27:14 (GMT)
commit26fc682d8d54190199c6e04c415eed7d888d6994 (patch)
tree7c4ac9be6dff6019261e6015b5772416a4a4ba03 /src/H5private.h
parent9155785889af8ae809fb5e9cdbb330710a174d72 (diff)
downloadhdf5-26fc682d8d54190199c6e04c415eed7d888d6994.zip
hdf5-26fc682d8d54190199c6e04c415eed7d888d6994.tar.gz
hdf5-26fc682d8d54190199c6e04c415eed7d888d6994.tar.bz2
[svn-r13153] Added checksum to superblock and driver info block (in latest version of
superblock). Tried to standardize sizes and added #defines to H5Fpkg.h so that hopefully the code is a little easier to read. Of course this is a file format change. Tested on Windows, juniper, smirom, kagiso.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 2d5cbdb..ada1e0d 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -266,12 +266,14 @@
/* Version #'s of the major components of the file format */
#define HDF5_SUPERBLOCK_VERSION_DEF 0 /* The default super block format */
#define HDF5_SUPERBLOCK_VERSION_1 1 /* Version with non-default B-tree 'K' value */
-#define HDF5_SUPERBLOCK_VERSION_2 2 /* Version with implicit shared OH messages */
-#define HDF5_SUPERBLOCK_VERSION_MAX HDF5_SUPERBLOCK_VERSION_2 /* The maximum super block format */
+#define HDF5_SUPERBLOCK_VERSION_2 2 /* Version with implicit shared OH messages and checksum */
+#define HDF5_SUPERBLOCK_VERSION_MAX HDF5_SUPERBLOCK_VERSION_2 /* The maximum super block format */
#define HDF5_FREESPACE_VERSION 0 /* of the Free-Space Info */
#define HDF5_OBJECTDIR_VERSION 0 /* of the Object Directory format */
#define HDF5_SHAREDHEADER_VERSION 0 /* of the Shared-Header Info */
-#define HDF5_DRIVERINFO_VERSION 0 /* of the Driver Information Block*/
+#define HDF5_DRIVERINFO_VERSION_0 0 /* of the Driver Information Block*/
+#define HDF5_DRIVERINFO_VERSION_1 1 /* Driver Information Block with checksum */
+#define HDF5_DRIVERINFO_VERSION_MAX HDF5_DRIVERINFO_VERSION_1 /* Maximum driver info block format */
/* B-tree internal 'K' values */
#define HDF5_BTREE_SNODE_IK_DEF 16