summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-12 15:32:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-12 15:32:33 (GMT)
commit08b00d7bfee352356b0e458c602682b54e47d880 (patch)
tree3c499c64f5927a47c1194afde44d8d9af73b82f3 /src/H5Oprivate.h
parent2a7ec85d6bb3106e893170578e00eac554a1f71e (diff)
downloadhdf5-08b00d7bfee352356b0e458c602682b54e47d880.zip
hdf5-08b00d7bfee352356b0e458c602682b54e47d880.tar.gz
hdf5-08b00d7bfee352356b0e458c602682b54e47d880.tar.bz2
[svn-r73] Lots of added code for dataset I/O. Its now writing out datasets to the disk
correctly, but only in "native" format. I'm adding the data-type conversions and checking the reading later today.
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h31
1 files changed, 11 insertions, 20 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 8aea4c7..4d11e9b 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -98,18 +98,7 @@ extern const H5O_class_t H5O_NULL[1];
#define H5O_SIM_DIM_ID 0x0001
extern const H5O_class_t H5O_SIM_DIM[1];
-/* Hmm, let's try this... */
-#ifdef QAK
-typedef struct {
- uint32 rank; /* Number of dimensions */
- uint32 dim_flags; /* Dimension flags */
- uint32 *size; /* Dimension sizes */
- uint32 *max; /* Maximum dimension sizes */
- uint32 *perm; /* Dimension permutations */
-} H5O_sim_dim_t;
-#else /* QAK */
typedef H5P_sdim_t H5O_sim_dim_t;
-#endif /* QAK */
/*
* Simple Datatype message.
@@ -117,16 +106,18 @@ typedef H5P_sdim_t H5O_sim_dim_t;
#define H5O_SIM_DTYPE_ID 0x0003
extern const H5O_class_t H5O_SIM_DTYPE[1];
-/* Hmm, let's try this... */
-#ifdef QAK
-typedef struct {
- uint8 length; /* Number of bytes */
- uint8 arch; /* Architecture format of the data */
- hatom_t type; /* Type of the data */
-} H5O_sim_dtype_t;
-#else /* QAK */
typedef h5_atomic_type_t H5O_sim_dtype_t;
-#endif /* QAK */
+
+/*
+ * Standard Data Storage message.
+ */
+#define H5O_STD_STORE_ID 0x0005
+extern const H5O_class_t H5O_STD_STORE[1];
+
+typedef struct H5O_std_store {
+ haddr_t off;
+ haddr_t len;
+ } H5O_std_store_t;
/*
* Object name message.