H5DOpublic.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * Copyright by The HDF Group. *
  3. * Copyright by the Board of Trustees of the University of Illinois. *
  4. * All rights reserved. *
  5. * *
  6. * This file is part of HDF5. The full HDF5 copyright notice, including *
  7. * terms governing use, modification, and redistribution, is contained in *
  8. * the COPYING file, which can be found at the root of the source code *
  9. * distribution tree, or in https://www.hdfgroup.org/licenses. *
  10. * If you do not have access to either file, you may request a copy from *
  11. * help@hdfgroup.org. *
  12. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  13. #ifndef H5DOpublic_H
  14. #define H5DOpublic_H
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. /*-------------------------------------------------------------------------
  19. *
  20. * "Optimized dataset" routines.
  21. *
  22. *-------------------------------------------------------------------------
  23. */
  24. H5_HLDLL herr_t H5DOappend(hid_t dset_id, hid_t dxpl_id, unsigned axis, size_t extension, hid_t memtype,
  25. const void *buf);
  26. /* Symbols defined for compatibility with previous versions of the HDF5 API.
  27. *
  28. * Use of these symbols is deprecated.
  29. */
  30. #ifndef H5_NO_DEPRECATED_SYMBOLS
  31. /* Compatibility wrappers for functionality moved to H5D */
  32. H5_HLDLL herr_t H5DOwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset,
  33. size_t data_size, const void *buf);
  34. H5_HLDLL herr_t H5DOread_chunk(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters /*out*/,
  35. void *buf /*out*/);
  36. #endif /* H5_NO_DEPRECATED_SYMBOLS */
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif