diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2021-03-15 13:16:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 13:16:41 (GMT) |
commit | c193d436f512e73be6569e56bf875bb2673ebdf8 (patch) | |
tree | 612757b041e867107053d03a2eb4ab1a9600bf51 /src/H5PLprivate.h | |
parent | a09e1ea2191ad0ea2a72f7bd519b2cc95f218328 (diff) | |
download | hdf5-c193d436f512e73be6569e56bf875bb2673ebdf8.zip hdf5-c193d436f512e73be6569e56bf875bb2673ebdf8.tar.gz hdf5-c193d436f512e73be6569e56bf875bb2673ebdf8.tar.bz2 |
Merge H5Fopen VOL auto-detect feature and latest VOL fixes to 1.12 (#395)
* Enable H5Fopen to probe list of available VOL connectors when opening a file
* Unwrap file VOL object when destroying file (#308)
* Check for wrap context before unwrapping file VOL object in H5F__dest (#325)
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 36b8ba2..7eae513 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 */ |