summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorjake.smith <jake.smith@hdfgroup.org>2018-12-29 20:31:31 (GMT)
committerjake.smith <jake.smith@hdfgroup.org>2018-12-29 20:31:31 (GMT)
commit905c3ca3d7736b151ff0889290c0c9e377988f26 (patch)
tree3b6d8b5ab846dcf0a29bf14460e5058096e78800 /src/H5Fprivate.h
parentba095e6a53a919c9753463c3800a26b180b7a135 (diff)
parentf54fb420d08ea0a7e7b026150c0ab559803e0acd (diff)
downloadhdf5-905c3ca3d7736b151ff0889290c0c9e377988f26.zip
hdf5-905c3ca3d7736b151ff0889290c0c9e377988f26.tar.gz
hdf5-905c3ca3d7736b151ff0889290c0c9e377988f26.tar.bz2
Merge pull request #1372 in HDFFV/hdf5 from ~JAKE.SMITH/hdf5:dset_ohdr_minimize to develop
Dataset object header minimization Jira TRILAB-45 * commit 'f54fb420d08ea0a7e7b026150c0ab559803e0acd': (34 commits) Specify variable type. Remove unnecessary whitespace. OHDR tests now accept h5_fileaccess() fapls. Formatting, informative comments, and minor renaming. Fix some CMake listings Add error checking to the minimized dset header size calculation. Update printf->HDprintf statements. Remove `#if 0` block of deprecated code. Fix mistake with H5E_BEGIN_TRY {...} H5E_END_TRY block containing ERROR-raising macros. Formatting tweaks. Add "compact" storage test to relative header size comparisons. Formatting adjustments. Formatting adjustments 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. Re-format test/ohdr_mindset.c Fix a few transcription errors in other test files. formatting adjustments Reformat to be more consistent with existing code. Fix a few typos. add missing paramter - macro seemingly unused, but absence results in compiler complaint fix reference; move declaration in file Remove unused debugging print in '#if 0' block Fix typo. Fix CHECK of wrong ID (dset[2|3]_id). change test file name and apply 'h5_fixname' to it Sidestep and hide&flag minor issues causing test failures. Incorporate minimized dset ohdr tests into extant suite. ...
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 85f0d15..5f7a1b2 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -331,6 +331,8 @@ typedef struct H5F_t H5F_t;
#define H5F_POINT_OF_NO_RETURN(F) ((F)->shared->fs.point_of_no_return)
#define H5F_FIRST_ALLOC_DEALLOC(F) ((F)->shared->first_alloc_dealloc)
#define H5F_EOA_PRE_FSM_FSALLOC(F) ((F)->shared->eoa_pre_fsm_fsalloc)
+#define H5F_GET_MIN_DSET_OHDR(F) ((F)->shared->crt_dset_min_ohdr_flag)
+#define H5F_SET_MIN_DSET_OHDR(F, V) ((F)->shared->crt_dset_min_ohdr_flag = (V))
#else /* H5F_MODULE */
#define H5F_LOW_BOUND(F) (H5F_get_low_bound(F))
#define H5F_HIGH_BOUND(F) (H5F_get_high_bound(F))
@@ -388,6 +390,8 @@ typedef struct H5F_t H5F_t;
#define H5F_POINT_OF_NO_RETURN(F) (H5F_get_point_of_no_return(F))
#define H5F_FIRST_ALLOC_DEALLOC(F) (H5F_get_first_alloc_dealloc(F))
#define H5F_EOA_PRE_FSM_FSALLOC(F) (H5F_get_eoa_pre_fsm_fsalloc(F))
+#define H5F_GET_MIN_DSET_OHDR(F) (H5F_get_min_dset_ohdr(F))
+#define H5F_SET_MIN_DSET_OHDR(F, V) (H5F_set_min_dset_ohdr((F), (V)))
#endif /* H5F_MODULE */
@@ -740,6 +744,8 @@ H5_DLL hsize_t H5F_get_pgend_meta_thres(const H5F_t *f);
H5_DLL hbool_t H5F_get_point_of_no_return(const H5F_t *f);
H5_DLL hbool_t H5F_get_first_alloc_dealloc(const H5F_t *f);
H5_DLL haddr_t H5F_get_eoa_pre_fsm_fsalloc(const H5F_t *f);
+H5_DLL hbool_t H5F_get_min_dset_ohdr(const H5F_t *f);
+H5_DLL herr_t H5F_set_min_dset_ohdr(H5F_t *f, hbool_t minimize);
/* Functions than retrieve values set/cached from the superblock/FCPL */
H5_DLL haddr_t H5F_get_base_addr(const H5F_t *f);