diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2018-12-18 19:42:03 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2018-12-18 19:42:03 (GMT) |
commit | 99bc714c4bd1a66b97b5e1d0bca671cf43616b42 (patch) | |
tree | a8e80a8ccf4570cf9a72d6ed2854fa4f1ade7259 /src/H5Fint.c | |
parent | 5efc08a06d34ceab3de1766cb651ac8978deed16 (diff) | |
download | hdf5-99bc714c4bd1a66b97b5e1d0bca671cf43616b42.zip hdf5-99bc714c4bd1a66b97b5e1d0bca671cf43616b42.tar.gz hdf5-99bc714c4bd1a66b97b5e1d0bca671cf43616b42.tar.bz2 |
Move H5Fset_dset_no_attrs_hint VOL operations to native.
Move minimzied object header tests from separate file to test/ohdr.c
Some formatting changes.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index b212657..46ed62a 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -3713,3 +3713,27 @@ done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5F_get_file_id() */ + +/*------------------------------------------------------------------------- + * Function: H5F_set_min_dset_ohdr + * + * Purpose: Set the crt_dset_ohdr_flag field with a new value. + * + * Return: SUCCEED/FAIL + *------------------------------------------------------------------------- + */ +herr_t +H5F_set_min_dset_ohdr(H5F_t *f, hbool_t minimize) +{ + /* Use FUNC_ENTER_NOAPI_NOINIT_NOERR here to avoid performance issues */ + FUNC_ENTER_NOAPI_NOINIT_NOERR + + /* Sanity check */ + HDassert(f); + HDassert(f->shared); + + f->shared->crt_dset_min_ohdr_flag = minimize; + + FUNC_LEAVE_NOAPI(SUCCEED) +} /* H5F_set_min_dset_ohdr() */ + |