summaryrefslogtreecommitdiffstats
path: root/src/H5VLdaosm_public.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2016-12-13 17:54:34 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2016-12-13 17:54:34 (GMT)
commit669b89ba0defe95e8948cb4917ed071d74932749 (patch)
treefc1289f0cc40d20775b4b137ad5247ada07c8b46 /src/H5VLdaosm_public.h
parent3889eeb5c86376fa677d48c8156584435f5cea66 (diff)
downloadhdf5-669b89ba0defe95e8948cb4917ed071d74932749.zip
hdf5-669b89ba0defe95e8948cb4917ed071d74932749.tar.gz
hdf5-669b89ba0defe95e8948cb4917ed071d74932749.tar.bz2
Split H5VLdaosm.h into public and private headers, to remove the need
for the application to include daos.h. Fix bugs in examples.
Diffstat (limited to 'src/H5VLdaosm_public.h')
-rw-r--r--src/H5VLdaosm_public.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/H5VLdaosm_public.h b/src/H5VLdaosm_public.h
new file mode 100644
index 0000000..eeb0d7e
--- /dev/null
+++ b/src/H5VLdaosm_public.h
@@ -0,0 +1,51 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * 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: Neil Fortner <nfortne2@hdfgroup.gov>
+ * December, 2016
+ *
+ * Purpose: The public header file for the DAOS-M VOL plugin.
+ */
+#ifndef H5VLdaosm_public_H
+#define H5VLdaosm_public_H
+
+#define H5_HAVE_EFF 1 /* DSMINC */
+
+/* System headers needed by this file */
+#include <uuid/uuid.h>
+
+/* Public headers needed by this file */
+#include "H5public.h"
+#include "H5Ipublic.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef H5_HAVE_EFF
+
+H5_DLL herr_t H5Pset_fapl_daosm(hid_t fapl_id, MPI_Comm comm, MPI_Info info,
+ uuid_t pool_uuid, char *pool_grp);
+//H5_DLL herr_t EFF_init(void); DSMINC
+//H5_DLL herr_t EFF_finalize(void); DSMINC
+
+#endif /* H5_HAVE_EFF */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* H5VLdaosm_H */