summaryrefslogtreecommitdiffstats
path: root/src/H5VLconnector.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix for passthrough VOL not passing tools tests due to incorrectDana Robinson2020-04-081-18/+0
| | | | optional callback queries.
* Very minor comment change in H5VLconnector.h.Dana Robinson2020-03-121-1/+1
|
* Switch the 'get offset' operation from a dataset 'get' callback to a [native]Quincey Koziol2020-02-281-1/+0
| | | | dataset 'optional' operation.
* Introduce new H5VL _by_value routinesJordan Henderson2020-01-291-1/+2
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-11/+13
|
* Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-041-8/+1
|
* Refactor H5Dvlen_get_buf_size to use optional dataset operation, with ↵Quincey Koziol2019-12-211-2/+1
| | | | generic fallback for VOL connectors that don't implement operation
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-201-14/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t *Jerome Soumagne2019-12-051-2/+4
|
* Implement file comparison VOL callback. Other changes to allowNeil Fortner2019-11-271-1/+2
| | | | | references to work with non-native connectors. There is a bug somewhere.
* Merge pull request #2057 in HDFFV/hdf5 from ↵Jerome Soumagne2019-11-271-0/+1
|\ | | | | | | | | | | | | ~JSOUMAGNE/hdf5:topic_get_file_id_native to develop * commit 'f46494ffd8449fc610798c8af312362608029d3d': Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE
| * Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILEJerome Soumagne2019-11-271-0/+1
| | | | | | | | Remove H5F__get_file_id() and use only private routine instead
* | Trivial parameter renaming in VOL API calls.Dana Robinson2019-11-251-4/+4
|/
* Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-081-1/+5
| | | | | | | | | | | 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.
* Remove ability to loc by ref from H5VL layerJerome Soumagne2019-10-081-14/+2
|
* Add H5VL_OBJECT_GET_TYPE to get object typeJerome Soumagne2019-10-081-1/+3
| | | | Add H5VL_OBJECT_LOOKUP to lookup objects
* Add H5VL_MAX_TOKEN_SIZE and H5VL_token_tJerome Soumagne2019-10-081-0/+7
|
* Adapt Jerome's "file info" H5VL 'get' query to retrieve container token info.Quincey Koziol2019-10-081-20/+35
| | | | Remove "by address" location for VOL operations. (Switching to "by token")
* Fix H5VL_blob_get to return size of blobJerome Soumagne2019-10-081-4/+6
| | | | | | | | | | | | | | | | | | | | 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-2/+20
| | | | | | | 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.
* Added the map (H5M) APIDana Robinson2019-08-131-1/+1
|
* Added missing DELETE enum value.Dana Robinson2019-06-141-1/+2
|
* Merge branch 'develop' into vol_dev_headersDana Robinson2019-06-141-87/+0
| | | | | Also moved the wrapper functions from the H5VLconnector.h to H5VLconnector_passthru.h
* Split VOL connector routines into separate headers:Dana Robinson2019-05-241-0/+503
* 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.