summaryrefslogtreecommitdiffstats
path: root/src/H5FDwindows.h
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-06-11 22:27:07 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-06-11 22:27:07 (GMT)
commit3045853b76e84ab001c2076b36dcb31a1fab5aec (patch)
treeb3f9867281e0aea98daca1073b22cd1dbfdebff2 /src/H5FDwindows.h
parente2cf0e5f62d3ae90e18a6e5576382ad8e542d06a (diff)
downloadhdf5-3045853b76e84ab001c2076b36dcb31a1fab5aec.zip
hdf5-3045853b76e84ab001c2076b36dcb31a1fab5aec.tar.gz
hdf5-3045853b76e84ab001c2076b36dcb31a1fab5aec.tar.bz2
[svn-r13852] Added includes in various places to make it possible to set windows as the default vfd. Although sec2 is still default on Windows, it should now be possible to switch by simply changing H5pubconf.h .
Tested: .NET 2003 on WinXP
Diffstat (limited to 'src/H5FDwindows.h')
-rw-r--r--src/H5FDwindows.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/H5FDwindows.h b/src/H5FDwindows.h
new file mode 100644
index 0000000..8277f149
--- /dev/null
+++ b/src/H5FDwindows.h
@@ -0,0 +1,42 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * 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 files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+/*
+ * Programmer: Scott Wegner <swegner@hdfgroup.org>
+ * Based on code by Robb Matzke
+ * Thursday, May 24 2007
+ *
+ * Purpose: The public header file for the windows driver.
+ */
+#ifndef H5FDwindows_H
+#define H5FDwindows_H
+
+#include "H5Ipublic.h"
+
+#define H5FD_WINDOWS (H5FD_windows_init())
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+H5_DLL hid_t H5FD_windows_init(void);
+H5_DLL void H5FD_windows_term(void);
+H5_DLL herr_t H5Pset_fapl_windows(hid_t fapl_id);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif