summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-04 13:01:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-04 13:01:59 (GMT)
commit39fc82dfb4480858b0e80bbc549ef1b268a6e4c0 (patch)
treeb273252bbcc1a8e9c36cecc17f6051653e1ee251 /src/H5Ppublic.h
parent5ada62f51b2308631ecaf5f0929ed885fb98eac9 (diff)
downloadhdf5-39fc82dfb4480858b0e80bbc549ef1b268a6e4c0.zip
hdf5-39fc82dfb4480858b0e80bbc549ef1b268a6e4c0.tar.gz
hdf5-39fc82dfb4480858b0e80bbc549ef1b268a6e4c0.tar.bz2
[svn-r68] Added H5Pset_space routine to set the dimensions of a simple dataspace.
Also tweaked the data structures, and fixed a few bugs.
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index e1c4703..f6094ec 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -26,9 +26,14 @@
/* Define atomic datatypes */
#define H5P_SCALAR MAKE_ATOM(H5_DATASPACE,0)
+/* Different types of dataspaces */
+#define H5P_TYPE_UNKNOWN 0 /* Dataspace is not unitialized */
+#define H5P_TYPE_SIMPLE 1 /* Dataspace is simple */
+#define H5P_TYPE_COMPLEX 2 /* Dataspace is complex */
+
typedef struct {
- uintn rank;
- uint32 *dims;
+ uintn type; /* Type of dimensionality object */
+ struct H5P_sdim_t *s; /* Pointer to simple dimensionality information */
} H5P_dim_t;
#ifdef __cplusplus
@@ -37,6 +42,7 @@ extern "C" {
/* Functions in H5P.c */
uintn H5Pnelem(hatom_t dim_id);
+herr_t H5Pset_space(hatom_t sid, uint32 rank, uint32 *dims);
#ifdef __cplusplus
}