summaryrefslogtreecommitdiffstats
path: root/src/H5VLprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-201-16/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
|
* Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-081-1/+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-6/+3
| | | | | | | | | | | | | | | | | | | | 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-0/+8
| | | | | | | 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-0/+3
|
* Refactor group creation parameters to take them out of the group creationQuincey Koziol2019-04-251-1/+1
| | | | property list and pass them as normal function parameters.
* Refactor link creation parameters from being passing as properties in theQuincey Koziol2019-04-251-1/+1
| | | | link creation property list to vararg function parameters.
* Refactor attribute creation parameters to move parameters out of creationQuincey Koziol2019-04-251-1/+1
| | | | property list and into function parameters.
* Refactor dataset creation parameters out of the dataset creation propertyQuincey Koziol2019-04-251-1/+1
| | | | list and pass them as regular function parameters.
* Add an 'unwrap' VOL callback, so that connectors can unwrap an underlyingQuincey Koziol2019-04-211-2/+4
| | | | object without closing it. (Especially needed for pass-through connectors)
* Merge remote-tracking branch 'origin/develop' into env_vol_loadQuincey Koziol2019-03-121-3/+11
|\
| * Add API routines to retrieve, restore, reset, and free library state.Quincey Koziol2019-03-111-3/+11
| | | | | | | | | | | | (Primarily for use in the async VOL connector, which has to schedule API operations for future execution and then restore the state of the library when the operation actually executes)
* | Specify the default VOL connector to use with an environment variable.Quincey Koziol2019-03-101-3/+5
|/ | | | | | | | 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.
* Add ID type (of eventual hid_t) to the VOL "wrap" callback.Quincey Koziol2019-02-071-1/+1
|
* Added 'notify' callback for async requests; switched VOL class and infoQuincey Koziol2018-11-281-3/+4
| | | | | | comparison to return comparison value as parameter, so they can return error values; "cancelled" -> "canceled"; switched order of 'wrap_object' and 'free_wrap_ctx' management callbacks.
* Switch loc_params to VOL callbacks to pass struct by pointer instead of byQuincey Koziol2018-11-221-18/+18
| | | | value.
* Add info_to_str and str_to_info "management" callbacks for serializing andQuincey Koziol2018-11-211-0/+8
| | | | deserializing a connector's info object.
* Add VOL connector info to the flie access property list returned fromQuincey Koziol2018-11-181-9/+13
| | | | H5Fget_access_plist(). Also, other misc. cleanups, etc.
* Switch driver | plugin => connector.Quincey Koziol2018-11-041-25/+25
|
* Refactor, standardize, and revise the async request callbacks.Quincey Koziol2018-11-041-3/+5
|
* Refactor and standardize named datatype VOL callbacks.Quincey Koziol2018-11-011-9/+9
|
* Refactor and standardize object VOL callbacks.Quincey Koziol2018-11-011-5/+5
|
* Refactor and standardize the link VOL callbacks. Also fix error stack forQuincey Koziol2018-11-011-6/+6
| | | | testing.
* Refactor and standardize group VOL callbacks.Quincey Koziol2018-11-011-6/+6
|
* Refactor and standarize file object callbacks, including some fixes on theQuincey Koziol2018-10-311-4/+4
| | | | dataset callbacks.
* Convert dataset callbacks to standard form, for wrapping object IDs, etc.Quincey Koziol2018-10-291-9/+9
| | | | Also, fix a few attribute issues that I missed.
* Convert attribute VOL callbacks to a standard form that sets up the wrapperQuincey Koziol2018-10-291-7/+7
| | | | object info in a single place.
* Updates after merging changes from develop.Quincey Koziol2018-10-261-2/+3
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-10-251-12/+29
|\ | | | | | | stackable_vol
| * Updates to the VOL ID and object API calls.Dana Robinson2018-10-171-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the H5VL code in line with the H5I code regarding naming, parameter order, etc. Several public API calls were affected by this change. These changed names to reflect their use with VOL drivers: H5VLregister() --> H5VLregister_driver() H5VLregister_by_name() --> H5VLregister_driver_by_name() H5VLunregister() --> H5VLunregister_driver() H5VLis_registered() --> H5VLis_driver_registered() This call was renamed to match H5Iregister(). The order of the first two parameters also reversed and the object pointer is now const. H5VLobject_register() --> H5VLregister()
* | Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-15/+35
|/ | | | modified: test/dsets.c
* VOL FEATUREDana Robinson2018-10-101-0/+132