diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2020-12-16 05:39:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 05:39:19 (GMT) |
commit | affbead81a20712920bfe350eb90b0a4bb754ebf (patch) | |
tree | 633747a9663f2252380267c3dc1028326ac8d094 /src/H5PLprivate.h | |
parent | 865b10b7a707005f08b13e92dec90e402de1f21d (diff) | |
download | hdf5-affbead81a20712920bfe350eb90b0a4bb754ebf.zip hdf5-affbead81a20712920bfe350eb90b0a4bb754ebf.tar.gz hdf5-affbead81a20712920bfe350eb90b0a4bb754ebf.tar.bz2 |
Enable H5Fopen to probe list of available VOL connectors when opening a (#182)
file
Diffstat (limited to 'src/H5PLprivate.h')
-rw-r--r-- | src/H5PLprivate.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/H5PLprivate.h b/src/H5PLprivate.h index fff36a7..938959e 100644 --- a/src/H5PLprivate.h +++ b/src/H5PLprivate.h @@ -44,6 +44,18 @@ typedef union H5PL_key_t { } vol; } H5PL_key_t; +/* Enum dictating the type of plugins to process + * when iterating through available plugins + */ +typedef enum { + H5PL_ITER_TYPE_FILTER, + H5PL_ITER_TYPE_VOL, + H5PL_ITER_TYPE_ALL, +} H5PL_iterate_type_t; + +/* Callback function for iterating through the available plugins */ +typedef herr_t (*H5PL_iterate_t)(H5PL_type_t plugin_type, const void *plugin_info, void *op_data); + /*****************************/ /* Library-private Variables */ /*****************************/ @@ -54,5 +66,6 @@ typedef union H5PL_key_t { /* Internal API routines */ H5_DLL const void *H5PL_load(H5PL_type_t plugin_type, const H5PL_key_t *key); +H5_DLL herr_t H5PL_iterate(H5PL_iterate_type_t iter_type, H5PL_iterate_t iter_op, void *op_data); #endif /* _H5PLprivate_H */ |