H5VLpassthru.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * Copyright by The HDF Group. *
  3. * All rights reserved. *
  4. * *
  5. * This file is part of HDF5. The full HDF5 copyright notice, including *
  6. * terms governing use, modification, and redistribution, is contained in *
  7. * the COPYING file, which can be found at the root of the source code *
  8. * distribution tree, or in https://www.hdfgroup.org/licenses. *
  9. * If you do not have access to either file, you may request a copy from *
  10. * help@hdfgroup.org. *
  11. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  12. /*
  13. * Purpose: The public header file for the pass-through VOL connector.
  14. */
  15. #ifndef H5VLpassthru_H
  16. #define H5VLpassthru_H
  17. /* Public headers needed by this file */
  18. #include "H5VLpublic.h" /* Virtual Object Layer */
  19. /* Identifier for the pass-through VOL connector */
  20. #define H5VL_PASSTHRU (H5VL_pass_through_register())
  21. /* Characteristics of the pass-through VOL connector */
  22. #define H5VL_PASSTHRU_NAME "pass_through"
  23. #define H5VL_PASSTHRU_VALUE 1 /* VOL connector ID */
  24. #define H5VL_PASSTHRU_VERSION 0
  25. /* Pass-through VOL connector info */
  26. typedef struct H5VL_pass_through_info_t {
  27. hid_t under_vol_id; /* VOL ID for under VOL */
  28. void *under_vol_info; /* VOL info for under VOL */
  29. } H5VL_pass_through_info_t;
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. H5_DLL hid_t H5VL_pass_through_register(void);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif /* H5VLpassthru_H */