diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-06 14:40:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-06 14:40:36 (GMT) |
commit | 2f0dd6b2495428fc923a5c16fe02c33af509b396 (patch) | |
tree | ad5716331bd67eddd51204914e451adffae19e9d /src/H5Oprivate.h | |
parent | 53f99e09662bdfe282b940a7111e4336ec14fed2 (diff) | |
download | hdf5-2f0dd6b2495428fc923a5c16fe02c33af509b396.zip hdf5-2f0dd6b2495428fc923a5c16fe02c33af509b396.tar.gz hdf5-2f0dd6b2495428fc923a5c16fe02c33af509b396.tar.bz2 |
[svn-r17306] Description:
Stabilize file format changes for layout object header message and add
new "storage" object header message. This version of the layout message
(& future ones) will contain the constant information for a dataset's layout
and the new storage message will contain information that can change over the
course of a dataset's lifetime.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.5.7 (amazon) in debug mode
Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r-- | src/H5Oprivate.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index 251e770..21362b0 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -150,7 +150,7 @@ typedef struct H5O_copy_t { #define H5O_FILL_NEW_ID 0x0005 /* Fill Value Message. (New) */ #define H5O_LINK_ID 0x0006 /* Link Message. */ #define H5O_EFL_ID 0x0007 /* External File List Message */ -#define H5O_LAYOUT_ID 0x0008 /* Data Storage Layout Message. */ +#define H5O_LAYOUT_ID 0x0008 /* Data Layout Message. */ #define H5O_BOGUS_ID 0x0009 /* "Bogus" Message. */ #define H5O_GINFO_ID 0x000a /* Group info Message. */ #define H5O_PLINE_ID 0x000b /* Filter pipeline message. */ @@ -167,6 +167,7 @@ typedef struct H5O_copy_t { #define H5O_REFCOUNT_ID 0x0016 /* Reference count message. */ #define H5O_UNKNOWN_ID 0x0017 /* Placeholder message ID for unknown message. */ /* (this should never exist in a file) */ +#define H5O_STORAGE_ID 0x0018 /* Data Storage message. */ /* Shared object message types. @@ -728,6 +729,12 @@ H5_DLL herr_t H5O_loc_copy(H5O_loc_t *dst, const H5O_loc_t *src, H5_copy_depth_t H5_DLL herr_t H5O_loc_hold_file(H5O_loc_t *loc); H5_DLL herr_t H5O_loc_free(H5O_loc_t *loc); +/* Storage operators */ +H5_DLL void *H5O_storage_copy(const void *mesg, void *dest); +H5_DLL herr_t H5O_storage_reset(void *mesg); +H5_DLL size_t H5O_storage_meta_size(const H5F_t *f, const H5O_storage_t *storage, + hbool_t include_compact_data); + /* EFL operators */ H5_DLL hsize_t H5O_efl_total_size(H5O_efl_t *efl); |