summaryrefslogtreecommitdiffstats
path: root/src/H5Opublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-03-10 20:02:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-03-10 20:02:55 (GMT)
commit1eb19fc8959e2f4580e7d48633f42a350ca229c3 (patch)
tree44813647b934cf0828a1bd743d4fc66f917e6566 /src/H5Opublic.h
parent753a42edf644632e4a8049ec41fdb5c368b18a21 (diff)
downloadhdf5-1eb19fc8959e2f4580e7d48633f42a350ca229c3.zip
hdf5-1eb19fc8959e2f4580e7d48633f42a350ca229c3.tar.gz
hdf5-1eb19fc8959e2f4580e7d48633f42a350ca229c3.tar.bz2
[svn-r13491] Description:
Reduce the size of the value used to store the # of bytes in the "payload" for chunk 0 of an object header. Tested on: FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r--src/H5Opublic.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h
index 73c4581..b3d0c36 100644
--- a/src/H5Opublic.h
+++ b/src/H5Opublic.h
@@ -61,10 +61,12 @@
#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)
/* Object header status flag definitions */
-#define H5O_HDR_ATTR_CRT_ORDER_TRACKED 0x01 /* Attribute creation order is tracked */
-#define H5O_HDR_ATTR_CRT_ORDER_INDEXED 0x02 /* Attribute creation order has index */
-#define H5O_HDR_ATTR_STORE_PHASE_CHANGE 0x04 /* Non-default attribute storage phase change values stored */
-#define H5O_HDR_STORE_TIMES 0x08 /* Store access, modification, change & birth times for object */
+#define H5O_HDR_CHUNK0_SIZE 0x03 /* 2-bit field indicating # of bytes to store the size of chunk 0's data */
+#define H5O_HDR_ATTR_CRT_ORDER_TRACKED 0x04 /* Attribute creation order is tracked */
+#define H5O_HDR_ATTR_CRT_ORDER_INDEXED 0x08 /* Attribute creation order has index */
+#define H5O_HDR_ATTR_STORE_PHASE_CHANGE 0x10 /* Non-default attribute storage phase change values stored */
+#define H5O_HDR_STORE_TIMES 0x20 /* Store access, modification, change & birth times for object */
+#define H5O_HDR_ALL_FLAGS (H5O_HDR_CHUNK0_SIZE | H5O_HDR_ATTR_CRT_ORDER_TRACKED | H5O_HDR_ATTR_CRT_ORDER_INDEXED | H5O_HDR_ATTR_STORE_PHASE_CHANGE | H5O_HDR_STORE_TIMES)
/* Maximum shared message values. Number of indexes is 8 to allow room to add
* new types of messages.