summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2011-10-05 15:52:12 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2011-10-05 15:52:12 (GMT)
commit3f4b1f3b7402a83eade18efebaf8f6d0ee0c94a1 (patch)
tree82d811c89f78bf8de9d3a6222ca915e90bd191e8 /src/H5Oprivate.h
parent817bfb6499f266113fa8146b980e065a133b1374 (diff)
downloadhdf5-3f4b1f3b7402a83eade18efebaf8f6d0ee0c94a1.zip
hdf5-3f4b1f3b7402a83eade18efebaf8f6d0ee0c94a1.tar.gz
hdf5-3f4b1f3b7402a83eade18efebaf8f6d0ee0c94a1.tar.bz2
[svn-r21476] 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 56901f3..7727a30 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -592,9 +592,14 @@ typedef struct H5O_fsinfo_t {
typedef herr_t (*H5O_operator_t)(const void *mesg/*in*/, unsigned idx,
void *operator_data/*in,out*/);
+#ifdef OUT
/* 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*/);
+#endif
+/* Typedef for "internal library" iteration operations */
+typedef herr_t (*H5O_lib_operator_t)(H5O_t *oh, H5O_mesg_t *mesg/*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 {
@@ -602,6 +607,9 @@ typedef enum H5O_mesg_operator_type_t {
H5O_MESG_OP_LIB /* Library internal callback */
} H5O_mesg_operator_type_t;
+#define H5O_MODIFY_CONDENSE 0x01
+#define H5O_MODIFY 0x02
+
typedef struct {
H5O_mesg_operator_type_t op_type;
union {