diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-24 23:13:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-24 23:13:29 (GMT) |
commit | 9a520f67b2e8379e28c22f0c3578a9ce43b4907a (patch) | |
tree | 86cc109ff485f024ec0f34afad9350fe9def2573 /src/H5Zpkg.h | |
parent | e143242ce101661a29c5a65f0dd9a4aa37a1af64 (diff) | |
download | hdf5-9a520f67b2e8379e28c22f0c3578a9ce43b4907a.zip hdf5-9a520f67b2e8379e28c22f0c3578a9ce43b4907a.tar.gz hdf5-9a520f67b2e8379e28c22f0c3578a9ce43b4907a.tar.bz2 |
[svn-r14012] Description:
Fix problem with I/O pipeline messages where the version of the format
for a I/O pipeline message could depend on the "use the latest format" flag from
the file after it was initially created.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Mac OS X/32 10.4.10 (amazon)
Solaris/32 2.10 (linew)
Diffstat (limited to 'src/H5Zpkg.h')
-rw-r--r-- | src/H5Zpkg.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/H5Zpkg.h b/src/H5Zpkg.h index cd899fb..9cd126e 100644 --- a/src/H5Zpkg.h +++ b/src/H5Zpkg.h @@ -23,6 +23,21 @@ /* Include private header file */ #include "H5Zprivate.h" /* Filter functions */ + +/* The initial version of the format */ +#define H5O_PLINE_VERSION_1 1 + +/* This version encodes the message fields more efficiently */ +/* (Drops the reserved bytes, doesn't align the name and doesn't encode the + * filter name at all if it's a filter provided by the library) + */ +#define H5O_PLINE_VERSION_2 2 + +/* The latest version of the format. Look through the 'encode' and 'size' + * callbacks for places to change when updating this. */ +#define H5O_PLINE_VERSION_LATEST H5O_PLINE_VERSION_2 + + #ifdef H5_HAVE_FILTER_DEFLATE /* * Deflate filter |