H5FDstdio.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. /*
  14. * Programmer: Robb Matzke
  15. * Monday, August 2, 1999
  16. *
  17. * Purpose: The public header file for the sec2 driver.
  18. */
  19. #ifndef H5FDstdio_H
  20. #define H5FDstdio_H
  21. #include "H5Ipublic.h"
  22. #define H5FD_STDIO (H5FDperform_init(H5FD_stdio_init))
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. H5_DLL hid_t H5FD_stdio_init(void);
  27. /**
  28. * \ingroup FAPL
  29. *
  30. * \brief Sets the standard I/O driver
  31. *
  32. * \fapl_id
  33. * \returns \herr_t
  34. *
  35. * \details H5Pset_fapl_stdio() modifies the file access property list to use
  36. * the standard I/O driver, H5FDstdio().
  37. *
  38. * \since 1.4.0
  39. *
  40. */
  41. H5_DLL herr_t H5Pset_fapl_stdio(hid_t fapl_id);
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45. #endif