diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-03-19 18:58:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-03-19 18:58:54 (GMT) |
commit | a52914987ebff61d0347172e11520af02a5a6b4f (patch) | |
tree | 2bfce5cf8f4a54dfb07b5e1a6a13c3404237722f /src/H5Fprivate.h | |
parent | d317b8b404bea67439bf9dbb8565f5532d69aa1a (diff) | |
download | hdf5-a52914987ebff61d0347172e11520af02a5a6b4f.zip hdf5-a52914987ebff61d0347172e11520af02a5a6b4f.tar.gz hdf5-a52914987ebff61d0347172e11520af02a5a6b4f.tar.bz2 |
[svn-r6497] Purpose:
Finish code cleanup
Description:
Wrap up the conversion of H5F_flush's multiple boolean flags into a single
bitfield of flags by pushing the flags down into the H5AC_flush and
H5F_istore_flush routines.
Also, changed the flags from H5_FLUSH_<foo> to H5F_FLUSH_<foo> to be more
consistent with rest of library.
And reverted the changes to H5FDflush and H5FD_flush routines.
Platforms tested:
FreeBSD 4.7 (sleipnir)
Solaris 5.8 (sol)
IRIX64 6.5 (modi4) w/parallel
Misc. update:
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r-- | src/H5Fprivate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index 522b3bd..8fd4109 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -35,11 +35,11 @@ typedef struct H5F_t H5F_t; * Flags passed into the flush routines which indicate what type of * flush we want to do. They can be ORed together. */ -#define H5_FLUSH_NONE (0U) /* No flags specified */ -#define H5_FLUSH_INVALIDATE (1U << 0) /* Invalidate cached data */ -#define H5_FLUSH_ALLOC_ONLY (1U << 1) /* Allocate space for user and super blocks */ -#define H5_FLUSH_CLOSING (1U << 2) /* Closing the file */ -#define H5_FLUSH_CLEAR_ONLY (1U << 3) /* Don't write, just clear dirty flags */ +#define H5F_FLUSH_NONE (0U) /* No flags specified */ +#define H5F_FLUSH_INVALIDATE (1U << 0) /* Invalidate cached data */ +#define H5F_FLUSH_ALLOC_ONLY (1U << 1) /* Allocate space for user and super blocks */ +#define H5F_FLUSH_CLOSING (1U << 2) /* Closing the file */ +#define H5F_FLUSH_CLEAR_ONLY (1U << 3) /* Don't write, just clear dirty flags */ /* * Encode and decode macros for file meta-data. |