diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-19 17:02:23 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-19 17:02:23 (GMT) |
commit | d317b8b404bea67439bf9dbb8565f5532d69aa1a (patch) | |
tree | 9a1f0dc90bfcd195f4be93088b8c25b76d54fd74 /src/H5FDprivate.h | |
parent | e10de8f3d65bd8ad0ef5484a56f1a9807693a967 (diff) | |
download | hdf5-d317b8b404bea67439bf9dbb8565f5532d69aa1a.zip hdf5-d317b8b404bea67439bf9dbb8565f5532d69aa1a.tar.gz hdf5-d317b8b404bea67439bf9dbb8565f5532d69aa1a.tar.bz2 |
[svn-r6496] Purpose:
Refactoring of Flush Logic
Description:
The Flushing logic passed in multiple flags to indicate what type of
flush it was: closing, invalidate, alloc only. This made extending
the function of the flush logic to handle other flags annoying.
Solution:
I changed it to be just one bitmasked flag to indicate what type of
flushing to do. I also added the CLEAR_ONLY flag, which will be used
in the FPHDF5 stuff.
Platforms tested:
h5committest doesn't work for me (my environment isn't setup on the
other machines I guess). I tested it manually:
Linux parallel & C++
Sol Fortran
Modi4 parallel & Fortran.
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index 7993e91..b0f0b1d 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -50,7 +50,7 @@ H5_DLL herr_t H5FD_read(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t ad void *buf/*out*/); H5_DLL herr_t H5FD_write(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void *buf); -H5_DLL herr_t H5FD_flush(H5FD_t *file, hid_t dxpl_id, unsigned closing); +H5_DLL herr_t H5FD_flush(H5FD_t *file, hid_t dxpl_id, unsigned flags); H5_DLL herr_t H5FD_get_fileno(const H5FD_t *file, unsigned long *filenum); H5_DLL herr_t H5FD_get_vfd_handle(H5FD_t *file, hid_t fapl, void** file_handle); |