summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Radke <tradke@aei.mpg.de>2000-09-15 11:42:53 (GMT)
committerThomas Radke <tradke@aei.mpg.de>2000-09-15 11:42:53 (GMT)
commitb4844aabb3a46c09d9c833b5c91bffd4a4381cf2 (patch)
tree664e083249c69a05dc6424364bd8edc53df4c224 /src
parentfaeae783e4463916ccafdd960ee9a07550a61cde (diff)
downloadhdf5-b4844aabb3a46c09d9c833b5c91bffd4a4381cf2.zip
hdf5-b4844aabb3a46c09d9c833b5c91bffd4a4381cf2.tar.gz
hdf5-b4844aabb3a46c09d9c833b5c91bffd4a4381cf2.tar.bz2
[svn-r2557] Purpose:
Added registration of the Stream Virtual File Driver. Description: The Stream VFD is registered here if it was configured.
Diffstat (limited to 'src')
-rw-r--r--src/H5F.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 9559963..69a1d5a 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -26,6 +26,7 @@ static char RcsId[] = "@(#)$Revision$";
#include <H5FDmpio.h> /*MPI-2 I/O */
#include <H5FDgass.h> /*GASS I/O */
#include <H5FDdpss.h> /*Grid Storage I/O */
+#include <H5FDstream.h> /*in-memory files streamed via sockets */
#include <H5FDsrb.h> /*SRB I/O */
#include <H5FDmulti.h> /*multiple files partitioned by mem usage */
#include <H5FDsec2.h> /*Posix unbuffered I/O */
@@ -185,6 +186,9 @@ H5F_init(void)
*
* Raymond Lu, April 10, 2000
* Put SRB into the 'Register predefined file drivers' list.
+ *
+ * Thomas Radke, 2000-09-12
+ * Put Stream VFD into the 'Register predefined file drivers' list.
*-------------------------------------------------------------------------
*/
static herr_t
@@ -240,6 +244,9 @@ H5F_init_interface(void)
#ifdef H5_HAVE_PARALLEL
if ((status=H5FD_MPIO)<0) goto end_registration;
#endif
+#ifdef H5_HAVE_STREAM
+ if ((status=H5FD_STREAM)<0) goto end_registration;
+#endif
end_registration: ;
} H5E_END_TRY;