/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the COPYING file, which can be found at the root of the source code * * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. * * If you do not have access to either file, you may request a copy from * * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * Programmer: Robb Matzke * Monday, August 2, 1999 * * Purpose: The public header file for the "splitter" driver. */ #ifndef H5FDsplitter_H #define H5FDsplitter_H #define H5FD_SPLITTER (H5FD_splitter_init()) #ifdef __cplusplus extern "C" { #endif /* * The information provided by application. */ #define H5FD_MAX_FILENAME_LEN 1024 typedef struct H5F_splitter_vfd_config_t{ unsigned version; /* version of the H5F_splitter_vfd_config_t structure used */ hid_t rw_fapl_id; /* fapl for the R/W channel */ hid_t wo_fapl_id; /* fapl for the W/O channel */ char wo_path[H5FD_MAX_FILENAME_LEN + 1]; /* file name for the W/O channel */ char log_file_path[H5FD_MAX_FILENAME_LEN + 1]; /* file in which to record any errors reported by the W/O path */ hbool_t ignore_wo_errs; /* TRUE to ignore errors on the W/O channel */ } H5F_splitter_vfd_config_t; H5_DLL hid_t H5FD_splitter_init(void); H5_DLL herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5F_splitter_vfd_config_t *config_ptr); H5_DLL herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5F_splitter_vfd_config_t *config_ptr); #ifdef __cplusplus } #endif #endif