summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5_f.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2019-01-08 17:29:48 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2019-01-08 17:29:48 (GMT)
commit9b6fe52bcf095a2cd6bc35e79bd1e5e341a0e707 (patch)
treed7da78f4b4efc0aba04366cb9f93a30b971427b0 /fortran/src/H5_f.c
parent7e500559207e38ba1978d709c32b9ab814d9c202 (diff)
parentb4d4d371a03158c39f120b1bde6c4bd51f1b2eb6 (diff)
downloadhdf5-9b6fe52bcf095a2cd6bc35e79bd1e5e341a0e707.zip
hdf5-9b6fe52bcf095a2cd6bc35e79bd1e5e341a0e707.tar.gz
hdf5-9b6fe52bcf095a2cd6bc35e79bd1e5e341a0e707.tar.bz2
Merge pull request #1409 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:J10443 to develop
* commit 'b4d4d371a03158c39f120b1bde6c4bd51f1b2eb6': HDFFV-10443: Add "field" parameter to H5Oinfo* and H5Ovisit* APIs. Added chunked dataset, H5S_ALL test typo typo updated defined constants Documented HDFFV-10652 HDFFV-10652 Implemented a process-0 read and then broadcast for collective read of full datasets (H5S_ALL) by all the processes in the file communicator. Removed reason for breaking read-proc0-and-bcast switched to using CX instead of a global var. HDFFV-10652 Implemented a process-0 read and then broadcast for collective read of full datasets (H5S_ALL) by all the processes in the file communicator.
Diffstat (limited to 'fortran/src/H5_f.c')
-rw-r--r--fortran/src/H5_f.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/fortran/src/H5_f.c b/fortran/src/H5_f.c
index 352ffab..69ba8b3 100644
--- a/fortran/src/H5_f.c
+++ b/fortran/src/H5_f.c
@@ -556,6 +556,17 @@ h5init_flags_c( int_f *h5d_flags, size_t_f *h5d_size_flags,
h5o_flags[24] = (int_f)H5O_TYPE_DATASET; /* Object is a dataset */
h5o_flags[25] = (int_f)H5O_TYPE_NAMED_DATATYPE; /* Object is a named data type */
h5o_flags[26] = (int_f)H5O_TYPE_NTYPES; /* Number of different object types */
+
+/* Flags for H5Oget_info.
+ * These flags determine which fields will be filled in in the H5O_info_t
+ * struct.
+ */
+ h5o_flags[27] = (int_f)H5O_INFO_ALL; /* (H5O_INFO_BASIC|H5O_INFO_TIME|H5O_INFO_NUM_ATTRS|H5O_INFO_HDR|H5O_INFO_META_SIZE) */
+ h5o_flags[28] = (int_f)H5O_INFO_BASIC; /* Fill in the fileno, addr, type, and rc fields */
+ h5o_flags[29] = (int_f)H5O_INFO_TIME; /* Fill in the atime, mtime, ctime, and btime fields */
+ h5o_flags[30] = (int_f)H5O_INFO_NUM_ATTRS; /* Fill in the num_attrs field */
+ h5o_flags[31] = (int_f)H5O_INFO_HDR; /* Fill in the hdr field */
+ h5o_flags[32] = (int_f)H5O_INFO_META_SIZE; /* Fill in the meta_size field */
/*
* H5P flags
*/