summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-27 15:57:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-27 15:57:04 (GMT)
commit552bb205b9ff9ba43e91d81e9ecc69357b3b0cf3 (patch)
tree058641ddf724b39f14285b5dce3a482ba2438012 /src/H5Fprivate.h
parent71285e804fbd7cd1d46b45a77f5ed3ed6f6e9360 (diff)
downloadhdf5-552bb205b9ff9ba43e91d81e9ecc69357b3b0cf3.zip
hdf5-552bb205b9ff9ba43e91d81e9ecc69357b3b0cf3.tar.gz
hdf5-552bb205b9ff9ba43e91d81e9ecc69357b3b0cf3.tar.bz2
[svn-r13413] Description:
Further cleanups to superblock code: - Move most of the ISOHM-specific code into the H5SM module - Make only one checksum, for combined superblock & driver info block Minor other cleanups, etc. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index fc7df5b..ee81c6d 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -381,6 +381,26 @@ typedef struct H5F_t H5F_t;
#define H5_PAR_META_WRITE 0
#endif /* H5_HAVE_PARALLEL */
+/* 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 superblock extension and checksum */
+#define HDF5_SUPERBLOCK_VERSION_LATEST 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 0 /* of the Driver Information Block*/
+#define HDF5_DRIVERINFO_VERSION_LATEST HDF5_DRIVERINFO_VERSION_0 /* Maximum driver info block format */
+
+/* B-tree internal 'K' values */
+#define HDF5_BTREE_SNODE_IK_DEF 16
+#define HDF5_BTREE_ISTORE_IK_DEF 32 /* Note! this value is assumed
+ to be 32 for version 0
+ of the superblock and
+ if it is changed, the code
+ must compensate. -QAK
+ */
+
/* Forward declarations for prototype arguments */
struct H5B_class_t;
struct H5RC_t;