diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-10 15:47:59 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-10 15:47:59 (GMT) |
commit | 6cfd5c146267e771e46d37709c405c7732feeaf0 (patch) | |
tree | d9eb91f315735e48eda173531bcaf10269d65db3 /src/H5Opkg.h | |
parent | a127510b7b3049d0e136b677b180c8e644bdc7ea (diff) | |
download | hdf5-6cfd5c146267e771e46d37709c405c7732feeaf0.zip hdf5-6cfd5c146267e771e46d37709c405c7732feeaf0.tar.gz hdf5-6cfd5c146267e771e46d37709c405c7732feeaf0.tar.bz2 |
[svn-r13487] Description:
Eliminate message count from new version of object header prefix -
it can be computed when the header is loaded and the table of messages is
built.
Tested on:
FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r-- | src/H5Opkg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h index bd92478..65d4914 100644 --- a/src/H5Opkg.h +++ b/src/H5Opkg.h @@ -103,7 +103,6 @@ (H5O_SIZEOF_MAGIC + /*magic number */ \ 1 + /*version number */ \ 1 + /*flags */ \ - 2 + /*number of messages */ \ 4 + /*reference count */ \ (((O)->flags & H5O_HDR_STORE_TIMES) ? ( \ 4 + /*access time */ \ @@ -477,6 +476,7 @@ H5_DLL herr_t H5O_msg_iterate_real(H5F_t *f, H5O_t *oh, const H5O_msg_class_t *t const H5O_mesg_operator_t *op, void *op_data, hid_t dxpl_id); /* Object header allocation routines */ +H5_DLL herr_t H5O_alloc_msgs(H5O_t *oh, size_t min_alloc); H5_DLL unsigned H5O_alloc(H5F_t *f, hid_t dxpl_id, H5O_t *oh, const H5O_msg_class_t *type, const void *mesg); H5_DLL herr_t H5O_condense_header(H5F_t *f, H5O_t *oh, hid_t dxpl_id); |