diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-27 16:17:16 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-27 16:17:16 (GMT) |
commit | 2d6b43feefed8328d595469b9159af954e29c099 (patch) | |
tree | 88d2de1e42a2dea88d22de4989b571c16434eabb /src/H5FDhdfs.h | |
parent | 18cf44a59520dbd9ad6099d382aec961e1e33d69 (diff) | |
download | hdf5-2d6b43feefed8328d595469b9159af954e29c099.zip hdf5-2d6b43feefed8328d595469b9159af954e29c099.tar.gz hdf5-2d6b43feefed8328d595469b9159af954e29c099.tar.bz2 |
Adds HDFS VFD stubs to prevent binary compatibility problems
Diffstat (limited to 'src/H5FDhdfs.h')
-rw-r--r-- | src/H5FDhdfs.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/H5FDhdfs.h b/src/H5FDhdfs.h index d67ab9e..58d7e6e 100644 --- a/src/H5FDhdfs.h +++ b/src/H5FDhdfs.h @@ -28,11 +28,6 @@ #define H5FD_HDFS (-1) #endif /* H5_HAVE_LIBHDFS */ -#ifdef H5_HAVE_LIBHDFS -#ifdef __cplusplus -extern "C" { -#endif - /**************************************************************************** * * Structure: H5FD_hdfs_fapl_t @@ -112,6 +107,10 @@ typedef struct H5FD_hdfs_fapl_t { int32_t stream_buffer_size; } H5FD_hdfs_fapl_t; +#ifdef __cplusplus +extern "C" { +#endif + H5_DLL hid_t H5FD_hdfs_init(void); H5_DLL herr_t H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_out); H5_DLL herr_t H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa); @@ -119,7 +118,6 @@ H5_DLL herr_t H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa); #ifdef __cplusplus } #endif -#endif /* H5_HAVE_LIBHDFS */ #endif /* ifndef H5FDhdfs_H */ |