summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2012-04-05 19:14:38 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2012-04-05 19:14:38 (GMT)
commitdee21e9e82cecc5a15d62e3fec02f3c46eb8231b (patch)
treed3eb67916366552f1dca12afa687951608c1bc68 /src/H5Opkg.h
parent9ac4faa9230bb97c4e3f7c4465c6a55dbde30e14 (diff)
downloadhdf5-dee21e9e82cecc5a15d62e3fec02f3c46eb8231b.zip
hdf5-dee21e9e82cecc5a15d62e3fec02f3c46eb8231b.tar.gz
hdf5-dee21e9e82cecc5a15d62e3fec02f3c46eb8231b.tar.bz2
[svn-r22252] Fixed a bug in H5Ocopy(): When copying an opened object, call the object's
flush class action to ensure that cached data is flushed so that H5Ocopy will get the correct data. (HDFFV-7853) this line, and those below, will be ignored-- _M . M test/objcopy.c M src/H5Ocopy.c M src/H5Goh.c M src/H5Dint.c M src/H5Opkg.h M src/H5Doh.c M src/H5Toh.c M src/H5O.c M src/H5Dpkg.h M release_docs/RELEASE.txt _M fortran
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index 1b612fc..e757605 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -325,6 +325,7 @@ typedef struct H5O_obj_class_t {
void *(*create)(H5F_t *, void *, H5G_loc_t *, hid_t ); /*create an object of this class */
H5O_loc_t *(*get_oloc)(hid_t ); /*get the object header location for an object */
herr_t (*bh_info)(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info); /*get the index & heap info for an object */
+ herr_t (*flush)(H5G_loc_t *loc, hid_t dxpl_id); /*flush an opened object of this class */
} H5O_obj_class_t;
/* Node in skip list to map addresses from one file to another during object header copy */
@@ -524,7 +525,7 @@ H5_DLL herr_t H5O_msg_flush(H5F_t *f, H5O_t *oh, H5O_mesg_t *mesg);
H5_DLL herr_t H5O_flush_msgs(H5F_t *f, H5O_t *oh);
H5_DLL hid_t H5O_open_by_loc(const H5G_loc_t *obj_loc, hid_t lapl_id, hid_t dxpl_id, hbool_t app_ref);
H5_DLL herr_t H5O_delete_mesg(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, H5O_mesg_t *mesg);
-H5_DLL const H5O_obj_class_t *H5O_obj_class_real(H5O_t *oh);
+H5_DLL const H5O_obj_class_t * H5O_obj_class(const H5O_loc_t *loc, hid_t dxpl_id);
H5_DLL int H5O_link_oh(H5F_t *f, int adjust, hid_t dxpl_id, H5O_t *oh, hbool_t *deleted);
H5_DLL herr_t H5O_inc_rc(H5O_t *oh);
H5_DLL herr_t H5O_dec_rc(H5O_t *oh);