summaryrefslogtreecommitdiffstats
path: root/src/H5VLpublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-08-25 17:12:45 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-08-25 17:12:45 (GMT)
commitf9c3aeff1271697fdc7842ecb83ade5c6837a99c (patch)
tree2ad1866bededc7ab87bc670becc302b867c23654 /src/H5VLpublic.h
parent60c6686dfe9263e4d325fdc90676b262bef28f29 (diff)
downloadhdf5-f9c3aeff1271697fdc7842ecb83ade5c6837a99c.zip
hdf5-f9c3aeff1271697fdc7842ecb83ade5c6837a99c.tar.gz
hdf5-f9c3aeff1271697fdc7842ecb83ade5c6837a99c.tar.bz2
[svn-r25549] Implement 4 new routines:
H5VLinitialize, H5VLterminate, H5VLget_plugin_id, H5VLclose Add simple tests in external log plugin. Fix some bugs with terminating Native plugin.
Diffstat (limited to 'src/H5VLpublic.h')
-rw-r--r--src/H5VLpublic.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h
index d0598d3..77b935b 100644
--- a/src/H5VLpublic.h
+++ b/src/H5VLpublic.h
@@ -327,8 +327,8 @@ typedef enum H5VL_class_value_t {
typedef struct H5VL_class_t {
H5VL_class_value_t value;
const char *name;
- herr_t (*initialize)(void);
- herr_t (*terminate)(void);
+ herr_t (*initialize)(hid_t vipl_id);
+ herr_t (*terminate)(hid_t vtpl_id);
size_t fapl_size;
void * (*fapl_copy)(const void *info);
herr_t (*fapl_free)(void *info);
@@ -426,6 +426,10 @@ H5_DLL herr_t H5VLrequest_test(void **req, H5VL_t *vol_plugin, H5ES_status_t *st
H5_DLL herr_t H5VLrequest_wait(void **req, H5VL_t *vol_plugin, H5ES_status_t *status);
/* Function prototypes */
+H5_DLL herr_t H5VLinitialize(hid_t plugin_id, hid_t vipl_id);
+H5_DLL herr_t H5VLterminate(hid_t plugin_id, hid_t vtpl_id);
+H5_DLL hid_t H5VLget_plugin_id(const H5VL_class_t *cls);
+H5_DLL herr_t H5VLclose(hid_t plugin_id);
H5_DLL hid_t H5VLregister(const H5VL_class_t *cls);
H5_DLL herr_t H5VLunregister(hid_t plugin_id);
H5_DLL htri_t H5VLis_registered(const H5VL_class_t *cls);
@@ -434,10 +438,6 @@ H5_DLL hid_t H5VLobject_register(void *obj, H5I_type_t obj_type, const H5VL_clas
H5_DLL herr_t H5VLget_object(hid_t obj_id, void **obj, H5VL_t **vol_plugin);
#if 0
H5_DLL hid_t H5VLregister_by_name(const char *plugin_name);
- H5_DLL herr_t H5VLinitialize(hid_t plugin_id, hid_t vipl_id);
- H5_DLL herr_t H5VLterminate(hid_t plugin_id, hid_t vtpl_id);
- H5_DLL hid_t H5VLget_plugin_id(H5VL_class_value_t or char *);
- H5_DLL herr_t H5VLclose(hid_t plugin_id);
H5_DLL herr_t H5VLioctl(hid_t loc_id or vol_id, <class enum>, ...);
#endif