diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-07-15 21:23:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-07-15 21:23:19 (GMT) |
commit | d6dadadc7e048436082fa40901fd0f2394064111 (patch) | |
tree | 76b378ce385690648f8652e6051a9b7309172a3e /src/H5Gpublic.h | |
parent | ac73359fb1c766140ffa1b88c4820be56cd01f0a (diff) | |
download | hdf5-d6dadadc7e048436082fa40901fd0f2394064111.zip hdf5-d6dadadc7e048436082fa40901fd0f2394064111.tar.gz hdf5-d6dadadc7e048436082fa40901fd0f2394064111.tar.bz2 |
[svn-r15368] Description:
Bring back r15367 from the trunk:
Add check to avoid mounting a file on a group twice, when the mounts
are done on the same HDF5 file, but opened with separate H5Fopen queries.
Also add new 'mounted' flag to the H5G_info_t struct, queried with the
H5Gget_info() API call, to allow applications to detect and avoid this
situation.
Tested on:
Mac OS X/32 10.5.4 (amazon)
Linux/64 10.5.4 (chicago)
Diffstat (limited to 'src/H5Gpublic.h')
-rw-r--r-- | src/H5Gpublic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h index e818e72..5ba7050 100644 --- a/src/H5Gpublic.h +++ b/src/H5Gpublic.h @@ -61,6 +61,7 @@ typedef struct H5G_info_t { H5G_storage_type_t storage_type; /* Type of storage for links in group */ hsize_t nlinks; /* Number of links in group */ int64_t max_corder; /* Current max. creation order value for group */ + hbool_t mounted; /* Whether group has a file mounted on it */ } H5G_info_t; /********************/ |