summaryrefslogtreecommitdiffstats
path: root/src/H5VLpassthru.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix shutdown errors when using the HDF5_VOL_CONNECTOR environmentDana Robinson2020-03-181-0/+12
| | | | | variable to set a dynamically loaded plugin as the default VOL connector. Fixes HDFFV-11057
* Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-5/+7
| | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-0/+108
|
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-201-135/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the va_list, so it's at least possible for another connector to know what the operation is and decide whether to implement it or not. Added a new VOL sub-class called "introspect" where callbacks that report information about the connector or container can be placed. Added an 'opt_query' callback to this sub-class, for a connector to report back to the library whether a particular optional callback operation is supported. Also added a 'get_conn_cls' introspection callback, to retrieve the H5VL_class_t of a connector (either the "current" connector, H5VL_GET_CONN_LVL_CURR, or the terminal connector, H5VL_GET_CONN_LVL_TERM). Moved the "post open" operation from a file 'specific' operation to a file 'optional' operation, now that it's possible to detect (with the 'opt_query' introspection callback) whether a VOL connector implements an optional operation, without just returning an error. Added new internal VOL helper routines: H5VL_object_is_native, to determine if an object is in (or is a) native file, and H5VL_file_is_same, to determine if two objects are in (or are) the same terminal VOL connector's container. (And moved the special handling for FILE_IS_EQUAL operation out of internal VOL callback routine into H5VL_file_is_same) Made new dataset 'get' operation for H5Dvlen_get_buf_size, aligning it better with other 'get' operations in API. Fixed several issues with pass-through connectors, which are now passing the 'make check-passthrough-vol' tests again. A bunch of warning and style cleanups as well.
* Trivial parameter renaming in VOL API calls.Dana Robinson2019-11-251-1/+1
|
* Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-081-2/+2
| | | | | | | | | | | location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
* Fix H5VL_blob_get to return size of blobJerome Soumagne2019-10-081-3/+89
| | | | | | | | | | | | | | | | | | | | Fix const in blob API Add H5HG_HEAP_ID_SIZE macro to return native blob size Add maximum size for blobs Fix blob API callbacks to pass VOL file object Add public wrappers for blob VOL API Implement passthrough blob callbacks Update H5Tvlen after callback changes Update trace information for H5VL blob routines Fix public header inclusion in native and passthru headers
* Add 'blob' callbacks to VOL, along with a native implementation to store themQuincey Koziol2019-10-081-4/+10
| | | | | | | in the global heap, and changed the VL datatype conversion code to use blobs. Move encode/decode of sequence lengths into VL datatype callbacks, from native VOL blob routines.
* Fix segfault after H5VL_loc_params_t fix mergeJordan Henderson2019-09-161-2/+2
|
* Merge branch 'develop' into vol_dev_headersDana Robinson2019-06-141-1/+1
|\ | | | | | | | | Also moved the wrapper functions from the H5VLconnector.h to H5VLconnector_passthru.h
| * Added H5Fdelete call and VOL support (but no VFD/native implementation).Dana Robinson2019-06-111-1/+1
| |
* | Split VOL connector routines into separate headers:Dana Robinson2019-05-241-1/+5
|/ | | | | | | | | * H5VLconnector.h for terminal connector things * H5VLconnector_passthru.h for passthrough connector things Note that these headers are arranged such that they are included in hdf5.h so VOL connectors only need to include that. The separation into multiple headers is mainly for readability.
* Refactor group creation parameters to take them out of the group creationQuincey Koziol2019-04-251-3/+4
| | | | property list and pass them as normal function parameters.
* Refactor link creation parameters from being passing as properties in theQuincey Koziol2019-04-251-7/+43
| | | | link creation property list to vararg function parameters.
* Refactor attribute creation parameters to move parameters out of creationQuincey Koziol2019-04-251-3/+4
| | | | property list and into function parameters.
* Refactor dataset creation parameters out of the dataset creation propertyQuincey Koziol2019-04-251-3/+4
| | | | list and pass them as regular function parameters.
* Add an 'unwrap' VOL callback, so that connectors can unwrap an underlyingQuincey Koziol2019-04-211-7/+60
| | | | object without closing it. (Especially needed for pass-through connectors)
* Specify the default VOL connector to use with an environment variable.Quincey Koziol2019-03-101-4/+32
| | | | | | | | This implicitly adds support for changing the VOL connector for command-line tools or any application linked with the library. Also, add 'make check-vol' support for all directories, clearing up necessary issues in testing scripts, etc.
* Revise "management" VOL callbacks into 'info' and object 'wrap / retrieval'Quincey Koziol2019-02-231-62/+70
| | | | classes.
* Add ID type (of eventual hid_t) to the VOL "wrap" callback.Quincey Koziol2019-02-071-3/+4
|
* Corrected comment in src/H5VLint.c, fixed pass-through info size inQuincey Koziol2019-01-061-1/+2
| | | | | | | src/H5VLpassthru.c, switched to stashing VOL connector ID & info in API context (in src/H5CX.c, src/H5CXprivate.h, src/H5F.c, src/H5Fint.c, and src/H5Fefc.c), patched up all sorts of issues in the tests, to make them work with 'check-vfd' (and 'check-vol' again).
* Fixed an enums-in-va_list issue in the passthru VOL connector.Dana Robinson2018-12-181-2/+2
|
* Updated with extra sanity check and improved comment.Dana Robinson2018-12-171-3/+5
|
* Fixed an issue in the passthru Windows va_copy hack.Dana Robinson2018-12-171-2/+2
|
* Further va_list improvements.Dana Robinson2018-12-171-0/+4
|
* Updated the passthru VOL connector:Dana Robinson2018-12-161-334/+337
| | | | | | | * snprintf --> sprintf (for Windows compat) * tabs --> spaces * removed spurious parens from returns * Changed the logging macro to something less clash-prone
* Refactor allocating & releasing pass through wrapper objects.Quincey Koziol2018-12-031-558/+184
|
* Add a couple of missing prototypes for static routines, along with updatingQuincey Koziol2018-11-301-0/+6
| | | | a comment from VOL plugin -> connector.
* Add support for "make check-vol", along with a few minor cleanups, etc.Quincey Koziol2018-11-291-1/+1
|
* Refactor infrastructure for setting FAPL information from environmentQuincey Koziol2018-11-281-4/+4
| | | | | | variables during testing, including connecting native, pass-through, and dynamically loaded VOL connectors. Also bring native and pass-through VOL connectors into alignment, removing the "H5VLnative_private.h" header.
* Add pass-through VOL connectorQuincey Koziol2018-11-281-0/+3061