summaryrefslogtreecommitdiffstats
path: root/src/H5Opublic.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-11-17 19:39:14 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-11-17 19:39:14 (GMT)
commite215d22a79d497518040d74c1d1bd3fce34780cb (patch)
treeb311e41efd3ee0d23dae8558f94b4530b4f7db44 /src/H5Opublic.h
parent5660250f25e8e4cb8f05a838d8d2a6f8466ef55c (diff)
downloadhdf5-e215d22a79d497518040d74c1d1bd3fce34780cb.zip
hdf5-e215d22a79d497518040d74c1d1bd3fce34780cb.tar.gz
hdf5-e215d22a79d497518040d74c1d1bd3fce34780cb.tar.bz2
[svn-r12935] Added list-to-btree conversion, changed SOHM apis, and pushed SOHM table
version and size information into the superblock to eliminate a read when loading it. This is a file format change, and hopefully the last one (knock on wood). Tested on kagiso and Windows (mostly just a SOHM change).
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r--src/H5Opublic.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h
index bb61f8b..9576ff1 100644
--- a/src/H5Opublic.h
+++ b/src/H5Opublic.h
@@ -41,6 +41,22 @@
#define H5O_COPY_PRESERVE_NULL_FLAG (0x0020u) /* Copy NULL messages (empty space) */
#define H5O_COPY_ALL (0x003Fu) /* All object copying flags (for internal checking) */
+/* Flags for shared message indexes.
+ * Pass these flags in using the mesg_type_flags parameter in
+ * H5P_set_shared_mesg_index.
+ * (Developers: These flags correspond to object header message type_ids,
+ * but we need to assign each kind of message to a different bit so that
+ * one index can hold multiple types.)
+ */
+#define H5O_MESG_NONE_FLAG 0x0000 /* No shared messages */
+#define H5O_MESG_SDSPACE_FLAG 0x0001 /* Simple Dataspace Message. */
+#define H5O_MESG_DTYPE_FLAG 0x0002 /* Datatype Message. */
+#define H5O_MESG_FILL_FLAG 0x0004 /* Fill Value Message. */
+#define H5O_MESG_PLINE_FLAG 0x0008 /* Filter pipeline message. */
+#define H5O_MESG_ATTR_FLAG 0x0010 /* Attribute Message. */
+#define H5O_MESG_ALL_FLAG (H5O_MESG_SDSPACE_FLAG | H5O_MESG_DTYPE_FLAG | H5O_MESG_FILL_FLAG | H5O_MESG_PLINE_FLAG | H5O_MESG_ATTR_FLAG)
+
+
typedef struct H5O_stat_t {
hsize_t size; /* Total size of object header in file */
hsize_t free; /* Free space within object header */