summaryrefslogtreecommitdiffstats
path: root/java/src/hdf
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2021-10-19 20:36:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2021-10-19 20:36:15 (GMT)
commit1190f8f99926895a26081237a02792ae938d3612 (patch)
treebb356b4c04b2d4f31b934d65db9151f29ac27c28 /java/src/hdf
parentbfa24bc5961679da0513f358d398339a61d04265 (diff)
downloadhdf5-1190f8f99926895a26081237a02792ae938d3612.zip
hdf5-1190f8f99926895a26081237a02792ae938d3612.tar.gz
hdf5-1190f8f99926895a26081237a02792ae938d3612.tar.bz2
Java fixes for test jar and new apis
Diffstat (limited to 'java/src/hdf')
-rw-r--r--java/src/hdf/hdf5lib/H5.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index 63547df..2c89f3a 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -9622,6 +9622,38 @@ public class H5 implements java.io.Serializable {
public synchronized static native int H5Pset_hyper_vector_size(long dxpl_id, long vector_size)
throws HDF5LibraryException, NullPointerException;
+ /**
+ *
+ * Set flag to indicate that an API wrapper for a plugin's
+ * public wrapper API call (e.g. H5VLfile_create, H5FDopen, etc)
+ * should open a new API context for the API call.
+ *
+ * @param dxpl_id
+ * IN: Dataset transfer property list identifier.
+ * @param new_api_ctx
+ * IN: Indicate that API wrapper should create new API context
+ *
+ * @exception HDF5LibraryException
+ * - Error from the HDF-5 Library.
+ **/
+ public synchronized static native void H5Pset_plugin_new_api_context(long dxpl_id, boolean new_api_ctx)
+ throws HDF5LibraryException;
+
+ /**
+ * Retrieve "new API context" flag for plugin wrapper API calls.
+ *
+ * @param dxpl_id
+ * IN: Dataset transfer property list identifier.
+ *
+ * @return true if the given dxpl indicates API wrapper should create new API context
+ *
+ * @exception HDF5LibraryException
+ * - Error from the HDF-5 Library.
+ *
+ **/
+ public synchronized static native boolean H5Pget_plugin_new_api_context(long dxpl_id)
+ throws HDF5LibraryException;
+
// /////// Link creation property list (LCPL) routines ///////
/**