summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-03-11 02:00:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-03-11 02:00:48 (GMT)
commit48f022a701da0912a4776a3d9d24a102dd562b5f (patch)
tree4c5d95985266db25e3c6c7ff9128059114698721 /src/H5Fpkg.h
parent429cecd2827e09ad9800b25557774e31d19b750f (diff)
downloadhdf5-48f022a701da0912a4776a3d9d24a102dd562b5f.zip
hdf5-48f022a701da0912a4776a3d9d24a102dd562b5f.tar.gz
hdf5-48f022a701da0912a4776a3d9d24a102dd562b5f.tar.bz2
[svn-r13495] Description:
Cleanup handling of file consistency/status flags a bit. Tested on: FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 10f219f..8c43ea2 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -54,9 +54,12 @@
#define H5F_SIGNATURE "\211HDF\r\n\032\n"
#define H5F_SIGNATURE_LEN 8
-/*
- * Private file open flags.
- */
+/* Superblock status flags */
+#define H5F_SUPER_WRITE_ACCESS 0x01
+#define H5F_SUPER_FILE_OK 0x02
+#define H5F_SUPER_ALL_FLAGS (H5F_SUPER_WRITE_ACCESS | H5F_SUPER_FILE_OK)
+
+/* Mask for removing private file access flags */
#define H5F_ACC_PUBLIC_FLAGS 0x00ffu
/*
@@ -69,7 +72,7 @@
typedef struct H5F_file_t {
H5FD_t *lf; /* Lower level file handle for I/O */
unsigned nrefs; /* Ref count for times file is opened */
- uint8_t consist_flags; /* File Consistency Flags */
+ uint8_t status_flags; /* File status flags */
unsigned flags; /* Access Permissions for file */
/* Cached values from FCPL/superblock */