summaryrefslogtreecommitdiffstats
path: root/src/H5Sprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-04-02 21:21:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-04-02 21:21:13 (GMT)
commit8005e831a03dcceec4b3333b5c5483a4cea3707c (patch)
tree56d38aa6109b69870f8283d9589cc5982dd02719 /src/H5Sprivate.h
parentd2232a345f36988f4a60034d63ddca25c476fc08 (diff)
downloadhdf5-8005e831a03dcceec4b3333b5c5483a4cea3707c.zip
hdf5-8005e831a03dcceec4b3333b5c5483a4cea3707c.tar.gz
hdf5-8005e831a03dcceec4b3333b5c5483a4cea3707c.tar.bz2
[svn-r5131] Purpose:
Code cleanup Description: The function pointer for doing parallel I/O was being set in the H5D_read and H5D_write routines instead of in H5S_conv, where it belongs. Solution: Added an extra 'flags' parameter to H5S_find to allow the function to determine when to set the MPIO functions instead of the regular optimized I/O routines and get rid of code messing with the function pointer in the H5D routines. Platforms tested: IRIX64 6.5 (modi4)
Diffstat (limited to 'src/H5Sprivate.h')
-rw-r--r--src/H5Sprivate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h
index 86a46bc..713d52f 100644
--- a/src/H5Sprivate.h
+++ b/src/H5Sprivate.h
@@ -30,6 +30,9 @@
#define H5S_VALID_MAX 0x01
#define H5S_VALID_PERM 0x02
+/* Flags for H5S_find */
+#define H5S_CONV_PAR_IO_POSSIBLE 0x0001
+
/* Forward references of common typedefs */
typedef struct H5S_t H5S_t;
typedef struct H5S_pnt_node_t H5S_pnt_node_t;
@@ -192,7 +195,8 @@ __DLLVAR__ const H5S_mconv_t H5S_HYPER_MCONV[];
__DLL__ H5S_t *H5S_create(H5S_class_t type);
__DLL__ H5S_t *H5S_copy(const H5S_t *src);
__DLL__ herr_t H5S_close(H5S_t *ds);
-__DLL__ H5S_conv_t *H5S_find(const H5S_t *mem_space, const H5S_t *file_space);
+__DLL__ H5S_conv_t *H5S_find(const H5S_t *mem_space, const H5S_t *file_space,
+ unsigned flags);
__DLL__ H5S_class_t H5S_get_simple_extent_type(const H5S_t *ds);
__DLL__ hssize_t H5S_get_simple_extent_npoints(const H5S_t *ds);
__DLL__ hsize_t H5S_get_npoints_max(const H5S_t *ds);