summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2011-10-13 22:41:56 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2011-10-13 22:41:56 (GMT)
commit682a4f2b5d383d6abf6741a4a5a573f1c67e668e (patch)
treeb3f05c0e95b537d39fc2471b5cbbeedd17b3c337 /src/H5Oprivate.h
parent309f0b543b70d87cb4dcf6f09df0e81657244a4c (diff)
downloadhdf5-682a4f2b5d383d6abf6741a4a5a573f1c67e668e.zip
hdf5-682a4f2b5d383d6abf6741a4a5a573f1c67e668e.tar.gz
hdf5-682a4f2b5d383d6abf6741a4a5a573f1c67e668e.tar.bz2
[svn-r21555] The first part fix for bug HDFFV-7640: does not need to do H5O_move_msgs_forward() when writing attributes. h5committested.
Tests are checked into the performance suite.
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 7cbad3d..3f10e81 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -570,7 +570,7 @@ typedef herr_t (*H5O_operator_t)(const void *mesg/*in*/, unsigned idx,
/* Typedef for "internal library" iteration operations */
typedef herr_t (*H5O_lib_operator_t)(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/,
- unsigned sequence, hbool_t *oh_modified/*out*/, void *operator_data/*in,out*/);
+ unsigned sequence, unsigned *oh_modified/*out*/, void *operator_data/*in,out*/);
/* Some syntactic sugar to make the compiler happy with two different kinds of iterator callbacks */
typedef enum H5O_mesg_operator_type_t {
@@ -578,6 +578,11 @@ typedef enum H5O_mesg_operator_type_t {
H5O_MESG_OP_LIB /* Library internal callback */
} H5O_mesg_operator_type_t;
+/* To indicate that the object header is just modified */
+#define H5O_MODIFY 0x01
+/* To indicate that the object header is modified and might possibly need to condense messages */
+#define H5O_MODIFY_CONDENSE 0x02
+
typedef struct {
H5O_mesg_operator_type_t op_type;
union {