From b4844aabb3a46c09d9c833b5c91bffd4a4381cf2 Mon Sep 17 00:00:00 2001 From: Thomas Radke Date: Fri, 15 Sep 2000 06:42:53 -0500 Subject: [svn-r2557] Purpose: Added registration of the Stream Virtual File Driver. Description: The Stream VFD is registered here if it was configured. --- src/H5F.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 /*MPI-2 I/O */ #include /*GASS I/O */ #include /*Grid Storage I/O */ +#include /*in-memory files streamed via sockets */ #include /*SRB I/O */ #include /*multiple files partitioned by mem usage */ #include /*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; -- cgit v0.12