summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDlog.c')
-rw-r--r--src/H5FDlog.c28
1 files changed, 27 insertions, 1 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index e1b84f2..d3f2949 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -261,7 +261,7 @@ static int interface_initialize_g = 0;
hid_t
H5FD_log_init(void)
{
- hid_t ret_value=H5FD_LOG_g; /* Return value */
+ hid_t ret_value; /* Return value */
FUNC_ENTER_NOAPI(H5FD_log_init, FAIL)
@@ -276,6 +276,32 @@ done:
}
+/*---------------------------------------------------------------------------
+ * Function: H5FD_log_term
+ *
+ * Purpose: Shut down the VFD
+ *
+ * Return: <none>
+ *
+ * Programmer: Quincey Koziol
+ * Friday, Jan 30, 2004
+ *
+ * Modification:
+ *
+ *---------------------------------------------------------------------------
+ */
+void
+H5FD_log_term(void)
+{
+ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5FD_log_term)
+
+ /* Reset VFL ID */
+ H5FD_LOG_g=0;
+
+ FUNC_LEAVE_NOAPI_VOID
+} /* end H5FD_log_term() */
+
+
/*-------------------------------------------------------------------------
* Function: H5Pset_fapl_log
*