summaryrefslogtreecommitdiffstats
path: root/src/H5Pprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r--src/H5Pprivate.h42
1 files changed, 26 insertions, 16 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index 1df27c5..161fcf5 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -22,29 +22,39 @@
/* Private headers needed by this file */
#include <H5private.h>
-#include <H5Cprivate.h> /*for hobjtype_t defn*/
+#include <H5Gprivate.h> /*for H5G_entry_t */
/* Flags to indicate special dataspace features are active */
#define H5P_VALID_MAX 0x01
#define H5P_VALID_PERM 0x02
-typedef struct H5P_sdim_t {
- uint32 rank; /* Number of dimensions */
- uint32 dim_flags; /* Dimension flags */
- uint32 *size; /* Dimension sizes */
- uint32 *max; /* Maximum dimension sizes */
- uint32 *perm; /* Dimension permutations */
-} H5P_sdim_t;
+typedef struct H5P_simple_t {
+ intn rank; /*number of dimensions */
+ intn dim_flags; /*dimension flags */
+ intn *size; /*dimension sizes */
+ intn *max; /*maximum dimension sizes */
+ intn *perm; /*dimension permutations */
+} H5P_simple_t;
+
+typedef struct {
+ H5P_class_t type; /*type of dimensionality object */
+ union {
+ H5P_simple_t simple;/*simple dimensionality information */
+ } u;
+} H5P_t;
#define H5P_RESERVED_ATOMS 2
-/* Private functions */
-herr_t H5P_init(void);
-hid_t H5P_create(hid_t owner_id, hobjtype_t type, const char *name);
-uint32 H5P_get_lrank(const H5P_sdim_t *sdim);
-herr_t H5P_get_ldims(const H5P_sdim_t *sdim, uint32 *dims);
-hbool_t H5P_is_simple(const H5P_dim_t *sdim);
-uintn H5P_nelem(const H5P_dim_t *space);
-herr_t H5P_release(hid_t oid);
+H5P_t *H5P_copy (const H5P_t *src);
+herr_t H5P_close (H5P_t *ds);
+size_t H5P_get_npoints (const H5P_t *ds);
+herr_t H5P_modify (H5F_t *f, H5G_entry_t *ent, const H5P_t *space);
+H5P_t *H5P_read (H5F_t *f, H5G_entry_t *ent);
+intn H5P_cmp (const H5P_t *ds1, const H5P_t *ds2);
+
+intn H5P_get_lrank (const H5P_simple_t *sdim);
+herr_t H5P_get_ldims (const H5P_simple_t *sdim, intn *dims);
+hbool_t H5P_is_simple (const H5P_t *sdim);
+uintn H5P_nelem (const H5P_t *space);
#endif