summaryrefslogtreecommitdiffstats
path: root/src/H5Opublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-10 20:19:35 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-10 20:19:35 (GMT)
commit45f6d4c1eed29c45476970a9703304378a5a1073 (patch)
tree667240a5ea57e8a072bc8ffb59ecb7281867164c /src/H5Opublic.h
parentad4b4b2b90c340bb408ddf32dd5cae780547bad2 (diff)
parent09fa6e9c54380362f6f283ad60daef679ec91b25 (diff)
downloadhdf5-45f6d4c1eed29c45476970a9703304378a5a1073.zip
hdf5-45f6d4c1eed29c45476970a9703304378a5a1073.tar.gz
hdf5-45f6d4c1eed29c45476970a9703304378a5a1073.tar.bz2
[svn-r22274] merge from trunk, resolve conflicts
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r--src/H5Opublic.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h
index 2379d6b..a7d386a 100644
--- a/src/H5Opublic.h
+++ b/src/H5Opublic.h
@@ -43,7 +43,8 @@
#define H5O_COPY_EXPAND_REFERENCE_FLAG (0x0008u) /* Copy objects that are pointed by references */
#define H5O_COPY_WITHOUT_ATTR_FLAG (0x0010u) /* Copy object without copying attributes */
#define H5O_COPY_PRESERVE_NULL_FLAG (0x0020u) /* Copy NULL messages (empty space) */
-#define H5O_COPY_ALL (0x003Fu) /* All object copying flags (for internal checking) */
+#define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG (0x0040u) /* Merge committed datatypes in dest file */
+#define H5O_COPY_ALL (0x007Fu) /* All object copying flags (for internal checking) */
/* Flags for shared message indexes.
* Pass these flags in using the mesg_type_flags parameter in
@@ -131,6 +132,14 @@ typedef uint32_t H5O_msg_crt_idx_t;
typedef herr_t (*H5O_iterate_t)(hid_t obj, const char *name, const H5O_info_t *info,
void *op_data);
+typedef enum H5O_mcdt_search_ret_t {
+ H5O_MCDT_SEARCH_ERROR = -1, /* Abort H5Ocopy */
+ H5O_MCDT_SEARCH_CONT, /* Continue the global search of all committed datatypes in the destination file */
+ H5O_MCDT_SEARCH_STOP /* Stop the search, but continue copying. The committed datatype will be copied but not merged. */
+} H5O_mcdt_search_ret_t;
+
+/* Callback to invoke when completing the search for a matching committed datatype from the committed dtype list */
+typedef H5O_mcdt_search_ret_t (*H5O_mcdt_search_cb_t)(void *op_data);
/********************/
/* Public Variables */