diff options
author | James Laird <jlaird@hdfgroup.org> | 2007-01-11 19:19:40 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2007-01-11 19:19:40 (GMT) |
commit | d8e4fcc4104953c58f6dbc0f92992b3684f70c90 (patch) | |
tree | 2c2f9d257a08faeae7c26384ca47bdcafcfebe02 /src/H5SMpkg.h | |
parent | ba14f838467f787fd4d42185a7e65fc529f84af8 (diff) | |
download | hdf5-d8e4fcc4104953c58f6dbc0f92992b3684f70c90.zip hdf5-d8e4fcc4104953c58f6dbc0f92992b3684f70c90.tar.gz hdf5-d8e4fcc4104953c58f6dbc0f92992b3684f70c90.tar.bz2 |
[svn-r13135] Continuing code cleanup.
Moved SOHM table version out of table encoding and completely into superblock.
This is a file format change.
Added test that extends shared dataspaces. Dynamically allocate arrays in
shared message cache code. Clean up comments.
Tested on windows, kagiso, smirom.
Diffstat (limited to 'src/H5SMpkg.h')
-rwxr-xr-x | src/H5SMpkg.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5SMpkg.h b/src/H5SMpkg.h index b771893..37a40a1 100755 --- a/src/H5SMpkg.h +++ b/src/H5SMpkg.h @@ -37,14 +37,11 @@ #define H5SM_TABLE_SIZEOF_MAGIC 4 #define H5SM_SIZEOF_CHECKSUM 4 -#define H5SM_MASTER_TABLE_VERSION 0 /* Version of the Shared Object Header Message Master Table*/ - #define H5SM_SOHM_ENTRY_SIZE(f) (4 /* Hash value */ \ + 4 /* reference count*/ \ + sizeof(H5SM_fheap_id_t)) /* size of heap ID on disk */ #define H5SM_TABLE_SIZE(f) ( H5SM_TABLE_SIZEOF_MAGIC \ - + 1 /* Table version */ \ + H5SM_SIZEOF_CHECKSUM) /* Checksum */ #define H5SM_INDEX_HEADER_SIZE(f) (1 /* Whether index is a list or B-tree */ \ @@ -145,7 +142,6 @@ typedef struct { /* Information for H5AC cache functions, _must_ be first field in structure */ H5AC_info_t cache_info; - unsigned version; /* Version of the table struct */ uint8_t num_indexes; /* Number of indexes */ H5SM_index_header_t *indexes; /* Array of num_indexes indexes */ } H5SM_master_table_t; |