diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-10-20 20:06:37 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-10-20 20:06:37 (GMT) |
commit | 46c5b059f1a7c434bff7b04f56f74de84a41edd2 (patch) | |
tree | eeef0e0419367e03115375fa986ee23a535fa32c /src/H5VLnative_private.h | |
parent | 5f99891e6dc59524fb6e43ca96a86df22b403c61 (diff) | |
download | hdf5-46c5b059f1a7c434bff7b04f56f74de84a41edd2.zip hdf5-46c5b059f1a7c434bff7b04f56f74de84a41edd2.tar.gz hdf5-46c5b059f1a7c434bff7b04f56f74de84a41edd2.tar.bz2 |
Split H5VLnative.h into public and private files and updated
Diffstat (limited to 'src/H5VLnative_private.h')
-rw-r--r-- | src/H5VLnative_private.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/H5VLnative_private.h b/src/H5VLnative_private.h new file mode 100644 index 0000000..79a6e1c --- /dev/null +++ b/src/H5VLnative_private.h @@ -0,0 +1,40 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Copyright by The HDF Group. * + * 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. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/* + * Purpose: The private header file for the native VOL driver. + */ + +#ifndef _H5VLnative_private_H +#define _H5VLnative_private_H + +/* Include driver's public header */ +#include "H5VLnative.h" + +/* Initializer function for native VOL driver */ +#define H5VL_NATIVE (H5VL_native_init()) + + +#ifdef __cplusplus +extern "C" { +#endif + +H5_DLL hid_t H5VL_native_get_driver_id(void); +H5_DLL hid_t H5VL_native_init(void); +H5_DLL hid_t H5VL_native_register(H5I_type_t type, const void *obj, hbool_t app_ref); +H5_DLL herr_t H5VL_native_unregister(hid_t obj_id); + +#ifdef __cplusplus +} +#endif + +#endif /* _H5VLnative_private_H */ |